Commit graph

325 commits

Author SHA1 Message Date
Norbi Peti 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
Norbi Peti 25ce2a4c9f
API changes 2019-01-12 01:24:31 +01:00
Norbi Peti 8ccf3ee9d7
Guess what, configs 2019-01-10 01:46:59 +01:00
Norbi Peti bfe7d48760
Towny logger works
TBMCPlugins/DiscordPlugin#81
2019-01-09 18:57:21 +01:00
Norbi Peti be29caa904
Added handler for Towny logger
Listening for Towny events and sending it to our system
2019-01-04 01:11:15 +01:00
Norbi Peti 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
Norbi Peti 720740dea3
Fixed URL processing (&, #)
New Years Commit
2019-01-01 03:28:46 +01:00
Norbi Peti 99a8c1b020
Fixed nicknames if only 1 player is on
Also added a town colors component class
2018-12-28 00:55:32 +01:00
Norbi Peti 12072f3106
9 less lines for what works better
Storing the entries per-group which also means there's no need to loop through each entry - and it won't limit it globally
2018-12-27 14:16:40 +01:00
Norbi Peti 1081f3cf9d
Chat history works! Also fixed a lot
Actually registered the join/leave listener, fixing town colors and nickname mentioning as well
Chat history is finished, it only shows messages that the sender has access to
#82
2018-12-27 00:02:47 +01:00
Norbi Peti f8539a0392
Adding chat history command
#82
2018-12-26 03:03:51 +01:00
Norbi Peti cf8af73ed0
No players, no announcements
Not broadcasting announcements if nobody is online (mainly because of Discord)
2018-12-24 00:14:38 +01:00
Norbi Peti fd72e2de91
No filteranderrormsg 2018-12-18 00:52:56 +01:00
Norbi Peti dedfbacda6
NColor fix and only one TC/NC
NColor fixed
Only allowing one of a color combination
Only allowing one of each nation color (except the default)
2018-12-16 19:16:05 +01:00
Norbi Peti 6da19877b8
CI build branch fix: Origins
From now on, the TRAVIS_BRANCH variable must be defined, either to master if the other projects (ButtonCore) are built locally, or the correct branch if not
2018-11-22 00:59:22 +01:00
Norbi Peti 71aeafadda
Fix off-by-one error 2018-11-04 22:03:54 +01:00
Norbi Peti df6e76086b
Treating the RP channel as global 2018-11-01 01:24:01 +01:00
Norbi Peti 241992571e
Nation color works!
Getting Essentials on enable
Both nation and town colors are white by default
2018-10-28 23:35:20 +01:00
Norbi Peti 58d8d1276f
Yeehaw fix & applying changes 2018-10-25 23:51:39 +02:00
Norbi Peti 3124d41f54
AppendText, F and other user fixes
#88
TBMCPlugins/DiscordPlugin#61
2018-10-25 14:13:56 +02:00
Norbi Peti e6ada0b2d0
Probably fixed a Discord chat issue
DiscordPlugin#61
2018-10-24 00:08:03 +02:00
Norbi Peti 775789a451
More work on nation colors
Needs testing
2018-10-22 00:53:52 +02:00
Norbi Peti 0ac78c9cb2
Some work on nation colors 2018-10-21 19:45:11 +02:00
Norbi Peti 83c99df895
Adding support for nation color (WIP)
Also various fixes
Got rid of a bunch of warnings
2018-10-11 13:15:03 +02:00
Norbi Peti 45b273e036
Fixed name mentions in URLs 2018-08-12 23:07:03 +02:00
Norbi Peti c5cae54aea
FIXED /SHRUG!
https://giphy.com/gifs/marvel-guardians-of-the-galaxy-2-3o7btZCvEwsCtTaS0E
3 failing and 15 passing tests
#71
Also added combining parts
2018-08-12 21:44:42 +02:00
Norbi Peti 7006f178b9
Implemented excluding, added tests
Added failing tests as well as passing tests
2018-08-10 13:46:47 +02:00
Norbi Peti 24c9e2d494
Name mention testing, excluding
Still need to make it actually exclude the names
2018-08-08 21:50:44 +02:00
Norbi Peti 62caf31727
Added more failing tests
And slightly fixed shrug test
2018-08-06 22:28:51 +02:00
Norbi Peti 4f2abe41b8
F I X E D F O R M A T T I N G
Except /shrug
#71
Also added strikethrough
2018-07-17 18:29:55 +02:00
Norbi Peti e6ac18e0c7
Fixed hover info for Discord 2018-07-17 17:06:42 +02:00
Norbi Peti 01562bf769
Using the CG object on chat
This means user data will be available (again) if talking from Discord, for example.
2018-07-15 02:22:40 +02:00
Norbi Peti 050fd88560
Added API changes 2018-07-12 23:27:17 +02:00
Norbi Peti ab5c9e3ea6
A F K - chat counts as activity 2018-06-28 20:09:50 +02:00
Norbi Peti b174b8969e
Bugfixes (town colors) & fromcmd
Fromcmd
#78
#79
#75
Nickname tabcompletion
Handling town rename/delete for town colors
2018-06-12 18:29:55 +02:00
Norbi Peti 68de2f36cf
Fixed respect, town colors etc.
Fixed respect display to 2 decimals
(Fixed a "critical" bug in... 25 days) #73
Fixed town colors hopefully (#74)
Fixed /u ncolor requiring the ~
Added support for colons for ncolor

Yesterday I already woke up by this time and I'm still not sleeping now
2018-05-21 03:55:41 +02:00
Norbi Peti ef2328e126
Re-added nickname map... Fixes 2018-05-18 01:32:05 +02:00
Norbi Peti 71242cc0ac
Merge branch 'dev'
# Conflicts:
#	src/main/java/buttondevteam/chat/listener/PlayerListener.java
2018-05-16 23:03:42 +02:00
Norbi Peti 6d3d24ecbf
Added support for ch IDs field 2018-05-16 22:56:59 +02:00
Norbi Peti 0c768b95e8
Removed nickname map
Huh

Squashed with a test commit
2018-05-15 01:07:09 +02:00
Norbi Peti 4a7d7379b0
Hotfix & /ftop 2018-04-24 21:31:13 +02:00
Norbi Peti 991ca23918
Added patron badges & changed wait what
And fixed Votifier repo
2018-04-22 23:13:24 +02:00
Norbi Peti 2de3f1f6e7
Changing nicknames instead of display names
Essentials dependency fixed
2018-04-20 23:37:41 +02:00
Norbi Peti e5053a0483
Fixes and more helpful error messages 2018-04-18 22:44:31 +02:00
Norbi Peti 4006cdad58
Buunch of fixes (TownColor)
- Banned the color black
- Made the color list colored (when using an invalid color)
- Finished displayname-refactor (hopefully)
- /u ncolor will now show how your name looks
- Using the display name in the Tab list
- Nickname handling fixed in NColor
- Smaller fixes
Testing needed
2018-04-16 21:51:19 +02:00
Norbi Peti 1c0c29ae96
Fixes, WIP (TownColor) 2018-04-09 00:46:42 +02:00
Norbi Peti 4340a50789
Some things
Some fixes and @ someone are days old.
The FTopComomand is weeks old.
2018-04-06 17:01:32 +02:00
Norbi Peti 91e44c20c2 Bugs were fixed, some of them anyways 2017-11-27 23:32:01 +01:00
Norbi Peti f671b6e9d6 String index out of range: -9 2017-11-26 23:22:17 +01:00
Norbi Peti 029a7f1deb ChatFormat fixes (RC) 2017-11-26 00:29:10 +01:00
Norbi Peti 35ccf22a55 Added handling if a class... doesn't exist 2017-11-23 23:51:14 +01:00
Norbi Peti 840b522a98 It was my greatest enemy, *parenthesis*
...or the lack of them anyways:
Finally found what was causing the exceptions
2017-11-23 21:35:14 +01:00
Norbi Peti 5a217fcb70 Added an important null check 2017-11-04 19:59:08 +01:00
Norbi Peti ae3c05c14a /u ncolor works! 2017-11-04 16:35:37 +01:00
Norbi Peti 9057ab9f15 Fix 2017-11-04 02:04:34 +01:00
Norbi Peti cee69dc55b Made /u ncolor, needs further testing 2017-11-01 22:55:34 +01:00
Norbi Peti 06ea519987 Inst. update on Dynmap, cmd for mayors, fix
Well, update every ~5 mins on Dynmap, as DT updates
Command for setting town color count added too
2017-10-01 20:07:15 +02:00
Norbi Peti b5e8e0f93c *Hacked* town colors into Dynmap-Towny 2017-10-01 01:27:14 +02:00
Norbi Peti 9abcde610e Added town colors to chat (still need for Dynmap) 2017-09-24 02:37:27 +02:00
Norbi Peti e0459fa36f Removed check at tabcomplete because it errored once 2017-09-09 22:03:45 +02:00
Norbi Peti 7174a97728 Fixes, implemented ChatRooms, less code for preprocess 2017-08-28 15:23:06 +02:00
Norbi Peti 2ab6a5f4eb Nickname impr., Towny spy, RP channel
- Added nickname cache update on nick change for mentions
- Added support for Towny spy (again)
- Removed RPMode and added RP channel
2017-08-27 23:35:46 +02:00
Norbi Peti 91c22e650b Fixed ann cmds, chatformat Lombok, testing fixing
Fixed announce commands
Using Lombok for ChatFormat
In the process of fixing the tests
Plus #52, #53
2017-08-25 00:56:47 +02:00
Norbi Peti d0a990e0f1 Fixed channel scores for Discord->MC 2017-08-23 02:29:11 +02:00
Norbi Peti 1d1b3453b3 Added support for /ignore, improved unlols 2017-08-22 01:37:54 +02:00
Norbi Peti 2f83a90553 Added /lenny to plugin.yml and fixed an NPE
Fixed NPE for non-players trying to chat
2017-08-18 03:04:13 +02:00
Norbi Peti 16acba643f Added 3 chars 2017-08-17 17:49:15 +02:00
Norbi Peti 51c3e1dec6 Added /lenny and made tests optional + a fix 2017-08-17 17:31:17 +02:00
Norbi Peti 0de469e514 No longer sending messages to those who disabled it 2017-08-08 15:08:43 +02:00
Norbi Peti 437d9e8f98 Removed RC messages, fixed URLs probably
#63
Added URL test
Smaller refactors
2017-08-05 01:23:37 +02:00
Norbi Peti 1c32dbd949 Fixed the fix 2017-08-03 23:52:41 +02:00
Norbi Peti 107a60eb2e Fixed chat channel MC scores 2017-08-03 22:24:56 +02:00
Norbi Peti 5e7da1e89a Alright then 2017-07-19 22:56:35 +02:00
Norbi Peti bae49352ef Hopefully fixed the SerializationException 2017-07-19 22:50:57 +02:00
Norbi Peti 2aa0443286 Added RPC support & fixed channels in MC!
Probably
Also did some security-kind of fixing and some refactoring
2017-07-19 21:25:53 +02:00
Norbi Peti 39ef366c20 Removed test and some dependencies
A few days ago
2017-07-04 00:01:01 +02:00
Norbi Peti 2b48aba75e Fixed F NPE a whiile ago & fixed now
getOrDefault, then get
2017-06-30 18:08:24 +02:00
Norbi Peti 4b55c76fd5 Plugin updater refactor, made async 2017-06-23 19:33:52 +02:00
Norbi Peti 3e0a49659d Separated tests using a custom test runner
Runs: 6/6 Errors: 0 Faliures: 4
2017-06-23 16:49:57 +02:00
Norbi Peti ad3d3ecaf9 Probably improvied chat stuff a bit
Yesterday
2017-06-18 10:38:44 +02:00
Norbi Peti 6ee8ca0f4c Slowly, slowly progressing 2017-06-09 19:12:04 +02:00
Norbi Peti 9d7b244a74 Progressing with formatting (hopefully) 2017-06-09 18:23:41 +02:00
Norbi Peti c078a292ec Improved debug messages
It looks like the range part works well now
2017-06-09 13:34:23 +02:00
Norbi Peti 12b1a45558 Progressing with processing 2017-06-09 12:28:52 +02:00
Norbi Peti bcd6d3f194 Removed RemCharPos, wasn't used
It was only used for escaping before
2017-06-08 23:37:25 +02:00
Norbi Peti 3e1df267cf Reduced errors and CMDS WORK - EH 2017-05-14 01:16:54 +02:00
Norbi Peti 28aeb35573 Fixed channels a lot
Made Console be able to send messages
2017-05-07 01:09:39 +02:00
Norbi Peti 07fccda8d3 Chat channels probably done, needs testing 2017-05-06 19:55:04 +02:00
Norbi Peti 9e1bd49cd0 Moved and improved Channel stuff and removed old stuff
Removed tons of lines
Also reduced unlol effect duration a few days ago, commiting now
2017-04-30 00:33:57 +02:00
Norbi Peti 8f69e40d8b Removed http error post and continued cmds 2017-04-28 16:00:05 +02:00
Norbi Peti db37482134 Started converting command classes 2017-04-23 02:13:51 +02:00
Norbi Peti 7751defc9f Fixed NPE 2017-04-15 20:15:15 +02:00
Norbi Peti 5da1083067 Merge pull request #62 from TBMCPlugins/dev
Added /waitwhat, applied userdata changes, added format test, progressed with formatting
2017-04-15 13:58:12 +02:00
Norbi Peti a7a677d85a Disabled some tests to release now 2017-04-15 13:38:42 +02:00
Norbi Peti ec5c90ecc8 Fixed bold formatting, other fixes
JUnit is awesome
Diffing the expected and actual result in a small fraction of the time
needed to load the server
2017-04-15 01:45:30 +02:00
Norbi Peti 758332faf6 Segmented ChatProcessing and added test! 2017-04-14 22:43:37 +02:00
Norbi Peti 441e9a4eaf Added some comments 2017-04-13 23:23:16 +02:00
Norbi Peti 0da4a543e5 Small fixes 2017-04-11 21:11:07 +02:00
Norbi Peti fa95891a6a Updated ButtonChat to the newer system 2017-04-02 00:01:49 +02:00
Norbi Peti a36c6b564b Applied changes 2017-01-02 01:19:38 +01:00