SimpleWands
Introduction
SimpleWands adds a variety of craftable wands to your world. Wands are mid-range weapons that fire different projectiles and cause different effects (positive and negative) when they hit the target.
The wands are simple to use. They have only two actions - a main action and a secondary action. These actions are triggered by the left mouse button and the right mouse button, respectively. Whenever an action is triggered, the wand fires a particular projectile towards the target.
The wands also rely on a mana system. A player must have enough mana (which is the same as “power” or “energy”) in order to use the wand. This plugin allows the server operators to choose a mana mechanism that works for them, from item-in-inventory to scoreboard objective score.
Wands
The default wands are:
- FireyWand
- Main: Long-range, light damage attack that sets targets on fire.
- Secondary: Mid-range fireball that sets all targets in the area on fire if it hits.
- IcyWand
- Main: Long-range, light damage attack.
- Secondary: Mid-range snowball that slows down the target if it hits and causes light damage.
- HealingWand
- Main: A mid-range projectile. If it hits, heals the target for 1 HP.
- Secondary: A short-range projectile. If it hits, gives the target regeneration.
- SupportWand
- Main: A mid-range projectile. If it hits, gives the target swiftness.
- Secondary: A mid-range projectile. If it hits, gives the target strength.
- LightningWand
- Main: Long-range, light damage attack.
- Secondary: Mid-range, high cost attack. If it hits, the target will be struck by a lightning and suffer additional damage.
- PoisonWand
- Main: Long-range, light damage attack.
- Secondary: Mid-range high cost attack. If it hits, poisons the target and everyone in the area.
- WickedWand
- Main: Mid-range egg which weakens the target and causes light damage.
- Secondary: Mid-range attack. If it hits, 1 level of positive effect will be removed from the target (e.g. Swiftness 2 will turn into Swiftness 1).
- MendingWand
- Main: A mid-range projectile. If it hits, heals the target for 1 HP.
- Secondary: Mid-range mending effect. If it hits, 1 level of negative effect will be removed from the target (e.g. Weakness 2 will turn into Weakness 1).
- ProtectionWand
- Main: A mid-range projectile. If it hits, gives the target a quick absorption effect, which gives the player the ability to absorb damage.
- Secondary: Mid-range projectile. If it hits, gives the target damage resistance effect (reduces all incoming damage).
Please note that server owners may add new wands or change the existing wands.
Projectiles
The behavior and properties of wands actually come from the projectiles they fire. In fact, a wand is just a composition of two projectiles types (main and secondary). The types of projectiles, their damage values, effects, cost and range are all listed in the configuration file of the plugin (config.yml). As a server owner, you may add new projectiles. This is, for example, the configuration section of the secondary projectile used by the healing wand:
regenegg: type: egg cost: 5 range: 10 effect: type: 10 duration: 60 amplifier: 2
This means that a projectile called “regenegg” (used by the secondary action of the healing wand) is of type egg, costs 5 mana, has a range of 10 blocks and causes the regeneration effect for 60 ticks (3 seconds) amplified (x2).
Mana Mechanism
The plugin supports four mana mechanisms:
- 'xp' - The player XP level
- 'item' - The amount of a particular item in the player's inventory (default is redstone).
- 'food' - The player's food level.
- 'scoreboard' - The score of the player in a scoreboard of a defined objective (called "mana" by default)
The default mana mechanism is ‘item’, which means a player’s mana will be determined by the amount of redstone (you may change this to a renewable item like sugar) that they have in their inventory. Whenever the player uses a wand, that amount will be taken from their inventory.
For a mana system that self-regenerates (since version 1.4), you may use 'scoreboard'. It displays the player's mana on a personal scoreboard whenever the player switches to the wand or uses it, and it does not affect other aspects of the game. The mana is regenerated at a pace of 1 mana per second, up to a maximum of 20 (configurable).
Food level is also an interesting mana source in survival/pvp servers. For the wands to be effective, a player will have to eat frequently during battle to regenerate mana.
Change the attribute 'ManaMechanism' in config.yml to switch the mana mechanism (this will require a server reload).
Crafting
By default, the wands above can be crafted. The recipes are listed in the configuration file of the plugin. A server owner may choose to remove those recipes, in which case the wands will only be available via the /simplewands give command.
For example, this is the default crafting recipe for the FireyWand wand:
FireyWand: Materials: P: BLAZE_POWDER B: BLAZE_ROD N: NETHER_STAR Shape: Row1: -P- Row2: -N- Row3: -B-
Commands
The list of commands:
- /simplewands version - Shows the plugin’s version.
- /simplewands give <wand> - Gives you a wand of type <wand>.
- /simplewands info - Shows information about wands and projectiles.
- /simplewands reload - Reloads the configuration file.
- /simplewands disable - Disables the plugin until the next server reload.
By default, only server operators can use the commands.
Permissions
There are two permission settings:
- simplewands.usecmd - Allows you to use the simplewands command (defaults to ops only).
- simplewands.usewand - Allows you to use the wand (defaults to everyone).
Kits
If you use a kit plugin, which supports lore settings, you can also add the wands to the kits. In Essentials, the item specification will be:
items: - 369 1 name:&eFirey_Wand lore:Type:_FireyWand
-
View User Profile
-
Send Message
Posted Jul 11, 2013Could I make a suggestion? When you hover the mouse over a wand it says this:
"Lightning Wand Type: Lightningwand"
Would be better if it was something like this:
"Lightning Wand Left: Lightningbolt - 3 dmg blalabla - cost 15 Right: blablabla -1 dmg - cost 1003040"
Also sugar wont work for me. It just tells me Im out of redstone.
-
View User Profile
-
Send Message
Posted Jul 4, 2013@theknowledgeofstupidity
Do you have redstone?
-
View User Profile
-
Send Message
Posted Jul 4, 2013i cant seem to have the mana to work it says i need 1 item
-
View User Profile
-
Send Message
Posted Jun 28, 2013@kivix3
Thanks for that info. I will add various RPG hooks into the next version (permissions-based, display name, scoreboard team or factions). Should work for most cases.
-
View User Profile
-
Send Message
Posted Jun 28, 2013@eyalzh
The mages are a faction of the factions plugin, and they have their own permission group from the Groupmanager plugin.
-
View User Profile
-
Send Message
Posted Jun 28, 2013@kivix3
What is unique about the mages? Permission group? Tag? Or are they part of a plugin?
-
View User Profile
-
Send Message
Posted Jun 27, 2013Aloha
I whould like to use this plugin on my RP server. So on the server it should exsit some guilds: guards, dwarfs, ... AND mages. So my question: Is it possible to deny the accsess to the wands for all exept the mages?
-
View User Profile
-
Send Message
Posted Jun 27, 2013Yes I tried reloading, turns out OpenInv was the issue with changing the item.
-
View User Profile
-
Send Message
Posted Jun 27, 2013@Kitten_Tails
Hey, did you try to reload the server? Also, is there any other plugin that uses the stick?
-
View User Profile
-
Send Message
Posted Jun 27, 2013Everything is working fine except for changing the wanditem and the ManaMechanism in the config.
Here's how I have it set up
wanditem: 280
ManaMechanism: food
ScoreboardObjective: "mana"
ManaItem: 331
-
View User Profile
-
Send Message
Posted Jun 22, 2013@eyalzh yeye, i use this with anther plugin called kingkits. i cant find a good way to use the mana. cuz every will get redstone from the commandblocks and every1 will get exp from the commandblock and mana scoreboard shows for every1. Best way would be a cooldown system for me! Thanks!
-
View User Profile
-
Send Message
Posted Jun 22, 2013@Jidiiot
The scoreboard shows for everyone who has the scoreboard objective. And yes, you can make the redstone regenerate with command blocks and the /give command. I'll think of an easier solution for the next version.
-
View User Profile
-
Send Message
Posted Jun 22, 2013@eyalzh Thanks! But does this mana scoreboard show for every1 or just only the ones who has the wand? And im not familiar with the scoreboard thing, so how do i add the scoreboard mana? cant i just make redstone regerate istead?
-
View User Profile
-
Send Message
Posted Jun 21, 2013@Jidiiot
You can make mana regenerate but it takes some configuration. First, you need to switch to the scoreboard mana mechanism (in the config file). Then, connect a redstone clock to a command block that gives all players 1 mana, if they have less than the maximum.
For example, a command block with:
Will add 1 mana to all players up to 100 mana.
In this setup, if you set the cost of all projectiles to the maximum (i.e. 100) then you will effectively have a cool-down time.
Please note:
-
View User Profile
-
Send Message
Posted Jun 21, 2013@eyalzh Very nice plugin, But in my situation i think its better with cooldown instead of mana. But Mana is great too, i just want to learn how i can make mana regenerate.
-
View User Profile
-
Send Message
Posted Jun 19, 2013@nad314
Noted for next version. Thanks.
-
View User Profile
-
Send Message
Posted Jun 19, 2013Could you please make wands use separate item IDs, instead of them all having one item ID? Or if it's possible to make every wand use their own unused item ID so that i can restrict them to various classes ( i'd like to use it with guilds mod or something alike).
-
View User Profile
-
Send Message
Posted Jun 16, 2013Where's the download link ? :) I'd really like to have this on my server :)