Commit Graph
409 Commits
Author SHA1 Message Date
rooooose-b 0fd91fd75a fix: changed getRecipients to get all online players 2024-04-07 07:38:52 +02:00
rooooose-b 7eee55cb3f refactor: replaced old get and set message functions 2024-04-06 16:57:39 +02:00
rooooose-b fc12c077c1 refactor: continued adventure rewrite 2024-04-06 00:42:55 +02:00
darksaid98 7a96244233 refactor: adventure rewrite
- also reformat project
2024-04-05 19:37:04 +02:00
darksaid98 e0281e10a8 feat: paper API 2024-03-22 00:04:08 +01:00
darksaid98 7efcc38354 feat: tag resolvers 2024-03-21 23:46:21 +01:00
darksaid98 81acd3c6e3 feat: add minimessage object to main class 2024-01-27 18:17:23 +01:00
rooooose-b 3b75691a6f feat: added tagresolvers for minimessage tags 2024-01-27 14:44:02 +01:00
darksaid98 1cd9136450 fix: missing imports 2024-01-24 21:00:09 +01:00
darksaid98 b2b78bd542 Merge remote-tracking branch 'upstream/master' into feat/adventure 2024-01-24 20:58:02 +01:00
darksaid98 e9eb33a838 refactor: cleanup logic 2024-01-24 20:53:02 +01:00
darksaid98 b0ec4f393e fix: ignore cancelled chat events 2024-01-24 20:52:46 +01:00
darksaid98 45e5f33410 feat: add adventure lib 2024-01-24 20:51:33 +01:00
LlmDl 5f0ef74b20 Fix local channel having default: true, enable upper-case channel names. (#56)
* Fix local channel having default: true, enable upper-case channel names.

* remove commented-out code.
2024-01-22 08:40:04 -06:00
LlmDl 4524260ce1 - Fix creation of channels.yml, opting to make channels into proper (#55)
ConfigurationSections rather than Maps which aren't easily read on their
first creation and then subsequent load.
  - It is no longer recommended to delete your channels.yml when
updating from TownyChat 0.109 or earlier.
2024-01-18 11:00:02 -06:00
darksaid98 465400dfd5 feat: allow unlimited channel formats
- The original implementation was weirdly splitting configuration and limiting customization of the plugin.
- This moves all format configuration directly into each channels config.
- Generates default config entries.
2024-01-12 13:37:41 +01:00
LlmDl 93df8fb296 Add papermc repo to hopefully fix build. 2023-12-27 08:07:27 -06:00
LlmDl fa2bc13bc9 Update more dependencies in the pom. 2023-12-27 08:03:38 -06:00
LlmDl 688118e46c Update Towny dependency info. 2023-12-27 07:54:45 -06:00
LlmDl 7f20d83bea Give channels.yml the abilities of the CommentedConfiguration. (#54)
* Give channels.yml the abilities of the CommentedConfiguration

Now possible to update existing channels.yml files when the comments
should change.

Adds missing comments from the channels.yml, better explaining features
available to channels.

Deletes the old configuration handler that loaded yaml file details.

* Update channels comments and deprecate autojoin

* Fixes for legacy configs loading improperly.

* Add missing comments, update changelog.
2023-12-27 07:50:09 -06:00
LlmDl 6540b2cf1d - Update min. Towny version to 0.100.0.0. 2023-12-06 08:59:17 -06:00
LlmDl 7265f58637 - Add optional listen and speak nodes to TownyChat channels.
- The channels in the channels.yml may now be given listenpermission
and speakpermission keys, whose values will be the permission node
require to either speak or listen to the channel.
    - When these are set on a channel they will make the permission key
of the channel redundant and unused.
    - Closes https://github.com/TownyAdvanced/Towny/issues/1020.
2023-12-06 08:57:35 -06:00
LlmDl 8e0664d212 Add optional listen and speak nodes to TownyChat channels. (#53)
* Add optional listen and speak nodes to TownyChat channels.

Channels.yml can now accept speakpermission and listenpermission keys in
channels. When they are set the players just have the set values in
order to speak/listen to a channel.

This makes it possible to create channels that can only be heard, and
not spoken into.

Closes https://github.com/TownyAdvanced/Towny/issues/1020

* Update the default channels.yml with new comments about permissions
2023-12-05 17:36:28 -06:00
LlmDl 834e2dc7d9 Update deploy_release.yml 2023-11-30 07:27:47 -06:00
LlmDl 43a66a3a1b Merge pull request #52 from TownyAdvanced/fix/perworld_section
Fix worlds section not generating when per-world is set to true in the chatconfig.yml.
2023-08-17 16:10:41 -05:00
LlmDl a47f2e46fe Fix worlds section not generating when per-world is set to true in the
chatconfig.yml.
2023-08-17 16:10:19 -05:00
LlmDl c4c442d43c Merge branch 'master' of https://github.com/TownyAdvanced/TownyChat.git 2023-07-20 12:40:18 -05:00
LlmDl dea1876ce1 - Fix help menus not being coloured properly.
- Update min. Towny version to 0.99.5.0.
2023-07-20 12:40:12 -05:00
LlmDl cc3e219f05 Merge pull request #51 from TownyAdvanced/bump_towny_version
Bump min. Towny version to 0.99.5.0
2023-07-20 09:44:34 -05:00
LlmDl 6152de8760 Merge pull request #50 from TownyAdvanced/fix/help_menu_colours
Fix help menus not being coloured properly.
2023-07-20 09:44:05 -05:00
LlmDl 80157f7d7d Bump min. Towny version to 0.99.5.0 2023-07-20 09:43:17 -05:00
LlmDl 5a7e48a7ce Fix help menus not being coloured properly. 2023-07-20 09:42:47 -05:00
LlmDl 6fa247fed7 Update deploy_release.yml 2023-07-01 10:00:18 -05:00
LlmDl 1efda5c68f Update deploy_release.yml 2023-07-01 09:51:55 -05:00
LlmDl 7c650200b5 Merge pull request #49 from TownyAdvanced/fake_release
Fake release
2023-07-01 09:50:41 -05:00
LlmDl 0eba3bdddb Fake release 2023-07-01 09:48:48 -05:00
LlmDl e36fdb9870 - Handle knock-off Essentials plugins fooling TownyChat into hooking
the real EssentialsX.
2023-06-05 15:26:01 -05:00
LlmDl a1c7e9f7c2 - Remove usage of Version, using new Towny version checker instead. 2023-06-04 11:26:06 -05:00
LlmDl 69c0d2f092 - Update min. Towny version to 0.99.1.0. 2023-05-30 10:41:09 -05:00
LlmDl 72448bec0c Merge pull request #48 from TownyAdvanced/fix/ver-check
Fix version check
2023-05-30 10:36:59 -05:00
LlmDl 666458f7f3 - Add new chat slug: {primaryresidentrank}
- When a resident has a primary rank with a prefix this will display
their prefix with a space added to the end.
    - Primary ranks and their prefixes are set in the townyperms.yml
like so:
      - towny.rankpriority.#
      - towny.rankprefix.<somewordshere>
2023-05-30 10:35:45 -05:00
Warrior 4e6d3c9c98 Fix version check 2023-05-21 21:56:11 +02:00
LlmDl 11b86c7f1c - Add focusable option to channels in the channels.yml.
- By default channels are focusable and adding focusable: true has
no effect.
    - Adding focusable: false will prevent players making their primary
channel, ie using /tc with no message.
2023-05-09 17:11:15 -05:00
LlmDl f9e8b22c51 Add focusable option to channels, allowing servers to prevent players (#47)
from focusing onto channels, ie preventing using /tc with no message.
2023-05-09 17:08:24 -05:00
WarriorandLlmDl 945b66f803 Folia Support (#46)
* Folia Support

* Unused import.

* Changelog and min. version bump.

---------

Co-authored-by: LlmDl <[email protected]>
2023-05-09 15:03:06 -05:00
LlmDl 60168fae2c Scoot this field up higher. 2023-05-09 14:55:59 -05:00
LlmDl bf5ba6f07a - Update min. Towny version to 0.99.0.0.
- Update EssentialsX maven details.
  - Translate spy message colour codes.
    - Closes https://github.com/TownyAdvanced/Towny/issues/6634
2023-04-27 10:20:15 -05:00
LlmDl fe47196db7 Make forceglobal more readable, maybe even somehow fix an issue a
sponsor had.
2023-02-02 21:08:34 -06:00
LlmDl 93aa36719c Merge pull request #45 from TownyAdvanced/feature/exclamation_point_option
Make exclamation point shouting optional.
2023-01-22 09:40:15 -06:00
LlmDl 238b3cb45a - New Config Option: allow_exclamation_point_to_shout
- Default: true
    - If true players that say !somewords will have their message sent
to a global type channel with unlimited range (usually your general
chat.)
2023-01-22 09:38:43 -06:00