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 spetznack spetznack Oct 23, 2013 at 22:08 UTC - 0 likes

    @NoHoPeLess: Go @Lionhard98: Go @koenkoro: Go @Nuinethir: Go @zhongfu: Go @PrimoHighDefinition: Go @FamilieZocken: Go

    You guys should post a issue about your bug\suggestion\question, or ask your question in the IRC channel. Remember that developing a plugin is not a job, it is something the developer does voluntarily so make sure you check the LWC wiki for answers and check the issue tracker for similar bugs\suggestions before posting new ones! ;)

  • Avatar of NoHoPeLess NoHoPeLess Oct 23, 2013 at 16:28 UTC - 0 likes

    this spams my console... why?

    16:54:51 [severe]  Could not pass event BlockBreakEvent to LWC v4.4.0 (b901) (October 21, 2013)
    org.bukkit.event.EventException
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
    	at net.minecraft.server.v1_6_R3.PlayerInteractManager.breakBlock(PlayerInteractManager.java:279)
    	at net.minecraft.server.v1_6_R3.PlayerInteractManager.a(PlayerInteractManager.java:203)
    	at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:551)
    	at net.minecraft.server.v1_6_R3.Packet14BlockDig.handle(SourceFile:46)
    	at net.minecraft.server.v1_6_R3.Packet14BlockDig$$EnhancerByCGLIB$$92fb64d3.CGLIB$handle$3(<generated>)
    	at net.minecraft.server.v1_6_R3.Packet14BlockDig$$EnhancerByCGLIB$$92fb64d3$$FastClassByCGLIB$$57defd4f.invoke(<generated>)
    	at com.comphenix.net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
    	at com.comphenix.protocol.injector.packet.ReadPacketModifier.intercept(ReadPacketModifier.java:128)
    	at net.minecraft.server.v1_6_R3.Packet14BlockDig$$EnhancerByCGLIB$$92fb64d3.handle(<generated>)
    	at net.minecraft.server.v1_6_R3.NetworkManager.b(NetworkManager.java:296)
    	at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116)
    	at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
    	at net.minecraft.server.v1_6_R3.DedicatedServerConnection.b(SourceFile:30)
    	at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:592)
    	at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:227)
    	at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:488)
    	at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:421)
    	at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
    Caused by: java.lang.NullPointerException
    	at com.griefcraft.listeners.LWCBlockListener.onBlockBreak(LWCBlockListener.java:203)
    	at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    	at java.lang.reflect.Method.invoke(Unknown Source)
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
    	... 21 more
    

    BalayaCraft! Server-IP server.balayacraft.de | BalayaCraft-Website | Facebook | Twitter | Youtube |

  • Avatar of Lionhard98 Lionhard98 Oct 22, 2013 at 15:11 UTC - 1 like

    Hi, can you add ItemFrames to be protected also? Would help me alot, thank you. ;)

    BFAK:90899452,61a2eac60acab50d41fdde6f365b843d09f9b09b450b3baea87f58f6bb3c5c88

    My plugins: Informative | QuickSupport | uReview

    Do you have any questions, ideas or requests? Send me a PM!

  • Avatar of iskillzi iskillzi Oct 22, 2013 at 03:14 UTC - 0 likes

    @leonvakt: Go

    There's actually a plugin that can already do this, which would save time for this plugins author to make.

    The plugin is called PerWorldPlugins

  • Avatar of koenkoro koenkoro Oct 21, 2013 at 12:28 UTC - 0 likes

    Are we able to remove "/lwc admin - Administration" (on the very last line) from the command /lwc?

  • Avatar of leonvakt leonvakt Oct 21, 2013 at 12:05 UTC - 0 likes

    Hey, could you add a ''disable world'' in the config, for peeps that dont want lwc in all worlds

    Signature

  • Avatar of Nuinethir Nuinethir Oct 18, 2013 at 06:39 UTC - 0 likes

    I haven't used this plugin for some time but I thought I remembered seeing a cost I could add to protections. I can set the maximum number of protections, but not the cost. I want to offer protections to players but they have to work for it. How do I hook this into an economy such as Essentials?

    BFAK:24679,2c50a3ae095effee4839b7c4e01ce1fa7e496c566e519a03047becf037f6f31f

  • 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

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,499,080
Recent files

Authors