LWC

LWC

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

Advanced 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.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of zhongfu zhongfu Oct 16, 2013 at 10:26 UTC - 0 likes

    Which economy plugins are supported with serverBankAccount? It does not work with Fe even though I created an account called server and set it in the LWC-Economy config (iconomy.yml).

  • Avatar of koenkoro koenkoro Oct 15, 2013 at 15:06 UTC - 0 likes

    Are we able to remove "/lwc admin - Administration" from /lwc?

  • Avatar of PrimoHighDefinition PrimoHighDefinition Oct 15, 2013 at 11:17 UTC - 0 likes

    Error:

    lwc admin cleanup

    2013-10-15 13:15:31 [WARNING] Unexpected exception while parsing console command "lwc admin cleanup" org.bukkit.command.CommandException: Unhandled exception executing command 'lwc' in plugin LWC v4.4.0 (b881) (July 11, 2013) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:527) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchServerCommand(CraftServer.java:516) at net.minecraft.server.v1_6_R3.DedicatedServer.as(DedicatedServer.java:276) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:241) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 4.4.0 (b881) at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:358) at com.griefcraft.lwc.LWCPlugin.onCommand(LWCPlugin.java:167) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more Caused by: com.griefcraft.scripting.ModuleException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    The last packet successfully received from the server was 2,395,240 milliseconds ago. The last packet sent successfully to the server was 2,385,232 milliseconds ago. at com.griefcraft.sql.Database.printException(Database.java:199) at com.griefcraft.sql.PhysDB.fetch(PhysDB.java:126) at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:137) at com.griefcraft.modules.admin.AdminCleanup.onCommand(AdminCleanup.java:88) at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:340) ... 10 more Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

    The last packet successfully received from the server was 2,395,240 milliseconds ago. The last packet sent successfully to the server was 2,385,232 milliseconds ago. at sun.reflect.GeneratedConstructorAccessor118.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:525) at com.mysql.jdbc.Util.handleNewInstance(Util.java:407) at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3348) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1967) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2273) at com.griefcraft.sql.PhysDB.fetch(PhysDB.java:116) ... 13 more Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3329) ... 19 more

    2013-10-15 13:15:31 [WARNING] Unexpected exception while parsing console command "lwc admin cleanup" org.bukkit.command.CommandException: Unhandled exception executing command 'lwc' in plugin LWC v4.4.0 (b881) (July 11, 2013)

    2013-10-15 13:15:51 [INFO] Kommando falsch, tippe /help fuer hilfe!!. 2013-10-15 13:15:51 [INFO] Kommando falsch, tippe /help fuer hilfe!!.

    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:527)

    2013-10-15 13:15:51 [INFO] Kommando falsch, tippe /help fuer hilfe!!. 2013-10-15 13:15:51 [INFO] Kommando falsch, tippe /help fuer hilfe!!. 2013-10-15 13:15:51 [INFO] Kommando falsch, tippe /help fuer hilfe!!.

    at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchServerCommand(CraftServer.java:516) at net.minecraft.server.v1_6_R3.DedicatedServer.as(DedicatedServer.java:276) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:241) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483)

    2013-10-15 13:15:51 [INFO] Kommando falsch, tippe /help fuer hilfe!!. 2013-10-15 13:15:51 [INFO] Kommando falsch, tippe /help fuer hilfe!!.

    at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415)

    2013-10-15 13:15:51 [INFO] Kommando falsch, tippe /help fuer hilfe!!. 2013-10-15 13:15:51 [INFO] Kommando falsch, tippe /help fuer hilfe!!.

    at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: com.griefcraft.scripting.ModuleException: LWC Module threw an uncaught exception! LWC version: 4.4.0 (b881) at com.griefcraft.scripting.ModuleLoader.dispatchEvent(ModuleLoader.java:358) at com.griefcraft.lwc.LWCPlugin.onCommand(LWCPlugin.java:167) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ... 8 more Caused by: com.griefcraft.scripting.ModuleException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

  • Avatar of FamilieZocken FamilieZocken Oct 14, 2013 at 13:42 UTC - 0 likes

    hi ok, i'm german typ and my english as very well hmm.... I'll tryed

    I've latest Release form LWC but Furnaces, and Dispensers are not working any more. if I take on Version back that works correctly in the recommend craftbukitt Version 1.6.2.

    what can I do or what have to be?

    brgds frank

  • Avatar of Ewyn17 Ewyn17 Oct 13, 2013 at 18:15 UTC - 0 likes

    I'm having a major issue that is leading to server crashes really often. the console gives me this error:Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:25 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:25 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:25 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:25 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:25 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:25 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:25 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:25 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:25 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:25 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:27 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:27 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:27 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:29 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:29 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:29 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:32 PM CONSOLE: [SEVERE] Could not pass event InventoryMoveItemEvent to LWC v4.4.0 (b881) (July 11, 2013) 2:10:32 PM CONSOLE: com.griefcraft.scripting.ModuleException: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked) 2:10:33 PM CONSOLE: java.sql.SQLException: [SQLITE_BUSY] The database file is locked (database is locked)

    Can anyone help me?

  • Avatar of KingSarkasmus87 KingSarkasmus87 Oct 13, 2013 at 12:22 UTC - 0 likes

    I think i've found a new issue. I placed a dispenser, these was automatically protectet. Then i break the dispenser and placed at the same place a redstone wire. But the redstone loose there functionality. I powered it with a redstone torch, lever or whatever. The redstone isn't powered. Hidendra whats wrong with you? It's the Plugin inactive or what? No answers to many issues and questions. We searching for another Plugin, because this is toooooooo buggy!!!

    In German i say it in one sentence: Das ist ja wohl die größte scheiße die ich hier sehe, das Plugin ist zu wichtig um so viele Fehler zu haben!

    goodbye

  • Avatar of CaznowlSMP CaznowlSMP Oct 11, 2013 at 09:44 UTC - 0 likes

    On a server restart.( I havn't edited or changed anything for a while.) LWC derped and we lost al lprotection and lots of players lost their stuff due to theft.

    2013-10-11 05:40:14 [SEVERE] Error occurred while enabling LWC v4.4.0 (b886) (August 26, 2013) (Is it up to date?) java.lang.LinkageError: loader constraint violation: when resolving method "com.griefcraft.listeners.LWCPlayerListener.<init>(Lcom/griefcraft/lwc/LWCPlugin;)V" the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) of the current class, com/griefcraft/lwc/LWCPlugin, and the class loader (instance of org/bukkit/plugin/java/PluginClassLoader) for resolved class, com/griefcraft/listeners/LWCPlayerListener, have different Class objects for the type t/lwc/LWCPlugin;)V used in the signature at com.griefcraft.lwc.LWCPlugin.registerEvents(LWCPlugin.java:305) at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:206) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382) at com.ryanclancy000.plugman.utilities.Utilities.loadPlugin(Utilities.java:294) at com.ryanclancy000.plugman.utilities.Utilities.reloadCommand(Utilities.java:423) at com.ryanclancy000.plugman.PlugManCommands.onCommand(PlugManCommands.java:82) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:527) at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:977) at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:888) at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:835) at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230) at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:117) at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:132) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:594) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)

  • Avatar of easye077 easye077 Oct 09, 2013 at 19:37 UTC - 0 likes

    Hi The other day i installed LWC on my bukkit server and i only wanted to use it for admin. It would be for a donator thing but now when people place a chest it says "you have exceeded you allowed amount of protections" or something like that. I set it to where they cant have any locked chest with this plugin because i use a defferent one for locking chests. Is there a way to disable that message?

    Thanks, Nick

  • Avatar of KingSarkasmus87 KingSarkasmus87 Oct 09, 2013 at 19:11 UTC - 1 like

    Hi Hidendra, would you update this plugin and fix the problem with the chests? The plugin has no function for us when chests not protectet by the player who placed that. Thank you :)

  • Avatar of LordKainzo LordKainzo Oct 09, 2013 at 15:38 UTC - 0 likes

    @NinjaAssassin864: Go

    What exactly is the issue? Are chests being opened when they shouldnt be an items being taken out? I'd like to know.

Facts

Date created
Sep 08, 2011
Categories
Last update
Jul 11, 2013
Development stage
Mature
Language
  • deDE
  • enUS
  • esES
  • frFR
  • itIT
  • plPL
  • ptBR
  • ruRU
License
BSD License
Curse link
LWC
Downloads
1,495,031
Recent files

Authors