Commit Graph
257 Commits
Author SHA1 Message Date
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
Llm Dl 65bd972090 v0.68:
- Updated comments to reflect change with toggling chats, courtesy of
GenSecrets with PR #25.
2020-03-18 09:41:59 -05:00
LlmDl 994ebb311c Merge pull request #25 from GenSecrets/patch-1
Updated comments to reflect change with toggling chats
2020-03-18 09:40:28 -05:00
Llm Dl 790b6f2328 - Update Bukkit api, remove unneeded deprecation warning. 2020-03-18 09:40:09 -05:00
Gen 150ce58c00 Updated comments to reflect change with toggling chats
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).
2020-03-17 21:05:16 -04:00
Llm Dl bc2e22caf6 - Fix for TownyChat overwriting towny_default_modes player modes on
login.
2020-03-05 07:52:49 -06:00
Llm Dl ab46dc8ff7 v0.66:
- Fix for removed TownyFormatter methods, required for Towny 0.95.2.18
and newer.
2020-02-25 08:22:08 -06:00
LlmDl b582fcb1c8 Merge pull request #24 from suneettipirneni/hotfix/prefix-postfix
Re-add support for name postfixes/prefixes
2020-02-24 18:54:01 -06:00
Suneet Tipirneni (Siris) b73b30c700 Readd support for name postfixes/prefixes 2020-02-24 19:01:21 -05:00
Llm Dl 545ae8b19d - Fixed: GLOBAL channelTypes (default: general and local channels) are
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
2019-12-16 08:40:40 -06:00
Llm Dl 068b186df0 v0.65:
- 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.
2019-12-11 16:41:02 -06:00
Llm Dl 802efbd3a7 Fix up secondary occurence of setting modes and stopping modes set
notifications when switching channels.
2019-12-11 13:15:42 -06:00
Llm Dl 0b01ad12c9 v0.64:
- Removed "[Towny] Modes set: " line seen when a player changes
channels.
2019-12-04 15:35:18 -06:00
Llm Dl 0a92c5ac1c - New Permission Node: townychat.spam.bypass
- Defaults to ops.
    - Bypasses spam check.
2019-11-14 07:23:03 -06:00
Llm Dl 78c7bd146b v0.63:
- 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.
2019-11-14 07:05:46 -06:00
Llm Dl 4e9999019b v0.62:
- New Channel: AllianceChat
    - Requires Towny 0.95.0.5 or newer.
    - Will send messages to every online ally of your nation.
    - Has its own channel_format in the chatconfig.yml.
    - Your channels.yml will need to have an Alliance channel added.
    - Default channels.yml is:
    alliance:
        commands: [ac]
        type: ALLIANCE
        channeltag: '&f[&2AC&f]'
        messagecolour: '&a'
        permission: 'towny.chat.alliance'
        range: '-1'
2019-11-05 13:37:05 -06:00
Llm Dl 6df2fac32a - New Config Option: display_modes_set_on_join
- Default: true
    - If true players will see [Towny] Modes set: general when they log
in.
2019-11-01 13:20:44 -05:00
LlmDl db38c0c4a2 Create FUNDING.yml 2019-10-30 09:02:47 -05:00
Llm Dl dfae872316 Removed @EventHandler on accident. 2019-10-28 07:33:23 -05:00
Llm Dl cdae079186 v0.60:
- A more-thorough fix for TC still not respecting the cancelling of
chat.
2019-10-28 07:30:13 -05:00
Llm Dl 796639a8e3 Bump version number to 0.59 2019-10-21 15:52:03 -05:00
Llm Dl be440e1f7d v0.59:
- Fix {townycolor} not rendering properly for nomads.
2019-10-21 15:51:15 -05:00
Llm Dl 43a0a62d2b v0.58:
- Drop API version back to 1.13 because there's a 0.95.0.0 for 1.13
that has the new TownyAPI in it.
2019-10-15 11:27:19 -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
Llm Dl 475e26dc81 - Fix missing space following the title in {townyprefix} (when there is
no mayor/king prefix present.)
2019-10-14 07:56:00 -05:00
Llm Dl 02573e6bde - Fix missing space following {title} and {townyprefix} (when it is
calling for a resident's title.)
2019-10-14 07:40:11 -05:00
Llm Dl b82f349d54 - New ChatConfig option: chat_colour.nomad
- Default: &f
    - You can now set the {townycolour} for players without a town.
2019-10-09 12:26:44 -05:00
Llm Dl 67ce04996a - Remove ignorecancelled=true from AsyncPlayerChatEvent in order to make
TC respect other plugins' cancelling of chat in some places.
2019-10-09 12:07:20 -05:00
Llm Dl cedd657ece - Remove some unused code, suppress an essentials deprecation. 2019-09-08 16:26:02 -05:00
LlmDl 8aa1ee1a34 Merge pull request #22 from TheFlagCourier/TC-Mavenize
Maven Overhaul
2019-09-08 14:07:47 -05:00
FlagCourier f286162e29 Add notes about other dependencies to changelog 2019-08-25 15:58:16 -05:00
FlagCourier 21e111c508 Removed CraftIRC from Channels.yml + Errata: v.0.57-Snapshot 2019-08-25 15:54:11 -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
Llm Dl e8644db735 v0.56: Upgrade TownyChat to use the new Towny API (0.94.0.2+). 2019-07-30 20:01:38 -05:00
BuildTools fd524de746 0.55: Fix for Towny's removal of isPermissions. 2019-07-21 12:25:00 -05:00
LlmDl 04de974e28 Merge pull request #20 from creatorfromhell/patch-1
Fix async/sync issue.
2019-06-13 08:27:17 -05:00
Daniel V a44137c82e Update StandardChannel.java 2019-06-13 00:15:50 -04:00
Daniel V 88d8b1a55f Update AsyncChatHookEvent.java 2019-06-13 00:09:45 -04:00
LlmDl 3c031cc4ac Merge pull request #19 from TheFlagCourier/master
Fix Build Script
2019-06-06 08:48:58 -05:00
flagcourier d142e0d1e0 Prevents ANT from running (inside IntelliJ IDEA)
Don't know why this was even here...
2019-06-05 16:01:13 -05:00
LlmDl 8238a0dbbe Merge pull request #18 from Articdive/fix-async-events
Fix events not being asynchronous.
2019-06-03 16:31:28 -05:00
Articdive 1a4ecba190 Fix events not being asynchronous. 2019-06-03 12:59:27 +02:00
LlmDl dc4fef858e Fix Async chat in Async threads 2019-05-28 09:27:26 -05:00
LlmDl 9e88e5fea8 Merge pull request #17 from Articdive/fix-async-chat
Fix Async chat in Async threads, removed in 2014...how is this alive?
2019-05-28 09:26:23 -05:00
Articdive 468a74e702 Fix Async chat in Async threads, removed in 2014...how is this alive? 2019-05-27 13:55:06 +02:00
LlmDl 903aada480 - Fixed being able to join channels you don't have permission for.
Courtesy of Articdive.
2019-05-26 13:28:23 -05:00