Plugin category: Fun Suggested name: SuicideBombers What I want: The ability for players to rename an item specified in config (see example) and for that item, when right clicked, blows the player up. I would also like a WorldGuard flag to be added with his plugin that stops people from being able to blow up in certain areas because otherwise people would get a little annoyed. Below example config explains everything, pretty much. Code: Member: Item: 377 #^^Item that when right clicked sets off explosion Item name: &aMember&lBomber #^^In-game item will be called MemberBomber (needs to have color codes) Item lore: &5Cowards way out. #^^In-game item lore will be called Bomber1 (needs to have color codes) Blast radius: 5 #Max amount of blocks away that the blast will effect Damage caused: 10 #How much damage will be taken off of any player (Not hearts) Epicentre damage: 20 #Damage done to a player on the same block as the explosion happens Block damage: false #If blocks will be destroyed on explosion Permission: SuicideBomber.use.MemberBomber #Permission to be given in order for the player to be able to use the MemberBomber Donator: Item: 264 Item name: &cDontor&lBomber Item lore: &eThanks for donating! Now blow yourself up! Blast radius: 15 Damage caused: 20 Epicentre damage: 50 Block damage: true Permission: SuicideBomber.use.donator Ideas for commands: /region flag suicidebomber deny Ideas for permissions: SuicideBomber.use.* (ability to use all renamed items specified in config to blow themselves up), SuicideBomber.flag (ability to use the WorldGuard flag), SuicideBomber.use.<bombername> When I'd like it by: ASAP!
Soooo you want a plugin that when they right click with any of the items define in the config, it will trigger a tnt like explosion at the location of the player and then kill them instantly?
Okay, as i said its nearly done, I just have minor things to do like permissions Do you think you could explain this? " Im not sure what it means, Does it mean like all the players in the game or what?
Damage Caused is the amount of health (out of 20) taken off if the player is in the proximity of the suicide bomber which is also set in the config. I will make an example as it is in the config. I run towards a suicide bomber, the suicide bomber sets off his explosion, because I am in within the range (set in config which in example is 5) of the explosion I will receive damage (set in config which in example is 10). In Minecraft damage is not worked out in hearts but in half hearts instead so you actually have 20 health, what I said may have been a little misleading so hopefully I have explained what I meant. I think I didn't word it very well because I put "any player" which was a bit odd of me. In simple terms I mean when a player is within set radius they will take set damage off of their health. The different damages and radius' depend on the different "Kit" style suicide bomb kit you have.
Well what happens is when you blow up it creates a explosion depending on the power you put into the config, The higher the power the more damage that will be taken This is what i have so far.. https://www.dropbox.com/s/oozbv90fcoeh6m5/SuicideBomber.jar Commands: /bombwand - spawns detenator - perm SuicideBomber.use.BombWand /bombreload - reloads configs - SuicideBomber.reload To detonate you need perm: SuicideBomber.use.MemberBomber If you have OP perms aren't needed.
Awesome, are you going to make a bukkit dev page for it? EDIT: Just testing it now! EDIT 2: List of bugs I have discovered: When right clicked the bomb charges, it is then possible to run away from the bomb before it explodes (more like a timebomb which is still a really cool thing so you could make another plugin for that!), you cannot have different classes of suicide bomb set in config which is something that I would have liked. Sort of like this. Code: Member: Item: BLAZE_POWDER Item Name: '&c&lMemberBomb' Item Lore: '&5Thanks for playing.' Blast Power: '5' Block Damage: false Donator: Item: BLAZE_POWDER (Might not be possible to have same items but different classes would be cool) Item Name: '&a&lDonatorBomb' Item Lore: '&5Thanks for helping make the server great!!!.' Blast Power: '10' Block Damage: true I'm sure more issues will arise but so far it is good and if you make another plugin like the timebomb it is now they would go great hand in hand with each other!!!
Thanks for looking at this! Yeah i will put this on a bukkit dev page. So you would like it so that you cant run away from the explosion? because i can just make it kill the player when the explosion happens. Also How many donation classes do you want as i have to manually enter each one into the plugin EDIT: I was just thinking and instead of making a completly different plugin i can just make a config entry for time bomb so for example Can Escape: true/false EDIT2: I have added the wand thingy where if you want the donator wand you have to give the player SuicideBomber.use.DonatorBombWand if they dont give them SuicideBomber.use.MemberBombWand
That seems cool, I like the true/false run away idea because then you can sort of use the plugin like classes and make a C4 and Suicide class, is it possible that you could make it so that I wouldn't have to tell you all the classes because that might take a while to write them all down.
Hrm well on the classes i would have to go look how to do it so it reads all the entry's under a 'class:' in the config. Also do you want each class to have a different detonator? as it would be a lot easier if they didn't and then it would be just one permission and would make it a little easier. This is what the new config would look like: Code: Wand: WandName: WandLore: Classes: Class1: Blast Power: '5' Block Damage: false Class2: Blast Power: '5' Block Damage: false Class3: Blast Power: '5' Block Damage: false Class4: Blast Power: '5' Block Damage: false Not sure how i would make it so however many classes you make it would read but i have a friend that does java alot and tought me and im sure he could help
That would be okay, as long as I had an option to rename all the different detonators in the config EDIT: Could you also update to 1.7.2 when you believe it's a done.
Yeah i will look into how to do that with the donators then. And yes i will make a bukkit dev page and update it for you.
Okay i have just had a idea on how to add more kits. you can have /enablebomb (type) type could be: defined in config so member and donator in your case. and the permissions will be the name of the kits so: SuicideBomber.class.donator and SuicideBomber.class.member and when you do /enable bomb it will enable and then when you do it again it will disable, unless you would like /disablebomb to? Im sure i can do this. Thanks, Joe
I'm trying to work out what you mean, is it if you are holding a "donatorbomb" and you do /enablebomb then the player will get a donate bomb that works?
I meant you have to enable the detonator. So for the explosion to happen you have to be 'Enabled' by doing /enablebomb donator - for example when you type that it will give you the want. If you want each class can have a separate wand. Also the detenator will only work if you are 'Enabled' if you are not it will not blow up. This would help for say if you used blocks or tools you can use them as there core purpose aswell
That makes sense. Are/have you making/made a bukkit.dev page? And have you got the current .jar so that I can test the newest version?
Nearly Done Now just need to make it so it removes the detonator when disabled Okay i think thats everything you wanted! If this is right with no bugs ill add it to the bukkit dev page. Link: https://www.dropbox.com/s/oozbv90fcoeh6m5/SuicideBomber.jar I have tested the kits and enabling/disabling, that all work I have not tested the perms so you will have to tell me if they work.
I put it in my plugins folder, and the plugin didn't show up Code: 21:25:15 [WARNING] Can't keep up! Did the system time change, or is the server overloaded? 21:25:15 [INFO] Accepted EditSessionFactory of type net.coreprotect.worldedit.CoreProtectEditSessionFactory from net.coreprotect.worldedit 21:25:24 [INFO] lubby123 issued server command: /pl 21:25:35 [INFO] lubby123 issued server command: /chi 21:25:55 [INFO] lubby123 issued server command: /reload 21:25:55 [INFO] [EssentialsChat] Disabling EssentialsChat v2.12.1 21:25:55 [INFO] [EssentialsSpawn] Disabling EssentialsSpawn v2.12.1 21:25:55 [INFO] [Essentials] Disabling Essentials v2.12.1 21:25:55 [INFO] [PermissionsEx] Disabling PermissionsEx v1.20.2 21:25:55 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions. 21:25:55 [INFO] Permissions file successfully reloaded 21:25:55 [INFO] [Multiverse-Core] Disabling Multiverse-Core v2.4-b527 21:25:55 [INFO] [Multiverse-Core] - Disabled 21:25:55 [INFO] [ScheduledAnnouncer2] Disabling ScheduledAnnouncer2 v2.8.3 - For version 1.6.4 21:25:55 [INFO] ScheduledAnnouncer2 v2.8.3 - For version 1.6.4 is disabled! 21:25:55 [INFO] [ClearLag] Disabling ClearLag v2.6.0 21:25:55 [INFO] [ClearLag] Clearlag has been disabled! 21:25:55 [INFO] [AdvancedBans] Disabling AdvancedBans v0.81 21:25:55 [INFO] AdvancedBans version 0.81 is disabled! 21:25:55 [INFO] [Simple-AutoSave] Disabling Simple-AutoSave v0.2.1 21:25:55 [INFO] [Simple-AutoSave] 0.2.1 disabled. 21:25:55 [INFO] [CoreProtect] Disabling CoreProtect v2.0.8 21:25:55 [INFO] [WorldEdit] Disabling WorldEdit v5.5.8 21:25:55 [SEVERE] Could not load 'plugins/SuicideBomber.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: me/jcbjoe/SuicideBomber/Main : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugins(CraftServer.java:241) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.reload(CraftServer.java:613) at org.bukkit.Bukkit.reload(Bukkit.java:277) at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:528) at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:968) at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:886) at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:837) at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49) at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296) at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.UnsupportedClassVersionError: me/jcbjoe/SuicideBomber/Main : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) 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) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:249) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 21 more 21:25:55 [INFO] While loading ClearLag (plugins/Clearlag.jar) found old-data folder: plugins/Clearlag next to the new one: plugins/ClearLag 21:25:55 [INFO] [PermissionsEx] sql backend registered! 21:25:55 [INFO] [PermissionsEx] file backend registered! 21:25:56 [INFO] [AdvancedBans] Loading AdvancedBans v0.81 21:25:56 [INFO] [ScheduledAnnouncer2] Loading ScheduledAnnouncer2 v2.8.3 - For version 1.6.4 21:25:56 [INFO] [ClearLag] Loading ClearLag v2.6.0 21:25:56 [INFO] [WorldEdit] Loading WorldEdit v5.5.8 21:25:56 [INFO] [PermissionsEx] Loading PermissionsEx v1.20.2 21:25:56 [INFO] [PermissionsEx] Initializing file backend 21:25:56 [INFO] Permissions file successfully reloaded 21:25:56 [INFO] [Multiverse-Core] Loading Multiverse-Core v2.4-b527 21:25:56 [INFO] [CoreProtect] Loading CoreProtect v2.0.8 21:25:56 [INFO] [Simple-AutoSave] Loading Simple-AutoSave v0.2.1 21:25:56 [INFO] [Essentials] Loading Essentials v2.12.1 21:25:56 [INFO] [EssentialsChat] Loading EssentialsChat v2.12.1 21:25:56 [INFO] [EssentialsSpawn] Loading EssentialsSpawn v2.12.1 21:25:56 [INFO] [AdvancedBans] Enabling AdvancedBans v0.81 21:25:56 [INFO] [ScheduledAnnouncer2] Enabling ScheduledAnnouncer2 v2.8.3 - For version 1.6.4 21:25:56 [INFO] ScheduledAnnouncer2 v2.8.3 - For version 1.6.4 is enabled! 21:25:56 [INFO] [ClearLag] Enabling ClearLag v2.6.0 21:25:56 [INFO] [ClearLag] No config updates found... 21:25:56 [INFO] [ClearLag] Searching for updates.. 21:25:57 [INFO] [ClearLag] No updates found! 21:26:01 [INFO] [ClearLag] Clearlag has been enabled! 21:26:01 [INFO] [WorldEdit] Enabling WorldEdit v5.5.8 21:26:01 [INFO] WEPIF: Using the Bukkit Permissions API. 21:26:01 [INFO] [PermissionsEx] Enabling PermissionsEx v1.20.2 21:26:01 [INFO] WEPIF: PermissionsEx detected! Using PermissionsEx for permissions. 21:26:01 [INFO] [Multiverse-Core] Enabling Multiverse-Core v2.4-b527 21:26:01 [INFO] [Multiverse-Core] - Version 2.4-b527 (API v14) Enabled - By Rigby, fernferret, lithium3141 and main-- 21:26:01 [INFO] [AllPay] - Version 10.0 - hooked into Essentials Economy for Multiverse-Core v2.4-b527 21:26:02 [INFO] [Multiverse-Core] Loading World & Settings - 'world' - Env: NORMAL - Type: NORMAL & seed: 877329330440286438 21:26:02 [INFO] [Multiverse-Core] Loading World & Settings - 'world_the_end' - Env: THE_END - Type: NORMAL & seed: 877329330440286438 21:26:02 [INFO] [Multiverse-Core] Loading World & Settings - 'spawn' - Env: NORMAL - Type: FLAT & seed: 6386886000085727143 21:26:02 [INFO] [Multiverse-Core] Loading World & Settings - 'Coliseum' - Env: NORMAL - Type: FLAT & seed: 4321145914124893867 21:26:02 [INFO] [Multiverse-Core] Loading World & Settings - 'Sab' - Env: NORMAL - Type: FLAT & seed: -6063376976553845295 21:26:02 [INFO] [Multiverse-Core] Loading World & Settings - 'Wiz' - Env: NORMAL - Type: FLAT & seed: -8983784970654417592 21:26:02 [INFO] [Multiverse-Core] Loading World & Settings - 'Candyland' - Env: NORMAL - Type: FLAT & seed: 7623331948330797826 21:26:02 [WARNING] [Multiverse-Core] Spawn location from world.dat file was unsafe. Adjusting... 21:26:02 [WARNING] [Multiverse-Core] Original Location: X: 469 Y: 4 Z: -469 P: 0 Y: 0 21:26:02 [SEVERE] [Multiverse-Core] New safe spawn NOT found!!! 21:26:02 [INFO] [Multiverse-Core] Loading World & Settings - 'WATER' - Env: NORMAL - Type: FLAT & seed: 9073816360713650802 21:26:02 [INFO] [Multiverse-Core] 8 - World(s) loaded. 21:26:02 [INFO] [CoreProtect] Enabling CoreProtect v2.0.8 21:26:03 [INFO] CoreProtect version 2.0.8 is enabled! 21:26:03 [INFO] [CoreProtect] Using SQLite for data storage. 21:26:03 [INFO] [Simple-AutoSave] Enabling Simple-AutoSave v0.2.1 21:26:03 [INFO] [Simple-AutoSave] 0.2.1 enabled. 21:26:03 [INFO] Autosave Started. 21:26:03 [INFO] [Essentials] Enabling Essentials v2.12.1 21:26:03 [INFO] Essentials: Using PermissionsEx based permissions. 21:26:03 [INFO] [EssentialsChat] Enabling EssentialsChat v2.12.1 21:26:03 [INFO] [EssentialsSpawn] Enabling EssentialsSpawn v2.12.1 21:26:03 [INFO] Server permissions file permissions.yml is empty, ignoring it 21:26:04 [INFO] lubby123: Reload complete.
Wow xD, sorry about that. I'll fix when I get back from school. Try running on a java 7 server. ATM ur running java6 that's why your getting the error