Commit graph

461 commits

Author SHA1 Message Date
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 836076b06b
Merge pull request #78 from TBMCPlugins/dev
Fixed lowercase cmds & channel mentions
2018-09-22 22:25:21 +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 e4d07562df
Merge pull request #77 from TBMCPlugins/dev
Added escaping & fixed reset stuff
2018-08-10 22:34:15 +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 c5192f5873
Merge pull request #72 from TBMCPlugins/dev
Added #57 and fixed #56
2018-07-22 13:22: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 84bd16791c
Merge pull request #69 from TBMCPlugins/dev
Added reset command and fixes
2018-07-20 14:22:39 +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 17fb44374b
Merge branch 'dev' 2018-06-28 19:08:11 +02:00
Norbi Peti 735f6d4085
Fix #59 2018-06-23 21:53:52 +02:00
Norbi Peti 5c6a62f34d
Update README.md 2018-06-22 11:45:15 +02:00
Norbi Peti 862fdcb4e6
Create ISSUE_TEMPLATE.md 2018-06-16 23:08:47 +02:00
Norbi Peti 23d7e34372
Fix update dir 2018-06-15 20:07:24 +02:00
Norbi Peti b3259239e5
Merge branch 'dev' (#54)
# Conflicts:
#	pom.xml
2018-06-15 18:49:21 +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 2229f1dd9b
Update Discord4J 2018-06-07 21:33:35 +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
Norbi Peti 68e99e0000
Some fixes (DAPI, mcchat) 2018-04-08 02:39:05 +02:00
Norbi Peti b31aea0c04
Fixed role admin cmds
And some code analysis stuff
2018-04-07 01:05:54 +02:00
Norbi Peti 42966d0feb
Removed religion making offer
For now
2018-02-14 21:07:52 +01:00
Norbi Peti 1bf0024dc4
Fixed removing delivered reactions 2018-01-09 19:40:58 +01:00
Norbi Peti 3af44a053a
Discord->MC fixes (mcchat) 2018-01-07 20:58:23 +01:00
Norbi Peti ee2e979e12 Either fixing or breaking mcchat
Made it a few days ago
Using a queue to send messages to Discord
2018-01-03 19:36:11 +01:00
Norbi Peti a4ca1bb6d3
Fixed message grouping in mcchat
Also updated the role adding cmd path
2017-12-26 02:02:00 +01:00
Norbi Peti 6027315d09 Channel IDs shown always + more
* Server restart/stop now sends to PMs
* Special handling of players kicked because of shutdown/restart
* Enter safe mode on disable so actions won't be attempted to be
performed anymore
* Channel ID relocation in PMs also has the effect of showing the actual
message in notifications
2017-12-07 22:01:05 +01:00
Norbi Peti faa1c96a4b
Merge pull request #44 from TBMCPlugins/dev
Catching all vanilla broadcasts in Minecraft
2017-12-02 20:25:50 +01:00
Norbi Peti 6fc92d5083 Made smaller API changes 2017-11-30 22:15:34 +01:00
Norbi Peti 4c8a1c4582 Refactoring, ChromaBot API, fixes, needs testing 2017-11-29 22:30:34 +01:00
Norbi Peti 20ff9cc3e6 Only showing join/leave/etc. messages if not hooked 2017-11-28 23:07:34 +01:00