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 Jun 22, 2012@Hans6666
Getting the exact same thing, For me Its 809 ms. same task.
I opened my LWC folder & opened Magnet.yml, the yml file for that module. Disabled it and now all is fine. If you want to opt out of the metrics you can also in core.yml Its just "optout: false" change to true.
-
View User Profile
-
Send Message
Posted Jun 21, 2012ok i made a new logfile with nolagg and this time lwc "caused" the most "laggs" the task: com.griefcraft.modules.flag.MagnetModule$MagnetTask creates is the problem...about 116ms
as i read this has to do with pluginmetrics? how can i disable this feature?
-
View User Profile
-
Send Message
Posted Jun 20, 2012Is there anyway to protect regions without having to protect every block?
-
View User Profile
-
Send Message
Posted Jun 20, 2012how can i disable griefcraft from LWC? with nolagg lwc has about 30ms
Total duration: 45.168 ms / 500 ticks Average duration: 0.09 ms/tick Selected task: Task #45 Plugin: LWC Location: com.griefcraft.modules.flag.MagnetModule$MagnetTask
thanks
-
View User Profile
-
Send Message
Posted Jun 19, 2012I get an error all time Please help : 08:07:29 [SEVERE] null java.sql.SQLException: [SQLITE_NOTADB] File opened that is not a database file (file is encrypted or is not a database) at org.sqlite.DB.newSQLException(DB.java:383) at org.sqlite.DB.newSQLException(DB.java:387) at org.sqlite.DB.throwex(DB.java:374) at org.sqlite.NativeDB.prepare(Native Method) at org.sqlite.DB.prepare(DB.java:123) at org.sqlite.PrepStmt.(PrepStmt.java:42) at org.sqlite.Conn.prepareStatement(Conn.java:404) at org.sqlite.Conn.prepareStatement(Conn.java:399) at org.sqlite.Conn.prepareStatement(Conn.java:383) 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:601) at com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StmtAcquireTask.run(GooGooStatementCache.java:525) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
08:07:30 [SEVERE] null
java.sql.SQLException: [SQLITE_NOTADB] File opened that is not a database file (file is encrypted or is not a database) at org.sqlite.DB.newSQLException(DB.java:383) at org.sqlite.DB.newSQLException(DB.java:387) at org.sqlite.DB.throwex(DB.java:374) at org.sqlite.NativeDB.prepare(Native Method) at org.sqlite.DB.prepare(DB.java:123) at org.sqlite.PrepStmt.(PrepStmt.java:42) at org.sqlite.Conn.prepareStatement(Conn.java:404) at org.sqlite.Conn.prepareStatement(Conn.java:399) at org.sqlite.Conn.prepareStatement(Conn.java:383) 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:601) at com.mchange.v2.c3p0.stmt.GooGooStatementCache$1StmtAcquireTask.run(GooGooStatementCache.java:525) at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
-
View User Profile
-
Send Message
Posted Jun 19, 2012I do not understand why people use lockette... Why have an ugly sign on your chest when you can use a simple command with LWC?
-
View User Profile
-
Send Message
Posted Jun 19, 2012How can I disable this message:
Notice: That Private Wooden Door is locked by you. ? thanks for helping me :p
-
View User Profile
-
Send Message
Posted Jun 18, 2012It would be nice if you could make it Integrate with Towny. You can set it to where only members of your town and allies could use a certain chest. Would be cool.
-
View User Profile
-
Send Message
Posted Jun 18, 2012LWC or Lockette?
LWC = WINNER! FTW! <3 Nice plugin man, very useful...

-
View User Profile
-
Send Message
Posted Jun 17, 2012Can I make so lwc only protects in one world?
-
View User Profile
-
Send Message
Posted Jun 16, 2012Works dor R4? :D
-
View User Profile
-
Send Message
Posted Jun 16, 2012BUG REPORT: When someone has for example: a locked furnace and say decides to move house, he removes the furnace and everything, someone else comes along to build something and the block that the guy places where the locked furnace was is now locked.
I remember usually when you break a block the protection goes away. I guess it could be simply that the furnace was worldedited away or rolled back with LogBlock. I think you should make it compatible.
-
View User Profile
-
Send Message
Posted Jun 14, 2012can i disable LWC on certain worlds?
-
View User Profile
-
Send Message
Posted Jun 14, 2012hi i have a huge problem all my protections and my backups went away.
this is a pastie with log messages related to lwc http://pastie.org/4086862
whats worng??
is there any way to get my database back???
-
View User Profile
-
Send Message
Posted Jun 12, 2012No one knows how to solve my problem?
UPD: Problem solved, in a file config.yml (PermissionEX) set strict-mode: true
-
View User Profile
-
Send Message
Posted Jun 12, 2012Hey, is the a way to transffer protections from Lockette to LWC ? Because the dupe exploit is finally fixed, is there a way to transffer all the protection from lockette to lwc ?
-
View User Profile
-
Send Message
Posted Jun 11, 2012Ok so I put the lwc.jar in my plugins folder and I have craftbukkit r4. I started my server and it created the files necessary. but my server wasn't showing as online and in console it would scroll through the startup messages then get to connecting to sqlite or something then it would go through the same startup messages again and it would just repeat but never start up. I tried restarting but it still didnt work. So I deleted the Lwc folder and jar but the lwc folder stayed and couldnt be deleted but all it had in it still was lib, and in lib is native, in native is linux, and in linux is amd64. And in amd64 is nothing. Those folders can't be deleted. Now i just tried to redownload lwc, it creates the folders inside LWC folder, but it doesnt create anything in the lib folder. What is wrong?
-
View User Profile
-
Send Message
Posted Jun 11, 2012Hello Makers of LWC, there is currently a Duplication glitch with this plugin right now that my players are telling me about. If you don't already know how it's done, please reply and i'll try to get you that info
-
View User Profile
-
Send Message
Posted Jun 11, 2012Maybe add support to transfer lockette/deadbolt protection to LWC in the future? That'd be so useful since I just switched to this plugin after using lockette for about a year.
-
View User Profile
-
Send Message
Posted Jun 10, 2012Thank you for this amazing plugin! Is there any way to move a players protections to another player? Basically someone was playing for around a year on my server and so has hundreds of chests, but can't access any on his new account. Would this be possible? Thank you!