Towny Classic

Towny Classic

3.2k Downloads

Hover and click chat components do not work in 1.21.5

Closed this issue ยท 2 comments

commented

What steps will reproduce the problem?

  1. Create a new server with Paper 1.21.5 (https://api.papermc.io/v2/projects/paper/versions/1.21.5/builds/113/downloads/paper-1.21.5-113.jar)
  2. Install Towny (https://github.com/TownyAdvanced/Towny/releases/tag/0.101.1.13)
  3. Start the server
  4. Create a new town
  5. Run /t and attempt to hover over and click on [Resident List] and [Plots] to view the information and run the respective commands
  6. Run /t list and attempt to hover over and click on the entry for the new town to view the town info and run /t spawn

Image

What is the expected output?

The player is able to view info by hovering over different buttons in the town information chat GUI, and run the respective commands by clicking on the buttons.
The player is able to view spawn cost of a town in /t list as well as teleport to the town spawn by clicking on the town in /t list.

Image
Image
Image

Towny version

0.101.1.13

Server version

This server is running Paper version 1.21.5-113-main@ba7fb23 (2025-06-10T23:34:22Z) (Implementing API version 1.21.5-R0.1-SNAPSHOT)

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log: https://pastebin.com/3tszrD6w
  2. Your Towny config.yml: https://pastebin.com/BDqnbfy6
  3. Your townyperms.yml: https://pastebin.com/YLajC6Qe
  4. Your log's error: N/A

(optional) If this is to do with permissions,
5. Your permissions file:

(optional) If this is to do with chat,
6. Your chatconfig.yml:
7. Your channels.yml:

commented

Please confirm that this jar fixes it: https://github.com/TownyAdvanced/Towny/actions/runs/15657581133/artifacts/3329538548

This does not fix it, but causes no messages to be sent in chat whatsoever. Towny commands such as /t, /towny, /n do not show any messages in chat, but the commands still go through, and I was able to create a town.
Also, when I walk into a town claim or out of a town claim, it crashes my game with Failed to encode packet 'clientbound/minecraft:set_action_bar_text'

Error:
https://pastebin.com/Lh47VvCn