mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-18 15:05:56 +00:00
Use 2 space indents in YAML files
this is (mostly) a backport of #2593 to 3.5. Closes #2593.
This commit is contained in:
parent
9ecf23d3ee
commit
62b6405371
@ -4,3 +4,7 @@ root = yes
|
|||||||
[*]
|
[*]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
@ -4,192 +4,192 @@
|
|||||||
# New settings/defaults won't appear automatically in this file when upgrading.
|
# New settings/defaults won't appear automatically in this file when upgrading.
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
#Whether to send all strings translated to server locale or let the device handle them
|
#Whether to send all strings translated to server locale or let the device handle them
|
||||||
force-language: false
|
force-language: false
|
||||||
shutdown-message: "Server closed"
|
shutdown-message: "Server closed"
|
||||||
#Allow listing plugins via Query
|
#Allow listing plugins via Query
|
||||||
query-plugins: true
|
query-plugins: true
|
||||||
#Show a console message when a plugin uses deprecated API methods
|
#Show a console message when a plugin uses deprecated API methods
|
||||||
deprecated-verbose: true
|
deprecated-verbose: true
|
||||||
#Enable plugin and core profiling by default
|
#Enable plugin and core profiling by default
|
||||||
enable-profiling: false
|
enable-profiling: false
|
||||||
#Will only add results when tick measurement is below or equal to given value (default 20)
|
#Will only add results when tick measurement is below or equal to given value (default 20)
|
||||||
profile-report-trigger: 20
|
profile-report-trigger: 20
|
||||||
#Number of AsyncTask workers.
|
#Number of AsyncTask workers.
|
||||||
#Used for plugin asynchronous tasks, world generation, compression and web communication.
|
#Used for plugin asynchronous tasks, world generation, compression and web communication.
|
||||||
#Set this approximately to your number of cores.
|
#Set this approximately to your number of cores.
|
||||||
#If set to auto, it'll try to detect the number of cores (or use 2)
|
#If set to auto, it'll try to detect the number of cores (or use 2)
|
||||||
async-workers: auto
|
async-workers: auto
|
||||||
#Whether to allow running development builds. Dev builds might crash, break your plugins, corrupt your world and more.
|
#Whether to allow running development builds. Dev builds might crash, break your plugins, corrupt your world and more.
|
||||||
#It is recommended to avoid using development builds where possible.
|
#It is recommended to avoid using development builds where possible.
|
||||||
enable-dev-builds: false
|
enable-dev-builds: false
|
||||||
|
|
||||||
memory:
|
memory:
|
||||||
#Global soft memory limit in megabytes. Set to 0 to disable
|
#Global soft memory limit in megabytes. Set to 0 to disable
|
||||||
#This will trigger low-memory-triggers and fire an event to free memory when the usage goes over this
|
#This will trigger low-memory-triggers and fire an event to free memory when the usage goes over this
|
||||||
global-limit: 0
|
global-limit: 0
|
||||||
|
|
||||||
#Main thread soft memory limit in megabytes. Set to 0 to disable
|
#Main thread soft memory limit in megabytes. Set to 0 to disable
|
||||||
#This will trigger low-memory-triggers and fire an event to free memory when the usage goes over this
|
#This will trigger low-memory-triggers and fire an event to free memory when the usage goes over this
|
||||||
main-limit: 0
|
main-limit: 0
|
||||||
|
|
||||||
#Main thread hard memory limit in megabytes. Set to 0 to disable
|
#Main thread hard memory limit in megabytes. Set to 0 to disable
|
||||||
#This will stop the server when the limit is surpassed
|
#This will stop the server when the limit is surpassed
|
||||||
main-hard-limit: 1024
|
main-hard-limit: 1024
|
||||||
|
|
||||||
#AsyncWorker threads' hard memory limit in megabytes. Set to 0 to disable
|
#AsyncWorker threads' hard memory limit in megabytes. Set to 0 to disable
|
||||||
#This will crash the task currently executing on the worker if the task exceeds the limit
|
#This will crash the task currently executing on the worker if the task exceeds the limit
|
||||||
#NOTE: THIS LIMIT APPLIES PER WORKER, NOT TO THE WHOLE PROCESS.
|
#NOTE: THIS LIMIT APPLIES PER WORKER, NOT TO THE WHOLE PROCESS.
|
||||||
async-worker-hard-limit: 256
|
async-worker-hard-limit: 256
|
||||||
|
|
||||||
#Period in ticks to check memory (default 1 second)
|
#Period in ticks to check memory (default 1 second)
|
||||||
check-rate: 20
|
check-rate: 20
|
||||||
|
|
||||||
#Continue firing low-memory-triggers and event while on low memory
|
#Continue firing low-memory-triggers and event while on low memory
|
||||||
continuous-trigger: true
|
continuous-trigger: true
|
||||||
|
|
||||||
#Only if memory.continuous-trigger is enabled. Specifies the rate in memory.check-rate steps (default 30 seconds)
|
#Only if memory.continuous-trigger is enabled. Specifies the rate in memory.check-rate steps (default 30 seconds)
|
||||||
continuous-trigger-rate: 30
|
continuous-trigger-rate: 30
|
||||||
|
|
||||||
garbage-collection:
|
garbage-collection:
|
||||||
#Period in ticks to fire the garbage collector manually (default 30 minutes), set to 0 to disable
|
#Period in ticks to fire the garbage collector manually (default 30 minutes), set to 0 to disable
|
||||||
#This only affects the main thread. Other threads should fire their own collections
|
#This only affects the main thread. Other threads should fire their own collections
|
||||||
period: 36000
|
period: 36000
|
||||||
|
|
||||||
#Fire asynchronous tasks to collect garbage from workers
|
#Fire asynchronous tasks to collect garbage from workers
|
||||||
collect-async-worker: true
|
collect-async-worker: true
|
||||||
|
|
||||||
#Trigger on low memory
|
#Trigger on low memory
|
||||||
low-memory-trigger: true
|
low-memory-trigger: true
|
||||||
|
|
||||||
#Settings controlling memory dump handling.
|
#Settings controlling memory dump handling.
|
||||||
memory-dump:
|
memory-dump:
|
||||||
#Dump memory from async workers as well as the main thread. If you have issues with segfaults when dumping memory, disable this setting.
|
#Dump memory from async workers as well as the main thread. If you have issues with segfaults when dumping memory, disable this setting.
|
||||||
dump-async-worker: true
|
dump-async-worker: true
|
||||||
|
|
||||||
max-chunks:
|
max-chunks:
|
||||||
#Cap maximum render distance per player when low memory is triggered. Set to 0 to disable cap.
|
#Cap maximum render distance per player when low memory is triggered. Set to 0 to disable cap.
|
||||||
chunk-radius: 4
|
chunk-radius: 4
|
||||||
|
|
||||||
#Do chunk garbage collection on trigger
|
#Do chunk garbage collection on trigger
|
||||||
trigger-chunk-collect: true
|
trigger-chunk-collect: true
|
||||||
|
|
||||||
world-caches:
|
world-caches:
|
||||||
#Disallow adding to world chunk-packet caches when memory is low
|
#Disallow adding to world chunk-packet caches when memory is low
|
||||||
disable-chunk-cache: true
|
disable-chunk-cache: true
|
||||||
#Clear world caches when memory is low
|
#Clear world caches when memory is low
|
||||||
low-memory-trigger: true
|
low-memory-trigger: true
|
||||||
|
|
||||||
|
|
||||||
network:
|
network:
|
||||||
#Threshold for batching packets, in bytes. Only these packets will be compressed
|
#Threshold for batching packets, in bytes. Only these packets will be compressed
|
||||||
#Set to 0 to compress everything, -1 to disable.
|
#Set to 0 to compress everything, -1 to disable.
|
||||||
batch-threshold: 256
|
batch-threshold: 256
|
||||||
#Compression level used when sending batched packets. Higher = more CPU, less bandwidth usage
|
#Compression level used when sending batched packets. Higher = more CPU, less bandwidth usage
|
||||||
compression-level: 7
|
compression-level: 7
|
||||||
#Use AsyncTasks for compression. Adds half/one tick delay, less CPU load on main thread
|
#Use AsyncTasks for compression. Adds half/one tick delay, less CPU load on main thread
|
||||||
async-compression: false
|
async-compression: false
|
||||||
#Experimental, only for Windows. Tries to use UPnP to automatically port forward
|
#Experimental, only for Windows. Tries to use UPnP to automatically port forward
|
||||||
upnp-forwarding: false
|
upnp-forwarding: false
|
||||||
#Maximum size in bytes of packets sent over the network (default 1492 bytes). Packets larger than this will be
|
#Maximum size in bytes of packets sent over the network (default 1492 bytes). Packets larger than this will be
|
||||||
#fragmented or split into smaller parts. Clients can request MTU sizes up to but not more than this number.
|
#fragmented or split into smaller parts. Clients can request MTU sizes up to but not more than this number.
|
||||||
max-mtu-size: 1492
|
max-mtu-size: 1492
|
||||||
|
|
||||||
debug:
|
debug:
|
||||||
#If > 1, it will show debug messages in the console
|
#If > 1, it will show debug messages in the console
|
||||||
level: 1
|
level: 1
|
||||||
|
|
||||||
player:
|
player:
|
||||||
#Choose whether to enable player data saving.
|
#Choose whether to enable player data saving.
|
||||||
save-player-data: true
|
save-player-data: true
|
||||||
anti-cheat:
|
anti-cheat:
|
||||||
#If false, will try to prevent speed and noclip cheats. May cause movement issues.
|
#If false, will try to prevent speed and noclip cheats. May cause movement issues.
|
||||||
allow-movement-cheats: true
|
allow-movement-cheats: true
|
||||||
|
|
||||||
level-settings:
|
level-settings:
|
||||||
#The default format that levels will use when created
|
#The default format that levels will use when created
|
||||||
default-format: pmanvil
|
default-format: pmanvil
|
||||||
#Automatically change levels tick rate to maintain 20 ticks per second
|
#Automatically change levels tick rate to maintain 20 ticks per second
|
||||||
auto-tick-rate: true
|
auto-tick-rate: true
|
||||||
auto-tick-rate-limit: 20
|
auto-tick-rate-limit: 20
|
||||||
#Sets the base tick rate (1 = 20 ticks per second, 2 = 10 ticks per second, etc.)
|
#Sets the base tick rate (1 = 20 ticks per second, 2 = 10 ticks per second, etc.)
|
||||||
base-tick-rate: 1
|
base-tick-rate: 1
|
||||||
#Tick all players each tick even when other settings disallow this.
|
#Tick all players each tick even when other settings disallow this.
|
||||||
always-tick-players: false
|
always-tick-players: false
|
||||||
|
|
||||||
chunk-sending:
|
chunk-sending:
|
||||||
#To change server normal render distance, change view-distance in server.properties.
|
#To change server normal render distance, change view-distance in server.properties.
|
||||||
#Amount of chunks sent to players per tick
|
#Amount of chunks sent to players per tick
|
||||||
per-tick: 4
|
per-tick: 4
|
||||||
#Radius of chunks that need to be sent before spawning the player
|
#Radius of chunks that need to be sent before spawning the player
|
||||||
spawn-radius: 4
|
spawn-radius: 4
|
||||||
|
|
||||||
chunk-ticking:
|
chunk-ticking:
|
||||||
#Max amount of chunks processed each tick
|
#Max amount of chunks processed each tick
|
||||||
per-tick: 40
|
per-tick: 40
|
||||||
#Radius of chunks around a player to tick
|
#Radius of chunks around a player to tick
|
||||||
tick-radius: 3
|
tick-radius: 3
|
||||||
light-updates: false
|
light-updates: false
|
||||||
clear-tick-list: true
|
clear-tick-list: true
|
||||||
#IDs of blocks not to perform random ticking on.
|
#IDs of blocks not to perform random ticking on.
|
||||||
disable-block-ticking:
|
disable-block-ticking:
|
||||||
#- 2 # grass
|
#- 2 # grass
|
||||||
|
|
||||||
chunk-generation:
|
chunk-generation:
|
||||||
#Max. amount of chunks in the waiting queue to be populated
|
#Max. amount of chunks in the waiting queue to be populated
|
||||||
population-queue-size: 8
|
population-queue-size: 8
|
||||||
|
|
||||||
ticks-per:
|
ticks-per:
|
||||||
autosave: 6000
|
autosave: 6000
|
||||||
|
|
||||||
auto-report:
|
auto-report:
|
||||||
#Send crash reports for processing
|
#Send crash reports for processing
|
||||||
enabled: true
|
enabled: true
|
||||||
send-code: true
|
send-code: true
|
||||||
send-settings: true
|
send-settings: true
|
||||||
send-phpinfo: false
|
send-phpinfo: false
|
||||||
use-https: true
|
use-https: true
|
||||||
host: crash.pmmp.io
|
host: crash.pmmp.io
|
||||||
|
|
||||||
anonymous-statistics:
|
anonymous-statistics:
|
||||||
#Sends anonymous statistics for data aggregation, plugin usage tracking
|
#Sends anonymous statistics for data aggregation, plugin usage tracking
|
||||||
enabled: false #TODO: re-enable this when we have a new stats host
|
enabled: false #TODO: re-enable this when we have a new stats host
|
||||||
host: stats.pocketmine.net
|
host: stats.pocketmine.net
|
||||||
|
|
||||||
auto-updater:
|
auto-updater:
|
||||||
enabled: true
|
enabled: true
|
||||||
on-update:
|
on-update:
|
||||||
warn-console: true
|
warn-console: true
|
||||||
warn-ops: true
|
warn-ops: true
|
||||||
#Can be development, alpha, beta or stable.
|
#Can be development, alpha, beta or stable.
|
||||||
preferred-channel: stable
|
preferred-channel: stable
|
||||||
#If using a development version, it will suggest changing the channel
|
#If using a development version, it will suggest changing the channel
|
||||||
suggest-channels: true
|
suggest-channels: true
|
||||||
host: update.pmmp.io
|
host: update.pmmp.io
|
||||||
|
|
||||||
timings:
|
timings:
|
||||||
#Choose the host to use for viewing your timings results.
|
#Choose the host to use for viewing your timings results.
|
||||||
host: timings.pmmp.io
|
host: timings.pmmp.io
|
||||||
|
|
||||||
console:
|
console:
|
||||||
#Choose whether to enable server stats reporting on the console title.
|
#Choose whether to enable server stats reporting on the console title.
|
||||||
#NOTE: The title ticker will be disabled regardless if console colours are not enabled.
|
#NOTE: The title ticker will be disabled regardless if console colours are not enabled.
|
||||||
title-tick: true
|
title-tick: true
|
||||||
|
|
||||||
aliases:
|
aliases:
|
||||||
#Examples:
|
#Examples:
|
||||||
#showtheversion: version
|
#showtheversion: version
|
||||||
#savestop: [save-all, stop]
|
#savestop: [save-all, stop]
|
||||||
|
|
||||||
worlds:
|
worlds:
|
||||||
#These settings will override the generator set in server.properties and allows loading multiple levels
|
#These settings will override the generator set in server.properties and allows loading multiple levels
|
||||||
#Example:
|
#Example:
|
||||||
#world:
|
#world:
|
||||||
# seed: 404
|
# seed: 404
|
||||||
# generator: FLAT:2;7,59x1,3x3,2;1;decoration(treecount=80 grasscount=45)
|
# generator: FLAT:2;7,59x1,3x3,2;1;decoration(treecount=80 grasscount=45)
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
#Setting this to true will cause the legacy structure to be used where plugin data is placed inside the --plugins dir.
|
#Setting this to true will cause the legacy structure to be used where plugin data is placed inside the --plugins dir.
|
||||||
#False will place plugin data under plugin_data under --data.
|
#False will place plugin data under plugin_data under --data.
|
||||||
#This option exists for backwards compatibility with existing installations.
|
#This option exists for backwards compatibility with existing installations.
|
||||||
legacy-data-dir: false
|
legacy-data-dir: false
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
#NOTE: This will do nothing if there are no resource packs in the stack below.
|
#NOTE: This will do nothing if there are no resource packs in the stack below.
|
||||||
force_resources: false
|
force_resources: false
|
||||||
resource_stack:
|
resource_stack:
|
||||||
#Resource packs here are applied from bottom to top. This means that resources in higher packs will override those in lower packs.
|
#Resource packs here are applied from bottom to top. This means that resources in higher packs will override those in lower packs.
|
||||||
#Entries here must indicate the filename of the resource pack.
|
#Entries here must indicate the filename of the resource pack.
|
||||||
#Example
|
#Example
|
||||||
# - natural.zip
|
# - natural.zip
|
||||||
# - vanilla.zip
|
# - vanilla.zip
|
||||||
#If you want to force clients to use vanilla resources, you must place a vanilla resource pack in your resources folder and add it to the stack here.
|
#If you want to force clients to use vanilla resources, you must place a vanilla resource pack in your resources folder and add it to the stack here.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user