Commit graph

585 commits

Author SHA1 Message Date
Norbi Peti d1515c2ab2
Fix using delegated config properties from the Core 2023-07-01 20:11:19 +02:00
Norbi Peti 512a62d75c
Fix remaining test cases for formatting
- Fixed name mentioning test check
- Removed legacy tell raw stuff
- Fixed RPC sections getting combined because the settings weren't updated before checking if they are the same
- Fixed spoiler test assuming and expecting the hover text to be white
#130
2023-06-28 23:56:35 +02:00
Norbi Peti b5fd834dc7
Fix chat tests with MockBukkit and fix Paper version
#130
2023-06-27 01:39:35 +02:00
Norbi Peti e35e94e87c
Migrate chat formatting to Paper's text component API (#130)
- Also updated the configs to use the interfaces
- Also updated the fun component to use a list config
- The text component change adds Paper as a requirement for this plugin
2023-06-19 00:42:29 +02:00
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 56b9296fbb
Merge pull request #126 from TBMCPlugins/dependabot/maven/org.apache.logging.log4j-log4j-core-2.17.0
Bump log4j-core from 2.13.2 to 2.17.0
2021-12-30 16:47:37 +01:00
dependabot[bot] 5c399a08ad
Bump log4j-core from 2.13.2 to 2.17.0
Bumps log4j-core from 2.13.2 to 2.17.0.

---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-18 18:20:48 +00: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 77b5a069c5
Merge pull request #123 from TBMCPlugins/dependabot/maven/junit-junit-4.13.1
Bump junit from 4.12 to 4.13.1
2020-10-25 02:00:58 +02:00
Norbi Peti c52a6873fe
Exception stuff and player data stuff 2020-10-25 01:18:36 +02:00
Norbi Peti c6ba0ec607
Create codeql-analysis.yml 2020-10-13 18:02:45 +02:00
dependabot[bot] 737016bf00
Bump junit from 4.12 to 4.13.1
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 15:56:57 +00: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 02423153de
Merge pull request #119 from TBMCPlugins/dependabot/maven/org.apache.logging.log4j-log4j-core-2.13.2
Bump log4j-core from 2.8.1 to 2.13.2
2020-07-27 01:15:05 +02:00
Norbi Peti ce4f40c2c4
Fix /u ncolor (#118) 2020-07-25 14:17:11 +02:00
dependabot[bot] 372b2f49b3
Bump log4j-core from 2.8.1 to 2.13.2
Bumps log4j-core from 2.8.1 to 2.13.2.

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-01 18:27:01 +00: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 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