Locking: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
Only specified users and the protection owner can access a private protection. | Only specified users and the protection owner can access a private protection. | ||
=== Public === | === Public === | ||
Line 75: | Line 73: | ||
* <code>hopperout</code> - Controls whether or not hoppers can be used to take items out of a protected block | * <code>hopperout</code> - Controls whether or not hoppers can be used to take items out of a protected block | ||
* <code>hopper</code> - Controls whether or not hoppers can be used on a protected block (functionally the same as using both hopperin and hopperout flags) | * <code>hopper</code> - Controls whether or not hoppers can be used on a protected block (functionally the same as using both hopperin and hopperout flags) | ||
== The lockstick == | |||
Command: <code>/lockstick <mode> <args></code> | |||
You can use the lockstick to execute the operations covered in this page faster. Left-clicking completes the operation, right-clicking usually does the opposite of the operation (for example /lockstick private, left-click locks a chest with a private protection, right-clicking unlocks it). | |||
Modes: | |||
* <code>private</code> | |||
* <code>modify</code> | |||
* <code>password</code> | |||
* <code>public</code> | |||
* <code>admin</code> | |||
* <code>display</code> | |||
* <code>donation</code> | |||
* <code>flag</code> | |||
= /lockstand = | = /lockstand = | ||
You can lock an armor stand with the <code>/lockstand</code> command while looking at it. This way, only you can manipulate the armor stand. To unlock it, simply run the command again. | You can lock an armor stand with the <code>/lockstand</code> command while looking at it. This way, only you can manipulate the armor stand. To unlock it, simply run the command again. | ||
= /lockmob = | |||
You can lock a mob with the <code>/lockmob</code> command while looking at it for 3 tokens. This way, the mob can't be damaged. To unlock it, simply run the command again. | |||
[[Category:Tutorials]] | [[Category:Tutorials]] | ||
[[Category:Server Features]] |
Latest revision as of 09:13, 27 April 2024
In the world of Heese SMP, there exist many ways to lock your usable blocks in order to allow only certain people to modify them. This article will teach you how to use them effectively.
LWC
LWC (LightWeight Chests) is a plugin that allows players to lock usable blocks like chests, doors and hoppers. It can also be used to set permissions that allow only certain users to access it, or even be set to require a password to open.
Protections can only be managed by protection admins, usually the owner of the protection or other users specified to be protection admins by the protection owner.
Creating a protection
Below are some of the protection types you can create, how to create it and how the protection works.
Private
Command(s): /lock
or /lwc -c private
or /cprivate
Only specified users and the protection owner can access a private protection.
Public
Command(s): /lwc -c public
or /cpublic
Anyone can use a public protection. This is useful for when you don't want other people to lock your blocks, but you want them to be accessible to others.
Password
Command(s): /lwc -c password <password>
or /cpassword <password>
Anyone who has the password can access the protection. Password will only need to be entered once per log-in.
Donation
Command(s): /lwc -c donation
or /cdonation
Anyone can put items inside the protection, but no items can be taken out.
Display
Command(s): /lwc -c display
or /cdisplay
Anyone can view the contents of a display protection, but no one can modify them.
Managing an existing protection
Below are a few ways to modify an existing protection that you own.
Adding a player
Command(s): /lwc -m <player>
or /cmodify <player>
This will give the specified player access to your protection.
Adding a protection admin
Command(s): /lwc -m @<player>
or /cmodify @<player>
This will give the specified player the same level of access to the protection as you have.
Removing a player
Command(s): /lwc -m -<player>
or /cmodify -<player>
This will revoke access to the protection from the specified player. If the player is a protection admin, it will revoke their protection admin as well.
Removing a protection
Command(s): /unlock
or /lwc -r
or /cremove
This will remove the protection from your block.
Unlocking a password protection
Command(s): /cunlock <password>
or /lwc -u <password>
This will let you access a passworded protection if the password is correct.
Protection flags
Command(s): /lwc flag <flag>
Below are the protection flags you can use and what they do:
redstone
- Toggles whether if redstone should affect the protection.magnet
- Puts nearby dropped items into the protected chesthopperin
- Controls whether or not hoppers can be used to place items into a protected blockhopperout
- Controls whether or not hoppers can be used to take items out of a protected blockhopper
- Controls whether or not hoppers can be used on a protected block (functionally the same as using both hopperin and hopperout flags)
The lockstick
Command: /lockstick <mode> <args>
You can use the lockstick to execute the operations covered in this page faster. Left-clicking completes the operation, right-clicking usually does the opposite of the operation (for example /lockstick private, left-click locks a chest with a private protection, right-clicking unlocks it).
Modes:
private
modify
password
public
admin
display
donation
flag
/lockstand
You can lock an armor stand with the /lockstand
command while looking at it. This way, only you can manipulate the armor stand. To unlock it, simply run the command again.
/lockmob
You can lock a mob with the /lockmob
command while looking at it for 3 tokens. This way, the mob can't be damaged. To unlock it, simply run the command again.