MagicWand
About MagicWand
My own take at a kingdom wand plugin! Currently features seven spells and I might add more in the future. Unlike most similar plugins, each wand can have a custom set of spells. And instead of having to type a long command to bind spells to a wand, you can use a graphical interface! Want to see which spells are included and more? See this short (1:04) demo video of my plugin:
Video demonstration
Known ‘problems’
Lag
Although every spell is optimised to take up minimal server ram, showing a lot of particles at the same time can cause some lag. Therefore the config has an option to disable all spell particles and graphics when this causes a lot of trouble (highly unlikely for most servers).
Spells not working nearby
Some spells (Lightning, Firework, Teleport and Launch to be exact) do not work when clicking on a very nearby block. This is intentional, to prevent you from launching/damaging yourself. They do work when clicked at a block which is about 5 or more blocks away.
Commands
The main command of this plugin is /magicwand which can be abbreviated as /mw
- /mw - Displays the usage message (unrecognized commands will also show this message)
- /mw get - Gives the player a fresh magicwand without spells
- /mw bind - Opens a graphical interface which can be used to bind spells to your magicwand
- /mw list - Shows a list of all spells currently bound to your magicwand
Permissions
Between brackets is the default setting for this permission, I however highly advise you to use a permission manager plugin instead.
- magicwand.* - Gives the ability to get, bind, list and use a magicwand
- magicwand.use (true) - Allows you to use a magicwand in your inventory
- magicwand.list (true) - Allows you to use the /mw list command
- magicwand.command (op) - Allows you to use /mw get and /mw bind. You still require the other permissions to use the /mw list command or to use a magicwand.
- magicwand.bypass.* (op) - Player bypasses both the cooldown and the maximum amount of uses
- magicwand.bypass.cooldown (op) - Player bypasses the cooldown in between using spells
- magicwand.bypass.uses (op) - Player bypasses the maximum amount of uses for a wand
Configuration
The configuration has a lot of settings and allows you to customise many aspects. This is of course optional, as it has sensible defaults. For specific details about a setting please read the comments above each setting in the config file or ask a question (see below).
The first part of the configuration determines among other things the name of the spells. You can also change the order in which they appear in the binding menu by changing their order in the configuration. To remove a spell, simply remove its line from the configuration. (The spell will still partially work on wands which already had it bound, so I advise getting new wands after this)
The second part of the configuration is about the messages and other text shown to a user. All text messages can use color-codes using the §-symbol, see this resource for a full list.
Donate? :)
If you really like this plugin, you could consider making a one time donation to my PayPal. This allows me to continue improving and adding spells to this plugin.
Questions, bugs or feature suggestions?
Please see known problems BEFORE posting a bug report.
Feel free to ask a question about the plugin in the discussion page. If you have an idea how this plugin could be improved let me know! And who knows, for a small donation I might add your wand idea to this plugin ;).
is there a way to add custom spells for example an exploding cow also is there a charge system so once it's been used say 25 times it disappears or something
In reply to nbd_batman:
There is no way I could make it such that users can add extra spells without requiring users to code them. So this sadly isn’t possible. If you really want to have a custom spell you can change the code of the plugin yourself (I give you my permission as long as you don’t publish it), but that does require you to learn some Java ;).
For a small donation/fee(paypal) I can make a custom version with one custom spell for you, but I understand this is probably not what you are looking for.
The charge system is an interesting feature, if I ever update this plugin I might add it in!
In reply to ericdebouwer:
thanks for the reply and i may try to add my own spell loving the plugin though thanks for making it
In reply to nbd_batman:
Thank you very much!
I ended up updating this plugin much sooner then expected! In the new update I implemented your suggestion of a maximum amount of uses, along with an optional cooldown. It can be downloaded here in about 1-2 days (when it gets approved), or on its spigot directly.
In reply to ericdebouwer:
great ill be sure to download it asap