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 Feb 2, 2013LastBuild
CB last.
-
View User Profile
-
Send Message
Posted Feb 2, 2013LWC was spamming my Log with errors all the time -.- Wtf
-
View User Profile
-
Send Message
Posted Feb 2, 2013Latest dev build is spamming my console with
"loadProtections() in 0ms"
-
View User Profile
-
Send Message
Posted Feb 2, 2013Could you make it so it can lock anvils and enchanting tables to. It would really help out a lot.
-
View User Profile
-
Send Message
Posted Feb 2, 2013Build #814, holy smokes look all those reverts. :o
"Donation chest support."
Hmm wonder how that works, think my players will like that.
Thanks for the new dev builds!
-
View User Profile
-
Send Message
Posted Feb 1, 2013Getting unbearable lag with LWC and 70+ players, with a huge mysql databaste, and using the most recent dev build (Seems to effect all builds I try however).
The culprits are BlockRedstoneEvent and PlayerInteractEvent, huge spikes in lag with these events.
-
View User Profile
-
Send Message
Posted Feb 1, 2013Thanks for the update on the devbuilds hidendra! seems all good so far.
-
View User Profile
-
Send Message
Posted Feb 1, 20138:16:47 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin LWC v4.3.1 (b813-git-MANUAL) (January 27, 2013) generated an exception while executing task 1550 at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftAsyncTask.run(CraftAsyn cTask.java:56) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source ) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com.griefcraft.scripting.ModuleException: com.griefcraft.sql.Database Exception: Connection pool is full! at com.griefcraft.sql.Database.printException(Database.java:142) at com.griefcraft.sql.PhysDB.fetch(PhysDB.java:123) at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:145) at com.griefcraft.lwc.LWC$2.getValue(LWC.java:1514) at com.griefcraft.util.Metrics.postPlugin(Metrics.java:429) at com.griefcraft.util.Metrics.access$400(Metrics.java:69) at com.griefcraft.util.Metrics$1.run(Metrics.java:263) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java :53) at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftAsyncTask.run(CraftAsyn cTask.java:53) ... 3 more Caused by: com.griefcraft.sql.DatabaseException: Connection pool is full! at com.griefcraft.sql.Database.prepare(Database.java:347) at com.griefcraft.sql.Database.prepare(Database.java:327) at com.griefcraft.sql.Database.prepare(Database.java:305) at com.griefcraft.sql.PhysDB.fetch(PhysDB.java:106) ... 10 more
-
View User Profile
-
Send Message
Posted Feb 1, 2013@EnderdragonDE
Read the Topic: Dev builds -> Use them at your own risk!
Issues per https://github.com/Hidendra/LWC/issues?state=open
(Build #02624) and LWC Build #813
-> Works with SQLite.... so, do you use mySQL?
Check it with a clean, new server without plugins and a fresh LWC installation.
-
View User Profile
-
Send Message
Posted Feb 1, 2013Using 1.4.7-R1.0 (Build #02624) and LWC Build #813
11:51:47 [SEVERE] java.lang.NullPointerException
11:51:47 [SEVERE] at com.griefcraft.util.DatabaseThread.flushDatabase(DatabaseThread.java:122)
11:51:47 [SEVERE] at com.griefcraft.util.DatabaseThread.run(DatabaseThread.java:147)
11:51:47 [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53)
11:51:47 [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
11:51:47 [SEVERE] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
11:51:47 [SEVERE] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
11:51:47 [SEVERE] at java.lang.Thread.run(Thread.java:722)
-
View User Profile
-
Send Message
Posted Jan 31, 2013a stupid question, how can I make it work with mysql ? how do I use that? lol
-
View User Profile
-
Send Message
Posted Jan 31, 2013@Jobsti2
My SQLite DB file is 28MB with 91,261 protections. LWC errors are countless and flood my log files every few seconds/minutes. It's quite distressing that the issues are going completely unanswered, even though the developer seems active.
-
View User Profile
-
Send Message
Posted Jan 31, 2013@mrchasez
Have you checked the plugin.yml inside the plugin jar to see if the plugin is giving any permissions to default any permissions the plugin.yml has set to default will be given to all players no matter what your permissions plugin has to say. This to me is the ONLY flaw in the permissions system where I have to edit the plugin jar to control my servers permissions thats annoying and wrong.
-
View User Profile
-
Send Message
Posted Jan 31, 2013@mrchasez
I run a SkyBlock and hardcore world, so I've basically just negated the "lwc.*" node, and it has proven to be successful. No one has access to LWC commands nor are they auto locked on placement.
-
View User Profile
-
Send Message
Posted Jan 31, 2013@Endless123
I don't know, our LWC DB has only 1,2MB, with 3000 Protections and 4000 History-Records
-
View User Profile
-
Send Message
Posted Jan 31, 2013Please, i have tried everything. How can i make it so Guest through Member CAN"T lock chests. However KNIGHT - Everything CAN lock chests. Only Knight+ has permission yet everyone can lock them. And it dno't auto lock on placing
-
View User Profile
-
Send Message
Posted Jan 31, 2013Doesn't work with BukkitForge/Tekkit Lite anymore:
[SEVERE] [BukkitForge] Error occurred while enabling LWC v4.3.1 (b813-git-MANUAL) (January 27, 2013) (Is it up to date?) java.lang.NoClassDefFoundError: org/json/simple/parser/JSONParser at com.griefcraft.sql.PhysDB.<init>(PhysDB.java:57) at com.griefcraft.lwc.LWC.load(LWC.java:1418) at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:231) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:379) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at keepcalm.mods.bukkit.bukkitAPI.BukkitServer.loadPlugin(BukkitServer.java:935) at keepcalm.mods.bukkit.bukkitAPI.BukkitServer.enablePlugins(BukkitServer.java:919) at keepcalm.mods.bukkit.bukkitAPI.BukkitServer.<init>(BukkitServer.java:243) at keepcalm.mods.bukkit.asm.BukkitStarter.run(BukkitStarter.java:46) at java.lang.Thread.run(Unknown Source) could you do a quick fix? :) got that error on server start
-
View User Profile
-
Send Message
Posted Jan 31, 2013@Jobsti2
The Lag problems only start with alot of Protections - so your small server does not have this problem - since your DB does not get hit so often.
This plugin might work for small servers - but not anymore on bigger populated servers.
-
View User Profile
-
Send Message
Posted Jan 31, 2013Error on reload, unload, or load.
http://pastie.org/5988319
-
View User Profile
-
Send Message
Posted Jan 30, 2013For all:
What works:
LWC #813 CB #2623
or
LWC RB 4.3.1 CB #2606
SQLite, no mySQL
Only Problem is, If you have a locale folder with a file in it, so LWC doesn't start.
See my 2nd comment: https://github.com/Hidendra/LWC/issues/515
No Errors, no Lagspikes, nothing, works good so far.