Sueta
DO

DoorPasscodes

1.0

Add a passcode to any door!

·Plugin

Features:
- An easy-to-use GUI for setting a passcode and for opening doors.
- Prevents other players from entering an opened door.
- Highly configurable!

Commands:
- /addpasscode: Opens a GUI for entering a passcode for the door you're currently looking at.
- /removepasscode: Remove a passcode from the door you're currently looking at.

Permissions:
- doorpasscodes.manage: Allows the player to add and remove door passcodes. Defaults to OP only.
- doorpasscodes.open: Allows the player to attempt to open doors with passcodes. Defaults to everyone.

Configuration values: (Configuration will be generated on first run)
- minimum_code_number: The minimum code number that's allowed.
- maximum_code_number: The maximum code number that's allowed.
- incorrect_passcode_wait_time_seconds: How many seconds the player has to wait after entering an incorrect passcode too many times.
- door_open_duration_seconds: How many seconds a door should be opened for.
- allowed_wrong_tries: How many times the player can enter an incorrect passcode before having to wait a set amount of time.

Known issues:
- Players will get stuck if entering a closed door from above. If you have any ideas on what the plugin should do in a case like this, send me a private message.
- Passcode digits over 64 will not be displayed correctly because this plugin uses item count to display the digit (Passcode digit is still correctly displayed as the item's name).

This plugin shouldn't depend your server version, but it is only tested on 1.12.

Did the plugin crash or did you find a bug? Send me a private message here! https://www.spigotmc.org/conversations/add?to=Fluglow&title=Issue with DoorPasscodes plugin

Similar projects

Plugin →