[FUN/MECH] DeathOnVoid v 1.5 - Death in Void and Inventory save [1060]

Discussion in 'Inactive/Unsupported Plugins' started by xXKryptonXx, Jun 27, 2011.

  1. Offline

    xXKryptonXx

    DeathOnVoid - A usefull Plugin for Skylands
    Version: v1.5

    This Plugin simply kills a Player at the first Void-Damage, with a lightning and saves the Inventory.
    The Inventory restores on the respawn of a Player.

    But be carefull. If the conection gets lost before you respawn your Inventory is lost forever.

    At first this Plugin was only made for one Server. But I think other people maby have use for this too.

    Features:
    • Kills a Player on first Void-Damage
    • Saves the Inventory
    • Restores the Inventory on respawn
    • You can set the Worldspawn
    • Port to Spawn after you fall in the Void
    Update 1.4.1 - 1.5:
    Restructure your Permissions.
    Permissions:
    For setting the Spawn (DeathOnVoid.setspawn)
    Kill a Player in Void (DeathOnVoid.kill)
    Restore inventory (DeathOnVoid.restore)
    Port back to the Spawn (DeathOnVoid.port)
    If no Permission is set, the Player will fall in the Void like without this Plugin

    I restructured the Permission in V1.5 to make the Plugin more configurable without a Config-File

    When you want to use the Port back to Spawn function then you MUST set an new Worldspawn. Otherwise it could happen that you spawn in the earth or in a wall.

    Download DeathOnVoid (jar):
    http://dl.dropbox.com/u/34758895/DeathOnVoid.jar
    Download DeathOnVoid (zip):
    http://cloud.github.com/downloads/xXKryptonXx/DeathOnVoid/DeathOnVoid.zip
    I hope this one works with wget. It's my first Plugin so I don't know what works with wget.

    Changelog:

    Version 1.5
    • Restructured Permissions
    Version 1.4.1
    • Fixed a bug, which deals 2 hearths damage after the port to the spawn
    Version 1.4
    • Added Permissions
    • Added Port to Spawn after you fall in the Void
    • Added /dovspawn command for setting the Worldspawnlocation
    Version 1.3
    • Added a lightning strike
    Version 1.2
    • Added the Inventory save
     
  2. Offline

    captainawesome7

    Add a wget compatible download
     
  3. Offline

    RyanTheLeach

    This is great and id use it EXCEPT, can you add it so you spawn where ever is normal, aka beds normal spawn point etc?
     
  4. I don't tested it but I saw your code and I can say:

    Rewrite your Permission part in your plugin please
    It will throw NPEs if Permissions is not installed :p

    Edit: and add a dropbox link :D
     
  5. Offline

    xXKryptonXx

    Thanks for the hint.
    Fixed this Problem
     
  6. [Bump, because the thread isn't marked Inactive]

    Can this plugin kill people who have Essentials godmode enabled?
     
  7. Offline

    xXKryptonXx

    @Nox13last
    Yes this plugin kills people with Essentials godmode. I tested this on the server I'm playing on

    @RyanTheLeach
    I'm sorry, but I haven't planned to add such extras, because this was written to avoid the kick for flying.
     
    Nox13last likes this.
  8. That's cool, then. I have a Skylands map and some people continually insist on ignoring the signs and bookcases that tell them to turn off Godmode before they go.

    *yoink!*
     
  9. Offline

    joeyismusic

    how exactly does it send you to spawn??
    i have a complex setup of worlds / spawns
     
  10. My understanding of this plugin is that you specify a DoV-spawn. If someone who falls into the Void is detected as having the proper permission, they are rescued, and dumped back at this spawn.
    It's probably dependent on the world whose Void is breached.
     
  11. Offline

    joeyismusic

    i would really hate to run this live and have it screw up stuff. we are very stable =D
    any idea if this is multi-world compatible? (can someone test for me??? haha)

    i use multi-verse
     
  12. It is.
     
  13. Offline

    joeyismusic

  14. Offline

    xXKryptonXx

    This plugin works in every world.
    So if there is a Chunk-hole in a normal world, the plugin will rescue a player who falls down in this hole.
     
  15. Offline

    uncovery

    This is great! How do I make it so people are properly ported back to spawn but do NOT keep their inventory?Ideally based on which world they are of course!
     
  16. Offline

    xXKryptonXx

    Hmm, I think I could add a configfile for that.
    But this will take some time, because I have some other things to do at the moment :D
    I think I will add the config for that the next 2 to 3 days ;)
     
  17. Offline

    joeyismusic

    could you also make an option (per world) so that they can end up back at normal spawn point (ie: /home from /sethome like in essentials)
     
  18. Offline

    uncovery

    The issue that I am having here is that users do not respawn properly when dying in the skylands. They fall into a void and respawn there, causing my server to crash. Your plugin is the only chance I have to fix it!
     
  19. Offline

    joeyismusic

    try just the DeathOnVoid.port permission. they will die, and they will get ported, but they won't get inventory. i think. dont forge to set your /dovspawn point
     
  20. Offline

    uncovery

    No that does not work. The people respawn in the void and the server hangs.
     
  21. Offline

    uncovery

    I am running now 1.5, permissions are
    - DeathOnVoid.kill
    - DeathOnVoid.port
    but the user still keeps their inventory.
     
  22. Offline

    xXKryptonXx

    Yeah, thats normal.
    The Port-Perm. saves the inventory because the player ports back to the spawn without getting killed.
    If you want to delete the inventory, then only set the Kill-Perm.
     
  23. Offline

    iarspider

    Please update to RB1317:
    Code:
    2011-10-11 22:18:58 [SEVERE] Error occurred (in the plugin loader) while disabling DeathOnVoid v1.5 (Is it up to date?): null
    java.lang.NullPointerException
        at java.lang.Class.isAssignableFrom(Native Method)
        at org.bukkit.plugin.java.JavaPluginLoader.removeClass(JavaPluginLoader.java:245)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:992)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:166)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:325)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:404)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    
     

Share This Page