Group: Anti-grief Name: Worldlock Desc: "locks" an entire world to prevent modification, but allows placing of vehicles, use of redstone/doors and chests. commands: /lockworld /unlockworld permissions: wl.lock wl.unlock when I'd like it by: ASAP
Yes this will do it, but that is a pain to set for the WHOLE world ya know? And Modify world requries you yo add permissions and take them away.... It would be much simpler for a plugin specifically for this task. Plus would be nice to have a world lock where an admin could shut down everything and do what he/she needs to do, Without kicking players or white listing them. I see great potential and Can work on it.
1- There's a region called __global__ 2- You can always edit the region size in the config Not really that difficult.. EDIT: And for ModifyWorld, I'm sure you can give -modifyworld.build.* or whatever it is. You can give the '*' part to deny all building.
Meh, i see more potential for this. Lock Blocks on the fly, Gives Admin's time to fix the stuff they need to, Stop's griefing. But you know, i just about learned the global region! Great to know =)
/region flag __global__ build deny /region flag __global__ build allow ... Denying building at it's finest. Never knew about it for the longest time either. :3
:3 I would still like to develop this and add on to it. Because (Personally) Some people don't like to use World Guard.
Go ahead; I was just giving the OP a solution that works. 80% of these requests can be accomplished with existing plugins.
Ok, but will it have an option to allow the placing of vehicles such as boats and minecarts? I have a rail link between 2 towns on my server that will have to be usable even in the event of a map lock.
Here it is: World Lock v0.3 Please, if you find any bugs contact me and i will fix them. To add exceptions, use the block ID and put it like this: Code:YMAL Blocked:Placed:Allowed:- 0- 49Break:Allowed:- 0- 1 And the command is /wl lock to lock/unlock the world.
thanx! multiworld bug I lock 1 world, it locks all. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Fixed. Added new part to the config. List all your world names. Command is: /wl lock <world name> Edit: use the same link above.
Ok, sounds good. I'll report back later, I am going to lock some worlds . Especially this one: dynmap (Click on world genspace) Should have rendered at least a bit. Nobody will grief my spaceships anytime soon I came across a series of errors: 10:15:47 [SEVERE] Could not pass event BlockBreakEvent to World Lock org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:260) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:126) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:546) at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at me.kodfod.wl.Main.onBlockBreak(Main.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 16 more 10:15:47 [SEVERE] Could not pass event BlockBreakEvent to World Lock org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:260) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:126) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:546) at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at me.kodfod.wl.Main.onBlockBreak(Main.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 16 more 10:15:47 [INFO] [PLAYER_COMMAND] gauso001: /warp ns 10:15:50 [INFO] [PLAYER_COMMAND] gauso001: /setspawn 10:15:53 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'wl' in plugin World Lock v0.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at me.kodfod.wl.Main.onCommand(Main.java:38) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 15 more 10:16:04 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'wl' in plugin World Lock v0.3 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at me.kodfod.wl.Main.onCommand(Main.java:39) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 15 more 10:16:09 [INFO] <**Diamond ~Pan> hey gauso can me and lokk be co owners since we know lots of commands 10:16:12 [INFO] Error: Player not found. 10:16:21 [INFO] <~Owner> ok 10:16:26 [INFO] <~Owner> 1sec 10:16:30 [INFO] <**Diamond ~Pan> ok can u join the faction 10:16:30 [INFO] Connection reset 10:16:30 [INFO] gauso001 lost connection: disconnect.quitting 10:16:38 [INFO] C_W_Kidd[/92.229.44.108:49902] logged in with entity id 2728 at ([normal] 954.4365002461532, 64.0, 788.5258863473241) 10:16:52 [SEVERE] Could not pass event BlockBreakEvent to World Lock org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:260) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:126) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:546) at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at me.kodfod.wl.Main.onBlockBreak(Main.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 16 more 10:16:54 [INFO] LuckyMeal lost connection: disconnect.quitting 10:16:54 [INFO] Connection reset 10:17:02 [SEVERE] Could not pass event BlockBreakEvent to World Lock org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:260) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:126) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:546) at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at me.kodfod.wl.Main.onBlockBreak(Main.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 16 more 10:17:02 [SEVERE] Could not pass event BlockBreakEvent to World Lock org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:260) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:126) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:546) at net.minecraft.server.Packet14BlockDig.handle(SourceFile:46) at net.minecraft.server.NetworkManager.b(NetworkManager.java:281) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at me.kodfod.wl.Main.onBlockBreak(Main.java:86) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 16 more config: worlds: - world - world_nether - world_the_end Blocked: Placed: Allowed: - 0 Break: Allowed: - 0 Not all worlds listed, only ones I want to lock. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
You will have to list all worlds. I'm sorry i should have been more specific. The worlds list is all your worlds. And do /wl lock <world> i will add a perma-lock config option.
AWESOME PLUGIN!!!!! It works well! Thanx a million! If you want I will make a plugin tutorial and post it on youtube. Put this plugin on the plugin list, it deserves to be used on every server.
I was wondering if there is a way to link this with Factions so players can only build in the places they have claimed with the /f claim command. I was sent to this page by a user from this thread.http://forums.bukkit.org/threads/req-iron-door-help-torch-remove-factions-fix.93128/#post-1280416