News:

A forum for users of LackeyCCG

Main Menu

Question about <plugin></plugin>

Started by masteroalexo, February 24, 2013, 05:00:24 PM

Previous topic - Next topic

masteroalexo

I was following the tutorials and then i thought about it. In the pluginfo.txt file do i have to write <plugin></plugin> once or do i have to do it several times if i am doing globalstats and playerstats?

this is what i put down for the first few:

<plugin>
<playerstat><label>Health</label><initialvalue>100</initialvalue></playerstat>
<playerstat><label>Mana</label><initialvalue>0</initialvalue></playerstat>
</plugin>

//Above is a player's health and mana settings

<plugin>
<deckzone>
     <label>Deck</label>
     <gamezonetoloadto>Deck</gamezonetoloadto>
     <shuffle>yes</shuffle>
</deckzone>

<deckzone>
     <label>Starting</label>
     <gamezonetoloadto>Starting</gamezonetoloadto>
     <shuffle>no</shuffle>
</deckzone>
<plugin>


Please help me out! Thankies

Trevor

Once, at the start and the end. Before <plugin> and aftet </plugin>, you can write anything if you want.