Big Doors Opener icon

Big Doors Opener -----

Add-on for Big Doors. Control when a door should open by combining several conditions.




What's Changed
Full Changelog: v2.5.1...v2.5.2
----------, Jun 16, 2023

The old version had a wrong name caused by a new internal name policy. I am sorry for this.

This cause the plugin to create a new directory called big-doors-opener. This can be safely deleted.

Please don't use the previously uploaded version.
----------, Sep 18, 2022

I removed support for MythicMobs Version (4.x) and added support for MythicMobs 5.x.
  • Drop Support for MythicMobs 4.x
  • Implement Support for MythicMobs 5.x
----------, Sep 18, 2022

This patch adds support for 1.19.

It also adds a blocker which prevents the AutoClose time of BigDoors to close the doors when those doors are managed by BDO. This caused several issues in the past already and I am finally able to provide a fix for this. Tanks to @pim16aap2 for implementing this hook
----------, Jun 19, 2022

This patch adds support for 1.18 and the upcoming subversions.
----------, Dec 6, 2021

Fixed a bug which broke the item click conditions on 1.17+ servers
Fix give key command
Rewrite of item conditions for faster evaluation
Fix for recursive call on paper caused by papers stdout catcher.
----------, Aug 16, 2021

Update BDO to work on 1.17

If you use it on 1.17 you will need the NashornJs Provider.

Please report any bugs via our Discord.
----------, Jun 20, 2021

Mojang will drop support for Java versions below 16 with the next release of 1.17.
All my plugins will be updated till this day to be compatible with java 16. Some of them are already compatible.
On the release day of MC 1.17 I will compile all my plugins with java 16 and drop any support for older java versions. Stop being stuck on ancient java versions.


This patch makes BDO ready to be used with java 16. Also please make sure to install the Nashorn js provider when using java 15 and above.
It also fixed a bug with serialization in some cases.
If you encountered errors like: Could not change serialized name. possible config corruption.
Please make sure to open your config once and replace {plugin} with bigdoorsopener.
----------, May 13, 2021

This Hotfix fixes a NPE when a non existent door is requested via the info command from the console.

Thanks to @SlimeDog for reporting.
----------, Apr 11, 2021

This patch makes BDO ready for Java 15.
BDO uses a Javascript engine which was removed with the release of java 15. This script engine is required for the custom evaluator and the placeholder evaluator.
You can add the javascript engine again by installing the NashornJs plugin.

Also a bug was fixed which caused a config wipe when loading the config after an ItemOwning condition was saved. Thanks to Pokekhan for making me aware of this.

The Adventure-api version was updated, which fixes the broken info command on newer paper versions.

The exception which came when you reloaded bdo is also fixed.
----------, Apr 11, 2021

Version 2.4.0 has some larger changes.
The permission for the givekey command changed to bdo.command.givekey.
Three new conditions for locations were added. These conditions all have the prefix "world". The current location checks had a player scope. Which means that a player would have to fullfill all player conditions. For example a player had to be in the region and needs the item for the item condition. The world condition will just check if any player is inside the region and if any player has the item.
This is usefull if you want to have two players in different regions to open a door.
To allow this it is now possible to add multiple conditions of the same type. Use the addcondition command instead of the setcondition command. If you dont want to use this feature just continue using the setcondition command. This command will always override all set conditions.

+ Added three new world conditions.
+ Added command to add conditions
+ Allow to add more then one condition of the same type
* The giveKey command now requires the bdo.command.givekey permission and no longer the bdo.command.use permission
* Fixed a bug which caused mythic mobs to not work correct
* Fixed a bug which
----------, Mar 13, 2021

This patch fixed a Exception on server shutdown. Thanks to kalebbroo for reporting :3
It also fixes a possible bug if bukkit messes up with the enable order, which causes that depends are loaded after the plugin. Thanks to Esron for helping to figure this out.
----------, Feb 15, 2021

This patch fixed the broken update checker.
It also fixes a missing message when a item block condition is created. Thanks to MinionToGaming for reporting
----------, Feb 13, 2021

This Version introduces a more flexible config layout.
It was needed to add conditions in a matter of minutes without having too many points of failure.

Make sure to save your config before updating. The config will/should be converted to the next version automatically. But better save than sorry.

As always please report bugs when you find some.

This version also fixes a bug which occurs when using mythic mobs conditions which prevents the door from closing again.
Thanks to niria for reporting
----------, Dec 18, 2020

This update brings tabcompletion for door names and also a new condition.

You can now add a new permission condition to a door depending on the door access level. This allows you to open a door only for the door owner, editor or user. Thanks at @SlipOnPoop for his suggestion and the donation as well.

You may want to take a look at your locale file. Look at the first log after updating and check the updated locale codes.

+ Added tabcompletion for doors.
+ Added condition for door ownership.
* Fixed a message in the mythic mobs condition.
* Fixed in error where the proximity condition didnt worked properly.
----------, Sep 20, 2020

This version introduces integration for MythicMobs. You can now open a door when a specific mob is killed.

It also adds tab completion for door names. If you dont own a door you still have to use the door id.

+ Add mythic mobs integration
+ Add tab completion for door names.
----------, Aug 14, 2020

Please see Migration to V2 if you are updating from a 1.x version.

This is a improvement patch.
Its highly recommended to use this to reduce the cpu usage of this plugin.

This version requires the latest Big Doors Version (0.1.8.24) to run.

+ Added playerCheckDistance. Player Conditions such as item, permission and location will only be checked for players in a specific range around the door.
+ Added chunk detection for doors. Doors will only be updated when the chunks of the doors are loaded
+ Added caching for conditions
* The stay open counter starts now when the door is opened and not when the opening routine starts.
* Fixed a bug which prevented the plugin from loading on 1.13 and 1.14 servers
* Fixed a bug which changed Item Holding and Owning conditions to Item Click condition
* Fixed a bug which prevented the plugin from starting when the cache size was set to 0
* Fixed a bug which caused too many door updates if the update intervall was larger than the overall door amount
* Fixed a bug which could caused problems when cloning a door and changing conditions after this.
* Fixed a bug which could cause tps loss when too many doors were opened at the same time in unloaded chunks
----------, Aug 1, 2020

Please see Migration to V2 if you are updating from a 1.x version.

The goal of the last version was to make this plugin compatible with legacy versions of spigot and/or paper.

What I didn't had in mind was that world guard 7 is not available for versions below 1.13. Adding legacy support for world guard six would require to publish two separate versions of this plugin which i dont want. It would also be too much work for the amount of legacy Servers out there. So I decided to disable the region condition for legacy servers.

To enable you to use regions without World Guard I added a new condition which is called SimpleRegion. This condition allows you to define a cuboid region like you can with World Guard.

+ add new simple region location condition. This is the replacement for region condition on legacy Versions.
* Fixed a bug which prevents BDO from starting when using a legacy (<7) World Guard version.
- Disabled Region Condition for Versions <1.13. (All Versions incompatible to WG7)
----------, Jul 19, 2020

This version is mainly an improvement patch.

Please see Migration to V2 if you are updating from a 1.x version.

+ Add support for versions from 1.8 to 1.12 (Notice that Big Doors does not support versions below 1.11)
* Consumed parameter of item conditions is now false on default and optional
* Improved tab completion to make the requested input more clear
* Optimized evaluation of multiple conditions. Can significantly improve performance.
----------, Jul 19, 2020

This version introduces the placeholder condition.
You can create a condition checks with values retrieved by PlaceholderAPI.
See Placeholder Condition for a short description of the usage.

Please see Migration to V2 if you are updating from a 1.x version.

+ Added PlaceholderAPI as softdepend
+ Added placeholder condition
+ Added option to set the js cache size in config. Don't change this unless you really know what you are doing
* Bugfix for a bug where the plugin stops working on a server reload.
----------, Jul 18, 2020

This is a fixed version of the recently published 2.0 version.

Please see Migration to V2 if you are updating from a 1.x version.

  • decreased file size a bit
  • Fixed a wrong color in the info command
  • Fixed a bug which caused problems on java <11 when using the js engine
  • updated plugin config to make it clearer
  • Fixed a exception which occurred when setting a condition with too few arguments.
----------, Jul 17, 2020

This is a major version update. This build is considered a beta version. It is not guaranteed to be stable, but should be more stable than the old build. Please report bugs via our discord or github.

Its a complete rewrite of the old BDO and introduces a bunch of new Features.

Some actions are required when updating! Please see: Migration to V2.

The old door based system is removed and replaced by a condition based system which allows a lot more flexibility for further development and for user choices.

The door state is defined by a evaluator. Users can define their own evaluators to match their own requirements.

Also the info command is now a lot more detailed and allows execution and suggestions of commands by clicking on buttons.

With this version it is also possible to execute nearly every command from console. Except those which need a ingame action.

Probably fixed a bug which is also fixed by Big Doors so it should definitely not occur anymore. Hopefully.

Code (Text):
* Made info command more informational. Added add, remove and edit for conditions with clickable text.
* invert Open is no a toggle command and does not require a state anymore.
+ Added console support for nearly every command.
+ Added clickable text at important points for easier usage
+ Added new central checking mechanism for better consistency
+ Added condition system
+ Added four new item conditions
+ Added two new location conditions
+ Added permission condition
+ Added time condition
+ Added weather condition
+ Added stay open parameter to block door closing for a specific amount of time
+ Added evaluator for better control of door state
+ Added javascript evaluator for custom evaluation of door state
+ Added several new commands for condition managing.
- Deprecated old timed doors.
- Removed permission door
- Removed closed door
- Removed old checking mechanism for time and approach
----------, Jul 12, 2020

When a door has range set to 0 it will close or open immediately based on the time if the time requires a state change.

The door will now just close and open one time, when its time is reached and the range is set to 0.

The door will no longer open when its closed and it inside its open period.
The door will no longer close when its opened and its inside its closed period.

Also it could happen that a door does not work after a large time skip (E.g. 30k ticks.). It can be that the doors keep their state for at least 24k ticks or longer.

Thanks @SlimeDog for reporting! ^-^

This version also includes the fixed english locale. Thanks to @Relaxing for helping out. To get it, simply delete your old translation file in your messages directory.
----------, Jun 30, 2020

This update brings localization to Big Doors Opener.

For this release I support English and German. (I cant speak more languages sadly)

I also changed the reference version to 0.1.8.19. This version should also work with 1.16

If you want to contribute a language, you may do this via Github or reach me out via Discord.
----------, Jun 29, 2020

This is a hotfix.

If the setPermission or the invertOpen command was used on a non existing door an internal error occurred.

This is now fixed.
----------, Jun 28, 2020

This is mainly a internal update.

I added a update notification for the console and metrics which will hopefully help in in further development op this thingy.

Keep the doors swinging!
----------, Jun 28, 2020

Resource Information
Author:
----------
Total Downloads: 13,465
First Release: Jun 28, 2020
Last Update: Jun 16, 2023
Category: ---------------
All-Time Rating:
12 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings