* Cleaned up diff
* Documentation on how to add a sound to a channel
* Added missing null check before trying to play a sound
* Warn when invalid sound is being used
* Set channel sound to null if invalid
* Only run if channel sound not null
* Implemented suggested changes
* One more change
- Add persistant leaving for channels.
- Uses Towny resident metadata, you will be able to see ignored
channels on your /res status screen.
- Normal joining/leaving commands are used just like before.
- Closes https://github.com/TownyAdvanced/Towny/issues/3133.
- Bump minimum Towny version to 0.96.3.0.
- Allow for colouring the alone message.
- Adapt to change in Towny 0.96.2.17 Version code.
- Build against 0.96.2.17, minimum required Towny version now
0.96.2.17.
- Add Hex Color Support to TownyChat, courtesy of Siris with PR #27.
- The format for hex colors is a # symbol followed by 6 numbers.
- You can use any of the 3 formats:
- #RRGGBB
- &#RRGGBB
- {#RRGGBB}
Adjusted comments to reflect a change where using the same chat channel command (eg /tc) repeatedly no longer toggles the chat channel. Players must swap channels via using their desired channels command (eg to leave /tc and get back to general, a player must use the command /g, rather than running /tc a second time).
no longer formatted by TownyChat if modify_chat.enabled is false.
- DEFAULT, TOWN, NATION & ALLIANCE types are still formatted by
Towny when modify_chat.enable is false.
- Closes: https://github.com/TownyAdvanced/Towny/issues/3568
- Altered behaviour:
- Previously using the channel command for the channel you're
already speaking in would move you to the next default channel,
or if non was found, the next global channel.
- Ex: While being in townchat you use "/tc" you could find yourself
in globalchat.
- Now you will be told you're already in the channel you just used
the command to enter into.
- Change: spam_time has been moved from the chatconfig.yml, to the
channels.yml
- You do not have to set a spam_time for each channel, only the ones
you want limited.
- setting spam_time: '0.5' in your general channel will make the
global channel behave as normal.
- default channels.yml has spam_time: '0.5' set for general, town,
nation and alliance channels; remaining channels have no spam_time set.
- in your chatconfig.yml you can remove the "spam_time: '0.5'" line
before or after updating.