BattleBuffs
A small plugin for buffing(adding potion effects) for yourself and players.
There are lots of plugins that do this, but not exactly how I wanted.
Source code: GitHub
Usage:
- /buff <playername> <effect name[:strength][:time]> <effect 2 ...> ... <effect n> [time: default 30s]
- /debuff <playername>
Examples:
- /buff speed:1 haste:2 prot:2 jump:11
- /buff <player> speed:1 haste:2 900
- /buff speed:10
@valtso97
You can use CommandSigns to do that.
@valtso97
You can't put them on a sign, but its a cool idea. Unfortunately I don't really have the time to get to it atm.
can i put these commands on a sign?
Just want to say great job your awesome at making plugins 11/10 i give you.
@hellboyPS
cool. I'll fix it, try and put it up very soon.. tonight or tomorrow.
Great work, now it loads. I noticed another little issue, when i run the command
/buff hellboyPS speed 120
it only gives me the buff for 30s. This is with every buff and every time i try in this format.
/buff hellboyPS speed:1:120
works tho. Just a little thing.
@hellboyPS
Newest version is now all Bukkit API. It can be found here till bukkit clears it.
http://dev.bukkit.org/media/files/660/989/BattleBuffs.jar
I get the following issue running the command /buff hellboyPS jump
20:49:20 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'buff' in plugin BattleBuffs v1.0.1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186) at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:510) at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:979) at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:897) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:852) at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/EntityHuman at com.alk.battleBuffs.BBCommandController.buffPlayer(BBCommandController.java:102) at com.alk.battleBuffs.BBCommandController.handleCommand(BBCommandController.java:31) at com.alk.battleBuffs.BattleBuffs.onCommand(BattleBuffs.java:44) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 15 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.EntityHuman at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 19 more
Would be thankful for a recompile!
@hellboyPS
It should just work. It only uses the Bukkit API. But I'll release a definitive version today.
Hi, is this plugin going to be updated to 1.4.6 soon?
hellboyPS
@fashizzles
Yep. so if you do /buff speed:3 jump:10 prot:2 ... suddenly you run fast, jump fast and are protected. works with any potion effect.
Its fun to give out to people randomly.. they think its awesome usually.
Little confused.. I love the idea, it gives the potion effect? Effect as in like your actually getting the benefits of a potion?
@Alanox
excellent!
Epic plugin!
I love to do /buff speed:50, and all my server users also do! :D
@nurwin22
No problem man! Glad you like it.
Project updated! and let me know if you can think of changes
Dude alkarinv... I'm in love with your plugin.
I've been looking for something like this forever... throw up a donate link so I can show some love man. THANK YOU!