HuskTowns 2.0 - Rewrite, interface overhaul & more
⚠️ Important: If you are upgrading from HuskTowns v1.8.2, you must follow the legacy migration upgrade guide.
HuskTowns 2.0 is a major rewrite of HuskTowns that brings forth massive improvements to the data loading system, redesign chat interfaces, a simplified command structure and a whole host of other quality of life changes, new features and improvements.
- The plugin has been rewritten from the ground up with a much more elegant internal code structure.
- Massively improved data load times. Town and claim data is now saved as json objects in the database, which has undergone a schema redesign.
- Redid all user interfaces and messages, bringing them in line with my other plugins.
- Redid the command syntax and permissions listings for most commands. Please check the updated commands list.
- Separated the config into multiple files to make it easier to read and edit;
config.yml
,levels.yml
,roles.yml
andrules.yml
- Added town audit logs (/town audit).
- Whenever a change is made to a town (new members, promotions, demotions, evictions, renamed, etc...) it will be logged.
- You can now change the color of your town (/town color)
- An interactive chat menu is also available to help you choose
- Reworked how town plots work slightly
- Town plots no longer have an "owner"; instead, they have a group of members, some of which are "managers", who can add additional members
- The /town plot command has been updated as a result
- Removed the ability for members to "claim" unoccupied plots, for the time being (this will be re-implemented eventually)
- Added two new perks for leveling up a town; crop growth and mob spawner spawning rates will now increase in farm chunks as the town levels
- Added a command for an administrator to assume ownership of a town, which will force-join a town and set them as the mayor (/town takeover)
- Reworked the town bonuses system;
- The person who applied the town bonus is no longer logged with the bonus, but rather in the town's audit log instead
- Two additional town bonuses have been added to let administrators apply bonuses to the crop growth rate and mob spawner spawn rate boosts in farm chunks
- Added a town spawn privacy admin bypass permission node, to allow administrators to teleport to private town spawns
- Reworked the town claim list (now town "deeds") to provide a better visual overview of the number of claims made by a town
- Added additional sorting options for the town list and improved its interface.
- The plugin will now persistently save player preferences, including if they have town chat, auto-claiming and ignore-claims toggled.
- When using the /map command, the plugin will now highlight the chunk the user is standing in
- Slightly improved the way in which chunks are highlighted; particles will now always highlight slightly within the chunk borders
- More commands, such as the town list command, can now be executed through the server console
- Added brigadier syntax highlighting to commands via commodore
- Added additional sub command list ("help") menus which display the command syntax
- Added support for Plan (Player Analytics); the plugin will now provide an overview of town data on player and server pages.
- Added a new LuckPerms context provider to the hook (
husktowns:town-level
), which is set to the level of the player's town - Updated support for BlueMap and Dynmap to their latest API version
- Removed the default set of shortcut commands. You can define aliases in
commands.yml
at your discretion to replicate these if you miss them. - Removed the ability for towns to color format the town bio, greeting and farewell messages due to it conflicting with menu formatting
- Removed the ability to auto-claim admin chunks
- Removed two online player tracking features, for the time being (this will be re-implemented eventually):
- Removed TAB completion for the invite command
- Removed the Online Status of players in the town member list (now "census")
- Fixed a number of claim protection issues, including the ability for outsiders to extract honey from protected beehives, among others
- Placeholders: HuskTowns' PlaceholderAPI expansion ("HuskTownsPlaceholders") has been updated to v2.0, with a new set of placeholders.
- If you're using this, please download the expansion update from the eCloud.
- API: Added a new Developer API@v2 with vastly expanded capabilities, including the ability to edit towns and make claims through the API
- The new API even provides consumer methods for easily editing towns
- HuskTowns API@v1 has been deprecated but is still implemented. Most plugins built to use the old API should still work provided they don't make calls to old internal methods.
- Consult the API docs for more information
- API: Added three new API events: MemberJoinEvent, MemberLeaveEvent and MemberChangeRoleEvent
To update from v1.8.2, you must follow the legacy migration upgrade guide.
Enjoy!