Merge pull request #274 from iVillager/patch-3
Merge pull request #270 from ApliNi/patch-2
HuskHomes v3.2, although light on new features, is heavy on fixing various issues encountered by users in the previous version. Most noticeably, it adds a new config option to let /sethome
and /setwarp
commands overwrite, fixes issues and introduces new API for bulk-delete commands and makes significant improvements to the performance and API for random teleports.
- Add an option to the plugin config to have homes automatically be relocated instead of the command failing when using
/sethome
and/setwarp
with a home argument that matches the name of an existing respective home or warp. (#168) - Fixed a variety of issues where random teleport location generation would fail in many cases due to a flawed implementation of needed safe ground detection logic. Random teleport positions no longer cache and the setting for this has been removed.
- Added a message informing players when they execute the
/rtp
command that the system is finding a position for them. - Fixed an issue where busy servers sending parallel plugin message requests would conflict with each other causing intermittency with cross-server teleportation features
- Fixed an issue that meant players could access permission restricted warps without the requisite permission node
- Changed the format of the permission restricted warps permission node for consistency (
huskhomes.warp.<warp>
→huskhomes.command.warp.<warp>
) - Fixed an issue that meant the "Teleportation complete" message would appear twice when teleporting cross-server
- Fixed an issue that meant the wrong locale was displayed when teleporting other users to coordinates
- Fixed the
/tp
and/tphere
commands not working for users vanished by vanish plugins (#255) - Fixed an issue where if your teleport warmup time was set to 0, it would still treat the teleport as though it were a timed one, showing messages and restricting movement
- Fixed an issue that meant the server could lock up when using
/delhome all
or/delwarp all
(#265) - Fixed an issue that meant running
/delwarp
with zero arguments would throw an internal error (#264) - Fixed an issue where
/rtp
would sometimes put players inside blocks (#263) - Added support for RedisEconomy, courtesy of Ermibergo02 (#259)
- Updated the Simplified Chinese (zh-tw) locales, courtesy of ApliNi
- Updated the German (de-de) locales, courtesy of Ceddix
- Updated the Italian (it-it) locales, courtesy of Villag3r
- API (breaking): The Random Teleport API has been reworked. Hooks that work with the API in v3.1 will need to be altered to accommodate the new spec. Providers now need to simply supply an
Optional<Position>
rather than the previously complex approach. - API: Added new cancellable events for deleting all homes and deleting all warps. Note that the normal deletion events are not fired when a player chooses to delete all of their homes / warps.
To update from v3.1, regenerate your config.yml and messages.yml files. If you're updating from older versions, you'll need to follow the legacy migration instructions.
/rtp
API tweaks, add timeout failsafe, add teleporting_random_generation
locale
Fix permission restricted warps not being hidden from tab completion
Use kyori Key.MINECRAFT_NAMESPACE
in block id safety resolution
Ensure users get put in centre of blocks, fix #263
Teleportation system fixes, refactored bulk deleting, new events (#266)
Update Simplified Chinese locales via @ApliNi (#261)
Merge pull request #259 from Emibergo02/rediseconomy
Fix oversight with permission restricted warps
Merge branch 'master' into it-it-fix
Finish implementation of home overwriting, add additional success check, close #168
Fix /tp command not working for vanished users, close #255
Fix permission issues and erroneous messages with homes and warps, close #252
Merge pull request #254 from WiIIiam278/dependabot/gradle/com.google.code.gson-gson-2.10
Bump gson from 2.9.1 to 2.10
Merge pull request #250 from Ceddix/master
Updated German locales
Merge pull request #249 from ApliNi/master
Translate statements added in 9630e53 (zh_cn)
⚠️ You must regenerate your config file to upgrade to this version from v3.0.x! Upgrading from v2.11.2? Follow these additional instructions as well.
HuskHomes 3.1 introduces a new developer API for executing teleports, makes a number of stability improvements and fixes a few bugs.
- Rewrote the internal teleportation handling logic for improved stability (see API section for what this means for developers)
- Rewrote logic in a number of places to reduce future
#join()
calling to fix a few concurrency exceptions in some cases - Added a couple of new error handling locales for teleportation
- Fixed a problem where the server name and player list could not be updated when a player joined, caused by plugin message dispatch occurring too soon after the user joined
- Fixed a problem where
/tpignore
would still let you send teleport requests (#238) - Fixed a number of issues caused by the migration to adventure, including a few that broke compatibility with older versions. Adventure's Bukkit adaption layer is now bundled with HuskHomes.
- Fixed a few issues with the way in which data was read from the config file (Annotaml)
- Tweaked the default Hikari connection pool options
- Updated the Traditional Chinese (zh-tw) locale with a few fixes, courtesy of @davgo0103
- API: New developer API has been introduced for building and executing teleport operations
- A new entrypoint for getting a
TeleportBuilder
, which you can convert into an executableTeleport
orTimedTeleport
, has been added to the API class - Old teleport methods that simply accept a Position have been deprecated.
- Please check the javadocs for more information!
- A new entrypoint for getting a
You must regenerate your config file if you're upgrading to this version from v3.0.x! Regenerating your messages file is also recommended. Thank you!
Credit @davgo0103 for Traditional Chinese (zh-tw) corrections