Commit graph

354 commits

Author SHA1 Message Date
Norbi Peti 51cf31713b
Start fixing errors related to player API changes
- The fancy chat API would be useful here, I don't want to update my old code
2023-06-09 01:25:09 +02:00
Norbi Peti 2242655c41
Merge branch 'hotfix/1.0.1'
# Conflicts:
#	src/main/java/buttondevteam/chat/components/towny/TownyComponent.java
2023-06-07 23:37:10 +02:00
Norbi Peti 522f29ba58
Update Chroma-Core to v2.0.0 2023-04-26 00:03:18 +02:00
Norbi Peti 10bf0e98df
Update Towny dependency and replace methods that were removed (#128) 2023-03-13 00:47:40 +01:00
Norbi Peti 6c1378f370
Update dependencies and fix tellRaw for 1.17+ 2021-12-30 21:19:22 +01:00
Norbi Peti 724858ac70
Fix tellRaw for 1.16.4/1.16.5 2021-01-18 17:18:35 +01:00
Norbi Peti 9a10dcd1fc
Fix plugin.yml 2020-10-31 18:24:52 +01:00
Norbi Peti dc6df53c96
Improve test coverage, preparations, fixes
Removed an unnnecessary bit of code from ChatFormatter
2020-10-29 20:31:38 +01:00
Norbi Peti 7646db4487
Fix player data plugin name, Spotbugs fixes
Also set the version
2020-10-28 00:28:15 +01:00
Norbi Peti 8e9989caee
Convert all configs 2020-10-26 19:56:22 +01:00
Norbi Peti c52a6873fe
Exception stuff and player data stuff 2020-10-25 01:18:36 +02:00
Norbi Peti a63f2bb256
Greentext formatter, doc and stuff 2020-09-06 22:46:24 +02:00
Norbi Peti 59dbc78b52
Fix #122
It will have to be fixed again at a later date
2020-09-04 03:56:25 +02:00
Norbi Peti b483b7df0c
Fix /waitwhat and /me 2020-09-04 03:41:23 +02:00
Norbi Peti 4d4448fca1
Remove htmlcleaner and fix #117 2020-08-26 22:19:56 +02:00
Norbi Peti ce4f40c2c4
Fix /u ncolor (#118) 2020-07-25 14:17:11 +02:00
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