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/cremove
in 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.
@DarkMinecrafter
You can add custom blocks to the core.yml file to include whatever blocks you would like, including levers, buttons, pressure plates, the new enchantment tables, brewing stands, and if you felt so inclined, dirt/stone blocks can be protected as well. just follow the core.yml layout as such:
now mind you, I added lots of blocks to mine; you can add as many or few as you like
I am having the same errors, how to fix?
can you add gate support ?
On the New build i recieved.
2011-12-15 17:47:54 [INFO] LWC: Using: Mysql-connector-java-5.1.14 ( Revision: ${bzr.revision-id} )
2011-12-15 17:47:54 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'flags' in 'field list'
2011-12-15 17:47:54 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
2011-12-15 17:47:54 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
2011-12-15 17:47:54 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
2011-12-15 17:47:54 [SEVERE] at java.lang.reflect.Constructor.newInstance(Unknown Source)
2011-12-15 17:47:54 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
2011-12-15 17:47:54 [SEVERE] at com.mysql.jdbc.Util.getInstance(Util.java:382)
2011-12-15 17:47:54 [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
2011-12-15 17:47:54 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593)
2011-12-15 17:47:54 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525)
2011-12-15 17:47:54 [SEVERE] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986)
2011-12-15 17:47:54 [SEVERE] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
2011-12-15 17:47:54 [SEVERE] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
2011-12-15 17:47:54 [SEVERE] at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
2011-12-15 17:47:54 [SEVERE] at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273)
2011-12-15 17:47:54 [SEVERE] at com.griefcraft.sql.PhysDB.resolveProtections(PhysDB.java:561)
2011-12-15 17:47:54 [SEVERE] at com.griefcraft.sql.PhysDB.precache(PhysDB.java:682)
2011-12-15 17:47:54 [SEVERE] at com.griefcraft.lwc.LWC.load(LWC.java:1161)
2011-12-15 17:47:54 [SEVERE] at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:360)
2011-12-15 17:47:54 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
2011-12-15 17:47:54 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
2011-12-15 17:47:54 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
2011-12-15 17:47:54 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
2011-12-15 17:47:54 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
2011-12-15 17:47:54 [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
2011-12-15 17:47:54 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
2011-12-15 17:47:54 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
2011-12-15 17:47:54 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
2011-12-15 17:47:54 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
Yes confirmed. no more errors with 3.54 but with 55 on the other hand tons of errors like 3 errors in a second the log was 1 GB in like 2 min lol
Yeah holy ffff the new update is spammming like crazy with sql errors. 011-12-14 23:15:46 [INFO] LWC: Loaded 137 locale strings (0 overrides) 2011-12-14 23:15:46 [INFO] LWC: Permissions API: NijiPermissions 2011-12-14 23:15:46 [INFO] LWC: Currency API: iConomy6Currency 2011-12-14 23:15:46 [INFO] LWC: Loading MySQL 2011-12-14 23:16:24 [INFO] LWC: Using: Mysql-connector-java-5.1.14 ( Revision: ${bzr.revision-id} ) 2011-12-14 23:16:24 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'flags' in 'field list' 2011-12-14 23:16:24 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 2011-12-14 23:16:24 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) 2011-12-14 23:16:24 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) 2011-12-14 23:16:24 [SEVERE] at java.lang.reflect.Constructor.newInstance(Constructor.java:525) 2011-12-14 23:16:24 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) 2011-12-14 23:16:24 [SEVERE] at com.mysql.jdbc.Util.getInstance(Util.java:382) 2011-12-14 23:16:24 [SEVERE] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052) 2011-12-14 23:16:24 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3593) 2011-12-14 23:16:24 [SEVERE] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3525) 2011-12-14 23:16:24 [SEVERE] at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1986) 2011-12-14 23:16:24 [SEVERE] at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140) 2011-12-14 23:16:24 [SEVERE] at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626) 2011-12-14 23:16:24 [SEVERE] at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111) 2011-12-14 23:16:24 [SEVERE] at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273) 2011-12-14 23:16:24 [SEVERE] at com.griefcraft.sql.PhysDB.resolveProtections(PhysDB.java:561) 2011-12-14 23:16:24 [SEVERE] at com.griefcraft.sql.PhysDB.precache(PhysDB.java:682) 2011-12-14 23:16:24 [SEVERE] at com.griefcraft.lwc.LWC.load(LWC.java:1161) 2011-12-14 23:16:24 [SEVERE] at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:360) 2011-12-14 23:16:24 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188) 2011-12-14 23:16:24 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968) 2011-12-14 23:16:24 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280) 2011-12-14 23:16:24 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186) 2011-12-14 23:16:24 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169) 2011-12-14 23:16:24 [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) 2011-12-14 23:16:24 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) 2011-12-14 23:16:24 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) 2011-12-14 23:16:24 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) 2011-12-14 23:16:24 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) And alot more but this was the only plugin using mysql complaining with Rb and newest lwc
Got this error
Bukkit 1.0.0-R1 LWC 3.55 for CB 1.0.0-R1 FreeBSD
What is wrong with libsqlitejdbc.so? It is downloaded, and I use MySQL mode. But I get this error. The plugin seems to work (I can use commands and it says I've created protection successfully)
Updated German locale: http://dachboden-server.de/download/lwc_de.properties
for b515 4.0.0
How can I disable in Build 500 the redstone message
Using the latest LWC (Build 491) as well as back before on CB build 1080 when LWC was in stable states, I've never been able to take advantage of some of the extra features in the plugin, and have been wondering if I'm just setting it up wrong, or if there's another command I need to utilize in-game to get it to work properly.
these features would namely be Double Doors "OpenAndClose" setting, and the magnet option; never gotten to see either of them work, sadly. Anyone have any suggestions on how to get it working properly? I use pretty much default settings, with exception of adding a few extra blocks to the protect list, which works perfectly.
EDIT: I managed to get the magnet to work, similar to redstone (the flags aside from redstone are not listed in-game, and only magnet in addition was found on wiki) however the OpenAndClose for doors I cannot get to work for the life of me :(
Updated German locale: http://dachboden-server.de/download/lwc_de.properties
@Darkone003
Its not really an issue with pex its just logical it uses the first instance of the node it comes across and dose not continue to look for the permission node after it has been found its done so that its efficient and its really not that hard to put the negative nodes before the positive nodes.
Also PEX was not causing the issue as i stated in the post below. been running my server far far too long to have a stupid issue like that.
@BetaStream
No its not a problem with PEX because the only lwc node my group i am in is - lwc.* it dose not inherit or any thing like that. it is 1 single standalone group with a bunch of negative nodes to remove all plugin permissions. I have it set like this so that i can record my minecraft with m8's youtube series with out any plugins effecting gameplay.
never the less the issue seems to of corrected its self with a bukkit update..
In the latest dev build i get this error:
[SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'lwc' in plugin LWC v3.54
Does anyone have this issue?
I tried to get back to a older lwc version but it's still doing this...
EDIT:
When starting my server i got this error:
2011-12-04 07:28:31 [SEVERE] Error occurred while enabling LWC v3.54 (Is it up to date?): Can't find resource for bundle java.util.PropertyResourceBundle, key protection.create.status.notsign java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key protection.create.status.notsign
[REQUEST]:
Specified custom amount of protected chests for every group.
Guests: 0
Members: 4
VIPs: -1
@RustyDagger
Yeah I'm pretty sure PEX and negative permissions don't work well together unfortunately.
I think you have to give negative permissions before any wildcards, so it would be:
I'm not entirely sure that would work either, but anyways that is a PEX issue.. :\
Hey!I finished the Hungarian translate!
http://pastie.org/2959544
Thank 's for giving me the permission to translate
@RustyDagger
Thats problem from PEX... I gave some problems like that but with other plugins...
@hidendra I finally came across a situation where i was not happy with LWC.
Just yesterday i decided i wanted to record some vanilla sandbox game play on the server with some friends so off i went to the perms file and started handing out negative permissions for every plugin / on the server created a new map you know setup worldguard for it and all that jazz i gave my self and my friends - -lwc.* (PEX user :D) in game i checked that it worked by using /lwc the help popped up not a big deal but i was unable to use /cprivate i took that as every thing was fine as i had no permissions to use it... However when I placed a chest it was auto protected :O weather or not it has some thing to do with me being op i dont know but i would like this fixed the easy way no auto protect for those who dont have the lwc.protect permission. Please and thank you :D
mhh we have setup a fresh lwc install with mysql but many users say they cant open ther password protectet doors.
but i have no idea why.
http://pastebin.com/RizQJ0Cr