Norbi Peti
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
Norbi Peti
91f1c8c4f7
Probably fixed PLW
...
Mostly yesterday
2019-08-25 03:23:14 +02:00
Norbi Peti
2963990b5e
Check if Minecraft is a game role
2019-08-23 21:52:52 +02:00
Norbi Peti
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
Norbi Peti
42e91409c7
Work on 1.14 PLW support
2019-08-14 21:29:19 +02:00
Norbi Peti
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
Norbi Peti
7a9e7de138
Made player list, custom and private chat toggleable
...
The last parts of #51
2019-08-08 14:31:01 +02:00
Norbi Peti
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
Norbi Peti
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
Norbi Peti
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
Norbi Peti
4082c2abbf
Fixes, error handling
...
Sync events
Vanilla command error handling
(Older changes ^)
Fixed exception Coder pinging
2019-06-30 22:05:33 +02:00
Norbi Peti
0e24344efd
PLW error handling
2019-06-09 23:33:23 +02:00
Norbi Peti
27ddad537f
Only one ready event allowed
2019-06-08 22:44:03 +02:00
Norbi Peti
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
Norbi Peti
9edfcf6a3d
Main server fix, clean test OK
...
WTF ID fixed
2019-06-05 00:29:34 +02:00
Norbi Peti
939c6f4970
Server ready fix & main server fix attempt
2019-06-01 02:27:40 +02:00
Norbi Peti
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
Norbi Peti
545b8130e0
Added timings and a line that solves everything
...
cb.setStoreService(new JdkStoreService());
2019-05-30 18:45:44 +02:00
Norbi Peti
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
Norbi Peti
2bdba0af22
Calling login events
...
#96 isn't fixed by this
2019-05-20 23:35:22 +02:00
Norbi Peti
ac61225730
Update, bot cmd fix, debugging
2019-05-20 21:51:28 +02:00
Norbi Peti
9e8f988ea6
Renaming config methods to match keys
2019-05-20 13:07:20 +02:00
Norbi Peti
b396ec47b4
Some fixes, some debugging
...
#93
2019-05-11 00:15:50 +02:00
Norbi Peti
beab400873
Some debugging, some fixes
...
#93
2019-05-10 21:39:25 +02:00
Norbi Peti
f266924a9a
More reacts
2019-05-06 15:47:01 +02:00
Norbi Peti
b68456e6f4
Even more fixes
...
Actually made the channel data return a Mono and used that
Used the read only config stuff
#93
2019-05-04 03:11:03 +02:00
Norbi Peti
4881f6bdd2
Some more fixes
...
Made the channel data return a Mono and used that
#93
2019-05-01 00:50:24 +02:00
Norbi Peti
eeb1955ebe
Bunch of fixes
...
#93
2019-04-25 19:52:43 +02:00
Norbi Peti
e2e8a58c4e
It compiles!
...
And I thought this is gonna be easy
#93
2019-04-25 02:50:55 +02:00
Norbi Peti
2500572e0d
Even more refactoring
2019-04-24 17:50:13 +02:00
Norbi Peti
59066ce09a
Refactoring...
2019-04-24 16:50:00 +02:00
Norbi Peti
038cb98f1a
Refactoring & made mcchat teleport config
2019-04-24 13:29:52 +02:00
Norbi Peti
95af050517
The refactoring continues
2019-04-17 17:54:08 +02:00
Norbi Peti
12ca6fbfb5
More converting
2019-04-17 16:51:42 +02:00
Norbi Peti
d8d75c063b
Started converting to new D4J
...
#93
2019-04-17 13:52:01 +02:00
Norbi Peti
55c61cef98
New command sys for /discord & inv link
2019-04-15 15:36:48 +02:00
Irinyi Kabinet Felhasználó
c8680ae92c
Merge branch 'master' into dev
2019-04-15 14:51:45 +02:00
Norbi Peti
d2aea8559a
Server ready conf, doc
2019-04-10 13:50:26 +02:00
Norbi Peti
8e2538e553
Ignore case for role command
2019-04-05 17:26:10 +02:00
Norbi Peti
22bdc3fa62
YEEHAW fix, reload command
2019-03-16 14:49:27 +01:00
Norbi Peti
2b4034b05f
NPE and 2 cmd fix
2019-03-14 16:40:58 +01:00
Norbi Peti
b39a571246
Made excluded plugins configurable
...
Using configable mod role in debug command
Also moved the AnnouncerModule
2019-03-09 23:09:27 +01:00
Norbi Peti
cadb53d886
Made the plugin work cleanly ( #51 )
...
Clean install works pretty well
Automatically setting first server as main server
Removed devServer variable, getting the guild from the channels
Disabling each component that doesn't have its channel(s)/role(s) set correctly (unless it's not required)
Removed redundant variable from the FunModule
Correctly handling missing channel settings in some places
Checking any role position for game roles, not just "ChromaBot"
The bot is playing Minecraft now
Always giving permission for commands for now
2019-03-09 02:07:56 +01:00
Norbi Peti
14c42614d8
#bot mention ch null handling, limiting tries
...
Won't try to get channels forever, since they may be set incorrectly
2019-03-02 19:04:38 +01:00
Norbi Peti
0f1f7b4ead
Better handling of missing token
...
Also moved the token's location
2019-03-01 18:01:32 +01:00
Norbi Peti
ca5fb90774
Command system fixes
...
In encounter order:
Lowercasing message first character on the sender
Command sender fixes
Mention deleting fixed if there is no space
Added error handler to the message receive event
Converted role command
2019-02-23 00:33:10 +01:00
Norbi Peti
325b094bf7
Converted all commands
...
Well, haven't finished the role command
2019-02-22 00:44:13 +01:00
Norbi Peti
0c9da49add
Brtoggle & cmd fix
...
#89
Channelcon
Attempted to support chat rooms in custom chat
2019-02-17 02:26:14 +01:00
Norbi Peti
0cbc22eb72
Added support for broadcast toggles
...
#89
2019-02-16 14:08:37 +01:00
Norbi Peti
5a9986de4f
Command stuff fixed
...
Replies sanitized, userinfo converted
Manually removing spaces
Tested
2019-02-16 00:39:48 +01:00
Norbi Peti
13b168d238
Made all channels configurable
...
Removed Vault repo, was unused and errors now
Removed all channel fields from main class
2019-02-13 15:21:57 +01:00
Norbi Peti
9ba57fd989
Actually using the cmd sys, logger stuff
...
Some of the new files are a couple days old
Using the plugin's logger almost everywhere
2019-02-12 22:40:09 +01:00
Norbi Peti
d08d32f73f
Started using new command system for DC cmds
...
Some of the new files are a couple days old
2019-02-09 00:24:42 +01:00
Norbi Peti
abd4050786
Server start/stop msg + announcer fix
...
Announcer data migration fix (which won't be needed because I'm gonna copy the new config over)
The server start/stop messages show up again
2019-01-30 23:41:52 +01:00
Norbi Peti
2659170c4d
Modules, fixes, pins
...
Keeping 40 pinned messages instead of 10
GameRoleModule fixes
AnnouncerModule
Other fixes
#51
2019-01-30 01:09:18 +01:00
Norbi Peti
7c15495fab
Using modules more & calling preprocess event
...
Calling the command preprocess event
Added to FunModule (/list, full house)
Made whitelisted commands and other stuff configurable
Game role module
Name change
#51
2019-01-28 23:21:17 +01:00
Norbi Peti
5c7100bb69
Added check for mcchat on shutdown
...
It'll only log fake players out that aren't actually on the server
2019-01-20 00:43:47 +01:00
Norbi Peti
baa9cb65c8
API changes
2019-01-12 01:29:34 +01:00
Norbi Peti
93af5f66d2
Fixes and improvements (config)
...
Fixed occasional ConcurrentModificationException with the custom chat loading
Waiting much less on MC command responses (0.2s instead of 0.5s)
Made the #bot channel configurable
Linking the #bot channel everywhere it's mentioned
#51
2019-01-10 01:45:45 +01:00
Norbi Peti
f13c8321cd
Slight API change
2018-12-27 01:16:55 +01:00
Norbi Peti
1911672b10
Christmas hotfix
2018-12-26 01:35:36 +01:00
Norbi Peti
68e69782ee
Well, not everything
...
Fixed some private mcchat issues
Fixed #85
2018-12-23 23:50:13 +01:00
Norbi Peti
040373280e
Everything seems to work
...
Removed double handling of certain events in MCListeners
Removed MentionEvent handling completely
Some mcchat fixes
2018-12-23 22:34:26 +01:00
Norbi Peti
7a6b79365f
Another version of the events stuff
...
It directly calls the methods in the modules
Also made a fun module
2018-12-23 03:22:50 +01:00
Norbi Peti
e29e6f1682
First version of new events stuff
...
Actually registered the debug message listener
2018-12-23 00:39:27 +01:00
Norbi Peti
5ff433f3bb
Code organization
...
Moved part of MCListener
Added support for custom chat player list
2018-12-22 16:20:20 +01:00
Norbi Peti
21221dfeeb
NPE fix, prefix
2018-12-18 00:52:02 +01:00
Norbi Peti
1878a46041
Cleanup, organizing (MCChatListener)
...
Removed all sysouts
Split MCChatListener into utils, private and custom (and the existing one)
Using fixed version of Discord4J (fixes issues with local testing)
2018-12-17 21:33:55 +01:00
Norbi Peti
38b45299c0
Adding two modules
...
GeneralEventBroadcaster
Minecraft chat
#51
2018-12-14 23:58:24 +01:00
Norbi Peti
9527be99d1
Fixed 122 errors - by fixing the pom
...
Also other fixes
2018-11-22 23:11:19 +01:00
Norbi Peti
d12fe961c0
No Origins
2018-11-22 01:02:20 +01:00
Norbi Peti
8721b623cb
Fix
2018-11-01 21:47:40 +01:00
Norbi Peti
17887707cb
Bunch of channel stuff
...
#70 is technically fixed but there's another issue
#61 and #71 are definitely fixed
Allowing multiple channels to be connected
2018-11-01 01:34:36 +01:00
Norbi Peti
a0e0890160
YEEHAW, small fixes (mcchat)
...
Working on #70
2018-10-25 23:54:16 +02:00
Norbi Peti
7d624816f2
Performance improvements (user data)
...
CommandSender (DiscordSenderBase) level of caching implemented (not perfect but much better than before)
Various mcchat improvements
2018-10-25 14:19:50 +02:00
Norbi Peti
9e827d14d0
Toggles work! Other changes
...
#75
- Changed shutdown kick message
- Added timeout for resetting as well
- Last message handling fixed (#71 )
- Some restructuring related to mcchat
2018-10-24 00:07:07 +02:00
Norbi Peti
18fdbc5770
More work on toggles
...
#75
Most channel toggles should work
Needs testing
2018-10-23 03:06:34 +02:00
Norbi Peti
774186a600
Can't toggle toggles yet
...
#75
Also allowing any text after "remove"
2018-10-22 01:50:09 +02:00
Norbi Peti
d79b1674eb
Fixed lowercase cmds & channel mentions
...
Fixed commands from private mcchat being lowercased
Added channel mention support (#51 )
Added version command (#51 )
2018-09-09 13:29:43 +02:00
Norbi Peti
12a21461c0
Added escaping & fixed reset stuff
...
Escaping everything, including names (#47 )
Player list unhooking added (#73 )
Also removed autoupdater stuff and did other smaller changes
2018-08-03 23:23:55 +02:00
Norbi Peti
4507cf38a9
Fixed channelcon echo
...
The senders are now stored per-channel
#56
This one took a bit to track down
2018-07-22 13:11:24 +02:00
Norbi Peti
d22b6dec80
Only sending join/leave events to custom chats
...
Also sending server start/stop messages still
#57
I need to look over this freshly
2018-07-22 00:26:22 +02:00
Norbi Peti
4f6612c21b
Updated help text
2018-07-20 13:18:33 +02:00
Norbi Peti
557eac2292
Reset command fixes
...
Now it's disabling and enabling the plugin
Some changes were made to handle this as well
Fixed main thread checks, the plugin may not be enabled in the main thread
2018-07-20 12:43:17 +02:00
Norbi Peti
de857fef0b
Channelcon&chat&other fixes
...
#58 fixed
Made checkmarks stored separately per channel
#55 fixed
Correctly handling interrupt events, a local bug might have been fixed where the server didn't always stop.
Added a reset command
Needs testing
2018-07-19 00:39:17 +02:00
Norbi Peti
e718fafd52
Added API changes
2018-07-15 01:14:04 +02:00
Norbi Peti
38ef88f10d
Add ButtonCore dependency
...
And remove PEX dependency
2018-07-02 15:56:36 +02:00
Norbi Peti
735f6d4085
Fix #59
2018-06-23 21:53:52 +02:00
Norbi Peti
e47f8abb05
Channelcon chat works!
...
groupid, not args... that took a while to track down...
Various fixes regarding channelcon
Saving channel connections works
Fromcmd fix for channel cmds
Only allow game roles from the main server
Game role fix
Only allowing one connection per group for now
2018-06-13 23:54:27 +02:00
Norbi Peti
29683d4c0c
Channelcon chat almost works
...
#52
2018-06-13 01:30:17 +02:00
Norbi Peti
1b85eb027a
Channelcon works, chat not yet
...
Sending/receiving or saving connections doesn't work yet
Command logging for Discord
/ prefix works from #bot
Plugin update update (#37 )
#52
2018-06-08 23:45:10 +02:00
Norbi Peti
b8814030e2
Fixes, channelcon, emoji
...
Limited timeout for shutdown message
Added some unconnected commands
Fixed mcchat tasks on shutdown
Added /rp as an allowed channel
Changed help texts to use /command syntax
Added channelcon remove
Added emoji parsing
2018-06-08 01:48:07 +02:00
Norbi Peti
b60c4f5090
Many fixes and debug messages
...
Mainly game roles
Mostly debug messages
2018-06-06 23:22:16 +02:00
Norbi Peti
0497d6c8ac
Fixes & debug & /lenny
...
Fixed cmd handling for real
Added debug command (not the best for debugging commands)
Stop send/receive threads on shutdown
Allow /lenny for the unconnected
2018-06-06 00:12:55 +02:00
Norbi Peti
b350be608a
Fixes & fromcmd
...
- Exception handling got extra parenthesis
- Async player join event handling
- Added fromcmd check (shows /tableflip and similar)
2018-06-03 02:44:32 +02:00
Norbi Peti
aabdd3a914
Channel connect, fixes
...
- To do or not to do
- Fixed args handling regarding whitespace
- Showing the help text for cmds when needed
- Fixed userinfo cmd not accepting spaces while Discord does
- Moved command registration to start, not the initializer
-- Prevents possible deadlocks according to IntelliJ
- Other fixes
2018-05-22 22:43:36 +02:00
Norbi Peti
fba5c5b49a
Fixes, channel con work
...
Connecting channels is WIP
2018-05-22 01:42:52 +02:00
Norbi Peti
b60bf36864
Finished game roles
...
Still needs testing
Couldn't set GPG signing up - yet
2018-05-07 01:11:08 +02:00
Norbi Peti
20b9d6947b
Channel cmds, game role detection
...
- Add channel handling
- Add autodetect of game roles
-- Announces adding/removing/changing them
--- TODO
2018-05-06 01:03:22 +02:00
Norbi Peti
155311b019
MCchat and other fixes
...
- Fixed disallowed command stopping message processing
- Fixed failure sending a message to Discord stopping msg proc.
- Added timestamps for messages showing when the message was sent
- Fixed mentioning in mcchat (now it only detects it's own roles)
- Fixed exception reporting (shouldn't break the code block, also only shows buttondevteam lines)
2018-04-17 19:05:52 +02:00