-
Notifications
You must be signed in to change notification settings - Fork 47
Tutorials
Liqueur Librazy edited this page Aug 6, 2018
·
6 revisions
- Download the latest release from here
- Drop the jar into
plugins
folder - Restart the server
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
Powered by NyaaCat Community.
This wiki is licensed under a Creative Commons Attribution-ShareAlike license (CC BY-SA) version 4.0.