5253 Commits

Author SHA1 Message Date
UnknownShadow200
1b9ef7cdf7 Allow providing reasons for IP bans 2022-11-23 07:42:49 +11:00
UnknownShadow200
b50525ea97 GUI: Only save/load block/command permissions/props when actually necessary 2022-11-22 21:00:00 +11:00
UnknownShadow200
65c07caf99 Simplify permissions setting APIs 2022-11-22 20:09:33 +11:00
UnknownShadow200
6967412d01 Allow using more chat/info/quit commands when frozen 2022-11-21 20:24:05 +11:00
UnknownShadow200
00ff666ae9 Discord: Log ~2 less lines when disconnected 2022-11-20 20:32:14 +11:00
UnknownShadow200
a7da4b8dc9 Improve message when can't /save due to saving changes to the level being disabled, also log message when a game round is started for all games instead of just lava survival 2022-11-20 18:44:11 +11:00
UnknownShadow200
1612526d05 Release 1.9.4.4 1.9.4.4 2022-11-19 13:09:11 +11:00
UnknownShadow200
63bb8d36a2 Trust classicube.net's IP for forwarding real IP in websocket connections
This is only intended for users connecting through classicube.net's websocket proxy - that way the rest of the server still sees the user's actual IP for e.g. /banip, /info, /clones etc
2022-11-18 22:50:08 +11:00
UnknownShadow200
a554d2d53b Add grid brush (gridlines) 2022-11-18 21:42:57 +11:00
UnknownShadow200
a170043bd6 When a websocket is connecting from localhost, allow providing a X-Real-IP header to override the socket's IP with the provided IP address
This is mainly intended to support reverse proxies running on the same machine as the server, so that users will have their actual IP (e.g. for /info and /banip), instead of all having the IP of 127.0.0.1
2022-11-17 23:39:49 +11:00
UnknownShadow200
f270e37add Add disabled-commands option to server.properties to allow disabling certain commands altogether, also remove long obsolete Command.all 2022-11-09 21:55:42 +11:00
UnknownShadow200
2e51fdb409 Checkered brush: Also support providing frequencies/weights for blocks 2022-11-08 23:19:50 +11:00
UnknownShadow200
6b76086d5a Make public API for getting colored name of blocks and commands 2022-11-05 18:16:52 +11:00
UnknownShadow200
555cdab5d3 Simplify permission classes a bit and remove obsolete Json.Parse method 2022-11-05 15:33:30 +11:00
UnknownShadow200
1dc3e8032a Block Permissions and Command Permissions Lists shouldn't be publicly exposed 2022-11-05 13:59:23 +11:00
UnknownShadow200
95b11284e8 Make /Notes use paginated output (Thanks Venk) 2022-11-05 13:01:05 +11:00
UnknownShadow200
602b46f3c8 Redesign and simplify Paginator API 2022-11-05 10:56:23 +11:00
UnknownShadow200
744ac54b87 Add OnSettingPrefix event for when player's prefix is being updated 2022-11-03 22:48:48 +11:00
Goodlyay
f8c2678b09 Remove debug text 2022-10-30 05:00:01 -07:00
Goodlyay
fe4e758dec Add ExtEntityTeleport CPE
TODO: check if SendPosition should be used for respawn and ride
2022-10-30 04:57:13 -07:00
UnknownShadow200
374e853d59 Fix very rare bug where doing /paste would cause a block change error
1) Do /copy (so that copy slot #1 is occupied)
2) Do /paste (which checks copy slot #1 is used)
3) Do /copyslot 2 (switching to empty copy slot #2)
4) Place a block to trigger the paste
Observe that a nullreference exception would get thrown, due to DoPaste attempting to add the offset of the null 'current copy'
2022-10-30 18:05:58 +11:00
UnknownShadow200
3bf87d309e Make /setspawn closer to checkpoint behaviour (Thanks Venk) 2022-10-27 22:00:21 +11:00
UnknownShadow200
d1f163ee60 Majorly increase default realms limit for admin/owner ranks 2022-10-26 22:39:14 +11:00
UnknownShadow200
77fce362a1 Avoid code duplication between paste brushes 2022-10-21 21:43:31 +11:00
UnknownShadow200
74e5ea3293 Allow using ReplaceBrush as a /brush (Thanks 123DMWM) 2022-10-21 20:13:55 +11:00
UnknownShadow200
2152efbc61 Allow doing /CTF/LS/TW start to autostart on a configured map even when there are only 1-2 maps configured
Previously although '/game start [level name]' would work even when only 1-2 maps configured, '/game start' wouldn't work unless 3 or more maps were configured
2022-10-20 23:14:30 +11:00
UnknownShadow200
a17c71706e CTF: Set default Y of spawn and flags to middle of level, so that they are visible on a normal flatgrass level 2022-10-20 23:01:44 +11:00
UnknownShadow200
3865c7ed02 ZS: Allow turning off a player dying always resulting them in being turned into a zombie (Thanks Venk) 2022-10-20 22:46:49 +11:00
UnknownShadow200
6a2c2eefc0 Games: Prevent using /Spawn while a game is running 2022-10-20 22:24:26 +11:00
UnknownShadow200
569fa10057 Disocrd: Update to v10 API, hopefully this doesn't break anything 2022-10-19 19:11:40 +11:00
UnknownShadow200
5231473117 Discord: Make invalid tokens/lack of message content intents throw errors which make the bot to fail to connect, instead of just logging warnings 2022-10-19 18:42:41 +11:00
UnknownShadow200
ea38e25fc5 Greatly simplify /BlockSpeed command
1) Remove unnecessary /blockspeed clear
2) Remove confusing /blockspeed net (even its highest preset of '3000 blocks per second', is still much slower than MCGalaxy's default of 7500 blocks per second')
3) Prefer more clearer option names of 'updates'/'interval' instead of 'bs'/'ts' (old option names retained for backwards compatibility
4) Settings updates/interval option now also outputs blocks per second and estimated network traffic usage
5) Improve its /help
2022-10-17 20:56:57 +11:00
UnknownShadow200
9f019083b0 Move classicube-account-plus further down in server.properties to make it more difficult to find, and group whitelist/admin verification options into separate Security section
Also remove description for a couple of now no-longer existent options
2022-10-16 17:04:12 +11:00
UnknownShadow200
ae7886e6fb GUI: Change Undo input in Players tab to timespan input instead of text input 2022-10-11 22:33:43 +11:00
UnknownShadow200
affc323607 Release 1.9.4.3 1.9.4.3 2022-10-09 13:40:55 +11:00
UnknownShadow200
a9a1730363 Make Triangle draw op slightly faster and add morecomments 2022-10-05 20:33:01 +11:00
UnknownShadow200
f306d9284a Fix rotate output being wrong for angles > 90 2022-10-04 20:04:10 +11:00
UnknownShadow200
e586b9d0e5 WIP on redoing rotate transform as shears instead to avoid holes in the output (partially addresses #485, but still more to test and fix) 2022-10-04 08:52:44 +11:00
UnknownShadow200
d5ae8f0c25 cut shouldn't be affected by current transform 2022-10-04 08:44:25 +11:00
UnknownShadow200
c587387491 GUI: Fix unmute and freeze actions in Players tab not working 2022-10-02 21:22:53 +11:00
UnknownShadow200
26670dcd34 Fix some MOTDs crashing original classic client (e.g. '&f', thanks p1glynlol) 2022-10-01 23:30:46 +10:00
UnknownShadow200
f2babf32e1 Don't break backwards compatibility for /imgprint modes 2022-09-30 21:04:00 +10:00
UnknownShadow200
568f010cc0 Fix /info of offline players not showing nick (Thanks Goodly) 2022-09-28 19:54:33 +10:00
UnknownShadow200
b84f2345eb Linux: Try to workaround very rare case where problematic X11 video drivers cause cursor creation to fail with ArgumentException, which in turn causes the GUI to fail to start. Might address #658 2022-09-25 20:22:08 +10:00
UnknownShadow200
9bd1f71918 Remove unused things from MCGalaxy_.csproj 2022-09-25 18:58:22 +10:00
UnknownShadow200
66076c1e99 Grayscale Rainbow brush now supports random mode 2022-09-17 23:01:35 +10:00
UnknownShadow200
efc183cb38 Fix previous commit resulting in being unable to open logs in GUI 2022-09-16 23:11:11 +10:00
UnknownShadow200
27709ca001 Keep log file open instead of constantly closing and reopening 2022-09-14 22:36:13 +10:00
UnknownShadow200
b74b6c0d70 Replace drawop.Max with SizeX/Y/Z 2022-09-13 21:15:30 +10:00
UnknownShadow200
d105f074db WIP on standalone build updating, general minor improvements to Updater.cs 2022-09-09 20:40:37 +10:00