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 Mar 16, 2013@FateMC
Converting is really easy with LWC Change the config to read MYSQL and then username/password....
really that easy. Start the server and conversio begin, took us about 1hr to convert 21000 lines so expect a wait, as no1 can login while it goes...
-
View User Profile
-
Send Message
Posted Mar 16, 2013Hey Hidendra!
I love using LWC, and I use it for many great things. Currently we've had a large amount of players joining, and because we currently save data on a flat file, LWC is starting to lag us a bit. Currently we run with a host that doesn't have dedicated memory, and it's our main source of lag.. Although I literally spent all nights trying to clear all my large log files, clearing up space, and noticed LWC has a huge Db file.
The reason I'm commenting is to ask you how to switch over to MySQL :) currently I'm not sure how I could possible transfer the current database/all chests onto MySQL without corrupting any files. It would really help out my server, and I'd like some information on that. I have no experience in MySQL so all details would be appreciated, thanks. Oh, and we do have MySQL already :)
Thanks so much for working on such a great plugin! FateMC.
-
View User Profile
-
Send Message
Posted Mar 16, 2013@Puremin0rez
starting fine for me, without a log I can't tell you what it is as guessing leads nowhere.
@CubieX
in worldguard.yml in plugins/LWC/ is enabled set to true?
-
View User Profile
-
Send Message
Posted Mar 16, 2013We are running MC 1.4.6 with LWC 4.3.1 and WorldGuard 5.7.
Problem is: Members can protect blocks within a WorldGuard protection, even without having build permission in this area.
-
View User Profile
-
Send Message
Posted Mar 16, 2013Your new build that you uploaded doesn't let LWC start properly, don't have a log to show right now but its related to PhysDB or something similar - one of your recent commits obviously.
-
View User Profile
-
Send Message
Posted Mar 15, 2013@SERVERCONSOLE
The latest build I just uploaded has a nice debug message in it for if it happens again. It will say something like "Caught issue with Bukkit's Inventory.getHolder() method! [...]" it will then list the player it occurred at & their location. Exact block location is impossible to get since that's the method it's failing on. So if you're able to, take a peek near the reported location for any blocks that can contain an inventory and if you find one that keeps causing it it should help the Bukkit team find the issue much faster :)
-
View User Profile
-
Send Message
Posted Mar 15, 2013@Hidendra
Thanks for the response! It seems we got the error just the one time. I haven't seen it again.
Unless you know how to determine the block its on, I'm not sure we'll be able to. We have a rather large map and there were about 15 people on when the error threw so I couldn't find out who did it.
I'll keep checking Bukkit for updates. All in all though, thanks to MC, CB and all of you plugin developers, this has been the most seamless upgrade I've had in 2 years of running our server. Thanks for everything you do!!
-
View User Profile
-
Send Message
Posted Mar 15, 2013Another (and hopefully final) beta release has been [uploaded] - Mod remove link to unapproved file.
To summarize, hoppers & trapped chests are now properly supported.
If you do not want these take note and edit the config after you update. LWC will only change the config the one time.
Thanks to everyone for reporting issues.
-
View User Profile
-
Send Message
Posted Mar 15, 2013@SERVERCONSOLE
that is a bukkit bug - if you can find out what block this is happening on they should be able to fix this.
A new build will be released shortly with more fixes! Included is proper trapped chest support and misc changes for hoppers. Both will be added to the config by default when you first run the new build (which if you don't want them after that you can disable it after LWC first adds it)
-
View User Profile
-
Send Message
Posted Mar 15, 2013This one is a bit different though.
2013-03-15 22:39:17 [SEVERE] Could not pass event InventoryClickEvent to LWC v4.3.2 (b844-git-MANUAL) (March 15, 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.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_5_R1.PlayerConnection.a(PlayerConnection.java:1173) at net.minecraft.server.v1_5_R1.Packet102WindowClick.handle(SourceFile:31) at net.minecraft.server.v1_5_R1.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R1.PlayerConnection.d(PlayerConnection.java:113) at net.minecraft.server.v1_5_R1.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R1.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.AbstractMethodError at org.bukkit.craftbukkit.v1_5_R1.inventory.CraftInventory.getHolder(CraftInventory.java:453) at com.griefcraft.listeners.LWCPlayerListener.onInventoryClick(LWCPlayerListener.java:284) at sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more
-
View User Profile
-
Send Message
Posted Mar 15, 2013OOPS! Just got the click event error again.
-
View User Profile
-
Send Message
Posted Mar 15, 20134.3.2 b2 seems to have fixed my issue. All is good here.
-
View User Profile
-
Send Message
Posted Mar 15, 2013@XRECKXIMPACT
Then what is 4.3.2 b2? It claims to be for 1.5...
-
View User Profile
-
Send Message
Posted Mar 15, 2013@XRECKXIMPACT
I'm using a beta build that was released on bukkitdev for 1.5?
I presume it's just a broken build?
-
View User Profile
-
Send Message
Posted Mar 15, 2013@Venusaur
the error is coming because lwc isnt upgraded to 1.5 servers yet. You either need to downgrade the server or wait for the next upgrade in LWC
-
View User Profile
-
Send Message
Posted Mar 15, 2013Not sure if this is an LWC or bukkit issue, but I get this error when using double chests
15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:580) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.DedicatedServerConnection.b(SourceFile:30) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.ServerConnection.b(SourceFile:35) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.PlayerConnection.d(PlayerConnection.java:113) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.NetworkManager.b(NetworkManager.java:292) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.Packet102WindowClick.handle(SourceFile:31) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.PlayerConnection.a(PlayerConnection.java:1180) 15.03 22:11:42 [Server] INFO at net.minecraft.server.v1_5_R1.Container.clickItem(Container.java:209) 15.03 22:11:42 [Server] INFO at java.util.ArrayList.get(ArrayList.java:382) 15.03 22:11:42 [Server] INFO at java.util.ArrayList.rangeCheck(ArrayList.java:604) 15.03 22:11:42 [Server] INFO java.lang.IndexOutOfBoundsException: Index: 86, Size: 45 15.03 22:11:42 [Server] WARNING Failed to handle packet for Shilofax/67.61.205.21: java.lang.IndexOutOfBoundsException: Index: 86, Size: 45
I also get this when attempting to protect any chest:
15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:580) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.DedicatedServerConnection.b(SourceFile:30) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.ServerConnection.b(SourceFile:35) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.PlayerConnection.d(PlayerConnection.java:113) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.NetworkManager.b(NetworkManager.java:292) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.Packet14BlockDig.handle(SourceFile:46) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.PlayerConnection.a(PlayerConnection.java:557) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.PlayerInteractManager.a(PlayerInteractManager.java:209) 15.03 22:14:53 [Server] SEVERE at net.minecraft.server.v1_5_R1.PlayerInteractManager.breakBlock(PlayerInteractManager.java:282) 15.03 22:14:53 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) 15.03 22:14:53 [Server] SEVERE at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) 15.03 22:14:53 [Server] SEVERE at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) 15.03 22:14:53 [Server] SEVERE at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) 15.03 22:14:53 [Server] SEVERE at java.lang.reflect.Method.invoke(Method.java:601) 15.03 22:14:53 [Server] SEVERE at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 15.03 22:14:53 [Server] SEVERE at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source) 15.03 22:14:53 [Server] SEVERE at net.coreprotect.listener.BlockListener.onBlockBreak(BlockListener.java:370) 15.03 22:14:53 [Server] SEVERE at net.coreprotect.database.Database.containerBreakCheck(Database.java:463) 15.03 22:14:53 [Server] SEVERE at net.coreprotect.Functions.getContainerInventory(Functions.java:349) 15.03 22:14:53 [Server] SEVERE java.lang.ClassCastException: org.bukkit.craftbukkit.v1_5_R1.block.CraftBlockState cannot be cast to org.bukkit.block.Chest
-
View User Profile
-
Send Message
Posted Mar 15, 2013Help I need help Every time when i place a chest it says PLAYER:INTRACT PLEASE CONTACT THE ADMIN
-
View User Profile
-
Send Message
Posted Mar 15, 2013Got this with CB 1.5 0.1 #2646
2013-03-15 18:21:16 [SEVERE] Could not pass event InventoryClickEvent to LWC v4.3.1 (b820-git-MANUAL) (February 02, 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.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_5_R1.PlayerConnection.a(PlayerConnection.java:1173) at net.minecraft.server.v1_5_R1.Packet102WindowClick.handle(SourceFile:31) at net.minecraft.server.v1_5_R1.NetworkManager.b(NetworkManager.java:292) at net.minecraft.server.v1_5_R1.PlayerConnection.d(PlayerConnection.java:113) at net.minecraft.server.v1_5_R1.ServerConnection.b(SourceFile:35) at net.minecraft.server.v1_5_R1.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_5_R1.MinecraftServer.r(MinecraftServer.java:580) at net.minecraft.server.v1_5_R1.DedicatedServer.r(DedicatedServer.java:225) at net.minecraft.server.v1_5_R1.MinecraftServer.q(MinecraftServer.java:476) at net.minecraft.server.v1_5_R1.MinecraftServer.run(MinecraftServer.java:409) at net.minecraft.server.v1_5_R1.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:338) at java.util.ArrayList.get(ArrayList.java:351) at net.minecraft.server.v1_5_R1.Container.getSlot(Container.java:100) at org.bukkit.craftbukkit.v1_5_R1.inventory.CraftInventoryView.getItem(CraftInventoryView.java:65) at org.bukkit.event.inventory.InventoryClickEvent.getCurrentItem(InventoryClickEvent.java:52) at com.griefcraft.listeners.LWCPlayerListener.onInventoryClick(LWCPlayerListener.java:312) at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 15 more
-
View User Profile
-
Send Message
Posted Mar 15, 2013can be used to "Vault"??
-
View User Profile
-
Send Message
Posted Mar 15, 2013I installed the newest LWC beta and added item ID 154 to the blacklist and players are still able to use hoppers to extract items from chests.