LackeyCCG

LackeyCCG Forum => Plugins & Plugin Creation Forum => Topic started by: masteroalexo on February 24, 2013, 05:00:24 PM

Title: Question about <plugin></plugin>
Post by: masteroalexo on February 24, 2013, 05:00:24 PM
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
Title: Re: Question about <plugin></plugin>
Post by: Trevor on February 24, 2013, 08:09:12 PM
Once, at the start and the end. Before <plugin> and aftet </plugin>, you can write anything if you want.