Norbi Peti
7448eb7e3a
1.16 updates, fixes
2020-06-27 03:00:08 +02:00
Norbi Peti
c688ec9243
Finally fix Towny errors for 1.12 - use the intended API everywhere
2020-04-08 01:10:49 +02:00
Norbi Peti
e4b47efd3f
Fix case when the second section goes further when combining
...
And added a test for it
2020-04-07 23:08:48 +02:00
Norbi Peti
43525bd93c
Add missing backslash after "From X" and before "n"
2020-03-20 02:06:07 +01:00
Norbi Peti
052149bcb7
Add tabcompletes, fix some commands and help texts
2020-03-20 01:26:14 +01:00
Norbi Peti
5d8ae7fbd0
Command fixes, remove old preprocessor
...
Fixed command channels
/tpahere message removed
Made /me an actual command
Fixed some help texts
2020-03-15 03:09:00 +01:00
Norbi Peti
f3ec9e7870
Merge branch 'dev'
...
# Conflicts:
# .idea/ButtonChat.iml
2020-03-04 23:11:31 +01:00
Norbi Peti
0421cc6d16
Small formatter fixes, docs
2020-03-04 23:07:56 +01:00
Norbi Peti
aad65e0222
Remove 2 TODOs
2020-03-04 10:45:26 +01:00
Norbi Peti
03b91d2fdb
Don't allow sending messages too fast
...
The player needs to wait the configured amount of milliseconds between messages
#115
2020-03-03 16:13:39 +01:00
Norbi Peti
661534b92d
Update README.md
2020-03-02 12:40:16 +01:00
Norbi Peti
6af2ad79a7
Remove old loading code, use inherited registerCommand()
2020-02-16 20:28:19 +01:00
Norbi Peti
f19aa41205
Configure CI build for GitHub Packages
...
Also fixed a couple issues based on an analysis
Removed debug souts
2020-02-15 00:23:04 +01:00
Norbi Peti
4952923f9b
Fix all remaining issues with the chat processing
...
Checking regex formatters first, then string, then range
Fix section combining
24/24
#71
2020-02-13 17:20:17 +01:00
Norbi Peti
4d0c7c170e
Fix many issues with the chat processing
...
#71
2020-02-13 00:24:31 +01:00
Norbi Peti
0dbfaa65a5
Fix remaining compiler errors
...
The italics test works so far
2020-02-12 19:16:05 +01:00
Norbi Peti
30ee99d495
Converted formatters to match providers
2020-02-12 12:45:42 +01:00
Norbi Peti
1dc801575a
GH Releases, formatter work, removed old code
...
TBMCPlugins/ChromaCore#76
2020-02-10 13:46:39 +01:00
Norbi Peti
0a4cdd01ce
New approach for chat processing
...
Created different providers for regex, range and string matching
Handling one match at a time per provider
TODO:
Formatters should be executed one by one in declaration order
Add enitre message by default
Loop until all of the providers are finished
Ignore any areas returned by the providers
#71
2020-02-08 01:46:00 +01:00
Norbi Peti
2d874d7bc9
Clickable announcements and some fixes
...
Fixed announcement storage (#112 )
Disabled some components by default
Made announcements clickable and copiable (#95 )
Fixed /mwiki (#110 )
Fixed /u info (#111 )
Added test for rainbow chat (#103 )
Fixed crash if Dynmap-Towny isn't present
Removed old command annotations
2020-01-31 22:01:29 +01:00
Norbi Peti
cda2a36da1
Ping sound config, chat history config, lot of descriptions
...
Moved ping sound configs to the FormatterComponent
Made an option to disable the chat history
Added descriptions for each config option
2020-01-25 03:52:25 +01:00
Norbi Peti
d5f500aece
Fix Ftask, display error, fix history
...
Fixed Ftask not being assinged so it couldn't be handled on a new event
Displaying an error to everyone in-game who will see the errored chat message
Fixed message history race condition
#113
2020-01-25 02:14:01 +01:00
Norbi Peti
2a9bc58157
F i x & clean combining and attempt to fix range conversion
...
It might do too many sorts but hey
#71
2019-12-15 03:49:32 +01:00
Norbi Peti
22c7fed75d
F i x remchars, improve combine
...
Also a newCombine method from yesterday
#71
2019-11-17 03:14:28 +01:00
Norbi Peti
825e327903
Fix underscore pattern - it was wrong all along
...
Fix test - in IntelliJ anyways
2019-11-16 01:08:20 +01:00
Norbi Peti
013287cb47
Update to Java 10/11
2019-10-20 20:53:15 +02:00
Norbi Peti
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
Norbi Peti
a91ee1b842
Registering the formatter component
...
Only disabling the chat handler if the component is enabled
2019-09-30 15:55:25 +02:00
Norbi Peti
aa455e373d
Only send the message to the same group
...
#106
2019-09-30 11:52:32 +02:00
Norbi Peti
6a16a3a1d5
Actually setting names for the formatters
...
Also made the name and the pattern mandatory
#85
2019-09-23 13:41:24 +02:00
Norbi Peti
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
Norbi Peti
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
Norbi Peti
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
Norbi Peti
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
Norbi Peti
a4b7f689c0
Fix Travis
2019-09-02 15:38:04 +02:00
Norbi Peti
b3939f3c92
Small stuff
...
Pretty much just renamed the plugin
2019-08-27 03:04:21 +02:00
Norbi Peti
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
Norbi Peti
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
Norbi Peti
415e61a401
isChatOn fix, tellRaw start
2019-08-12 02:50:18 +02:00
Norbi Peti
7b2ecdbf7b
Renamed config methods to match the keys
2019-08-07 18:28:47 +02:00
Norbi Peti
4956837e5d
Not processing messages when nobody is online
2019-07-22 22:37:23 +02:00
Norbi Peti
8907d5308f
1.14 prep & chat formatter organizing
...
(1.14 prep is older code)
2019-06-30 22:04:33 +02:00
Norbi Peti
bbe9a8c146
Added snap command from master
2019-06-15 00:40:48 +02:00
Norbi Peti
80e45aa1a9
Added snap command
2019-04-24 23:57:52 +02:00
Norbi Peti
049ad55168
Town/nation color fixes, reload command
2019-03-16 14:33:03 +01:00
Norbi Peti
c7f04b8731
Converted all of the commands
...
Moved the announcer commands into one class
2019-03-16 03:07:33 +01:00
Norbi Peti
073346eb7f
/u c sender changed to player
2019-03-14 16:42:32 +01:00
Norbi Peti
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
Norbi Peti
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
Norbi Peti
ae49777007
Made appendtext commands fully configurable
2019-03-08 22:22:12 +01:00