5481 Commits

Author SHA1 Message Date
UnknownShadow200
8ee32ba780 Get rid of obsolete warning when compiling GUI, partially fix scale 1/2 not working 2021-11-10 20:37:14 +11:00
UnknownShadow200
dad908c68c GUI: Use FixedDialog instead for FixedToolWindow for improved appearance of popup dialogs, especially on Linux
Note that this means that popup dialogs now appear in taskbar on Linux, whereas they weren't before. However popup dialogs were already appearing before in taskbar on Windows, so at least the behaviour is consistent now
2021-11-10 18:51:55 +11:00
UnknownShadow200
1280f09f7a Also fix general logs calendar days being almost invisible in dark theme 2021-11-09 22:22:42 +11:00
UnknownShadow200
5b774651e3 GUI: Fix listboxes having almost invisible text color for unselected items on Gnome DE with dark theme (Thanks TehcJS, addresses #651)
Testcase: Ubuntu 20.04 with Adwaita-dark or Yaru-dark themes
2021-11-09 21:42:30 +11:00
UnknownShadow200
3642dc3665 Release 1.9.3.6 1.9.3.6 2021-11-07 12:14:04 +11:00
UnknownShadow200
90864a0c6b Split up Scripting.cs into Scripting.cs and ScriptingOperations.cs 2021-11-07 12:08:41 +11:00
UnknownShadow200
b5b8675dfb
Merge pull request #655 from SpiralP/add-cpe-plugin-message
Add new CPE type PluginMessage
2021-11-06 22:49:28 +11:00
SpiralP
842711021e wording 2021-11-06 02:01:09 -07:00
SpiralP
7660e189a8 rename to OnPluginMessageReceivedEvent, move to ServerEvents.cs 2021-11-06 01:59:54 -07:00
SpiralP
2e5d7bd3f2 remove version "2" 2021-11-06 01:24:39 -07:00
SpiralP
592da5c22c use PluginMessageDataLength instead of hardcode 64 2021-11-06 01:23:24 -07:00
SpiralP
f1cf534b6d add OnPlayerPluginMessageEvent, call it when receiving a CPE PluginMessage 2021-11-06 00:06:35 -07:00
SpiralP
62c7cf9951 add CpePluginMessage opcode, and PluginMessage helper 2021-11-05 23:34:55 -07:00
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