Tutorials - NyaaCat/RPGItems-reloaded GitHub Wiki
Installation
- Download the latest release from here
- Drop the jar into
plugins
folder - Restart the server
Get started
EXAMPLE: Ice spell card
We are now going to create a spell card, on player use it shoots ice and then consumes itself.
Commands:
/rpgitem icecard create
/rpgitem icecard item paper
/rpgitem icecard display &bICE &dSPELL CARD
/rpgitem icecard type &bICE
/rpgitem icecard hand &dSpell Card
/rpgitem icecard description add &fFreeze them all!
/rpgitem icecard power ice 20
/rpgitem icecard power consume
That's it. Now use /rpgitem icecard give
to get one and test its power.
Explaination:
- Create the RPGitem and save into config file.
- Change the item texture to paper (show as paper)
- Change the item name to
&bICE &dSPELL CARD
- Change the item first line left to
&bICE
- Change the item first line right to
&dSpell Card
- Add a line of description
&fFreeze them all!
- Give the item power
ice
, with cooldown 20 ticks (1 sec) - Give the item power
consume
, so that it consumes itself after use.
For more information, consult commands, powers and potions page