LWC

From MinecraftOnline

Jump to: navigation, search

LWC or LightWeight Chest Protection is service that allows players to manage access to their "usable" containers, like chests and furnaces. The most common application is to lock a container against being opened (by a thief). The command may also be used to set permissions that allow only certain user(s) or groups to access it, or even be set to require a password to open.

A registered MCO player may have at most two containers locked by LWC at any given time. More become available at higher levels of donation.

Contents

Commands

  • /lwc - is the primary command of the Lightweight Chest Protection service. The options given with the command determine what it does

Creation

Note that in this context "create" means "apply permissions", it does not create the container. Note also that if the container is a chest that it may be a one or two block version but still count as just one locked object. It is also okay to apply permissions to a single block chest and later add the second one .. the permissions remain attached to the double chest.

  • /lwc -c private - sets the container for access by you alone.
    • /lwc create private - Alias for the "-c private" command.
    • /cprivate - Another alias for the "-c private" command.
  • /lwc -c public - Create a public chest anyone can access but not lock.
    • /lwc create public - Alias for the "-c public" command..
    • /cpublic - Another alias for the "-c public" command...
  • /lwc -c password - Create a container the only opens on a password.
    • /lwc create password password - Alias for the "-c public" command.
    • /cpassword - Another alias for the -c public" command...

Using ACLs

LWC provides Access Control List (ACL) options that restrict container access to only specified 'users', or groups. Users may be just mentioned by name. Group names are denoted by prefixing g: before the name. @ denotes the named user(s) or group(s) is to have admin powers on the container and so can add or remove users.

For Instance: /lwc create private g:admins @Hidendra EvilGuy g:mods CoolGuy means:

  • members of the "admins" group can access the container, but are not admins for it.
  • user Hidendra has access and admin powers on the container
  • user EvilGuy has only access permissions, even if he(she) is a member of the admins group
  • members of the "mods" group also have access
  • CoolGuy has access too

Modify

Existing permissions may be modified, thus new ones may be added, and existing ones removed or changed.

With reference to the previous ACL example:

  • /lwc modify -EvilGuy Hidendra -g:mods
  • removes Hidendra's admin access, making him a regular user of the container
  • the minus sign, '-'. before his name means that EvilGuy should be fully removed from it
  • and also remove the access only permissions of the "mods" group

Remove a Container

  • /lwc -r chest and then right click the container you want to remove protections from.
    • /lwc free chest - Alias for the remove command.

Informational Commands

  • /cinfo - Alias for the "info" subcommand of the above.
  • /lwcwhere - Reports the coordinates of all your lwc chests.
    • /wherearemychests - alias for the above.
  • /lwcclear - Removes all chest protections you've created.

Admin commands

  • /lwc admin limits amount groups/users - Sets chest protection limits for users or groups (protected=public,password,private).
  • /lwc admin clear limits - unsets all limits.
  • /lwc admin clear chests - clears all chests, equivalent to deleting lwc.db (pretty extreme).

Limits

  • Only players who have undergone Registration may lock chests.
  • Registered players may lock up to two chests.
  • Every donation level adds one an additional chest to the limits:
    • Wood donors may lock three chests.
    • Stone donors may lock four chests.
    • Iron donors may lock five chests.
    • Gold donors may lock six chests.
    • Diamond donors may lock seven chests.
    • Obsidian donors may lock eight chests.
    • Nether donors may lock nine chests.
    • Aether donors may lock ten chests.
    • God donors may lock up to thirty chests (but they don't really need chests anyway).

Personal tools