5439 Commits

Author SHA1 Message Date
UnknownShadow200
9dead7961b GUI: Darken very bright colours and slightly lighten very dark colours in main log window 2023-11-30 23:27:30 +11:00
UnknownShadow200
e224f3fb70 Remove kicking if a client sends a message to the server with & in it, fixes #778 (Thanks rdebath) 2023-11-21 20:21:41 +11:00
UnknownShadow200
b72579bd18 Save a few kilobytes of memory in Level instances 2023-11-18 21:27:17 +11:00
UnknownShadow200
8c9f0e60ea Change /pass to operate as an event callback rather than as a command
This avoids the issue where the server is configured so that password verification is required, but players do not have sufficient permission to use the /pass command
2023-11-18 16:35:10 +11:00
UnknownShadow200
f9a32d7381 Make it harder to alter p.IsSuper 2023-11-07 20:53:41 +11:00
UnknownShadow200
4560ac8527 For state bot AI instruction, reduce default search distance for players to at most 1000 blocks away (was 20000) 2023-10-31 22:06:19 +11:00
UnknownShadow200
ff958802aa Try to seperate authentication services from heartbeats 2023-10-30 20:42:12 +11:00
UnknownShadow200
a873dfdee3 Discord: Allow custom API messages defined by plugins to also process the response received from Discord (Thanks SpicyCombo) 2023-10-30 18:14:45 +11:00
UnknownShadow200
7b20917803 Add move bot AI instruction (same as walk, but doesn't adjust yaw/pitch to direction walking in 2023-10-26 23:29:22 +11:00
UnknownShadow200
a8c096c14a Fix stare bot instruction not always giving bots the right pitch due to recent changes (Thanks Goodly), try to fix rare issue where NWSE cursor is invalid 2023-10-26 18:38:00 +11:00
UnknownShadow200
9d40e99695 Make the IsCreate/IsDelete etc methods of the Command class public (Thanks Goodly) 2023-10-22 17:27:28 +11:00
UnknownShadow200
81785236da Simplify SubCommand API a bit 2023-10-16 20:22:44 +11:00
Goodlyay
0a6b0da40b Make SubCommand string argument number less hardcoded
Minorly improve some /os feedback when giving not enough arguments
2023-10-08 20:39:27 -07:00
Goodlyay
2372194b15
Merge pull request #774 from UnknownShadow200/ExtensibleOverseer
Extensible overseer: Allow plugins to add more /os subcommands via Overseer.Register, Overseer.Unregister
2023-10-07 21:50:29 -04:00
Goodlyay
b6c3a70d8a Split SubCommand into SubCommandGroup
(Thanks UnknownShadow200)
Move "os" command shortcut to Overseer class
Hardcode "os" command shortcut in fewer places
2023-10-05 14:44:20 -07:00
UnknownShadow200
3ea8e61474 Discord: For messages in reply to another message, display '(at)original user' prefix at start of the message displayed in-game and in logs 2023-10-01 22:37:37 +11:00
UnknownShadow200
f8d05a706a Make minigames code a bit more extensible
Also change Obsidian to appear as Black wool instead of Cobblestone to 0.0.23 classic clients, to more closely match its visual colour (Thanks Goodly)
2023-10-01 10:01:56 +11:00
Goodlyay
a6779b9e99 Move behavior out of CmdOverseer to Overseer 2023-09-29 20:53:37 -07:00
Goodlyay
fc52e1aead Update MCGalaxy_.csproj 2023-09-28 10:08:34 -07:00
Goodlyay
b8e5799281 Pull SubCommand into its own file and add a little bit of documentation 2023-09-27 15:56:18 -07:00
UnknownShadow200
f326fd3340 Discord bot: Avoid hardcoding API/WebSocket hosts and paths 2023-09-27 18:29:00 +10:00
UnknownShadow200
a4cc8fb2b6 LS: Fix physics level not being updated when a new level is loaded, also fix physics level stuck at 5 when continuing on the same level (thanks jdl96, partially addresses #776) 2023-09-22 19:33:07 +10:00
UnknownShadow200
1a8e1edbf2 Make /countdown stop error much less frequently (Thanks Venk) 2023-09-22 18:46:11 +10:00
UnknownShadow200
4720da3ffb Walking bots now face in direction of their target position 2023-09-22 15:07:33 +10:00
UnknownShadow200
cb6bff5705 Fix that executing commands from relay services didn't strip leading whitespace of the command arguments
Also make /measure slightly faster
2023-09-06 17:37:48 +10:00
Goodlyay
28e15264f8 Disallow LoadOnGoto and Unload from /os map options
Make subcommand names use more consistent casing
Fix being able to change /os map options without being in your map
2023-08-22 00:02:25 -07:00
Goodlyay
834ebe7046 Fix being unable to use new dropbox url 2023-08-21 21:59:08 -07:00
Goodlyay
717991e055 Allow registering and unregistering of os subcommands
move SubCommand into MCGalaxy.Commands namespace
2023-08-20 18:14:30 -07:00
Goodlyay
667babc4e1 Fix /os map restore using no arguments 2023-08-20 00:13:35 -07:00
Goodlyay
ab0ef4e7db Refactor /os map to use SubCommands.
Provide more useful user feedback on failed os commands
SubCommands is now a more generic class untied from CmdOs itself
2023-08-20 00:00:25 -07:00
Goodlyay
7c8922d92c os: remove hardcoded checks and aliases and move subcommand logic into SubCommand class 2023-08-19 20:31:53 -07:00
UnknownShadow200
838b220db9 Fix 383d47a1422f417354793f36db8b28cecc54bbed accidentally causing clients supporting EnvMapAspect v2 to not get environment settings sent to them anymore (Thanks 123DMWM) 2023-08-17 17:47:57 +10:00
UnknownShadow200
383d47a142 Add support for 128 character texture pack URLs
Also load skin/model/reach before sending spawn map (Thanks Goodly)
2023-08-15 22:55:14 +10:00
UnknownShadow200
c4c4bc5f8f Allow texture URLs that contain .zip/.png, instead of just those that end with them 2023-08-13 13:43:31 +10:00
UnknownShadow200
21a7389a5d Tidy up help text in server.properties and permission property files 2023-08-06 23:21:37 +10:00
UnknownShadow200
cb2b802fe9 Allow changing default map gen theme and biome 2023-07-31 23:15:42 +10:00
UnknownShadow200
cdf66cc3ee Fix /where always displaying your orientation instead of the orientation of the target player (bug since 2016)
This bug has been present ever since the command was introduced way back on May 13 2016, in 5db44285ca988e9f648079369b0014eaa98f3fa9)
2023-07-28 23:20:13 +10:00
UnknownShadow200
fe30c0860e Fix discord relay bot not displaying user chosen display names and instead always just showing usernames (Fixes #769, thanks forkiesassds) 2023-07-24 18:46:19 +10:00
UnknownShadow200
f70c16cb7a WIP on supporting offline players in /search players
Searching online players online is moved to /search online
2023-07-19 22:34:20 +10:00
UnknownShadow200
8bc33b6dde If execvp based restart fails on unix systems, it's better to let the server just not restart again instead of restarting with constant log error spam 2023-07-17 21:32:56 +10:00
UnknownShadow200
336e371706
Merge pull request #767 from UnknownShadow200/DBRewrite3
Improve Database.UpdateRows/DeleteRows
2023-07-15 22:31:27 +10:00
UnknownShadow200
f58acb469f Change /inbox del all to also say how many messages were deleted 2023-07-15 22:21:52 +10:00
UnknownShadow200
82d0e79e72 Change /measure to also support block ID ranges 2023-07-14 17:57:04 +10:00
UnknownShadow200
b4ff844f23 Replace and paste brushes now support block ranges for arguments, also change striped brush to default to 'skip' instead of 'air' when only 0 or 1 argument provided 2023-07-13 23:15:44 +10:00
UnknownShadow200
a9adbbd45f Allow using block ID ranges for arguments in gradient,random,cloudy/checkered/grid brushes 2023-07-13 22:23:00 +10:00
UnknownShadow200
b14cae446b Refactor frequency brush argument parsing 2023-07-13 18:57:25 +10:00
UnknownShadow200
335121530c Fix CTF/Countdown/TNT wars being in command list twice 2023-07-09 00:13:48 +10:00
UnknownShadow200
f5c8cad215 Optimise some DB queries to just 'update else add' instead of 'check if any rows, and then update or add' 2023-07-08 23:45:32 +10:00
UnknownShadow200
b38e025833 Release 1.9.4.9 1.9.4.9 2023-07-08 14:57:08 +10:00
UnknownShadow200
1755ec2a56 Change PlayerDB data lookup on login to be case insensitive when name verification name is disabled and the player's name is unverified 2023-07-08 10:23:21 +10:00