5509 Commits

Author SHA1 Message Date
UnknownShadow200
f21f848b42 Release 1.9.3.4 1.9.3.4 2021-08-17 18:44:12 +10:00
UnknownShadow200
64dbe027a2 Log every 1,000 blocked connection attempt 2021-08-17 18:19:47 +10:00
UnknownShadow200
0948f3b9e7 Force close socket instead of attempting to cleanly close 2021-08-17 17:57:23 +10:00
UnknownShadow200
0afcb99aed Only localhost is exempt from IP spam checking now 2021-08-17 17:41:20 +10:00
UnknownShadow200
f7d5d91eb7 IPThrottler: Drop connections earlier if a blocked IP still repeatedly attempts to join 2021-08-17 17:37:35 +10:00
UnknownShadow200
a68e53b56e Move IP throttling to plugin 2021-08-17 15:55:01 +10:00
UnknownShadow200
01d758bb78 Add OnConnectionReceived event 2021-08-17 13:59:58 +10:00
UnknownShadow200
9d73351826 Discord: Fix / not being unescaped properly with some nonalphanumeric characters 2021-08-15 21:57:36 +10:00
UnknownShadow200
4e0582a804 When doing /spin mirror, say to use /mirror instead
Also slightly tidy up heartbeat error/mppass calculation code
2021-08-14 07:20:19 +10:00
UnknownShadow200
2e1c4e9b61 Split up 'finding classicube.net url' message, and make it use the server's heartbeat URL instead of being hardcoded for classicube.net (Thanks johannespartin, addresses #626) 2021-08-11 22:15:36 +10:00
UnknownShadow200
1c8535778d Improve /report message to also show reason to ops, general other tidyup of /report code and messages 2021-08-11 22:00:09 +10:00
UnknownShadow200
0cd1e36c8b Fix custom defined default glass not having correct break sound (Thanks Goodly) 2021-08-11 07:40:30 +10:00
UnknownShadow200
16cc708501 Allow /reload [level] even when can't do /reload, fix /reload [level] from console, simplify /reload all [level] to /reload [level] 2021-08-07 12:49:25 +10:00
UnknownShadow200
9a98c96a61 Fix being able to add award with same name twice, also fix /i removing non-existent awards from a player's awards list 2021-08-01 17:17:07 +10:00
UnknownShadow200
2db7741648 Tidy up /awards output, minor code improvements 2021-08-01 16:54:42 +10:00
UnknownShadow200
f42387c2cf Split up Awards into AwardsList/PlayerAwards 2021-08-01 16:39:44 +10:00
UnknownShadow200
f0ee46fafd Move Awards into Modules 2021-08-01 14:08:33 +10:00
UnknownShadow200
c1b77c06b3 Discord: Fix due to session resuming changes, that after 3 reconnections, the bot would stop trying to reconnect anymore 2021-07-31 07:05:02 +10:00
UnknownShadow200
04b575ac59 Workaround custom Loggers rarely throwing exceptions in their LogHandler callback
Also fix Tree output being byte instead of BlockID (thanks SpicyCombo)
2021-07-30 22:58:51 +10:00
UnknownShadow200
1b336e7d02 minorly cleanup heartbeat code 2021-07-28 19:03:56 +10:00
UnknownShadow200
6458ea96cb Level.Load now supports non-lvl maps in path
Also for some other functions
2021-07-27 19:41:54 +10:00
UnknownShadow200
6cdd9b1727 OnShuttingDown should be called before plugin unload (Thanks Fam0r) 2021-07-27 08:33:58 +10:00
UnknownShadow200
d478d5d166 Discord: Support resuming session, should fix losing 1-2 seconds of discord->ingame chat while websocket reconnects 2021-07-25 21:00:14 +10:00
UnknownShadow200
8031e70d99 Discord: Fix escaped characters like \* still appearing escaped in-game 2021-07-25 17:30:36 +10:00
UnknownShadow200
3487bcd3eb Discord: Show messages if /discordbot connect fails asides from just not being enabled 2021-07-25 14:20:29 +10:00
UnknownShadow200
6ccf8c6036 Move NotesPlugin into Modules folder 2021-07-25 13:22:22 +10:00
UnknownShadow200
92d6272c4d Discord: Fix some characters in nicks not being properly escaped 2021-07-24 22:15:31 +10:00
UnknownShadow200
d74333b8d3 Discord: Allow sending arbitary messages to discord API (Thanks Venk) 2021-07-24 20:40:13 +10:00
UnknownShadow200
ebf987d0fb Discord: Add events for received messages, which allow you to override the default behaviour 2021-07-24 20:04:32 +10:00
UnknownShadow200
95bc598e03 Discord: Allow custom .who embed color 2021-07-23 11:42:26 +10:00
UnknownShadow200
855c5f736d Make /plugins output paginated 2021-07-22 22:37:42 +10:00
UnknownShadow200
1204c8c8fa Discord: Actually log error response text 2021-07-22 22:26:07 +10:00
UnknownShadow200
cced18bbab Fix VecF32.Normalise on a zero vector turning into NaN (Thanks Venk) 2021-07-21 20:41:41 +10:00
UnknownShadow200
f7a53b081f Split up /spin into /spin and /mirror 2021-07-20 17:27:23 +10:00
UnknownShadow200
341df3498a Also do something similiar for QueueLevel economy item 2021-07-18 19:26:01 +10:00
UnknownShadow200
3b11059f0e Also do the same for title/color/tcolor/nick 2021-07-18 17:38:04 +10:00
UnknownShadow200
0aaa9392d4 Add PlayerOperations class, initially with just login/logout messages
Fixes
1) can't remove login/logout message while muted
2) if you buy a login/logout message while muted, you are still charged even though the message does not change
2021-07-18 13:38:44 +10:00
UnknownShadow200
4670fa679a Remove MCG from thread names 2021-07-18 09:11:03 +10:00
UnknownShadow200
dbea200929 partially revert previous commit because assembly.CodeBase doesn't give the right answer when .exe is started from a different directory 2021-07-17 16:39:54 +10:00
UnknownShadow200
094a8135de Fix mkbundle wrapped CLI always crashing at startup 2021-07-17 16:26:18 +10:00
UnknownShadow200
9e4d27f4b4 Split off SQLite backend from SQLite.cs 2021-07-17 07:58:31 +10:00
UnknownShadow200
a90f557f5e Remove obsolete JsonSerialisers 2021-07-14 21:02:49 +10:00
UnknownShadow200
33afae9c0d Support reference statements for Visual Basic 2021-07-09 21:40:54 +10:00
UnknownShadow200
75768bfd0b Fix compiler error log to work with multiple source files, also fix compiling plugins generating .dll in wrong folder (Thanks Venk)
Also always use \r\n for line endings in auto generated commands/plugins so they can always be opened with Notepad
2021-07-09 19:08:28 +10:00
UnknownShadow200
8b2c6f233a Generate .pdb so errors have stacktraces when thrown from commands/plugins 2021-07-08 20:43:48 +10:00
UnknownShadow200
8782511f57 Support compiling multiple files into one DLL 2021-07-08 20:00:38 +10:00
UnknownShadow200
d6e8ec16e9 Fix settings GUI icon showing default form icon on mono/wine 2021-07-04 20:45:37 +10:00
UnknownShadow200
877501abc0 Catch InvalidOperationException thrown from BeginInvoke in Window log method
This exception gets thrown when trying to invoke a method after the window has already been destroyed. This can rarely happen when trying to log messages at end of server shutdown after the window has been destroyed
2021-07-04 18:55:13 +10:00
UnknownShadow200
5d13fba29a Log error details if fail to download required file 2021-07-04 17:23:35 +10:00
UnknownShadow200
411f7f3aa3 Fix on some versions of WINE, if you close the server while players are still connected, you get EADDRINUSE for next few minutes if you try to start server again
This seems to happen because a socket is left in TIME_WAIT state, so workaround by this enabling SO_REUSEADDR. Except on Windows SO_REUSEADDR has different behaviour, so only apply the workaround when running on mono
2021-07-04 17:12:36 +10:00