MultiPotions
MultiPotions - What is it?
MultiPotions is a very simple plugin which let you create custom potions with more than one effect and with effects you normally can't get in vanilla Minecraft.
It is working great right now, but I also have a bunch of ideas for updates.
Examples for possible potions:
- Nausea + Wither
- Speed 100 for 1 hour
- Nausea and Blindness for one minute plus Speed and Jump Boost for two minutes
- Jump Boost for 3 seconds
No need to change config - everything is controlled with in-game commands.
What you may change is the file translation.yml - here you can define the messages a player will see when using /mpotion
Commands
/mpotion - aliases: /mp, /potion, /potions, /multipotions, /mpotions, /multipotion
Command | Parameters | Action |
---|---|---|
/mp list | List all defined potions. | |
/mp give | <potionid> [amount] [player] [splash (NYI)] | Gives you or someone else a custom potion. |
/mp create | <potionid> <maineffect> <effect1> [effect2] [...] | Define a new custom potion. For effects syntax see below. |
/mp remove | <potionid> | Remove a custom potion from the config |
Potion IDs
The potion ID is the name of the potion. It will be saved in the config file and used in all commands. And: It is the item name shown in the inventory.
If you want to have spaces in the item name, replace them by underscores (_) to get the potion ID.
So, if you give yourself Any_potion, you will get an item named "Any potion" in your inventory.
You may use color and formatting codes. (e.g. &3 for dark turquoise; see a complete list at http://minecraft.gamepedia.com/Formatting_codes)
Warning: If you change the potion ID in the config file, all given potions with the old name won't work anymore!
Effects syntax
Main Effect: Defines the icon and primary effect for the potion. Can be any datavalue for potions - possible values can be found on http://minecraft.gamepedia.com/Potions#Base_potions; have a look at the column titled "DV" (Damage value)
Additional effects syntax: <effect>/<strength>/<duration>
Possible values for <effect> can be found in the Field Summary on http://jd.bukkit.org/rb/apidocs/org/bukkit/potion/PotionEffectType.html
<strength> is any number, defining the effect level. For more information have a look at http://minecraft.gamepedia.com/Status_effect
<duration> is the duration of the effect in seconds. If using negative values, the potion will last until you die or until you drink a bucket of milk.
Permissions
By default, only OPs can use this plugin, because it could be considered cheating if you create yourself e.g. a Speed 10 + Heal 100 Potion.
multipotions | Access to the command. Needed for everyone who should use the plugin. |
multipotions.give | Give yourself a custom potion |
multipotions.give.others | Give another player a custom potion |
multipotions.give.<potionid> | Give yourself the specific potion |
multipotions.give.others.<potionid> | Give another player the specific potion |
multipotions.list | List defined custom potions |
multipotions.remove | Remove a defined custom potion |
multipotions.create | Create any custom potions |
Future plans
- Splash Potion support (0%)
- Custom brewing recipes (0%)
- Random potions as mob loot or in dungeon chests (0%)
you need to add a 1.16 version of this :C