Commit graph

467 commits

Author SHA1 Message Date
45a1ba4fe1 Refactor DC->MC into more methods, remove channel handling
The permCheck won't be used for chat commands, needs fixing
2020-03-11 12:35:23 +01:00
037ec3b9dd Use VCL14 for 1.15, player sender mock
Using VanillaCommandListener14 for 1.15 as well
Using a mock for the DiscordPlayerSender too, to reduce the amount of code
Made the mocks stub-only, which should lower memory usage
2020-03-11 12:00:20 +01:00
454265cd6f Update player list on (un)vanish
#120
2020-02-18 17:18:17 +01:00
ffdf5a2f18 Fix custom chat PL update NPE (#124) 2020-02-17 13:02:15 +01:00
1fa2635317 Set up GitHub Releases deploy
TBMCPlugins/ChromaCore#76
2020-02-10 12:56:48 +01:00
d58a7e819a Some documentation and updates 2020-02-05 16:49:07 +01:00
26971459ac Rename 2020-02-04 17:44:59 +01:00
940b601061 Fixed custom chat player list update
The problem was that for some reason I created a field that was already present in the parent class and it just happened to be pretty much never used before the PL update
Also updated EssentialsX dependency
2020-02-03 13:20:38 +01:00
bcd7f7b810
Merge pull request #123 from TBMCPlugins/dev
Fixed many issues, default config values, improvements
2020-02-01 20:15:57 +01:00
de07503bc3
Documentation, split messages that are too big
#122
Removed some default values
Disallowing MC commands that could error when not loaded (#121)
Other fixes
2020-02-01 19:10:13 +01:00
bdb7381ab4
Finished some issues
Fixed join messages appearing in addition to custom ones (#119)
For real this time
Not saying the game role color is the default one (#118)
Fixed role listing (#80)
2020-01-18 03:54:17 +01:00
703f1f8cd5
Finished some of the half-completed issues and others
Processing custom emotes (#48)
Made role listing fancier (#80)
Trying to reload config before reset (#113)
Allowing /discord reset if the login fails, clarified how to get a token (#111)
2019-12-27 23:45:49 +01:00
b481bb0aa9
Fixed join msgs, vanished players in desc. and others
Update D4J
Fixed join messages appearing when they shouldn't (#119)
Only showing players who can see the channel (#91)
Fixed vanished players appearing in the channel descriptions (#120)
2019-12-27 21:14:52 +01:00
3a94b6191b
Update D4J and some bugfixes
The update fixes the numerous errors about a missing status constant
Remove test check (#114)
Improvements and checking for admin permission (#115)
It also checks for channel perms now
2019-11-28 00:16:58 +01:00
19463963e3
Make channels default to 0, profile URL config
Fix URL not-escaping
Made the plugin only attempt to access channels that are not set to 0
#110
2019-11-16 01:52:49 +01:00
02f60c2162
Fix client ID race condition, attempt to fix URL escaping 2019-11-07 00:21:58 +01:00
30e2da094a
Merge pull request #108 from TBMCPlugins/dev
1.14 support, better error handling
2019-10-30 19:43:30 +01:00
0e4a9ff7e0
Merge branch 'master' into dev 2019-10-30 19:41:29 +01:00
9caf4c54ed
Fixed that last error
#106
2019-10-30 15:05:31 +01:00
98ee2ce771
Fixed the MassiveCore error but there's more
#106
2019-10-27 23:27:54 +01:00
73fc4aedcc
Fixed DCP inventory, have no idea about MassiveCore
Essentials error is fixed
#106
2019-10-27 02:33:13 +01:00
88c1d100e9
Using parent & hopefully fixed #109 2019-10-23 02:40:34 +02:00
f1cec2ced1
Update to Java 10/11 & fake player remove
Apparently
2019-10-20 20:50:29 +02:00
3bd7b879c4
Hopefully fixed the #106 issue
Also removed mock check a while ago
2019-09-15 03:34:02 +02:00
ef44aa8830
Fix build (Java 8) 2019-09-11 15:33:02 +02:00
acd45ce4ae
Hopefully fixed the issue of multiple ready events
#107
2019-09-11 15:30:07 +02:00
ea0ef88068
Automatically get client ID for link, improvements
Literally 2 improvements
2019-08-26 22:26:10 +02:00
e4d5dcd0a2
Update D4J & role debug refined & fixed a )
PLW tested and confirmed working
Moved a ) to fix #105
2019-08-26 00:57:16 +02:00
91f1c8c4f7
Probably fixed PLW
Mostly yesterday
2019-08-25 03:23:14 +02:00
2963990b5e
Check if Minecraft is a game role 2019-08-23 21:52:52 +02:00
c456b24333
Command handling improvement, PLW work
More correct fallback for command handling
Getting closer to finish PlayerListWatcher
2019-08-23 01:58:47 +02:00
42e91409c7
Work on 1.14 PLW support 2019-08-14 21:29:19 +02:00
e88684a564
Error handling, 1.14 vanilla command support
Error handling (not today)
Added support for vanilla commands on 1.14
2019-08-14 00:53:51 +02:00
7a9e7de138
Made player list, custom and private chat toggleable
The last parts of #51
2019-08-08 14:31:01 +02:00
480032a3d6
Fix of getInfo and role adding/removing
Fixed getInfo if the player isn't on the DC server
Fixed message after adding or removing a game role
2019-08-08 13:45:40 +02:00
7db3b17090
Made DCP version-independent & msg reset
Some things may not be implemented yet
Also added a wrapper around the vanilla cmd listener so Mockito doesn't complain about the missing class
Msg reset fixed (#101)
2019-07-22 22:35:15 +02:00
5a5f653b86
Added DC user mention tabcomplete...
But only for commands, because that's how it works now apparently
#16
Also might have made it 1.14 ready, though I switched the dependency back to 1.12
Oh it's 1.12.2...
2019-07-08 02:00:08 +02:00
4082c2abbf
Fixes, error handling
Sync events
Vanilla command error handling
(Older changes ^)
Fixed exception Coder pinging
2019-06-30 22:05:33 +02:00
0e24344efd
PLW error handling 2019-06-09 23:33:23 +02:00
27ddad537f
Only one ready event allowed 2019-06-08 22:44:03 +02:00
bc160a21b7
Merge pull request #99 from TBMCPlugins/dev
Updated to Discord4J v3, permission injection, improvements
2019-06-06 22:45:21 +02:00
34e3bb0ead
Debug cmd fix, mcchat fix, config error fix
Also removed debug messages
The Minecraft chat didn't run if the command channel was different
The debug command didn't run if the mod role didn't exist
2019-06-06 19:40:15 +02:00
9edfcf6a3d
Main server fix, clean test OK
WTF ID fixed
2019-06-05 00:29:34 +02:00
939c6f4970
Server ready fix & main server fix attempt 2019-06-01 02:27:40 +02:00
5472929113
Added, 5xFixed
Added mcchat login/logout messages
Only printing timings messages if debug is on

Fixed #93
F i x e d
Fixed command handled status
Fixed debug command
Fixed error reporting limit
Fixed Discord YEEHAW
2019-05-31 00:38:28 +02:00
545b8130e0
Added timings and a line that solves everything
cb.setStoreService(new JdkStoreService());
2019-05-30 18:45:44 +02:00
bf538d9bd0
LP injecting, fake player fixes
#96
LuckPerms
Added support for excluding plugins from certain events from code
Also might have fixed some message timeouts by relocating netty
2019-05-25 01:48:06 +02:00
2bdba0af22
Calling login events
#96 isn't fixed by this
2019-05-20 23:35:22 +02:00
ac61225730
Update, bot cmd fix, debugging 2019-05-20 21:51:28 +02:00
9e8f988ea6
Renaming config methods to match keys 2019-05-20 13:07:20 +02:00