|
1 | 1 | # Config
|
2 | 2 | All config file are stored in the JSON format, and a default config file will be automatically generated if missing.
|
3 |
| -## Main Config |
4 |
| -The config file are located in `Your Fabric Instance/config/svrutil/config.json`. |
5 |
| - |
6 |
| -| Key | Description | Default Value | |
7 |
| -|--------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------| |
8 |
| -| fallingBlockDelay | This sets the tick of when falling block like Sand and Gravel should start falling after placing.<br>-1 to disable falling block entirely. | 2 (Vanilla) | |
9 |
| -| fixedItemFrame | Whether all item frames in the world should be fixed. (Does not get detached or affected by explosions) | false | |
10 |
| -| minItemFrameInteractOpLevel | The minimum OP Level required to interact with item frames (Rotate/Place/Break) in the world. | 0 (All) | |
11 |
| -| silentKickMessage | The message sent to the player being kicked with the /silentkick command. (Minecraft RAW Text Format) | "Internal Exception: java.lang.StackOverflowError" | |
12 |
| -| whitelistedMessage | The message sent to the player being kicked due to being whitelisted. (Minecraft RAW Text Format) | null (Use vanilla default) | |
13 |
| -| joinMessages | An array of JSON Object representing a welcome message, see below. | [...] | |
| 3 | +## Feature Config |
| 4 | +The config file are located in `Your Fabric Instance/config/svrutil/feature.json`. |
| 5 | + |
| 6 | +### join_message |
| 7 | +This section describes a list of join message to show when player joined the server. |
| 8 | + |
| 9 | +#### Welcome Message Entry |
| 10 | + |
| 11 | +| Key | Description | Default Value | |
| 12 | +|--------------|------------------------------------------------------------------------------------------|----------------------------------------------------| |
| 13 | +| title | A Color-Text entry for the main title to appear at the center of the screen | 2 (Vanilla) | |
| 14 | +| subtitle | A Color-Text entry for the subtitle to appear below title at the center of the screen | false | |
| 15 | +| message | A Color-Text entry for the chat message to be sent. | 0 (All) | |
| 16 | +| delayTick | How much Minecraft tick to delay before sending this welcome message to the player. | "Internal Exception: java.lang.StackOverflowError" | |
| 17 | +| permLevels | The OP level that this welcome message is sent to. | [1, 2, 3, 4] | |
| 18 | + |
| 19 | +#### Color-Text Entry |
| 20 | +| Key | Description | |
| 21 | +|-----------------------------|-------------------------------------------------------------------------------------------------------| |
| 22 | +| color | Human readable color name (i.e. "green") | |
| 23 | +| text | The text content to show | |
| 24 | + |
| 25 | +### hunger |
| 26 | +This section enforces the hunger range for all players, at a scale from 0 to 20. |
| 27 | + |
| 28 | +| Key | Description | |
| 29 | +|----------|---------------------------------------------------| |
| 30 | +| minLevel | The minimum hunger level the player must stay at. | |
| 31 | +| maxLevel | The maximum hunger level the player must stay at. | |
| 32 | + |
| 33 | +### vanilla_mechanics |
| 34 | +This section contains configurations that overrides Vanilla Minecraft mechanics. |
| 35 | + |
| 36 | +| Key | Description | |
| 37 | +|-----------------------------|------------------------------------------------------------------------------------------------------------| |
| 38 | +| fixedItemFrame | Whether all item frame in the world should be treated as fixed. (Same effect as {Fixed:1b} Entity NBT Tag) | |
| 39 | +| minItemFrameInteractOpLevel | The minimum OP Level required to be able to interact with item frame. | |
| 40 | +| fallingBlockDelay | How much tick it should take for falling block (i.e. Sand & Gravel) to start falling after placing. | |
14 | 41 |
|
15 | 42 | ### Welcome Message Object
|
16 | 43 | | Key | Description |
|
|
0 commit comments