Introduction:
This update adds in new config features so please read the drafted notes carefully! Large optimizations have been made to reduce server impact during entity detection. New messages to distinguish which entity failed teleporting have been added.
Please see config changes at the end of this changelog!
**IMPORTANT** If you do not wish to delete your entire config file, please see the section at the very bottom of these update draft notes to see config changes and what needs to be added to your current file.
Latest release information/download can also be found on GitHub here.
Installation:
- Stop the server.
- Save a copy of your current folder
- Delete the old jar (in /plugins folder) and copy the new jar in place of it.
- Start the server.
- Modify the config to your liking, and restart the server (or run /oat reload) to update the changes.
- Report bugs you discover!
Additions
+ [Addition] Added much more console logging w/ improved entity ID's. Can increase verbosity in config to see enhanced logging. (
d82f258) (
be43f96) (
b9e8d7a) (
5066b40) (
02d2d11)
+ [Addition] Adds longer delay for entity to be invulnerable after teleporting. (
d761865)
+ [Addition] Adds plugin chunk ticket to teleport location to help prevent entity disappearing/having no tracking by keeping that location loaded before TP is sent. (
c8bdad2)
+ [Addition] Added negative entity matching for allowed entity types. Entities can be denied with a [-] See usage below. (
dcab4c9)
Code (YAML):
allowed_entities
:
[
ANY, -PIG, -COW
]
+ [Addition] Added config option to ignore certain teleport events. See list of valid
teleport causes here (
03d8dea) (
f2fc60b)
+ [Addition] Adds new metrics chart for list of
allowed /
denied entities. See the respective data on bStats page. (
cc3d77d)
+ [Addition]
Adds better messaging to log exactly which entity (regular, tamed, leashed) was left behind to the player. See config values at the bottom of this commit message. Any message can be set to "" to disable. (
81a013f) (
2be51c2) (
6c8d940)
Deletions
– [Deletion] Removed 1.19 dependency as 1.20 should be backwards compliant
– [Deletion] Removed
ignore_unknown_causes config flag, as it is replaced by new
ignore_causes setting.
Modifications
• [Modification] Bumping plugin version to 2.3. (
4fa9bd3)
• [Modification] Updating dependencies to latest snapshot. (
d442504)
• [Modification] Delayed update checker by a tick to prevent message from showing up before playerjoin. (
d9a837b)
• [BUG FIX] Plugin correctly exits entity loop when the entity is successfully teleported, preventing the error message from being logged when it shouldn't have been sent. (
ddd6652)
• [BUG FIX]
Plugin previously used ArrayLists to track entity types that were allowed to be teleported. This has very high time complexity and would cause severe lag when many entities were processed. We changed over to HashMaps for this storage which greatly relieves the server load. (
63de3f8) (
27d09a2)
• [BUG FIX] Delays plugin enabling until all worlds have been loaded by the server to help reduce issues with worlds not being found. (
1ea62d1)
• [Cleanup] Optimized code, removed unnecessary statements, fixed improper types, etc. (
2c7d863) (
8a875f3) (
6ce2cda) (
90f5edf)
Config Changes
Code (YAML):
#######################
# Add the following to your config to ignore error causing teleport events
# Teleport causes we should ignore
ignore_causes
:
[DISMOUNT, EXIT_BED, UNKNOWN
]
#######################
# Edit the messages section to contain the following
fail_teleport
:
"&7An entity could not be teleported and is located near (&c%x&7, &c%y&7, &c%z&7)."
entity_left
:
"&7An entity was left behind near (&c%x&7, &c%y&7, &c%z&7)."
leashed_entity_left
:
"&7A leashed entity was left behind near (&c%x&7, &c%y&7, &c%z&7)."
tamed_entity_left
:
"&7A tamed pet was left behind near (&c%x&7, &c%y&7, &c%z&7)."