Introduction:
This update adds in new config features so please read the drafted notes carefully! Optimizations to the detection and teleportation of entities have been made. The plugin now distinguishes entities being left due to plugin errors (something in the code throws an error), vs the player failing a check (world group, region, permission, etc.).
**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 new message to player for an entity being left behind. Distinguishes this from the message sent when an entity wasn't teleported due to an error. (
4b440e2) (
c1c09d5)
+ [Addition] Adds a short delay of invulnerability to the entity being teleported to prevent unintended damage. (
22fdb61)
+ [Addition] Added new flag to ignore unknown teleport causes. IMPORTANT This may help solve vehicle dismount left messages on versions < 1.19.3. In version 1.19.3 and above, a dismount event was added to teleport cause, so this can safely be ignored.
Fixes #7 (
6483295)
Deletions
– [Deletion] Removed 1.18 dependency as 1.19 should be backwards compliant
– [Deletion] Removed player update notifications when plugin is already up-to-date. Only logged in console now on startup.
Closes #9 (
89f7c9a)
– [Deletion] Removed unused code. (
8194f45)
Modifications
• [Modification] Bumping plugin version to 2.2. (
0181d5b)
• [Modification] Updating dependencies to latest snapshot. (
0a45160) (
e1d8a34)
• [Modification] Moved player message to be handled by OATCommon methods. (
6edaad4) (
b989c47)
• [BUG FIX] Removed player messenger for entities not teleported due to a blocked WG region. Logged in console instead now. (
c0c2c4e)
• [BUG FIX] Created new checks for entity teleportation. Fixes some logic issues that previously existed with players getting error messages when they should not have.
Closes #5 (
6dee8ec)
• [BUG FIX] Using parseInt instead of valueOf to prevent unnecessary type casting. (
383146b)
• [Cleanup] Updated config to clean up some notes and typos. (
c82a092) (
68adb8b)
• [Cleanup] Code cleanup for teleport listener and moving some code to common methods. (
1553160)
• [Cleanup] Fixing some .gitignore files. (
430cd66)
• [Cleanup] Fixing a typo in update checker. (
2709f49)
Config Changes
Code (YAML):
#######################
# Should we ignore unknown teleport causes? This may help solve vehicle dismount left messages on versions < 1.19.3
# In version 1.19.3 and above, a dismount event was added to teleport cause, so this can safely be ignored.
ignore_unknown_causes
: false
#######################
# Add the following section to Message handling
entity_left
:
"&7An entity was left behind near (&c%x&7, &c%y&7, &c%z&7)."