5465 Commits

Author SHA1 Message Date
UnknownShadow200
1ee8bcce13 Discord bot: Add support for opchannels (channels which only staff chat is read/sent) 2021-04-16 21:23:31 +10:00
UnknownShadow200
c07c2bc861 Fix doing /unmute without a name erroring 2021-04-16 20:29:22 +10:00
UnknownShadow200
7da4e13bae Handle /me better for relay bots, fix discord bot saying (IRC) instead of (Discord) in-game 2021-04-16 20:26:30 +10:00
UnknownShadow200
ddd6b04b6d Fix reason for IRC kick not being logged 2021-04-16 20:07:36 +10:00
UnknownShadow200
1f0eeb372f Split up IRCHandlers into IRCNickList and also back into IRCBot 2021-04-16 19:21:49 +10:00
UnknownShadow200
9d68034cfc Discord bot: No pinging everyone 2021-04-16 18:53:17 +10:00
UnknownShadow200
a25f00b239 Make JsonObject init code nicer 2021-04-16 18:50:26 +10:00
UnknownShadow200
4f90c43d74 Rewrite JSON writer again 2021-04-16 18:43:15 +10:00
UnknownShadow200
c2ea08d168 Make relay bot API public (Thanks Fam0r) 2021-04-16 07:10:49 +10:00
UnknownShadow200
7afd311f25 Make level handlers public, will make proper API later (Thanks artania) 2021-04-15 23:38:17 +10:00
UnknownShadow200
199c47ecb8 Basic .who and .x support 2021-04-15 22:57:05 +10:00
UnknownShadow200
77aedae668 Move stuff out of IRCHandlers and into generic RelayBot 2021-04-15 22:36:03 +10:00
UnknownShadow200
95abc29149 Start work on splitting up IRCHandlers into abstract RelayBot that both discord and IRC relay bots can use 2021-04-15 20:04:51 +10:00
UnknownShadow200
6d07d39a91 Reorganise discord/irc bot files, rename Logger.IRCActivity to Logger.RelayActivity 2021-04-15 19:25:59 +10:00
UnknownShadow200
42d2be1d28
Merge pull request #592 from UnknownShadow200/DiscordBot
WIP basic Discord relay bot
2021-04-15 18:57:49 +10:00
UnknownShadow200
8f935e346c Strip colours from messages send to Discord, update status when player hides/unhides 2021-04-14 23:16:26 +10:00
UnknownShadow200
05bde2c3c5 Sending messages works now (technically) 2021-04-14 22:56:17 +10:00
UnknownShadow200
91487912e4 Status updates with player connect/disconnect 2021-04-14 20:55:48 +10:00
UnknownShadow200
d8e0791412 Move stuff out of DiscordBot and into DiscordWebsocket, start tidying up DiscordPlugin too 2021-04-14 19:57:55 +10:00
UnknownShadow200
46d8f3f54b Split up DiscordPlugin.cs into multiple files before it gets out of hand 2021-04-14 19:24:39 +10:00
UnknownShadow200
1e915e51d1 Add basic presence support 2021-04-13 22:25:54 +10:00
UnknownShadow200
96a354d93d Reading messages from Discord works now 2021-04-13 21:33:51 +10:00
UnknownShadow200
59868f5f72 try to send identify, although bot's still instantly disconnected 2021-04-13 07:30:36 +10:00
UnknownShadow200
e09f71b288 use named constants for scope 2021-04-12 23:24:28 +10:00
UnknownShadow200
2e6c0b730b Move internal stuff from BlockOptions to public in BlockProps 2021-04-12 23:00:00 +10:00
UnknownShadow200
2103670c55 Fix lb/gb help saying 'Type a number for the texture' instead of 'Type a number for the top texture' (Thanks artania)
This happened because SendStepHelp accidentally modified the global helpSections - it was supposed to only modify the message sent to the player when creating a sprite block
2021-04-12 18:42:38 +10:00
UnknownShadow200
2ebe2ca74e add terrible generic JSON serialiser 2021-04-12 07:31:56 +10:00
UnknownShadow200
82e4364396 Allow using /ccols add with standard colour codes (Thanks Desaxu) 2021-04-11 18:12:29 +10:00
UnknownShadow200
48f81a1989 fix mistaken use of A-F colour codes 2021-04-11 17:55:39 +10:00
UnknownShadow200
15f0ac551b Don't call ConvertMessage twice for messages sent to IRC
Fixes e.g. /ccols list showing 'falls back to' instead of 'falls back to %5'
2021-04-11 15:27:11 +10:00
UnknownShadow200
df68295e0a Move IRC colour handling out of Colors.cs 2021-04-11 15:20:56 +10:00
UnknownShadow200
7e7e69ecbb Drop support for loading obsolete text/ircbancmd.txt - it was obsolete even in MCForge 2021-04-11 14:20:05 +10:00
UnknownShadow200
f0d9f81478 make countdown use buffered block changing when turning blocks to air 2021-04-11 13:39:15 +10:00
UnknownShadow200
0174ab149b fix countdown not changing blocks on the new map 2021-04-11 12:02:30 +10:00
UnknownShadow200
4b554a93e9 OnMessageReceivedEvent should allow modifying the input message (Thanks Venk) 2021-04-11 09:34:24 +10:00
UnknownShadow200
bedbae02ac Use &S instead of Server.Config.DefaultColor everywhere 2021-04-11 09:32:10 +10:00
UnknownShadow200
79730a3e12 WIP on multi maps in countdown support 2021-04-11 09:14:24 +10:00
UnknownShadow200
41f1027bd2 Allow changing map change message in round games (Thanks Venk) 2021-04-11 07:52:59 +10:00
UnknownShadow200
6570546a9e Make JSON serialising slightly less awful 2021-04-10 18:38:13 +10:00
UnknownShadow200
e74737e777 split partially into DiscordBot class 2021-04-06 22:36:17 +10:00
UnknownShadow200
0b7d897814 Get an extremely basic bot that connects to discord gateway, but doesn't actually do anything yet 2021-04-06 20:15:20 +10:00
UnknownShadow200
6067a25349 Make JsonObject derive from Dictionary instead 2021-04-05 19:36:50 +10:00
UnknownShadow200
69783cc4ba Update copyright year from 2020 to 2021 2021-04-05 08:37:36 +10:00
UnknownShadow200
716892ea12 Fix log not getting removed from physics check list, addresses #576 (Thanks rdebath) 2021-04-05 08:28:41 +10:00
UnknownShadow200
2ac377d79a Optimise GradientNoise (37->12 x86, 15->12 x64 instructions)
These counts from the JIT output of sharplab.io, release mode with .NET 4.8
2021-04-04 22:10:50 +10:00
UnknownShadow200
75f0b05bcc Release 1.9.3.0 1.9.3.0 2021-04-04 12:30:00 +10:00
UnknownShadow200
5f1250d615 Fix constantly erroring after restarting with Mono on linux with CLI 2021-04-04 11:20:55 +10:00
UnknownShadow200
b6289a9894 Set listcheck/update.count to 0 instead of completely clearing list 2021-04-04 09:04:02 +10:00
UnknownShadow200
f6672ca1f1 Remove MCGalaxy mods altogether
(yes this was discussed first)
2021-03-31 22:02:35 +11:00
UnknownShadow200
0b1ee6651a Fix imageprint very rarely resizing to 0x0 and erroring (Thanks Goodly) 2021-03-31 19:27:08 +11:00