SafeVoid (15/5/12 4:36 PM [+8GMT]) (Video by fussionzz97) Description: Continuation of NoVoid. Instead of using onPlayerMove listener, it uses onEntityDamaged to save some performance. To also save more performance, it makes a bedrock to stop the player from continuously falling. I also know that WorldGuard has this function already. This'll be for servers with no WG or if the WG void protection is not working. However, if I am not wrong, WG doesn't patch up the hole to the void for you, this does though. Features:- In-game commands- Uses onEntityDamaged hook to save performance- Disallows falling through the void by teleporting the player to the highest block and making a bedrock on Y=0 to save performance. - Configurations to disable it for certain worlds- Configurations to disallow players in creative mode from falling into the Void in all worlds- Configuration to teleport to spawn instead Default Configurations:http://dev.bukkit.org/server-mods/safevoid/pages/configurations-help/ Commands: /safevoid OR /sv - Prints all commands Permission Nodes (case sensitive) [PermissionBukkit, PEX, bPerms]: safevoid.* - Everything below safevoid.admin - Use the /safevoid commands Changelog:v1.2.3- Fixed the falling into the void with a vehicle bug where the player gets stuck instead.- Edited the /sv menu, typo errors.v1.2.2- 1.2 support (Events)v1.2.1.2- Fixed bPermissions supportv1.2.1.1- Fixed NPE in the latest development builds of craftbukkitv1.2.1- Fixed NPEv1.2- Implemented in-game commands Spoiler (Move your mouse to the spoiler area to reveal the content) Show Spoiler Hide Spoiler v1.1.1- Now using the new YAMLConfiguration- Took out creating a bedrock when "teleport_to_spawn" is set to truev1.1- Added "teleport_to_spawn" configuration to set the players position to spawn instead of highest block when dropping.v1.0 - Initial release BUKKITDEV:http://adf.ly/8YDPP (Just 5 seconds to contribute something to me )http://dev.bukkit.org/server-mods/safevoid/files/12/ (DIRECT) Source: https://github.com/mrciku/SafeVoid
I'll work on it soon For the lava, maybe I'll work on a separate plugin. This is meant for void only. EDIT: Ok done. Thanks
Hold on let me try EDIT: I'll try when I get back, please try to post any error before I come back thanks. If theres no errors, then hold on. EDIT 2: Works completely fine for me, try looking for errors when you start the server If no one needs me to update this, I won't be updating until someone needs it.
Hi! I need an update to 1.1R5! Code: 2012-03-06 04:00:25 [SEVERE] Could not load 'plugins/SafeVoid.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: org/bukkit/event/entity/EntityListener at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:148) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:287) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:211) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:147) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.NoClassDefFoundError: org/bukkit/event/entity/EntityListener at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) 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) at me.Jaryl.SafeVoid.SafeVoid.<init>(SafeVoid.java:17) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144) ... 8 more Caused by: java.lang.ClassNotFoundException: org.bukkit.event.entity.EntityListener at java.net.URLClassLoader$1.run(Unknown Source) 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) ... 27 more
If you want... But it is the most simplest code of all. Just follows the OnEntityDamage listener, checks for damagecause is void and makes the block using world.getblock(POS).setType(ID). If you still want the source, just reply yes to this and hold on as sec, coz I'm still getting a hold of Github
Can you make it so when player fall in to the void they are instead tped to y 256 (x and z are Random in a configurable radius) and fall down to their death