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 Hidendra Hidendra Feb 04, 2013 at 04:36 UTC - 0 likes

    @fyrus12345: Go

    yes. players will by default be allowed to protect blocks and ops will have admin rights. I agree with what @LiLChris06 says though, learning permissions will be an invaluable asset should you want to ever do anything simpler than 1 "group" (usually you do)

    Last edited Feb 04, 2013 by Hidendra
  • Avatar of Hidendra Hidendra Feb 04, 2013 at 04:33 UTC - 1 like

    A beta build has been uploaded to the files page pending approval. Please let me know if anyone has any issues with this as this is likely a candidate for the next release.

    @Zombiemold: Go

    Just to confirm are you using #820? If you are could you give me the output of `/lwc admin report`?

    A good thing to look for is your cache size. In the report, look at how many protections you have. You want to aim to have cacheSize (in core.yml) to be larger than this if possible. If LWC knows all protections are in the cache it never has to do a query when doing simple selections for protections.

    Last edited Feb 04, 2013 by Hidendra
  • Avatar of LiLChris06 LiLChris06 Feb 04, 2013 at 04:00 UTC - 1 like

    @fyrus12345: Go

    2nd time I see you ask this in a dev page, you really should try setting up perms.
    Makes a worlds difference when maintaining your server.

  • Avatar of fyrus12345 fyrus12345 Feb 03, 2013 at 21:33 UTC - 0 likes

    Does this work without permissions?

  • Avatar of lord0o lord0o Feb 03, 2013 at 21:14 UTC - 0 likes

    All my errors seems to be fixed now. with lastest dev. Thank you.

    http://cache.www.gametracker.com/server_info/198.245.62.15:25565/b_160_400_1_ffffff_c5c5c5_ffffff_000000_0_1_0.pnghttp://cache.www.gametracker.com/server_info/192.95.14.118:25565/b_160_400_1_ffffff_c5c5c5_ffffff_000000_0_1_0.png

  • Avatar of StanoMalek StanoMalek Feb 03, 2013 at 00:05 UTC - 0 likes

    LastBuild

    2013-02-03 01:02:18 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin LWC v4.3.1 (b820-git-MANUAL) (February 02, 2013) generated an exception while executing task 14
    	at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    	at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.NullPointerException
    	at com.griefcraft.sql.PhysDB.getProtectionCount(PhysDB.java:144)
    	at com.griefcraft.lwc.LWC$2.getValue(LWC.java:1457)
    	at com.griefcraft.util.Metrics.postPlugin(Metrics.java:411)
    	at com.griefcraft.util.Metrics.access$400(Metrics.java:64)
    	at com.griefcraft.util.Metrics$1.run(Metrics.java:245)
    	at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftTask.run(CraftTask.java:53)
    	at org.bukkit.craftbukkit.v1_4_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    	... 3 more
    

    CB last.

    Last edited Feb 03, 2013 by StanoMalek
    • SERVER: Greenus.orelsoft.cz:27794 Worlds: Creative, Games, Survival
    • Creative
    • SERVER: 93.91.250.137:27659 Worlds: PVP
    • PVP
  • Avatar of Siickest Siickest Feb 02, 2013 at 16:54 UTC - 0 likes

    LWC was spamming my Log with errors all the time -.- Wtf

  • Avatar of diannetea diannetea Feb 02, 2013 at 16:31 UTC - 0 likes

    Latest dev build is spamming my console with

    "loadProtections() in 0ms"

  • Avatar of cam246 cam246 Feb 02, 2013 at 16:22 UTC - 0 likes

    Could you make it so it can lock anvils and enchanting tables to. It would really help out a lot.

    http://i.imgur.com/oA8tR.jpg

  • Avatar of LiLChris06 LiLChris06 Feb 02, 2013 at 15:07 UTC - 0 likes

    Build #814, holy smokes look all those reverts. :o

    "Donation chest support."
    Hmm wonder how that works, think my players will like that.

    Thanks for the new dev builds!

Facts

Date created
Sep 08, 2011
Categories
Last update
Mar 16, 2013
Development stage
Mature
Language
  • deDE
  • enUS
  • esES
  • frFR
  • itIT
  • plPL
  • ptBR
  • ruRU
License
BSD License
Curse link
LWC
Downloads
918,285
Recent files

Authors