DoorCloser

DoorCloser 1.1

Compatible API Versions
1.0.13
Sourcecode
https://github.com/Kirastur/DoorCloserNukkit
Contributors
Kirastur
Overview
Close doors automatically after a player has opened them.
Also works for trapdoors and gates.
The number of seconds the door remains open is configurable.
You can limit the scope to specific mateials.
It also synchronizes double doors (a pair of left-wing and right-wing doors).
If for some reason the open is cancelled (e.g. the player has no permission to interact with the door), the door stays untouched.

Usage Example
You have a role-play-world where you want to deliver all players the same experience. If a player comes to a new place, the door there is normally closed. But if he opens it the next player finds an open door. This is unrealistic for the new player (destroying the role-play). So we need a mechanism to roll back the door-opening before the next player comes. This is done by the automatic DoorCloser.


Your first steps
  1. Verify that the door-type (e.g. "Wood Door") is included in the plugin's material definitions (config.yml). Per default, all openable materials are included.
  2. Place a door
  3. Switch to survival mode (per default the DoorCloser ignores player in creative mode)
  4. Open the door
  5. Wait
Result: The door gets closed automatically after the time configured in config.yml (5 seconds per default).


Credits
This is the Nukkit port of our Spigot DoorCloser Plugin 1.1 (see https://www.spigotmc.org/resources/doorcloser-butler.90762 )
For our role-play-server we have searched for a DoorCloser plugin and found
but this plugin seems no longer to be maintainanced (last supported mimecraft version is 1.13.2).
The original author (Psychlist1972) has released the sourcecode of his plugin on Github using an Apache 2.0 license.
Please see https://github.com/Psychlist1972/Minecraft-DoorCloser for reference.
So we decided to write our own plugin doing the same thing and reused some of his code for that.
(The source-code for our plugin is also available on Githhub and uses the same Apache 2.0 license).

Documentation
Please see our Github Wiki at https://github.com/Kirastur/DoorCloserNukkit/wiki
Author
Kirastur
Downloads
1,110
Views
1,935
First release
Last update
Rating
0.00 star(s) 0 ratings
Top