Commit graph

312 commits

Author SHA1 Message Date
88ebd2a2a2
Fix for execute crash () 2025-03-09 11:11:30 -03:00
62cfcfc8ff
fix: whoops 2025-03-09 11:11:30 -03:00
6a333907aa
fix: tweak spawner restrictions 2025-03-09 11:11:30 -03:00
483ff51e64
fix: restrict spawners, a lot
LOL! Whoops!
2025-03-09 11:11:30 -03:00
b7ac0f202e
fix: highly experimental (and hacky!) patch for kick exploit 2025-03-09 11:11:30 -03:00
763089ddf6
Re-add CPU model detection and add GPU model detection via OSHI ()
* Re-add CPU model detection and add GPU model detection via OSHI

* Catch exceptions in getHardware
2025-03-08 22:15:01 +02:00
Kaboom
fce68a8907
Merge pull request from OptimisticDeving/fix-spidey-npe
Fix NPE in spidey block iterator material checking
2025-03-08 22:13:51 +02:00
Kaboom
479726839b
main.yml: Bump versions 2025-03-08 22:08:31 +02:00
cd1f7edb7a
Opt out of remapping () 2025-03-08 22:04:43 +02:00
c7b0531a69
Don't stop iterating if we find other cobwebs in spidey iterator 2025-02-17 05:12:42 +00:00
865de7f5bb
Use isAir() on Material and improve readability
This also fixes spidey not working when inside VOID_AIR, which is presumably unintended behavior.
2025-02-17 05:08:49 +00:00
b2d5b9a6cb
Fix NPE in spidey block iterator material checking 2025-02-17 02:41:56 +00:00
531c27b11d
Fix for execute crash () 2025-01-26 17:42:37 +02:00
amy
445d230252
feat: use maxCommandForkCount gamerule for limiting execute ()
refactor: clean up gamerule limiter
2025-01-24 18:56:39 +02:00
39feb26c93
Block spawnpoint in execute () 2024-09-24 00:51:25 +03:00
Kaboom
d36503ed3f
CommandServerInfo.java: remove CPU info
This can be re-added if we find a way to do it without using shell commands.

Closes 
2024-09-11 02:32:54 +03:00
60b20ab4bf
Respect death messages gamerule ()
* Use Bukkit.broadcast instead of looping through getOnlinePlayers

* Check if the death message is null before broadcasting it

* Don't broadcast death messages from worlds with showDeathMessages disabled
2024-09-11 02:29:22 +03:00
7cc5c4f330d47060
8cca595937
Block give in execute ()
Co-authored-by: Kaboom <58372747+kaboombot@users.noreply.github.com>
2024-09-11 02:23:09 +03:00
Kaboom
d882118c96
ServerCommand.java: Fix checkstyle violation 2024-09-11 02:21:19 +03:00
GEOEGII555
3278ddaddc
Block the /execute ... run datapack command ()
* Block the /execute ... run datapack command

The /datapack list command is useless, and the other 2 subcommands (/datapack enable and /datapack disable) can be used to cause huge lag on the server.

* Update ServerCommand.java (partial revert)
2024-09-11 02:19:56 +03:00
amy
7450b8bcc9
Don't re-apply command rate-limit when command is ratelimited ()
* fix: don't re-apply ratelimit when user is already ratelimited

* fix: lower command ratelimit event priority

Makes command spam not show up in CommandSpy
2024-09-11 02:15:45 +03:00
8fe96bcc2b
Allow players to select the vanilla chat format ()
* Allow players to select the vanilla chat format

* Fix URL replacement in vanilla format
2024-08-19 18:35:37 +03:00
2e79421d49
Fix Adventure usage for join title & subtitle () 2024-08-01 11:38:47 +03:00
e20467b7af
Add more detailed error messages to /skin and a timeout of 15 seconds () 2024-08-01 11:37:13 +03:00
6fc8d1117c
Fix OOB exception in ServerCommand when the command is just a space () 2024-08-01 11:36:15 +03:00
oi
923a64c906
Block jfr in servercommand () 2024-06-07 01:01:21 +03:00
yfdmc
24af535c60
Block /tick command in /execute () 2024-01-19 19:48:53 +02:00
Kaboom
6cf872ad16
Merge pull request from LunaWasFlaggedAgain/master
Slight refactor
2023-08-20 11:35:58 +03:00
Luna
b2936da79e Re-introduce autosave enabler 2023-08-17 19:07:38 -03:00
Luna
b5e1aa0ac0 Don't randomly cancel TNT unless limit reached 2023-08-17 18:49:17 -03:00
EnZaXD
db50f0b7ae
Use more Java 17 features in classes ()
* Use more Java 17 features in classes

* created more new lines

* fixed long lines
2023-08-06 17:19:43 +03:00
Luna
56f36294ec Target 1.19.4 instead of 1.20.1 2023-08-05 12:57:11 -03:00
IuCC
91371ba990
/rainbow command () 2023-07-07 23:51:38 +03:00
Luna
06d34fd345 Also limit BlockFormEvent when tps is too low 2023-07-01 21:06:12 -03:00
Luna
1a0a0ab0a0 Cleanup unused variables 2023-07-01 20:52:17 -03:00
Luna
9639dde2df Remove usage of deprecated APIs 2023-07-01 20:44:59 -03:00
Luna
7b51a42080 Remove some unnecessary checks 2023-07-01 17:52:36 -03:00
Luna
7cbaf7f812 Bump dependencies 2023-07-01 17:33:02 -03:00
kaboom
c052c8c79c Move skin-related code to player modules 2023-06-21 20:00:54 +03:00
Allink
1c3864e608
Limit selectors to 3 in broadcast commands () 2023-06-03 23:00:32 +03:00
Luna
7fabfdae1a
Remove useless integer limit check () 2023-06-03 23:00:02 +03:00
Kaboom
f303dbfc73
Merge pull request from allinkdev/fix/stuff
Big bug fix & some feature additions
2023-04-18 00:34:32 +03:00
Allink
70c91538c0
Remove redundant distance selector check
Patched in Scissors, 345a876a96
2023-04-11 16:11:29 +01:00
Allink
1cd903e3d4
Make distance selector stricter 2023-04-10 20:47:10 +01:00
Allink
9e0cc8c034
Make username check stricter 2023-04-08 18:02:45 +01:00
Allink
6c375f0cb5
Make URL regex stricter 2023-04-08 16:49:46 +01:00
Allink
4d2455d45b
Make the /getjson command description truthful and add the MiniMessage functionality in /getjsonmm 2023-04-02 04:00:49 +01:00
Allink
4bbec866ff
Block summon subcommand in execute 2023-04-02 03:50:27 +01:00
Allink
9cf76a8ee6
Make links clickable again with a TextReplacementConfig
Fixes 
2023-04-02 01:11:43 +01:00
Allink
d3f55a0451
Implement /bcv ourselves instead of using the Command class
It was broken.
2023-04-02 00:47:21 +01:00