AdvancedBombs
AdvancedBombs allows you to create custom mines, timebombs and triggerbombs, which can be used ingame. The use is up to you. You can create epic RPG battles.........
Info & Config & Permissions & Commands
Features
- Permissions support
- Multiworld support
- Economy support (Vault|Optional)
- Fully customizable
- Three types:
Type | Description |
Mine | Explodes if somebody walks on it |
TimeBomb | Explodes after a specific time |
TriggerBomb | Explodes if the Creator clicks the trigger |
Commands & Permissions
Command | Permissions |
/advB <place/remove/end> | |
->/advB place <name> | AdvancedBombs.Place.<name> |
->/advB remove | AdvancedBombs.Remove |
->/advB end | AdvancedBombs.End |
Event | Permissions |
Trigger a mine | AdvancedBombs.TriggerMine |
When the feature UseWorldPermissions is active, only players with the permission AdvancedBombs.World.<name> are able to use AdvancedBombs/Place bombs at this world.
How to place a bomb - Example
- /advB place Mine
- Rightclick on a block with the item, you defined as PlaceTool in the config (default = TnT)
How to remove a bomb - Example
- /advB remove
- Rightclick on the bombBlock with the item, you defined as RemoveTool in the config (default = Bone)
How to fire a TriggerBomb - Example
- /advB place TriggerBomb
- Rightclick on a block with the item, you defined as PlaceTool in the config (default = TnT)
- Rightclick in the air with the item, you defined as Trigger in the config at the TriggerBomb (default = Repeater)
Changelog
Look at a file to see it
ToDo
Feature to defuse bombsRewrite the pluginNew file to store bombsCommand to remove bombsMultiworldsupport for mine
Hi Blackixx, I'm French and I have a minecraft server, and I use your plugin (it's really cool :D) but I have a problem, I want the players pay the Mines, etc...
I go in the config, I make the enable of the economy part on : true.
I make the price, I reload my server, I place a Mine for a test, but I don't loose money.
Have you got a answer for me please ? :)
Sorry for my bad English.
StaliiX.
@nkomosim
Would a radius of 1 be enough? I really don't want to add features which could need to much ram/cpu and slow the server down.
@Blackixx
How much ram would you think it would take to use those kind of bombs? I have quite a bit dedicated to my server, and would seriously advocate this sensor bomb ^.^
@nkomosim
Everytime, when somebody moves, it would have to check 25 blocks for a bomb. And it also needs ram to check one block for a bomb.
@Blackixx
Could you elaborate? Why would it need a lot of ram? And this plugin is amazing, thanks.
@VledderCraft
I could add sensorbombs but they would need a lot of RAM
Could you also add a sensorbomb? It is almost the same as a mine, but it will explode when somebody isin a radius of 2 blocks
@hazel63574
You can only trigger the last placed TriggerBomb. Thats not a bug
another question: is defuse bombs happened randomly? sometimes i want to trigger a bomb and it said "defused".
and seems like i can't trigger multiple triggerbomb at the same time. i can only trigger the last placed bomb. is this a bug?
@Blackixx
well that's that's awkward :)
thanks anyway. :)
@hazel63574
you have to disable economy or install an economiy plugin
Q1:Can we add custom Bomb type?
Q2:I entered /advB place Mine and i can't place mine with TNT, is that normal? i didn't change anything in the config.
after i enter /advB place Mine and try to place mine with TNT, this error pop out.
09:42:56 [serious] Could not pass event PlayerInteractEvent to AdvancedBombs org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j ava:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:462) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven t(CraftEventFactory.java:177) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j ava:330) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:646) at net.minecraft.server.Packet15Place.handle(SourceFile:58) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:105) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:557) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:472) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NoClassDefFoundError: net/milkbowl/vault/economy/Economy at org.black_ixx.advancedBombs.helpers.Check.moneyCheck(Check.java:18) at org.black_ixx.advancedBombs.listeners.ClickListener.onClick(ClickList ener.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja va:302) ... 16 more Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.economy.Economy 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) ... 23 more
can you help?
@Blackixx
Nope. Basically I make the config, start the server, and the config automatically resets itself.
@nkomosim
Any visible error (Server.log etc.) ?
The cooldowns wont go away...even if I set them to 0 they keep replacing themselves.
Thanks. It seems to be working now. Great plugin.
@Sorbal
this week
When you make a new version with defuse function?
@Danmasa
Just give yourself the nodes AdvancedBombs.place.<name>, AdvancedBombs.remove, AdvancedBombs.End and AdvancedBombs.TriggerMine.
I will add AdvancedBombs.* soon.
Ive installed it, but can't get it to work. When I enter a command, I get a message; not allowed to do that. I am using permissionsbukkit. I have set the permissions as: AdvancedBombs.*: true. Does this work with permissionsbukkit?