Commit graph

500 commits

Author SHA1 Message Date
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
Norbi Peti f7c1106d1c Replaced (almost) all broadcasts 2019-02-27 16:41:49 +01:00
Norbi Peti 40a1739951 Moved /un... to its component 2019-02-27 13:48:36 +01:00
Norbi Peti c5e33a93ba Moved chat-only stuff, F top, append text start
#85
2019-02-20 16:48:08 +01:00
Norbi Peti 26b44fbfe1 Moved all /unlol and F stuff
#85
2019-02-20 15:23:07 +01:00
Norbi Peti 36655dfd84 Adding project file and moving /unlol
Also fixed Vault dep
2019-02-20 13:41:53 +01:00
Norbi Peti df7f8bca5e
Town color error fix, applying changes 2019-02-12 22:28:42 +01:00
Norbi Peti e2a6afd16a
Added spoiler support 2019-02-01 17:53:54 +01:00
Norbi Peti 21bf41db2b
Merge pull request #97 from TBMCPlugins/dev
Added /press command, Dynmap nation color support
2019-02-01 17:08:21 +01:00
Norbi Peti 185b0df8e0
A change and a fix
Say the nation name which already uses the color
History command help text fix
2019-01-30 23:33:16 +01:00
Norbi Peti f12912c735
Added /press command, Dynmap NC support
#40
Both tested and work
2019-01-30 21:16:02 +01:00
Norbi Peti d0e4447126
Merge pull request #96 from TBMCPlugins/dev
Towny event broadcasting to Discord and masked links
2019-01-20 22:39:53 +01:00
Norbi Peti 3a29010042
Fixed cast error, NPE, masked links
Fixed config cast error
Fixed mcchat NPE
Implemented masked links
Added a test for it
2019-01-19 20:26:39 +01:00
Norbi Peti 0802de4b6f
TC/NC & Removed old config stuff
Moved town/nation colors into their component
Removed save command that was apparently there since 2015
It still loads the town/nation colors from the old config if needed
Notification sound/pitch were the last config options to be converted over
#85
2019-01-17 22:23:04 +01:00
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 2b621adefb
Merge pull request #93 from TBMCPlugins/dev
Fixes (/u ncolor), not allowing two of the same town colors, not broadcasting announcements if nobody is online
2019-01-03 21:43:21 +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 304f5c562d
Merge pull request #92 from TBMCPlugins/dev
Nation color, /tableflip fix, improvements and other fixes
2018-11-04 01:47:20 +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 c080a857fd
Merge pull request #87 from TBMCPlugins/dev
Fixed /shrug, name mentioning and other formatting issues
2018-08-14 00:57:22 +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 44488a78ad
Merge pull request #83 from TBMCPlugins/dev
Fixed chat formatting and Discord message hover info in MC
2018-07-20 14:22:12 +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