Commit graph

549 commits

Author SHA1 Message Date
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 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 b452170ff7 Rename 2020-02-04 17:43:35 +01:00
Norbi Peti c66b212b0c
Merge pull request #114 from TBMCPlugins/dev
Misc. fixes, chat history config, clickable announcements
2020-02-01 20:13:05 +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 fd3d3df108
Merge pull request #105 from TBMCPlugins/dev
1.14 support, fixes
2019-10-30 19:35:42 +01:00
Norbi Peti c0128831a7
Use parent POM 2019-10-23 02:46:15 +02: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 a964ce6595 Fix Towny dep 2019-09-16 13:39:33 +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 3ad2346990
Finally fixed #99
Totally didn't forget about it
2019-07-10 15:26:46 +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 c25097b525
Merge pull request #98 from TBMCPlugins/dev
More components, broadcasts
2019-03-17 02:28:21 +01: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
Norbi Peti 8ff45ad676
Some fixes
Crash on player join without Towny fixed
2019-03-02 19:02:01 +01:00
Norbi Peti 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