Description
CakeEffects
This is a very simple plugin which allowes players to get potion effects by eating a cake.
Main Idea
The main idea of this plugin is that you can give your players an extra option by giving them a potion effect when they eat a cake.
You can specify the effect easily in the config file.
Features
- Easy setup, plug and play.
- Easy configure, you can specify the effect and the duration of it in the config file.
- You can use the /CakeEffect command to add an effect manually to a cake. Eg: /cakeeffect speed* 200.
* - You can specify the effect by name (speed) or by number (1). The effectnumbers will be in the config file.
Will's and Wont's
It will:
- Give a player an effect for the specified seconds.
- Give you the option to give manually a potion effect to a player.
It won't:
- Give an effect to a player for an infinite time.
Upcoming/planned features
- Add permissions support
Bugs
- None
Commands
| Command | Effect | |
| 1. | /CakeEffect <effect> <duration> | Allowes you to add an effect to a specific cake manually ingame. (This can be specified by name (Eg: speed) or number (Eg: 1).) |
| 2. | /CakeCancel | Cancels effect apply mode. |
| 3. | /CakeClear <player> | Removes all potion effects from the specified player. |
| 4. | /RandomEffect <player> | Picks a random effect from the config file and gives it to the specified player. |
Config
The plugin is easy to configure. You only need to specify an effect with his duration time.
All the potion effects are displayed with their number in the config file, just to make it easy for you :) .
Side-notes
- This is my first plugin, so I hope there won't be issues.
- My native language is Dutch so my English might not be perfect, but I hope I've made it clear enough.
Please leave a comment if you have any bugs, tips or suggestions :) .


