This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
114 lines (76 loc) · 3.42 KB
/
config.yml
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
# Configuration file for MCDReforged
# Check https://mcdreforged.readthedocs.io/en/latest/configure.html for detail
# =========================================
# | Basic Configuration |
# =========================================
# The language that MCDR will use to display information
# Examples: "en_us", "zh_cn"
language: zh_cn
# The working directory of the server. If you use the default value server/ I will suggest you put all the files related to the server into the server/ directory
working_directory: server
# The console command to start the server. Examples:
start_command: ./start.sh
# The handler to the specific way to parse the standard output text of the server and the correct command for server control
# vanilla_handler, for Vanilla / Carpet / Fabric server
# beta18_handler, for Vanilla server in beta1.8 versions
# bukkit_handler, For Bukkit / Spigot server with Minecraft version below 1.14, and Paper / Mohist server in all version
# bukkit14_handler, For Bukkit / Spigot server with Minecraft version 1.14 and above
# forge_handler, For Forge server
# cat_server_handler, For CatServer server
# bungeecord_handler, for Bungeecord server
# waterfall_handler, for Waterfall server
# velocity_handler, for Velocity server
handler: arclight_handler
# The encoding / decoding format used to encode / decode message to the server.
# Examples: "utf8", "gbk"
# Leave it blank for MCDR to automatically detect system encoding
# MCDR -> Server
encoding: utf8
# Server -> MCDR
decoding: utf8
# The list of directory path where MCDR will search for plugin to load
# Example: "path/to/my/plugin/directory"
plugin_directories:
- plugins
# rcon setting
# if enabled, plugins can use rcon to query commands from the server
rcon:
enable: false
address: 127.0.0.1
port: 25575
password: password
# If set to true, MCDR will detect if there's a new version every 24h
check_update: true
# Advance console switch powered by prompt-toolkit
# Set it to false if you need to redirect the stdin/stdout of MCDR
advanced_console: true
# ==========================================
# | Advanced Configuration |
# ==========================================
# When set to true, MCDR will not start the console thread for handling console command input
# Don't change it to true unless you know what you are doing
disable_console_thread: false
# When set to true, MCDR will remove all console font formatter codes before any message gets printed onto the console
disable_console_color: false
# A list of customizing info reactor classes to handle the info instance. The classes need to be subclasses of AbstractServerHandler
custom_handlers:
- handlers.arclight_handler.ArclightHandler
# A list of customizing info reactor classes to handle the info instance. The classes need to be subclasses of AbstractInfoReactor
custom_info_reactors:
# The required time interval in second for watchdog to consider the task executor thread is not responding. Set it to 0 to disable watchdog
watchdog_threshold: 10
# Debug mode switches
debug:
all: false
mcdr: false
handler: false
reactor: false
plugin: false
permission: false
command: false
task_executor: false
# =========================================
# | Missing Configuration |
# =========================================
# Options below were missing and set by MCDR with the default value
# Remember to check and update them as soon as possible