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 psychic94 psychic94 Feb 17, 2014 at 19:18 UTC - 0 likes

    Where it says how to remove Hidendra it actually gives the command to remove Notch. Is this a typo or a joke?

    Back from a bit of inactivity. I'll be uploading long overdue updates of my plugins as soon as possible.

  • Avatar of waterlubber waterlubber Feb 17, 2014 at 14:40 UTC - 0 likes

    Great plugin! It seems the auto update is broken. On top of that, you have a typo in your description: 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 As you can see, the cremove notch doesn't make sense when you wanted to remove Hidendra.

  • Avatar of The3ShotGod The3ShotGod Feb 17, 2014 at 04:57 UTC - 0 likes

    Hello Hidendra,

    Thanks for creating this amazing plugin! I am here to report a couple of bugs that impact a server I work for very much. The server uses the current lwc ( http://dev.bukkit.org/bukkit-plugins/lwc/files/37-lwc-4-4-0/ ) The problem is everytime someone places down a chest or unlocks a protection: there is a massive lag spike. It makes it hard to keep players flowing when they leave over lag spikes. Please reply back soon I am anticipated on your solution.

    Thanks, 3ShotGod

  • Avatar of RCYoung86 RCYoung86 Feb 17, 2014 at 01:10 UTC - 0 likes

    Hello Hidendra,

    The LWC plugin is amazing and I really enjoyed using it on my server. As of now I have removed the plugin until it gets fixed and updated. I've been using LWC since 2012 and will always be a fan, any ideas when you plan to fix the errors and update the plugin. It would be nice if LWC was a lightweight plugin. Since LWC was removed from my server for now, I have about 1024+ more MB of RAM. Well keep up the good work, hope to see and update in the near future...cheers!

    -RC!

  • Avatar of bobbensun bobbensun Feb 16, 2014 at 09:48 UTC - 0 likes

    it seems like there's no way for me to /cprivate anything that's run by either SignShop or BattleArena ... but i don't wanna turn on the option for auto private in the config, cause the Factions plugin has issues for my Raiding/PVP/Griefing world .....

    - when i put up a sign, after /lwc info, says "Sign not registered" - if i try the /cprivate, it destroys the sign with the left click, and uses the sign normally on right click - if i do /cmodify g:rankname, says "Sign not registered"

    If all this made sense ....

    The questions is : What's the problem ?? why can't i register with /cprivate SignShop and BattleArena signs ?

    I use version 4.4.0 of LWC and, and both latest versions of BattleArena and SignShop, and Latest bukkit version too

  • Avatar of TNTUP TNTUP Feb 15, 2014 at 18:36 UTC - 0 likes

    @lsal: Go

    I dont think its an issue because I have another plugin that uses mysql and its way more heavy (AntiGrief plugin) (logs lots of data) that LWC adds/checks/remove protects... why it lags? It hangs the main thread

    BFAK:95066,dd3bd97af6e0c8de224582d02370f079170eea468d01c5afc6a4b2b0119a2840

  • Avatar of RileyMoyeBoy RileyMoyeBoy Feb 15, 2014 at 13:40 UTC - 0 likes

    Console : [23:22:14 INFO]: [LWC] [LWC] The updater ran into a minor issue: http://update.griefcraft.com/lwc/branch/stable/LATEST Console : [23:22:14 INFO]: [LWC] [LWC] This can probably be ignored. Console : [23:22:14 WARN]: Exception in thread "pool-3-thread-27" Console : [23:22:14 WARN]: org.apache.commons.lang.UnhandledException: Plugin LWC v4.4.0 (b881) (July 11, 2013) generated an exception while executing task 4 Console : at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56) Console : at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) Console : at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) Console : at java.lang.Thread.run(Unknown Source) Console : Caused by: java.lang.NullPointerException Console : at com.griefcraft.util.Updater$1.run(Updater.java:81) Console : at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftTask.run(CraftTask.java:53) Console : at org.bukkit.craftbukkit.v1_7_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53) Console : ... 3 more

  • Avatar of lsal lsal Feb 15, 2014 at 10:12 UTC - 0 likes

    @RileyMoyeBoy: Go

    This paste has been removed! ???

  • Avatar of RileyMoyeBoy RileyMoyeBoy Feb 15, 2014 at 05:09 UTC - 0 likes

    This is very minor but just wondering whats happening http://pastebin.com/1PEt66rw

  • Avatar of lsal lsal Feb 14, 2014 at 16:12 UTC - 0 likes

    To all with lag issues on placing chests

    This is not an LWC problem, I had the same problem when I moved servers...

    My original server was on an SSD, I swapped to a 2TB normal HDD as I need more space, and the lag started, I ran every diag possible and the conclusion was it was the HDD, I have 1000's of protections and had to wait 1-2 secs for chest to place/break, people placing chests on the server would cause other players to lag for a bit as well...

    If your server is running on a normal HDD and you have lots of players and a big database (mine is a flat file) swap to an SSD and the problem should be gone :)

    Hope this helps..

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,446,281
Recent files

Authors