All config file are stored in the JSON format, and a default config file will be automatically generated if missing.
The config file are located in Your Fabric Instance/config/svrutil/config.json
.
Key | Description | Default Value |
---|---|---|
fallingBlockDelay | This sets the tick of when falling block like Sand and Gravel should start falling after placing. -1 to disable falling block entirely. |
2 (Vanilla) |
fixedItemFrame | Whether all item frames in the world should be fixed. (Does not get detached or affected by explosions) | false |
silentKickMessage | The message sent to the player being kicked with the /silentkick command. (Minecraft RAW Text Format) | "Internal Exception: java.lang.StackOverflowError" |
whitelistedMessage | The message sent to the player being kicked due to being whitelisted. (Minecraft RAW Text Format) | null (Use vanilla default) |
joinMessages | An array of JSON Object representing a welcome message, see below. | [...] |
Key | Description |
---|---|
title | The title that are displayed to the player. (Minecraft RAW Text Format) |
subtitle | The subtitle that are displayed to the player. (Minecraft RAW Text Format) |
message | The chat message that are displayed to the player. (Minecraft RAW Text Format) |
delayTick | How long to wait (in Minecraft tick) before showing the welcome message to the player. |
permLevels | An array of numbers representing the op level of the player. Player that are inside the OP Level range will have the welcome message be shown. |
The config file are located in Your Fabric Instance/config/svrutil/commands.json
.
This config is used to override existing SvrUtil command. For example whether the command should be enabled, the required OP level to run it, and more.
Inside of this file, there should be one property called overrides
, inside it is a key-value pair of the default SvrUtil command name, and a Command Object indicating the option you want to override for that command.
Key | Description |
---|---|
commandName | A string representing the command name that should be registered to Minecraft, you may use this to avoid command name conflict by changing this and remap it to another name of your liking. |
enabled | If false, this command would not be registered in Minecraft at all, essentially disabling it. |
permLevel | A number (integer) representing the minimum OP Level required to execute this command |
chainedServerCommand | An array of String representing what command should be executed by the server (console) after the command has finished executing. |
chainedPlayerCommand | An array of String representing what command should be executed by the player after the command has finished executing. |
{
"overrides": {
"fly": {
"commandName": "togglefly",
"chainedPlayerCommand": ["say I have executed the /fly command"],
"chainedServerCommand": ["tellraw @a \"{playerName} has executed the /fly command\""]
},
"gmsp": {
"enabled": false
},
"spawn": {
"chainedServerCommand": ["/scoreboard players add {playerName} spawn_cmd_count 1"]
}
}
}
In the above example, assuming the player running the command is called Player234:
- The /fly command is remapped to /togglefly in-game
- After the player ran the /togglefly command, the Player will run the command
/say I have executed the /fly command
- After the player ran the /togglefly command, the Server will run the command
/tellraw @a "Player234 has executed the /fly command"
- The /gmsp command has been disabled
- After the player ran the /spawn command, the Server will run the command
/scoreboard players add Player234 spawn_cmd_count 1
, increasing the player's score in scoreboard objectivespawn_cmd_count
.