Commit Graph
68 Commits
Author SHA1 Message Date
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 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 722f5c7bea - Update min. Towny version to 0.98.5.0 & replace deprecated methods. 2023-01-09 14:31:09 -06:00
LlmDl 7b932e2310 Use internal Essentials instance.
Drops the usage of Towny's Essentials instance.
2022-12-19 19:06:41 -06:00
LlmDl be073a1c49 - Make TownyChat better able to handle broken PAPI placeholders that
won't parse.
    - On the off chance you have put unparse-able placeholders into your
chatconfig.yml you will be made aware of them in your log.
    - This new system should be able to let TownyChat format your chat
properly when this occurs.
  - Update min. Towny version to 0.98.4.0.
2022-12-07 17:10:34 -06:00
LlmDl 483a79c2b3 Replace channelFormats with ChatSettings inner class WorldFormat 2022-10-03 15:08:46 -05:00
LlmDl d2338ede07 Refactoring Chat & TownyChatPlayerListener, Slimming down FileMgmt. 2022-10-03 13:04:08 -05:00
LlmDl 5c454b9f01 Redo chatconfig loading. 2022-10-03 10:43:14 -05:00
LlmDl 93f8bd846e - Fix channel sounds being played at the sender's location, fix muting
channel sounds.
  - Remove built-in HexFormatter.
  - Refactor some StandardChannel.
2022-09-30 10:43:35 -05:00
LlmDl e256df5020 - Update min. Towny version to 0.98.3.0.
- Make the alone message respect people's vanished status.
    - Closes https://github.com/TownyAdvanced/Towny/issues/6194
2022-09-30 08:51:36 -05:00
Llm Dl 7d6cad6ddf - Regression: channels.yml not handling /townychat reload, bug began
in 0.92.
2022-02-02 13:18:32 -06:00
Llm Dl c0ff36db3d - Regression: NPE in TownyChatPlayerListener.
- Minimum Towny version set to 0.97.5.0.
  - Use Towny's built-in Commented configuration & adapt to use the new
width() option supplied by Spigot.
2021-12-27 07:11:28 -06:00
LlmDl f355807538 Replace towny modes usage with player channel map. (#35)
* Replace towny modes usage with player channel map.

Ends TownyChat's usage of Towny's Resident Modes to determine which
channel a player is actively chatting into.

Done as an attempt to fix
https://github.com/TownyAdvanced/Towny/issues/5451 but did not result in
solving the bug, in the end this is probably the correct thing to do
anyways.

* Add temporary debug messaging, make the directChat map store the channel
name instead of the channel command.

* Handle Spigot 1.18.1 config changes. Remove debug messaging.
2021-12-23 11:27:19 -06:00
Llm Dl dfd2d59de0 - Implemented sounds for channels and toggling, courtesy of Glare with
PR #34.
  - Minimum Towny version set to 0.97.2.18.
2021-11-18 14:30:26 -06:00
Llm Dl dea9c433f1 Bump Min. Towny Version to 0.97.2.7. 2021-11-07 11:54:57 -06:00
Josh RoyandLlm Dl 5bee9611aa Add support for EssentialsDiscord (#33)
* Add initial support for EssentialsDiscord

* Fixup some stuff

* Exclude JDA

* Restore ChannelsHolder.java

* Fix canceled logic

* Fix bool logic

* Make sure direct channel always gets handled

* Remove isHooked check

* Add javadoc to EssentialsDiscordHookListener, remove unneeded diff.

Co-authored-by: Llm Dl <[email protected]>
2021-06-27 09:48:34 -05:00
Llm Dl ce03d1dd5c - Update min. Towny to 0.97.0.0 and remove NotRegisteredException
catches.
2021-05-10 16:40:32 -05:00
Llm Dl c612e22eb0 Undo the essentials stuff for now, look into it another day. 2021-04-28 07:44:57 -05:00
Llm Dl 5a1c9b6ced Make it so that non-Essentials servers can still load TC, bump
Essentials version to 2.18.2.
2021-04-17 16:15:15 -05:00
Llm Dl 99d0433b3e v0.85:
- Bump minimum Towny version to 0.96.5.5.
2020-12-19 12:06:36 -06:00
Llm Dl 44978325e5 v0.85:
- 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.
2020-12-19 10:08:14 -06:00
Llm Dl 6a95810e7c v0.79:
- Fix colouring the alone message.
  - Replace TownyMessaging method used to send some TownyChat messages.
    - Removes double prefixes ie: [Towny] [TownyChat] message....
2020-09-18 16:59:48 -05:00
Llm Dl b6f81d938c - Dynmap added to softdepends list, courtesy of ZombiMigz with PR #31.
- 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.
2020-09-10 09:26:35 -05:00
Llm Dl 456291f153 v0.77:
- Build against 0.96.2.12, minimum required Towny version now
0.96.2.12.
2020-08-22 10:07:02 -05:00
Llm Dl 4c6a1e2da1 v0.75:
- Replace deprecated getLangString code.
  - Update to fix spying on servers with DeluxeChat.
  - Fix changing chat channels removing non-channel modes.
  - Add Towny version checking to enforce min. required versions.
2020-07-29 09:12:23 -05:00
Llm Dl d038dd6a3a - Add support for PlaceholderAPI's placeholders in the chatconfig.yml's
channel_format lines.
2019-10-14 11:48:50 -05:00
FlagCourier d2a84c9a3c Maven Build System & Deprecated CraftIRC, HeroicDeath Deps (SQUASHED)
Initial Pom Skeleton - Move Resources


Remove IDE-semispecific files (Eclipse)


Add repositories for BukkitAPI, Dynmap-API, and EssentialsX


Bump EssentialsX to a 1.14.x compatible build


Remove Ant Build System


Decomission CraftIRC and HeroicDeath

Both plugins are extremely out of date. Please make a PR if you have a modern solution.

Add Towny Repo, plugin.yml project integration nodes


Update Changelog + Fix ArtifactID & Towny Repo

Fallback to ArticDive's repo. Not used if the matching Towny version is installed on the local Maven cache.
Needs to be updated to GH's Package Manager when approved.
2019-08-25 15:31:29 -05:00
Articdive 47e809a47e Fixed the misrenaming of IntelliJ 2018-03-18 18:33:43 +01:00
Articdive 2f23a8a376 Renamed TownyChat.java back to Chat.java 2018-02-23 19:51:59 +01:00
Articdive a07deba526 Renamed TownyChat.java back to Chat.java 2018-02-23 19:51:19 +01:00
Articdive f3d71d300e Renamed TownyChat.java back to Chat.java 2018-02-23 19:47:38 +01:00
Articdive 3d048da6d7 Revamped ChannelCommand to mimic Towny-type help 2018-02-18 21:44:32 +01:00
LlmDl b2cce3c4d4 v0.52:
- Commented configuration now in effect on the ChatConfig.yml
      - This means that new config nodes will be automatically added
(just like in Towny.)
      - pre-0.52 chatconfig files will load but will be slightly out of
order. 
      - It is recommended that you let TownyChat make a brand new
chatconfig.yml
        - stop your server.
        - rename your chatconfig.yml to oldchatconfig.yml and let town.
        - start your server. 
        - compare the two chatconfigs and when your new chatconfig.yml
is configured save it and use '/townychat reload'.
      - The worlds section of the chatconfig will not auto-generate
until the modify_chat.enable setting is set to true.
        - If you do not see a worlds section and want to use per-world
chat, set the modify_chat.enable setting to true and use '/townychat
reload'.
2018-02-18 12:40:07 -06:00
LlmDl ab59a7e2cf First attempts at getting worlds section of chatconfig to populate
(hint: its not pretty)
2018-02-18 08:35:50 -06:00
LlmDl cea0d15aa8 Small changes 2018-02-18 06:18:08 -06:00
LlmDl eac1803c8d Functional commented configuration now. Settings still not loaded from
new chatconfig.
2018-02-17 20:05:27 -06:00
LlmDl aa8e816df7 First attempts at including CommentedConfiguration into TownyChat 2018-02-17 13:55:34 -06:00
ElgarL d997c909ab v0.35:
- Fix chat spy.
2013-01-11 01:20:25 -05:00
Marco Cunha 06c67f50e0 Cleanups 2012-08-25 19:48:08 +02:00
Marco Cunha 091dc495d4 Mute/Unmute fixes 2012-08-25 03:09:11 +02:00
Marco Cunha aba3ce1303 Hook new commands for use 2012-08-24 23:54:09 +02:00
ElgarL 436520a183 Reload TownyChat if we detect craftIRC perform a reload (no more
unregistered tags after reloading craftIRC).
2012-04-21 03:02:37 +01:00
ElgarL 6c8f030d49 Fix a duplicating chat issue when relaying via craftIRC. 2012-04-20 22:24:28 +01:00
Jeremy Wood e3ac53b3f6 Refactored TownyPlayerHighestListener to TownyChatPlayerListener 2012-04-16 15:13:03 -04:00
Jeremy Wood c052c77b0f Refactored package TownyChat.event to TownyChat.listener 2012-04-16 15:08:43 -04:00
Zak Ford 27a3c2e9b5 Use getLogger() from JavaPlugin 2012-03-01 14:10:40 -05:00
phrstbrn 287b8a0ab1 Fix error in onDisable() 2012-02-20 00:14:23 -05:00
Zak Ford ae46e35272 Refactored channels to allow for subclassing 2012-02-16 17:28:43 -05:00
ElgarL f758f273be Error trap registering permissions. 2012-02-15 21:37:35 +00:00
ElgarL 03cf1b8d26 - Fix spacing in default formats.
- Unregister the 'towny' endpoint tag so it won't error when performing
a reload.
2012-02-14 13:52:14 +00:00