[INACTIVE][SEC/FUN] KillBlock v1.2 - Mobtraps in blocks [860]

Discussion in 'Inactive/Unsupported Plugins' started by Baummann, Jun 13, 2011.

  1. Offline

    Baummann

    KillBlock - Mobtraps in blocks
    Version: 1.2 CraftBukkit 860

    What does it do?:
    If a mob walks onto a KillBlock the mob will despawn.

    What's the block's ID?:
    The block ID is (anyblock):9. It does NOT work with WorldEdit. But CuboidPlugin can do it.

    How do I use it?:
    Type /killblock create and punch as many blocks you want. Those blocks will be turned into KillBlocks. Type /killblock stop to stop creating KillBlocks

    Commands:
    /killblock create|stop

    Permissions:
    killblock.create - Access to /killblock create|stop

    Download:
    Click here

    Source code:
    Click here

    Changelog:
    v1.0 - First release
    v1.1 - No longer craftable now using /killblock create to select KillBlocks
    v1.2 - Config file!
     
    KragTheDark likes this.
  2. Offline

    Baummann

    Try to redownload the launcher I'll do that now too.
     
  3. Offline

    RugRats

    And I wanted to use this plugin to.. guess not.
     
  4. does this harm players? it would be awesome trap
     
  5. Offline

    Alkoforumm

    Hi
    i love your plugin..but the mobs they despawn drop no loot...
    I think kill and despawn is not the same...then rename your plugin "Despawnblock" :rolleyes:
     
  6. Offline

    Baummann

    v1.1 is out!

    v1.1 works fine but it's not craftable anymore

    Good news for you: I'm working on v1.2 which will have a setting for that.

    Currently not but in v1.2 maybe.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  7. i hope u can create 2x killingblocks.
    1 with mob killing
    1 with mob / player killing.
     
  8. Offline

    Baummann

    Working on it... Maybe v1.2 comes out today. Hurting players is already done ;) you need to enable it in a config file (hurt-players=true) you can also change the amount the player gets hurt (hurt-amount-for-players)
     
  9. waiting for this.
    atm i cant change dmg or anything right?
     
  10. Offline

    Baummann

    No you can't. And I made a nice mistake :D, only vehicles are despawning (in 1.2) hmm gotta keep working on it...

    v1.2 is out!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  11. Offline

    Alkoforumm

    Hi
    i found bug or problem or so....

    Info's:
    - I didn't use Premissions
    - run with Craftbukkit #860
    - other plugin's are Worldedit and Craftbook

    Problem when i type killblock create (open)

    14:56:03 [SCHWERWIEGEND] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'kill
    block' in plugin KillBlock v1.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    87)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:712)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHand
    ler
    at com.bukkit.Baummann.KillBlock.KillBlock.onCommand(KillBlock.java:211)

    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHa
    ndler
    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:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 14 more


    Problem when i type killblock stop (open)

    14:59:43 [SCHWERWIEGEND] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'kill
    block' in plugin KillBlock v1.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    87)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:712)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHand
    ler
    at com.bukkit.Baummann.KillBlock.KillBlock.onCommand(KillBlock.java:211)

    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHa
    ndler
    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:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 14 more
     
  12. Offline

    Baummann

    You have to use Permissions.
     
  13. Offline

    Alkoforumm

    but in the console..say the plugin defaulting to OP

    Code:
    15:05:30 [INFO] [KillBlock] Booting...
    15:05:30 [INFO] [KillBlock] Loading config...
    15:05:30 [INFO] [KillBlock] Setting up Permissions...
    15:05:30 [INFO] [KillBlock] Permissions system not detected! Defaulting to OP!
    15:05:30 [INFO] [KillBlock] Registering events...
    15:05:30 [INFO] [KillBlock] Done!
    
     
  14. Offline

    Baummann

    Currently it doesn't really default to OP.
     
  15. Offline

    Alkoforumm

    Okay..
    can fix this..when no Permissions system detected..then OP's can do it?
     
  16. Offline

    Baummann

    Maybe in v1.3. And why don't you use Permissions?
     
  17. Offline

    Alkoforumm

    Good News again..:rolleyes:.. I don't you use Permissions because I don't need it on my Buildserver...I play alone on my Buildserver
     
  18. Offline

    Baummann

    Here's an untested pre-release of v1.3 which does only fix the OP bug, tell me if it works.
     

    Attached Files:

  19. Offline

    Alkoforumm

    Nope..it doenst work if no Permissions "installed"
     
  20. Offline

    yourock129

    What do you count as a mob? do you include animals such as sheep chicken and cow?
     
  21. Offline

    TCLG6x6

    k i try it :D

    EDIT:

    AWESOME :D
     

Share This Page