5018 Commits

Author SHA1 Message Date
UnknownShadow200
e0529d2fc0 Allow disabling CPE extensions 2021-11-06 13:45:33 +11:00
UnknownShadow200
ce81eb6a58 Add short description for CPE extensions 2021-11-06 09:39:46 +11:00
UnknownShadow200
15dd012ecc Move CpeExtension to CpeExt and prepare for expansion of CpeExtension class 2021-11-05 12:33:25 +11:00
UnknownShadow200
c6ba19059e CPE: Retrieve list of extensions by calling CPEExtension.GetAllEnabled instead 2021-11-04 11:58:31 +11:00
UnknownShadow200
35878c8532 Add Formatter.ValidPlayerName method which takes into account the suffixes defined by the authentication services
Also fix in GUI the right click player in players table -> Kick showing 'kicked by console' twice in kick message
2021-11-03 21:39:22 +11:00
UnknownShadow200
d650dc11eb GUI: Fix right clicking a level in Levels table -> Actions -> Reload not working 2021-11-03 21:24:07 +11:00
UnknownShadow200
4e5a977cea Split up Player.CPE.cs into CPESupport.cs and Player.CPE.cs 2021-11-01 22:18:30 +11:00
UnknownShadow200
53549f2931 Museum: If the exact same museum is already loaded into memory because a player is on it, try to reuse the blocks/CustomBlocks array from that instance instead of loading a duplicate level into memory 2021-10-29 21:39:41 +11:00
UnknownShadow200
cc261aa91c uhhhhh whoops 2021-10-29 20:39:25 +11:00
UnknownShadow200
a3f5a41859 Make /import show better error messages when unsupported file, and simplify /import all to just directly import files instead of trying to change file extension 2021-10-29 20:38:39 +11:00
UnknownShadow200
f54eb7fd55 Tidy up IMapImporter somewhat 2021-10-29 20:18:06 +11:00
UnknownShadow200
6dcbbc3e7b Discord: Also handle IOException with up to 2 more retry and without logging errors 2021-10-29 18:31:28 +11:00
UnknownShadow200
572ae79126 Discord: Handle 500-504 errors with up 2 more retries and don't log to error logs 2021-10-29 18:19:05 +11:00
UnknownShadow200
9ebb2f0082 Discord: Allow disabling user mentions (and toggling role/everyone mentions) 2021-10-28 19:33:51 +11:00
UnknownShadow200
b7868c998f Move LoadMuseum into LevelActions and add some more comments 2021-10-27 20:17:52 +11:00
UnknownShadow200
abbfb2c01b Change backedup to ChangedSinceBackup and invert logic for simplicity 2021-10-26 22:23:00 +11:00
UnknownShadow200
80de760878 Add comments to IGame 2021-10-26 20:12:49 +11:00
UnknownShadow200
0e512e5941 Change /restore to also list backups when invalid backup number is passed (and /restoreselection) 2021-10-26 19:45:55 +11:00
UnknownShadow200
de6ce82d55 Fix museum not restricting perbuild to nobody and fix /place still being usable in museums 2021-10-26 17:34:25 +11:00
UnknownShadow200
3b83214ad9
Merge pull request #647 from UnknownShadow200/AuthServices2
Split up Heartbeat into Heartbeat and configurable AuthService
2021-10-23 12:09:00 +11:00
UnknownShadow200
411b6c38b6 Fixing 'Finding URL..' message being located a long way away from the first 'Server URL found' message 2021-10-22 20:13:43 +11:00
UnknownShadow200
dc92ff87b8 Add random comments and remove one unnecessary use of Formatter.ValidName 2021-10-22 12:03:04 +11:00
UnknownShadow200
bf9296cff3 Remove Player.ValidName as it will no longer be able to provide the same guarantees about usernames with pending authentication services changes 2021-10-21 21:45:58 +11:00
UnknownShadow200
4ecff0e0e5 Allow /copy save to use any filename, and improve Formatter.CheckFilenameOnly 2021-10-21 19:06:08 +11:00
UnknownShadow200
ae1b5d342b Tidyup authservices.properties help text 2021-10-21 18:27:11 +11:00
UnknownShadow200
48c2148c9c Allow configuring authentication services 2021-10-21 12:33:00 +11:00
UnknownShadow200
f6f1ac5fb3 Split up Heartbeat into AuthService and Heartbeat 2021-10-20 23:25:36 +11:00
UnknownShadow200
91ba52c872 Slightly better documentation in ranks.properties 2021-10-20 23:23:40 +11:00
UnknownShadow200
f8503f031e Add link to wiki in discordbot.properties 2021-10-20 23:05:56 +11:00
UnknownShadow200
b91eeaab43 Split up ConfigElement.SerialiseSimple into ConfigElement.SerialiseSimple/SerialiseElements 2021-10-20 22:58:47 +11:00
UnknownShadow200
48a8cceee4 Remove JailX/Y/Z from level properties (unused and were always written as 0 anyways) 2021-10-19 23:03:10 +11:00
UnknownShadow200
5fbbde2df7 Use preclassic like env by default for preclassic imported maps 2021-10-19 22:33:58 +11:00
UnknownShadow200
296051b571 Add preclassic map importing support 2021-10-19 22:20:47 +11:00
UnknownShadow200
a5b20aa01e Fix 'unsupported protocol version' kick log not including player name 2021-10-18 20:26:17 +11:00
UnknownShadow200
24f396a661 work out what missing 0.13 dat field is.. it's not spawn 2021-10-18 19:30:03 +11:00
UnknownShadow200
cd31921cb9 Add classic 0.13 dat importing support, mostly
Spawn coordinates aren't read though
2021-10-18 18:20:11 +11:00
UnknownShadow200
ed3543d607 Better error message when importing non .dat file as a .dat 2021-10-18 18:00:59 +11:00
UnknownShadow200
109cb48f68 Drop most of Command.all (obsolete 3 years) 2021-10-17 21:58:07 +11:00
UnknownShadow200
cca3b7359e Drop Player.leftGame (obsolete 6 years) and don't pointlessly reset some state on leaving 2021-10-17 16:04:17 +11:00
UnknownShadow200
0b70aa6fa3 Disable ClassiCubeAccountPlus by default, and don't strip trailing + from usernames when it is disabled 2021-10-17 14:12:52 +11:00
UnknownShadow200
71f7dd0e06 Simplify getting default realm owner behaviour for /mapinfo 2021-10-17 08:54:50 +11:00
UnknownShadow200
825cfabf44 Use Server.ToRawUsername instead of RemoveLastPlus() 2021-10-15 22:29:09 +11:00
UnknownShadow200
104c9a624c Fix /clients showing caller's client for all players (Thanks Fam0r) 2021-10-14 07:40:18 +11:00
UnknownShadow200
922425a7f0 Server.FormatName -> Server.ToRawUsername 2021-10-13 23:08:55 +11:00
UnknownShadow200
1fe25c0426 Discord: Don't log full error if can't reach discord.com is what's causing the error 2021-10-13 20:06:59 +11:00
UnknownShadow200
046d1ba42b Discord: If sending request failed, also include method/route in error log message 2021-10-13 19:44:39 +11:00
UnknownShadow200
c9c8d5e7ee Add Server.FormatName method, which at the moment just calls RemoveLastPlus 2021-10-09 20:25:16 +11:00
UnknownShadow200
9c55694180 Improve 'config contains non-allowed character' message to also include the problematic character (Thanks Dire) 2021-10-05 20:58:47 +11:00
UnknownShadow200
9b870c289c Change /clients to show classic < 0.30 versions (Thanks rdebath, fixes #643) 2021-10-05 20:38:33 +11:00
UnknownShadow200
4bcb5e3351 Ignore usertype field in handshake packet when protocol version is less than 7 (Thanks rdebath, addresses #643) 2021-10-04 12:17:23 +11:00