LWC
Download- NOTE!: Development builds for LWC can be found at the below Jenkins server. These builds have not been approved by the BukkitDev staff and may not have gone through any QA processes. Use them at your own risk!
Development builds (Jenkins)
Feature requests, Suggestions and Issues
IRC - Live Chat ( irc.esper.net #LWC )
github
wiki
Donate
LWC is the longest-lived single block protection plugin that protects both the block itself and contents of Chests, Furnaces, and Dispensers. It can also protect any other blocks, and by default will also protect Doors (Wooden + Iron), Signs and Trap Doors.
Blocks can be protected with three basic protection types:
Private
By default, only you can access this protection. You can also modify it (or specify when creating) to add other players or groups to the protection, so they can access it. Say you wanted Notch and Hidendra to both access the protection. When creating the protection, you could do /cprivate Notch Hidendra or if it already exists /cmodify Notch Hidendra. If you wanted to remove Hidendra from the private protection, you can use /cremove -Notch
Password
A password is set on the protection and anyone that knows the password can open it. You yourself also need this password each time you log in.
Public
Mainly targeted at community chests, a Public chest means just that: anyone can access it, but no one can protect it which makes it advantageous because it cannot be made private by someone else.
Commands
/lwc- The LWC command for everything, however aliases are available to make some commands shorter. Type /lwc in-game for more detailed help./cprivate- The alias of /lwc create private (or /lwc -c private), it creates a private protection./cpassword <password>- The alias of /lwc create password <password>, it creates a passworded protection./cpublic- The alias of /lwc create public, it creates a public protection/cremove- Allows you to remove a protection you own (or if you're an LWC admin, any protection) - you must click on the protection after using/cremovein order to remove it./cunlock <password>- Allows you to attempt to gain access to a passworded protection after LWC tells you you attempted to open a password protection.... more!There are aliases for all major used commands and every alias is not listed here.
Permissions
Basic permissions:
lwc.protect- Allows the player to create and manage their own protections. It also allows them to use enabled modes and flags.lwc.mod- Allows the player to open any chest, but not remove them.lwc.admin- Gives the player absolute power to LWC - this node should be considered dangerous if used incorrectly as this node essentially gives you the right to destroy every protection (and even the block & inventory contents associated with it) in one command!lwc.deny- Prevents players with this node from interacting with anything LWC can protect. For example, from opening or destroying protected and unprotected chests, furnaces, etc if protectable.
-
View User Profile
-
Send Message
Posted Sep 10, 2012How can i configure infinity protections inside a worldguard area?
-
View User Profile
-
Send Message
Posted Sep 9, 2012mmmm when you make /lwc a cleanup All invisible Locks are away :D
-
View User Profile
-
Send Message
Posted Sep 8, 2012@meiamone
Thanks for the advice, really appreciate it :) need something as my players are going nuts lol
-
View User Profile
-
Send Message
Posted Sep 8, 2012It seems very buggy if you enable locking of levers in config, i.e. you cannot interact with them at all. No errors tho
-
View User Profile
-
Send Message
Posted Sep 8, 2012@Nenestar
I think I would give SimpleChestLock a try until this is resolved. It is pretty simple and cool. I like LWC better but, I've tried that before and it's really easy to use.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@Karnekdo
Wow, that looks horrible! What tool are you using to measure that with? I would like to try it.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@Karnekdo
You don't have to include the autoregister part. In my opinion, it causes more grief for you. Example, some stranger connects, starts placing stuff and it autolocks. Then this new 'guy' leaves. Now you have people come on that want to build there. They start breaking stuff but can't break the locked blocks. Now you have a wasteland of floating chests and furnaces and doors. Ugly, and useless. Let the people with half a brain and some intention of sticking around lock their stuff using the command. Griefers and short-timers often don't know how to lock stuff anyway, so...it drastically reduces LWC storage and world uglifying to not autoregister.
-
View User Profile
-
Send Message
Posted Sep 8, 2012@Thrax33
@LuBoo222
Exact same prob .... I've had to take the jar off for now :( so all my players have no protected chests etc .... just realised they have a ticket system though so maybe we should all be submitting tickets :)
-
View User Profile
-
Send Message
Posted Sep 8, 2012hi im having the same problem as LuBoo, now when ever chest(etc) are placed its says there is a internal error but this just starting not working today i believe.
-
View User Profile
-
Send Message
Posted Sep 8, 2012Hello i have a problem with LWC when i want lock something in game server says LWC ERROR Player Interact and in the console 10:25:08 [SEVERE] com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 4.3.0 (b736)
10:25:08 [SEVERE] at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:359)
10:25:08 [SEVERE] at com.griefcraft.listeners.LWCBlockListener.onBlockPlace(LWCBlockListener.java:371)
10:25:08 [SEVERE] at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
10:25:08 [SEVERE] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
10:25:08 [SEVERE] at java.lang.reflect.Method.invoke(Method.java:601)
10:25:08 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330)
10:25:08 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
10:25:08 [SEVERE] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
10:25:08 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
10:25:08 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:99)
10:25:08 [SEVERE] at net.minecraft.server.ItemBlock.interactWith(ItemBlock.java:76)
10:25:08 [SEVERE] at net.minecraft.server.ItemStack.placeItem(ItemStack.java:84)
10:25:08 [SEVERE] at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:371)
10:25:08 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:649)
10:25:08 [SEVERE] at net.minecraft.server.Packet15Place.handle(SourceFile:58)
10:25:08 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
10:25:08 [SEVERE] at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
10:25:08 [SEVERE] at net.minecraft.server.ServerConnection.b(SourceFile:35)
10:25:08 [SEVERE] at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
10:25:08 [SEVERE] at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581)
10:25:08 [SEVERE] at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
10:25:08 [SEVERE] at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
10:25:08 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
10:25:08 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
10:25:08 [SEVERE] Caused by: java.lang.NullPointerException
10:25:08 [SEVERE] at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:165)
10:25:08 [SEVERE] at com.griefcraft.modules.limits.LimitsV2$DefaultLimit.getProtectionCount(LimitsV2.java:112)
10:25:08 [SEVERE] at com.griefcraft.modules.limits.LimitsV2.hasReachedLimit(LimitsV2.java:285)
10:25:08 [SEVERE] at com.griefcraft.modules.limits.LimitsV2.onRegisterProtection(LimitsV2.java:162)
10:25:08 [SEVERE] at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:347)
10:25:08 [SEVERE] ... 23 more
Thanks for help
-
View User Profile
-
Send Message
Posted Sep 7, 2012I think lwc causing the lag on my server. I'm running the Tekkit server.
Are there some items that I should not add under lwc protection (maybe solar panels, ...)?
I also saw that someone protected a wood? How could that be?!
-
View User Profile
-
Send Message
Posted Sep 7, 2012@Guardianzozo
This is the right way:
You should add '181' first, then the subitems like '181:2', etc ...
-
View User Profile
-
Send Message
Posted Sep 6, 2012@SnipsRevival
i also tried the
and still nothing
-
View User Profile
-
Send Message
Posted Sep 6, 2012Hello, me and a few other servers are still stuck on CanaryMod (which is going down very soon i believe) i know you have a converter in there already but i think the canary version have a few updates, like dimension support and multiworld support. would it be possible to update it?
here is the selection script for sql, not sure if you need it tho :p https://github.com/darkdiplomat/LWC/blob/master/src/com/griefcraft/sql/MemDB.java
tell me if you need anything else ;)
also, im willing to pay for the converter... this is the last plugin i need, and its important to "keep" the chests protected without starting a new world
- thanks
-
View User Profile
-
Send Message
Posted Sep 5, 2012@Guardianzozo
put the block id in apostrophes like this: '181:2'. I believe it says that somewhere in the config file
-
View User Profile
-
Send Message
Posted Sep 5, 2012i also would like to protect some tekkit items i modified the config but it does not seem to read block ids only names
and it will not let me protect it is there a way to get block ids to work and not just block names?
-
View User Profile
-
Send Message
Posted Sep 5, 2012Hi There :) We are getting errors all of a sudden and not sure why... whenever we try to you use the cprivate command on anything...tried chests,doors etc it comes up that there is an internal error and to contact admin we are ops who are trying to use the command and it still doesn't work for us here is just a very small part of the errors it is throwing in the console...the console was full.
05.09 16:48:00 [Server] SEVERE at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.ServerConnection.b(SourceFile:35) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.Packet15Place.handle(SourceFile:58) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:649) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:371) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.ItemStack.placeItem(ItemStack.java:84) 05.09 16:48:00 [Server] SEVERE at net.minecraft.server.ItemBlock.interactWith(ItemBlock.java:76) 05.09 16:48:00 [Server] SEVERE at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:99) 05.09 16:48:00 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 05.09 16:48:00 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 05.09 16:48:00 [Server] SEVERE at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 05.09 16:48:00 [Server] SEVERE at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) 05.09 16:48:00 [Server] SEVERE at java.lang.reflect.Method.invoke(Unknown Source) 05.09 16:48:00 [Server] SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 05.09 16:48:00 [Server] SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 05.09 16:48:00 [Server] SEVERE at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 05.09 16:48:00 [Server] SEVERE at com.griefcraft.listeners.LWCBlockListener.onBlockPlace(LWCBlockListener.java:371) 05.09 16:48:00 [Server] SEVERE at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:359) 05.09 16:48:00 [Server] SEVERE com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 4.3.0 (b736)
-
View User Profile
-
Send Message
Posted Sep 3, 2012Is there a permission that will let someone view the contents of a chest, but be unable to remove or add items and also be unable to remove or modify the protections? If there isn't a way to do this with LWC, I think it would be a great addition for future versions.
-
View User Profile
-
Send Message
Posted Sep 3, 2012We use your plugin on our family server, but we have noticed that the auto-close feature for wooden doors does not seem to be present anymore. Can you bring this back? I see where you can set openAndClose on doors in the config, but it's not working for wooden doors. Is it supposed to be? Also, my 9 year old daughter of all people informed me that she can open any locked door using a redstone torch, regardless of if she is the owner or not. Is there any way to prevent this... (hurry, she likes to grief her dad's creations!). Nevermind, found that switch in the config and turned it off.
Otherwise thanks for a very useful and longstanding plugin!
-
View User Profile
-
Send Message
Posted Sep 3, 2012@LynnJordison
My guess would not be LWC. LWC should not affect your inventory. Check your other plugins that do that. Backpack or plugins like that have issues with that kind of thing.