Commit graph

527 commits

Author SHA1 Message Date
cc6c477add
Fixed TownyAnnouncer
It took way too long to figure out how to add an appender that actually takes effect
Also changed Towny dep, it'll likely break Travis builds
2019-10-20 02:32:10 +02:00
a91ee1b842 Registering the formatter component
Only disabling the chat handler if the component is enabled
2019-09-30 15:55:25 +02:00
aa455e373d
Only send the message to the same group
#106
2019-09-30 11:52:32 +02:00
6a16a3a1d5 Actually setting names for the formatters
Also made the name and the pattern mandatory
#85
2019-09-23 13:41:24 +02:00
750b71de65 Created FormatterComponent & formatters can be disabled
It allows disabling chat processing as a whole or formatting
Formatters can be disabled one by one
#85
2019-09-23 13:24:39 +02:00
bd656015bf
Fixes, improved color mode command
Renaming
Fixed TownyAnnouncer once again - but it still doesn't work
Improved color mode (separated "unknown color" and "reset")
Fixed ping sound hiding for nicknames (#90)
2019-09-21 02:21:53 +02:00
fa375c4912 Updated code relying on Towny & updated Lombok version
Towny now uses log4j
Newer Lombok supports Java 11
2019-09-16 15:35:28 +02:00
a964ce6595 Fix Towny dep 2019-09-16 13:39:33 +02:00
4a456d9b1e Fixed 3 issues (hopefully)
Fixed #104
Fixed #101 and also allowing spaces in the action
Fixed #90
2019-09-16 11:49:03 +02:00
a4b7f689c0 Fix Travis 2019-09-02 15:38:04 +02:00
b3939f3c92
Small stuff
Pretty much just renamed the plugin
2019-08-27 03:04:21 +02:00
1275cdafd0
Removed scoreboard that has been there for a long time
PluginMain.java:40
Also made the channel scores unnecessary
As well as the recently introduced dispatchConsoleCommand method
Also probably fixed Towny spy (#100)
2019-08-13 15:02:34 +02:00
f3904a8448
tellRaw continue
Didn't commit it earlier today, but I'm not gonna work on it now
2019-08-13 01:19:55 +02:00
415e61a401
isChatOn fix, tellRaw start 2019-08-12 02:50:18 +02:00
7b2ecdbf7b
Renamed config methods to match the keys 2019-08-07 18:28:47 +02:00
4956837e5d
Not processing messages when nobody is online 2019-07-22 22:37:23 +02:00
8907d5308f
1.14 prep & chat formatter organizing
(1.14 prep is older code)
2019-06-30 22:04:33 +02:00
bbe9a8c146
Added snap command from master 2019-06-15 00:40:48 +02:00
80e45aa1a9
Added snap command 2019-04-24 23:57:52 +02:00
c25097b525
Merge pull request #98 from TBMCPlugins/dev
More components, broadcasts
2019-03-17 02:28:21 +01:00
049ad55168
Town/nation color fixes, reload command 2019-03-16 14:33:03 +01:00
c7f04b8731
Converted all of the commands
Moved the announcer commands into one class
2019-03-16 03:07:33 +01:00
073346eb7f
/u c sender changed to player 2019-03-14 16:42:32 +01:00
5b5252382e Converted, moved and deleted some commands
Converted & noved:
/u opme
/yeehaw
/u c

Deleted:
/u admin playerinfo
/u admin updateplugin

Also made the FunComponent more configurable
Also removed old command registration, so some commands will stop working
#85
2019-03-11 12:36:19 +01:00
e510667215
Rename, fix, nc toggle
Renamed plugin
Fixed duplicate chat handling (DC->MC)
Implemented nation color toggle
2019-03-09 23:02:46 +01:00
ae49777007
Made appendtext commands fully configurable 2019-03-08 22:22:12 +01:00
8ff45ad676
Some fixes
Crash on player join without Towny fixed
2019-03-02 19:02:01 +01:00
4744f2edf9
Supporting clean installs
And other fixes
Also moved the Votifier reward to the core
Checking if Towny is present (only a soft-depend now)
2019-03-01 17:58:40 +01:00
f7c1106d1c Replaced (almost) all broadcasts 2019-02-27 16:41:49 +01:00
40a1739951 Moved /un... to its component 2019-02-27 13:48:36 +01:00
c5e33a93ba Moved chat-only stuff, F top, append text start
#85
2019-02-20 16:48:08 +01:00
26b44fbfe1 Moved all /unlol and F stuff
#85
2019-02-20 15:23:07 +01:00
36655dfd84 Adding project file and moving /unlol
Also fixed Vault dep
2019-02-20 13:41:53 +01:00
df7f8bca5e
Town color error fix, applying changes 2019-02-12 22:28:42 +01:00
e2a6afd16a
Added spoiler support 2019-02-01 17:53:54 +01:00
21bf41db2b
Merge pull request #97 from TBMCPlugins/dev
Added /press command, Dynmap nation color support
2019-02-01 17:08:21 +01:00
185b0df8e0
A change and a fix
Say the nation name which already uses the color
History command help text fix
2019-01-30 23:33:16 +01:00
f12912c735
Added /press command, Dynmap NC support
#40
Both tested and work
2019-01-30 21:16:02 +01:00
d0e4447126
Merge pull request #96 from TBMCPlugins/dev
Towny event broadcasting to Discord and masked links
2019-01-20 22:39:53 +01:00
3a29010042
Fixed cast error, NPE, masked links
Fixed config cast error
Fixed mcchat NPE
Implemented masked links
Added a test for it
2019-01-19 20:26:39 +01:00
0802de4b6f
TC/NC & Removed old config stuff
Moved town/nation colors into their component
Removed save command that was apparently there since 2015
It still loads the town/nation colors from the old config if needed
Notification sound/pitch were the last config options to be converted over
#85
2019-01-17 22:23:04 +01:00
3f387a9775
C o m p o n e n t s
FlairComponent
AnnouncerComponent
TownyComponent
Some fixes
Removed old fields and JarUtils
#85
#84
#4
2019-01-13 01:40:54 +01:00
25ce2a4c9f
API changes 2019-01-12 01:24:31 +01:00
8ccf3ee9d7
Guess what, configs 2019-01-10 01:46:59 +01:00
bfe7d48760
Towny logger works
TBMCPlugins/DiscordPlugin#81
2019-01-09 18:57:21 +01:00
be29caa904
Added handler for Towny logger
Listening for Towny events and sending it to our system
2019-01-04 01:11:15 +01:00
2b621adefb
Merge pull request #93 from TBMCPlugins/dev
Fixes (/u ncolor), not allowing two of the same town colors, not broadcasting announcements if nobody is online
2019-01-03 21:43:21 +01:00
aed7864a15
Fix nickname regex bug
The previous implementation didn't consider tbe case when the last player in the list doesn't have a nickname, leaving an empty "always match" part which messed up the formatting
@FigyTuna
Also added editorconfig for GitHub formatting
2019-01-02 23:30:46 +01:00
720740dea3
Fixed URL processing (&, #)
New Years Commit
2019-01-01 03:28:46 +01:00
99a8c1b020
Fixed nicknames if only 1 player is on
Also added a town colors component class
2018-12-28 00:55:32 +01:00