CakeEffects
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 :) .
-
View User Profile
-
Send Message
Posted Apr 24, 2014@NizarZa123
We will take a look at it, and try to fix it as soon as possible.
EDIT: Which version of CakeEffects do you use? In the latest version I can't find any bugs with that command.
If you use an version earlier than 1.3, then I recommend to update to the latest version.
-
View User Profile
-
Send Message
Posted Apr 20, 2014i have bug in /cakeeffect <effect> <duration> send me error is: Invalid Arguments can fixed this probleme??
-
View User Profile
-
Send Message
Posted Apr 10, 2014@HowardStark
Added in Version 1.3! It's now waiting for an approval :)
-
View User Profile
-
Send Message
Posted Apr 9, 2014Thanks for your reply! I will try to add something like that in the next version :) .
Do you think it's a good idea to make in the config an option to enable/disable all the other effects on a cake when someone(an op proberbly) used the /cakeeffect command on it?
-
View User Profile
-
Send Message
Posted Apr 9, 2014This is awesome! Really good idea!
I would like to add however that giving the person the effect manually seems a little pointless, what with the /effect command and whatnot. Also, maybe eventually make it so that you type /cakeeffect <effect> <duration>, then punch a specific cake to select the effects? That would be cool.