[UPDATED] RealKeys V2 - Lock doors. icon

[UPDATED] RealKeys V2 - Lock doors. -----

Lock door with permissions.



[​IMG]
[​IMG]
This script allows you to lock doors, gates and trap doors, and open them with a specific permission. It's easy to use and it's customizable. It doesn't require any add-on. Hope you like it.

[​IMG]
Code (Text):
TIP: You can also use "rk.*" to give all permissions.

command: /rk
desctiption: Shows the help message.

command: /rk lock
permission: rk.lock
desctiption: Lock a door/gate/trap door.

command: /rk unlock
permission: rk.unlock
desctiption: Unlock a door/gate/trap door.

command: /rk info
permission: rk.info
desctiption: Shows the permission of a door.

command: /rk reset
permission: rk.reset
desctiption: Unlock all the doors.

[​IMG]
Code (Text):
# Message that appears when you lock a door ↓
# - Vars: $permission
door-locked: &2&l»&a&l»&f&l» &7Now to open this door you need the permission &a$permission&7.

# Message that appears when you unlock a door ↓
door-unlocked: &2&l»&a&l»&f&l» &7Door unlocked correctly.

# Message that appears when you break a locked door ↓
door-broken: &2&l»&a&l»&f&l» &7You have successfully broken a locked door.

# Message that appears when you try to lock a door that is already locked ↓
door-already-locked: &c&l»&6&l»&e&l» &7This door is already locked.

# Message that appears when you try to unlock a door that is not locked ↓
door-not-locked: &c&l»&6&l»&e&l» &7This door is not locked.

# Message that appears when you try to lock an iron door or something other than a door ↓
not-a-door: &c&l»&6&l»&e&l» &7You have to look at a door/gate/trap door to execute this command.

# Message that appears when you try to open or close a door without permissions ↓
no-perm-open: &c&l» &7You do not have permission to interact with this door.

# Message that appears when you try to break a locked door without permissions ↓
no-perm-break: &c&l» &7You don't have permission to break a locked door.

# Message that appears when you execute a command without the right permissions ↓
no-perm-cmd: &c&l» &7You don't have permission to execute this command.

PROBLEMS?
If the script gives problems contact me here (NOT IN THE REVIEW SECTION), on Discord (Ilas#5896) or on Telegram (@Spazzolare).
Resource Information
Author:
----------
Total Downloads: 359
First Release: Mar 8, 2021
Last Update: Mar 8, 2021
Category: ---------------
All-Time Rating:
3 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings