Commit Graph
302 Commits
Author SHA1 Message Date
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 cb2f8da9c3 - Fix hex color codes not being parsed in TownyChat spy messages. 2021-05-02 12:01:11 -05:00
Llm Dl 893dce6d04 - Fix spam_time settings not working. 2021-04-28 07:54:18 -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 af02f6571a Tidying, bump Towny version in the pom. 2021-04-17 10:03:26 -05:00
Llm Dl d6ef07081f Improved solution from previous commit. 2021-04-17 09:47:38 -05:00
Llm Dl 047b14f6ac - Fix players who've just recently joined a town/nation/alliance not
being included in the town/nation/alliance chats.
2021-04-17 08:17:49 -05:00
Llm Dl cc12304b2e - Replace deprecated Essentials call. 2021-04-16 16:44:39 -05:00
Llm Dl ceef86242e - Fix UnsupportedOperationException which was possible when leaving a
channel.
2021-02-08 11:37:49 -06:00
Llm Dl f12fda4558 v0.87:
- Fix event firing async.
  - Fix ranged global channels' chat being forwarded to dynmap.
2021-02-05 06:04:46 -06:00
Llm Dl c94342ca2b v0.86:
- Fix firing PlayerJoinChatChannelEvent async.
2021-01-16 11:43:42 -06:00
Llm Dl 6b7aeaaf61 - Fix permission tests being done too early on PlayerJoin.
- Closes https://github.com/TownyAdvanced/Towny/issues/4615
2020-12-21 14:50:45 -06: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 fecf3035a3 - Implemented PlayerJoinChatChannelEvent, courtesy of Glare with PR
#32.
    - Closes https://github.com/TownyAdvanced/Towny/issues/4575.
2020-12-15 14:57:29 -06:00
LlmDl cc6358791a Merge pull request #32 from darbyjack/channel-join-event
Implemented PlayerJoinChatChannelEvent
2020-12-15 14:55:31 -06:00
darbyjack d5c8223217 Fire for channel switching via command 2020-12-15 06:10:05 -06:00
darbyjack ffbfe074e0 Call join event in StandardChannel 2020-12-14 19:51:28 -06:00
Llm Dl 6923c06d0a - Allow hex colour codes to be used in the messagecolour options
channels.yml.
    - Closes https://github.com/TownyAdvanced/Towny/issues/4087.
2020-12-14 17:44:34 -06:00
darbyjack 26ada97d4d Implemented PlayerJoinChatChannelEvent 2020-12-14 17:03:50 -06:00
Llm Dl e10ba6f427 v0.84:
- Fix nation and town names not parsing out the _'s for spaces.
    - Closes https://github.com/TownyAdvanced/Towny/issues/4489.
2020-11-30 15:42:29 -06:00
Llm Dl 8088af95d9 - Fix spam countdown resetting if you speak too early. 2020-11-20 19:24:47 -06:00
Llm Dl 61f5b27aa8 v0.83:
- Fix townychat.spam.bypass doing the opposite of its job.
2020-11-20 17:27:09 -06:00
Llm Dl 2044a6bd69 v0.82:
- Fix Towny not being in the depend list (instead of the softdepend
list.)
    - Should solve load order issues.
2020-10-30 12:23:24 -05:00
Llm Dl 6be15e699c v0.81:
- Fix double prefix displaying on the message shown when using a
channel command for the channel you're already joined to.
2020-10-19 19:24:30 -05:00
Llm Dl 4e305f9038 v0.80:
- Add townychat.chat.format.* childnodes to plugin.yml so players are
explicitly not given them.
    - Closes https://github.com/TownyAdvanced/Towny/issues/4351
2020-10-04 15:47:26 -05: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 aab307dd39 v0.78:
- Dynmap added to softdepends list, courtesy of ZombiMigz with PR #31.
2020-08-24 14:38:09 -05:00
LlmDl 39713c19a3 Merge pull request #31 from ZombiMigz/patch-1
add dynmap to softdepend list
2020-08-24 14:36:41 -05:00
Luciano Lim 37fdc34a9c add dynmap to softdepend list
Sorry, got it working now I think
2020-08-24 11:40:52 -07: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 30c52aa936 v0.76:
- Fix chat format line not parsing hex colors, courtesy of Siris with
PR #28.
    - Closes https://github.com/TownyAdvanced/Towny/issues/4159.
2020-08-11 13:45:35 -05:00
Suneet Tipirneni (Siris) 278344f44a Fix chat format line not parsing hex colors. (#28)
* Add hex colors to townychat.

* Add the ampersand and bracket format for hex codes.

* Fix chat format line not parsing hex colors.
2020-08-11 13:41:50 -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
Suneet Tipirneni (Siris) d5c5171ff5 Update changelog.txt 2020-07-19 19:41:55 -04:00
Suneet Tipirneni (Siris) 4d188f1368 Merge pull request #29 from TownyAdvanced/hotfix/towny-version
Fix error spam on 0.96.2.5+
2020-07-19 19:35:32 -04:00
Suneet Tipirneni (Siris) 61e3388bb0 bump TC version. 2020-07-19 19:35:00 -04:00
Suneet Tipirneni (Siris) 88cc6ac90c Bump towny version. 2020-07-19 19:33:19 -04:00
Llm Dl 74de8f816f v0.73:
- 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}
2020-07-11 17:12:34 -05:00
Suneet Tipirneni (Siris) e193d72533 Add Hex Color Support to TownyChat (#27)
* Add hex colors to townychat.

* Add the ampersand and bracket format for hex codes.
2020-07-11 17:08:18 -05:00
Llm Dl ab55ed69c5 v0.72:
- Fix ConcurrentModificationException caused by spies.
    - Closes https://github.com/TownyAdvanced/Towny/issues/4077
2020-06-12 14:36:16 -05:00
Llm Dl 1fe45712d4 v0.71:
- Bugfixes on the AsyncChatHookEvents, courtesy of Rebstew with PR
#26.
2020-06-01 14:14:04 -05:00
Steven Rebstew 1bec7f8f7a Bugfixes on the AsyncChatHookEvents (#26)
* fix a bug where hooked channels wouldn't get the messages sent to their recipients

* fix on AsyncChatHookEvent message setter
2020-06-01 14:12:28 -05:00
Llm Dl 956411ed9b Remove debug message. 2020-05-10 20:24:14 -05:00
Llm Dl 3f44221356 - People spying on chat will now see the chat formatted differently
from normal.
    - De-clutters the chat.
    - Closes: https://github.com/TownyAdvanced/Towny/issues/2665
2020-05-10 10:11:33 -05:00
Llm Dl 5ef8fd21e9 v0.70:
- Allow for $ and \ to be used in the chat line.
    - Closes: https://github.com/TownyAdvanced/Towny/issues/3960
2020-05-10 08:16:48 -05:00
Llm Dl 4a9c7a52ad v0.69:
- Fix missing spaces from {title} & {surname} & {townypostfix}.
2020-03-20 14:28:20 -05:00