5429 Commits

Author SHA1 Message Date
UnknownShadow200
69cd18a382 Move salt/mppass calculation into Server.cs 2020-10-09 18:08:18 +11:00
UnknownShadow200
55fff3a84e
Merge pull request #561 from UnknownShadow200/fFix
fix fCraft maps erroring when compiled with recent Mono and then run on normal .NET
2020-10-09 00:41:02 +11:00
UnknownShadow200
6e2092c31a If imageprint fails due to errors like name resolution failure, also inform user of that
e.g. 'Failed to download (NameResolutionFailure) from http://nonexistentdomain.com/aaa/images1.png'
2020-10-08 00:31:41 +11:00
UnknownShadow200
85e50b1ab7 Show a specific error message if user tries imgprinting a non http/https url such as file:// 2020-10-08 00:16:54 +11:00
UnknownShadow200
95d85fd59b Reorder order of some fields in ServerConfig.cs so must useful server settings are at top of server.properties, and remove a few unused fields 2020-10-07 18:29:51 +11:00
UnknownShadow200
cbd4bb26a1 Change //[msg] in MBs to be treated the same as normal chat //[msg], where it shows a message of '/[msg]' instead of trying to execute as a command (Thanks fam0r) 2020-10-05 23:24:35 +11:00
UnknownShadow200
2003a89ed3 Remove \![msg] acting as /msg, this is a relic from long ago in the past which basically no one uses now 2020-10-05 20:37:45 +11:00
UnknownShadow200
6b8d829c31 fix fCraft map generators getting broken 2020-10-03 13:06:11 +10:00
UnknownShadow200
ba47294b07 Fix custom commands in custom plugins losting custom set extra permissions on server restart (Thanks goodly) 2020-10-03 10:53:21 +10:00
UnknownShadow200
814d3ea889 Improve performance by a tiny bit 2020-10-03 01:18:50 +10:00
UnknownShadow200
c6303e43ea Rewrite fCraft map gen to not use 2D arrays or pointers 2020-10-03 01:14:50 +10:00
UnknownShadow200
2f06944187 Add Logger.FormatException which allows plugins to convert Exception instances to formatted description messages the same as MCGalaxy's built in error logger 2020-10-02 22:24:14 +10:00
UnknownShadow200
29c644b2b9 Fix main-name from server.properties being more restrictive than /main (Thanks goodly) 2020-09-29 21:46:16 +10:00
UnknownShadow200
7ac352770d Try to cleanup DB api - DatabaseBackend now mainly just returns SQL query strings, with Database static class responsible for actually executing them 2020-09-27 00:16:07 +10:00
UnknownShadow200
4d1893c3d6 SQL query errors should get a line logged in main logfile instead of mysql_error.log
Also add a few more comments to Database.cs
2020-09-26 22:40:27 +10:00
UnknownShadow200
0b3dd5721a
Merge pull request #558 from UnknownShadow200/UnhackifyLineWrapper
Line wrapper and colour simplification cleanup
2020-09-26 15:16:00 +10:00
UnknownShadow200
a2407cd9e4 Add support for outputting ampersands not followed by valid colour codes to IRC 2020-09-24 22:12:59 +10:00
UnknownShadow200
912aed3f0e Fix changing list of ZS maps in GUI not saving 2020-09-24 17:24:46 +10:00
UnknownShadow200
5077653df3 Fix error appearing in logs when trying to vote for next map in rounds based games, when there are less than 3 maps configured
Although an error was being thrown before, it did not actually cause problems because the game would just continue on the same map.
2020-09-24 17:02:01 +10:00
UnknownShadow200
66b89c9eea Fix rare case where doing /undo [timespan] would throw a NullReferenceException 2020-09-24 10:35:35 +10:00
UnknownShadow200
e4b769304b Add support for relative coords in /explode 2020-09-23 00:31:28 +10:00
UnknownShadow200
e3c5426997 Try to also word wrap on /,\ and - instead of only space 2020-09-21 21:52:01 +10:00
UnknownShadow200
40e9f6b7f9 Fix rare case where if line did end in an emote, but now doesn't (because the 'last emote' was pushed onto next line for line wrapping), the trailing ' was still wrongly inserted 2020-09-21 21:38:19 +10:00
UnknownShadow200
d2087b5670 Always add padding ' when client doesn't support EmoteFix, avoid unnecessary white colour code on multilined text 2020-09-21 21:18:53 +10:00
UnknownShadow200
867f0345f2 Fix /help emotes having the emote get trimmed out in original minecraft classic client 2020-09-21 20:19:33 +10:00
UnknownShadow200
a514c7856d SendCpeMessage should use new colour simplification too, add a bool for whether client supports EmoteFix 2020-09-21 20:12:51 +10:00
UnknownShadow200
d1dba1ac5b Hardcode list of devs/mods instead of downloading from github 2020-09-21 17:47:10 +10:00
UnknownShadow200
1ba162ec22 If a http error (e.g. 404) occurs when downloading data for /imgprint etc, also output the http error number to user 2020-09-18 11:04:34 +10:00
UnknownShadow200
b71696fdd0 /send should not prioritise online players, addresses #556 2020-09-16 19:39:53 +10:00
UnknownShadow200
110f92d237 Make LineWrapper.CleanupColors also do the fallback conversion and ampersand stripping for classic mode.
This fixes rare cases where you could crash original vanilla client with ampersands, and means you can consistently use ampersands not followed by colour codes in entity nicks/tab list/chat messages. Previously couldn't use them at all in entity nicks/tab list, and only in chat messages by abusing custom chat tokens to do it.
2020-09-13 18:23:48 +10:00
UnknownShadow200
083e4c90c7 If first line starts with white colour code followed by spaces, the spaces should not be trimmed
Spaces should only be trimmed on subsequent lines
2020-09-12 23:27:46 +10:00
UnknownShadow200
212b8ebcd6
Merge pull request #555 from UnknownShadow200/BlockChangeRewrite
Block change rewrite
2020-09-12 11:43:42 +10:00
UnknownShadow200
8e3408aa33 If you're holding a block you're not allowed to place in your hand, you should still be able to delete blocks 2020-09-12 11:22:41 +10:00
UnknownShadow200
40ec10a168
Merge pull request #553 from Fam0r/master
Check for lag pillaring in Zombie Survival
2020-09-12 01:27:41 +10:00
Fam0r
673977e0d8 Changes 2020-09-11 18:25:48 +03:00
UnknownShadow200
bb31166889 Simplify block change handling. This also means that placing air_switch/checkpoint will revert to air, instead of leaving behind the block you were holding as a ghost until you do /reload 2020-09-12 00:35:32 +10:00
UnknownShadow200
2543089f7f Make Command.CheckRank more consistent 2020-09-11 23:47:08 +10:00
UnknownShadow200
bce25e6e32 For custom commands/plugins, also load .pdb file if it exists (makes debugging easier) 2020-09-11 12:43:13 +10:00
Fam0r
8c39cd3bd0 Make the pillaring detection stricter for maps without building 2020-09-11 01:13:45 +03:00
Fam0r
ec387a778b Check for lag pillaring 2020-09-11 00:31:44 +03:00
UnknownShadow200
d028d44ca5 If downloading image for imgprint fails, also include its url in the 'error downloading' warning message 2020-09-10 19:13:23 +10:00
UnknownShadow200
4e5bfe5f22 Fix being able to /possess yourself and cleanup possess code a bit 2020-09-10 18:37:48 +10:00
UnknownShadow200
b0dbebec4e Fix doing /b on map that had portal/MB block ids but the tables not existing in DB causing error to get logged (Thanks XenonMan)
Also improve portal/message block API at the same time
2020-09-09 17:53:55 +10:00
UnknownShadow200
fd4a6cb603 Fix awards player has but don't exist anymore still counting towards player's awards count in /i (Thanks Scav) 2020-09-07 21:38:31 +10:00
UnknownShadow200
aaca55ea3b Use improved algorithm to remove unnecessary colour codes 2020-09-07 19:22:55 +10:00
UnknownShadow200
ecb051878a Try to make the line wrapper not suck 2020-09-07 18:23:34 +10:00
UnknownShadow200
6c7050d0ed Release 1.9.2.5 1.9.2.5 2020-09-07 12:49:00 +10:00
UnknownShadow200
0655e80ed4 Add a version of BlockDefinition.Save that takes a path string, so it can be used by plugins (Thanks 123DMWM) 2020-09-07 12:36:42 +10:00
UnknownShadow200
0ec32e0660 Don't reload files from disc when doing blockset/cmdset 2020-09-06 17:41:26 +10:00
UnknownShadow200
1984c223c4 Fix /search blocks not including classic/CPE blocks in search list 2020-09-05 00:04:24 +10:00