-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathproperties.yaml
More file actions
189 lines (162 loc) · 7.06 KB
/
properties.yaml
File metadata and controls
189 lines (162 loc) · 7.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
# Everything after a # is a comment and is ignored by the server software
# We recommend using an editor with syntax highlighting like vscode, it's more intuitive
# Comments have already been placed above most properties to describe what they do
# Server name to appear in server list
name: Test Server
# Icon and banner to appear in server list. Specify a URL. Must start with https:// or /
icon: https://openmc.pages.dev/img/beacon.png
banner: # Not all servers need a banner!
# Message of the day. Chosen randomly and displayed on server list
motd:
- One of the servers of all time
- Bug-free!
- New motd every day! (maybe)
- Zero warranty!
- One must imagine sisyphus happy
- And I have become death, the destroyer of worlds
- MOTD unavailable
- <img src onerror=alert(1)/>
- Less dimensions!
- More dimensions!
# get it?
# Path of world savedata (relative to this config file)
path: world
# Maximum players that can play concurrently
maxplayers: 20
# World simulation stuff
world:
# Any text. Hashed to 256 bits
# Advanced mode: specify an array of 8 32-bit integers to use as the internal 'seed' parameters
seed: '1234'
# 8 in traditional minecraft; 16 here. 123 blocks in the nether corresponds to (123 * nether_scale) blocks in the overworld
nether_scale: 16
# Radius around players where chunks are loaded. Recommended: 2
# 2 = 5x5 square = 25 chunks loaded. 3 = 7x7 = 49 chunks loaded. 4 = 9x9 = 81 chunks etc...
chunk_loading_range: 2
default_mode: 1
# Client components
components:
- vanilla
# Client resource mappings
resourcemaps:
# - <pack> <URL>
# Terrain generators
generators:
# shaper is used to determine the shape of the noise
# air_layers is used to fill all "air" parts (where the noise < 0)
# ground_layers is used to fill all "ground" parts (where the noise > 0)
# layers should be specified as ["block", threshold, "block", ...] ending with a block
# or ["block", threshold, transition, "block", ...] to specify a transition range up to 256 blocks where both blocks are randomly mixed
# Remember that fluids behave best with one waterTop/lavaTop/... layer at the surface
# air_layers_repeat / ground_layers_repeat if specified will repeat the respective layers on the Y axis. It should be chunk-aligned (multiple of 64)
# period specifies the size of the largest noise details in blocks. Minimum value: 4
# roughness: 0 gives very smooth terrain
# roughness: 0.5 is default and gives a nice balance
# roughness: 0.9 gives very rough and fragmented terrain
# Availabler shapers:
# overworld - just like the overworld
# `value` controls height amplification
# flat - Ground below y=0. air above
# `value` changes the y level of the surface
# uniform - No offsets. Gives a uniform mix of air and ground
# `value` controls air/ground ratio (0 = air only, 0.5 = even mix, 1 = ground only)
# void - No ground
# filled - No air
# nether - Periodic tunnels, just like the nether
# `value` controls distance between repetitions on the Y axis
# end - Periodic island layers, just like the end
# `value` controls distance between repetitions on the Y axis
overworld:
# Here is an example superflat config, setting the noise to always be "air" and the layers via air_layers
# shaper: uniform
# value: 0
# air_layers: ["air", 0, "bedrock", 1, "dirt", 3, "grass", 4, "air"]
# ground_layers: [] # doesn't matter
shaper: overworld
period: 128
value: 1
air_layers: ["bedrock", -2147483647, 4, "water", -1, "waterTop", 0, "air"]
ground_layers: ["bedrock", -2147483647, 4, "stone"]
biome: overworld
nether:
shaper: nether
period: 32
value: 2048
air_layers: ["air", 1024, "lava", 1407, "lavaTop", 1408, "air"]
air_layers_repeat: 2048
ground_layers: ["netherrack"]
biome: nether
end:
shaper: end
period: 32
value: 2048
air_layers: ["air"]
ground_layers: ["endstone"]
biome: end
void:
shaper: uniform
value: 0
air_layers: ["air"]
ground_layers: ["stone"]
biome: void
permissions:
# Allow anyone to use /kill to kill themselves (only moderators and above can /kill others)
suicide: true
# Allow anyone to chat (disabling will only allow moderators and above to use chat)
chat: true
# Allow green text in chat by prefixing your messages with >
green_text: true
# Allow moderators to use /give, /setblock, etc...
mod_cheat: true
# Maximum blocks you can /fill at once
max_fill: 16777216
# Default permission level when joining for the first time
# 4 = op (NOT RECOMMENDED)
# 3 = mod
# 2 = normal (RECOMMENDED)
# 1 = adventure (can't place, break, or interact)
# 0 = not allowed to join
# Individual player permissions can be changed with /perm <username> <level>
# For a whitelisted server, use 0 and manually whitelist players with /perm <player> normal
default: 2
# If true, new players will automatically be put into spectator
# Moderators and above can always switch in and out of spectator
# Note that spectators can still break and place blocks as long as they have permissions (see above)
join_as_spectator: false
# Server port. By default the client connects on 27277, so it makes sense to set this to 27277
port: 27277
# Server host, what your users will connect to. Not required if it can be extracted from the SSL certificate
host:
# Key and certificate files for encrypted server (recommended). Paths are relative to parent of server folder
# Empty values will attempt to use a self signed certificate that only works for localhost
key: ""
cert: ""
# Voice chat to players up to this many blocks away in-game
# 0 to disable
# Chat using the Enter ↵ key (Toggle using P)
# Do not set to a large value, instead if you want dimension-wide chat use "world"
# Or if you want server-wide use "server"
# Nonsensical values like 99999 will degrade server performance
proximity_chat: 32
# Show everyone's health on the TAB menu and server page
show_health: true
# Webhook url for discord chat integration (optional)
webhook:
# Display a different discord avatar and username for each player when chatting
webhook_profiles: true
# Home page will count how often this word is said in chat, goof feature :P
magic_word: hi
# info displayed on the banned notice screen
ban_info: Ban appeals are not accepted at this time
# Do not touch this section for multiplayer servers unless you ABSOLUTELY know what you're doing!
# You have been warned!
socket:
# Check for suspicious movement packets
# Recommended: true
# false will allow any player to move at any speed and teleport anywhere without creative or operator
# which may allow any player to load an excessive amount of chunks and crash the server
movement_checks: true
# Blocks player can stray before being rubberbanded. Recommended: 10
movement_check_mercy: 10
# Maximum queued data on a single socket in MB. 0 = no limit (dangerous). Recommended: 16
backpressure: 16