EggRenade
Even wanted to chuck a grenade at your inferior-looking house in minecraft? Now you can!
Features:
- Eggs can now be grenades! (or molotov cocktails!!)
- Toggle-able command to turn on and off grenades.
- PermissionsBukkit / SuperPerms Support!
- Ability to charge for the use of Grenades or Molotovs (Requires you to download Vault and put it in your plugins folder. Vault is compatible with most economy plugins)
View Source
Usage:
Have access to 'egg.grenade' (if permissions is enabled) or be an op (if the server doesn't have permissions) Type '/grenade' to toggle on egg grenades. Throw an egg or two at your target and watch as the egg explodes a couple seconds after impact! (Be careful where you're aiming!)
Permission Node:
- egg.grenade
This permission node gives access to '/grenade'.
- egg.molotov
This permission nod gives access to '/molotov'.
Configuration File:
- TNT_Yield: 1 How many TNT each grenade spawns.
- Grenade_Delay_Time: 4 Length (in seconds) between Egg hitting the ground and explosion
- Default_On: false If set to true, everyone can use eggs all the time without typing /grenade to enable. Default (recommended): false
- Molotov_Yield: 10 Number of fires each molotov could potentially cause.
- Molotov_Radius: Radius of the spash of the molotov
- chargeForGrenades: false Whether or not to charge for the use of grenades (REQUIRES VAULT)
- costPerGrenade: 100 The amount of currency withdrawn from the grenade user's holdings
- chargeForMolotovs: false Whether or not to charge for the use of molotovs (REQUIRES VAULT)
- costPerMolotov: 150 The amount of currency withdrawn from the molotov user's holdings
I'd like to extend a special thank you to all the wonderful people on #bukkitdev. This plugin wouldn't be out for weeks (if ever) without their help! Thanks guys!
Todo:
- Optional 'Cool down'
- Whatever else people want!
Completed Items:
- Require you to buy grenades (iConomy support)
- Logging to server who threw a grenade and where
Changelog:
Version 2.1.2
- Added configurable molotov radius
Version 2.1.1
- Updated for CB 1.2.3-R0.2
- Fixed startup bug
Version 2.1
- Removed iConomy support, but added Vault support for almost all iConomy plugins. (If you want to charge for each grenade/molotov, you need to download Vault and put it in your plugins folder)
- Improved Molotov spread algorithms
Version 2.0
- Support for CraftBukkit 1.2.3-R0.1 - Though is probably backwards compatible to MC 1.1.X
- Code Support for iConomy, though not functioning yet
Version 1.8 - 1.9
- Dev Builds, not released.
- Code cleanup, recoding for compatibility with new Bukkit API
Version 1.7.1
- Support for CraftBukkit build 733 (MC 1.5_02)
Version 1.7
- Added a Default On option for grenades.
- Added moltov cocktails (/moltov) with permission node egg.moltov (Yes, I know I spelled it wrong :p) - Spelling fixed in later versions
Version 1.6.1
- Added support for non-whole TNT yields. (Such as 0.5)
Version 1.6
- Added configurable TNT Yield (Equivalent TNT Explosion size)
- Added configurable delay (In seconds)
Version 1.5
- Added permissions support
Version 1.0
- Release
Getting this error?
http://www.pastebucket.com/1897
"[SEVERE] Could not load 'plugins/EggRenade.jar' in folder 'plugins'"
:/ Using 1.2.3 Dev build.
Is their anyway u can make these shoot out of a dispenser? I would donate for that
Same startup exception as pandapipino ... /grenade command says it enables the plugin but throwing an egg doens't do anything ... besides make Chickens.
I'm obviously missing something.
Hi I'm using CB 1.2.3-beta I'm having a startup error while loading your plugin:
2012-03-08 18:03:00 [INFO] [EggRenade] Enabling EggRenade v2.1 2012-03-08 18:03:00 [SEVERE] Error initializing vote receiver 2012-03-08 18:03:00 [INFO] EggRenade version 2.1 is enabled! 2012-03-08 18:03:00 [SEVERE] Error occurred while enabling EggRenade v2.1 (Is it up to date?) java.lang.NoClassDefFoundError: us/microapple/eggrenade/eggListener at us.microapple.eggrenade.EggRenade.onEnable(EggRenade.java:73) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490) Caused by: java.lang.ClassNotFoundException: us.microapple.eggrenade.eggListener at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 11 more
BTW nice plugin.