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.

List
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.
Messages
# 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).
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta