Перейти к содержимому
Mineforgian

SvrUtil

A server-side mod containing useful server management commands and some vanilla tweaks

Загрузки
2K
Подписчики
5
Обновлён
17 марта 2025 г.
Лицензия
MIT

Опубликован 4 июля 2023 г.

SvrUtil

This is a Minecraft mod that add various commands like /fly, /speed and some other useful tweaks.

Supports Minecraft 1.19 - 1.20 with the Fabric/Quilt modloader, can work purely server-side.

Config

This mod will work out of the box with all the commands ready to be used.
There are a config file to modify some vanilla behavior, in that case please see here.

Command Overrides

It is not uncommon that the default commands name/permission are not preferable for your use case, or there are other mods with the same conflicting command name.
In either case, please see Command Config to disable/rename/change the permission of a command.

Commands

Full command list (Click to Open)
Command Description Privilege
/afk (reason) Mark yourself as AFK/No longer AFK, optionally with a reason.
Note that this only sends a chat message in chat and affects the custom /msg command in this mod.
Op Level 0
(Anyone)
/barrierblock Gives you 1 barrier block. Op Level 2
/cmdblock Gives you 1 command block. Op Level 2
/lightblock (Light Level 0-15) Gives you 1 light block, optionally with a specified light level. Op Level 2
/clienttime <reset/day/noon/night/midnight/custom time> Set the world time only visible for you.
This works by repeatedly sending a packet to fake
your client on what time the world actually is.

/clienttime reset to follow the server time again.
Op Level 0
(Anyone)
/clientweather <clear/rain/thunder/reset> Set the weather only visible for you.
You will have to run it again if the weather
on the actual world changes


/clientweather reset to follow the server weather again.
Op Level 0
(Anyone)
/fancykick Kick someone with Minecraft Raw JSON Text. Op Level 2
/silentkick Kick a player with a convincing message.
By default it is Internal Exception: java.lang.StackOverflowError, you may change it in the config file.
Op Level 2
/feed (Target player) Fill the hunger and saturation to full for you, or the player you specified. Op Level 2
/fly (Target Player) Toggle flight for you, or the player you specified.

Note: This works even in Adventure/Survival mode.
Op Level 2
/gma Change your gamemode to Adventure Mode. Op Level 2
/gms Change your gamemode to Survival Mode. Op Level 2
/gmc Change your gamemode to Creative Mode. Op Level 2
/gmsp Change your gamemode to Spectator Mode. Op Level 2
/heal (Target Player) Sets the health & hunger to full for you,
or the player you specified.
Op Level 2
/svrutil
/svrutil reload
Main SvrUtil command./svrutil to see the version and homepage.
/svrutil reload to reload the config
Op Level 2
/spd (speed) Set the player's walking and flying speed factor.
If (speed) not provided, it will reset to the vanilla default speed.
Op Level 2
/msg This sends a private message to the target player,
along with a "ding" sound.

Note: This will deregister the default vanilla /msg command.
Op Level 0
(Anyone)
/r Reply message command.
This works the same way for /msg, except it automatically sends it
to the last player that messages you.
Op Level 0
(Anyone)
/opLevel This returns the OP Level of the specified player. Op Level 2
/silentTp Teleport to player without sending a public system message Op Level 2
/overworld Teleport you to Overworld. Op Level 2
/nether Teleport you to The Nether. Op Level 2
/theend Teleport you to The End. Op Level 2
/suicide This kills yourself in-game, along with a public message being sent. Op Level 0
(Anyone)
/spawn Teleport you to the world spawn. Op Level 0
(Anyone)
/spectate <Entity to be spectated>
/spectate <Target Player> <Entity to be spectated>
This command locks the player's camera to a specified entity,
similar to how you click an entity in spectator mode.
This can be used to, for example, force the player to watch a set of animation following an invisible entity.

Note (Important!):
- This works in any gamemode, even outside of spectator.
- The player cannot unlock the camera themselves unless they re-login, or use the /unspectate command
- It only moves the player's camera, the player position remains unchanged
- The client cannot load new chunk as the player position is not changed.
Op Level 2
/unspectate
/unspectate
This is the opposite of the /spectate command, unlocking the player's camera. Op Level 2
/where Tells the XYZ Coordinates of the player Op Level 2

Bugs/Suggestions

If you have any suggestions or bug report, don't hesitate to open an GitHub issue here!

License

This project is licensed under the MIT License.

Ченджлог

2.0.1+1.21.1Релиз1.21, 1.21.1 · 17 марта 2025 г.

Update to Minecraft 1.21.1

2.0.1+1.20.1Релиз1.20.2, 1.20.3, 1.20.4 · 8 января 2025 г.

A bug fix release which prevents /spawn command from working.

2.0.1+1.19.4Релиз1.19.4 · 8 января 2025 г.

A bug fix release which prevents /spawn command from working.

2.0.0+1.20.1Релиз1.20.2, 1.20.3, 1.20.4 · 30 декабря 2024 г.

This is a major update from the 1.0.0 version. Config files need to be manually migrated, please check below.

Changes

  • Added distance in /where command, also now supports all entity (Not only player)
  • /spawn command now supports /spawn personal, which teleports you to your spawnpoint instead of the world's spawnpoint.
  • Add /playsoundarea command (/playsound in a box area between 2 coordinates)
  • Removed /silentkick, as the same can be done with /fancykick.
  • The /msg command now became a feature which alters the vanilla /msg command, you may disable it in config if you like.
  • The sound played to the receiver via /msg command may now specify different sound id in the config.
  • Add hunger constraint (Specify Minimum/Maximum hunger)
  • Add the ability to make item frame immutable to natural damages (i.e. Item Frame can float even without a block attached, useful for map-based decoration signages)
  • Supports TextPlaceholderAPI

Note: Minecraft 1.19.2, 1.19.3 has been dropped, in favor of maintaining 1.19.4 - 1.20.1

Config migration

Starting in 2.0.0, svrutil/config.json is replaced by svrutil/feature.json, which hosts various entries of "feature" that can be toggled on and off.

Please reference this page for the new config format. In most cases you can just move over the value from the old config.json.

Please note that all instance of vanilla text format is replaced with PlaceholderAPI's Simplified Text Format, see Simplified Text Format for more details.

Further notes

This mod should work without issues on NeoForge with Sinytra Connector + Forgified Fabric API

2.0.0+1.19.4Релиз1.19.4 · 30 декабря 2024 г.

This is a major update from the 1.0.0 version. Config files need to be manually migrated, please check below.

Changes

  • Added distance in /where command, also now supports all entity (Not only player)
  • /spawn command now supports /spawn personal, which teleports you to your spawnpoint instead of the world's spawnpoint.
  • Add /playsoundarea command (/playsound in a box area between 2 coordinates)
  • Removed /silentkick, as the same can be done with /fancykick.
  • The /msg command now became a feature which alters the vanilla /msg command, you may disable it in config if you like.
  • The sound played to the receiver via /msg command may now specify different sound id in the config.
  • Add hunger constraint (Specify Minimum/Maximum hunger)
  • Add the ability to make item frame immutable to natural damages (i.e. Item Frame can float even without a block attached, useful for map-based decoration signages)
  • Supports TextPlaceholderAPI

Note: Minecraft 1.19.2, 1.19.3 has been dropped, in favor of maintaining 1.19.4 - 1.20.1

Config migration

Starting in 2.0.0, svrutil/config.json is replaced by svrutil/feature.json, which hosts various entries of "feature" that can be toggled on and off.

Please reference this page for the new config format. In most cases you can just move over the value from the old config.json.

Please note that all instance of vanilla text format is replaced with PlaceholderAPI's Simplified Text Format, see Simplified Text Format for more details.

Further notes

This mod should work without issues on NeoForge with Sinytra Connector + Forgified Fabric API

1.0.0+1.20Релиз1.20.2, 1.20.3, 1.20.4 · 4 июля 2023 г.

Initial release.

1.0.0+1.19.4Релиз1.19.4 · 4 июля 2023 г.

Initial release.

1.0.0+1.19.3Релиз1.19.3 · 4 июля 2023 г.

Initial release.

Комментарии

Загружаем…