《莫德豪》是一款由斯洛文尼亚独立工作室Triternion开发的多人在线中世纪砍杀类视频游戏,其显著特色在于强调基于技巧的竞技玩法与个性化定制。
预设配置详情
莫德豪
Steam 描述
《莫德豪》是一款中世纪第一人称与第三人称多人砍杀游戏。进入一个虚构但真实的世界,扮演一名雇佣兵,置身于最多64名玩家的混乱战场,体验残酷而令人满足的近战格斗,让你欲罢不能。
版本
原版
标准Linux版莫德豪服务器
Wine版
在Wine中运行的Windows版服务器。
支持一些在Linux版服务器上无法运行的模组。
比Linux版服务器消耗更多资源。
服务器端口
莫德豪需要3个端口
| 端口 | 默认值 |
|---|---|
| 游戏 | 7777 |
| 查询 | 27015 |
| 信标 | 15000 |
地图轮换/更改配置
此帖子中有大量实用信息
你需要先运行一次服务器,然后才会出现 Mordhau/Saved/Config/LinuxServer 文件夹
默认地图变量
默认情况下,游戏始终以相同的地图和模式启动。更改此变量,以你选择的地图和模式启动服务器。例如,Grad/HRD_Grad 或 TaigaMap/FL_Taiga
地图类型
HRD = 生存模式
SKM = 小规模战斗
FL = 前线
FFA = 死亡竞赛
BR = 大逃杀
TDM = 团队死亡竞赛
每张地图的有效类型
Grad/
HRD_Grad
BR_Grad
FFA_Grad
FL_Grad
SKM_Grad
Contraband/
FFA_Contraband
SKM_Contraband
TDM_Contraband
DuelCamp/
FFA_Camp
FL_Camp
HRD_Camp
SKM_Camp
TDM_Camp_64
TDM_Camp
MaxMap/
FFA_MountainPeak
FL_MountainPeak
HRD_MountainPeak
SKM_MountainPeak
TDM_MountainPeak
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:wine_latest
xvfb-run --auto-servernum wine MordhauServer.exe {{DEFAULT_MAP}} -log MaxSlots={{MAX_PLAYERS}} -USEALLAVAILABLECORES -Port={{SERVER_PORT}} -QueryPort={{QUERY_PORT}} -Beaconport={{BEACON_PORT}}
| 变量名 | 变量 | 描述 | 默认值 | 规则 | 可查看 | 可编辑 |
|---|---|---|---|---|---|---|
| Steam 服务器应用 ID | SRCDS_APPID |
629800 |
required|numeric|in:629800
必填 数字 选项: 629800
|
|||
| 查询端口 | QUERY_PORT |
27015 |
required|numeric|max:65535
必填 数字 最大 65535
|
|||
| 信标端口 | BEACON_PORT |
Mordhau 信标端口 | 15000 |
required|numeric|max:65535
必填 数字 最大 65535
|
||
| Windows 安装标志 | WINDOWS_INSTALL |
Windows游戏服务器安装所需 | 1 |
boolean
布尔
|
||
| 管理员密码 | ADMIN_PASSWORD |
aP@55word |
required|string
必填 字符串
|
|||
| 服务器名称 | SERVER_NAME |
A Pterodactyl Hosted Server |
required|string
必填 字符串
|
|||
| 游戏密码 | GAME_PASSWORD |
|
nullable|string
可选 字符串
|
|||
| 默认地图 | DEFAULT_MAP |
/Game/Mordhau/Maps/Contraband/FFA_Contraband |
nullable|string
可选 字符串
|
|||
| 最大玩家数 | MAX_PLAYERS |
服务器的最大玩家数 | 24 |
required|numeric|between:1,60
必填 数字 介于 1-60 之间
|
||
| 自动更新 | AUTO_UPDATE |
决定是否让服务器自动更新 | 0 |
boolean
布尔
|
||
| 安装的额外变量 | EXTRA_FLAGS |
|
nullable|string
可选 字符串
|
|||
| WINDOWS_INSTALL | WINDOWS_INSTALL |
1 |
required|string|in:1
必填 字符串 选项: 1
|
|||
| [系统] WINETRICKS_RUN | WINETRICKS_RUN |
vcrun2022 |
required|string|max:20
必填 字符串 最大 20
|
registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian
bash
#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# Image to install with is 'registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian'
##
#
# Variables
# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.
# WINDOWS_INSTALL - if it's a windows server you want to install set to 1
# SRCDS_APPID - steam app id found here - https://developer.valvesoftware.com/wiki/Dedicated_Servers_List
# SRCDS_BETAID - beta branch of a steam app. Leave blank to install normal branch
# SRCDS_BETAPASS - password for a beta branch should one be required during private or closed testing phases.. Leave blank for no password.
# INSTALL_FLAGS - Any additional SteamCMD flags to pass during install.. Keep in mind that steamcmd auto update process in the docker image might overwrite or ignore these when it performs update on server boot.
# AUTO_UPDATE - Adding this variable to the egg allows disabling or enabling automated updates on boot. Boolean value. 0 to disable and 1 to enable.
#
##
# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.
#apt -y update
#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates
## just in case someone removed the defaults.
if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
echo -e "steam user is not set.
"
echo -e "Using anonymous user.
"
STEAM_USER=anonymous
STEAM_PASS=""
STEAM_AUTH=""
else
echo -e "user set to ${STEAM_USER}"
fi
## download and install steamcmd
cd /tmp
mkdir -p /mnt/server/steamcmd
curl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
mkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing
cd /mnt/server/steamcmd
# SteamCMD fails otherwise for some reason, even running as root.
# This is changed at the end of the install process anyways.
chown -R root:root /mnt
export HOME=/mnt/server
## install game using steamcmd
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s "-beta ${SRCDS_BETAID}" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s "-betapassword ${SRCDS_BETAPASS}" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6
## set up 32 bit libraries
mkdir -p /mnt/server/.steam/sdk32
cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so
## set up 64 bit libraries
mkdir -p /mnt/server/.steam/sdk64
cp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so
## add below your custom commands if needed
## fix issues with startup.
if [[ ! -d ".wine/drive_c/users/container/My Documents" ]]; then
mkdir -p "/mnt/server/.wine/drive_c/users/container/My Documents"
fi
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"update_url": "https://eggs.pterodactyl.top/eggs/71/download/egg-mordhau-wine.json",
"version": "PTDL_v2"
},
"exported_at": "2024-06-01T00:04:22+00:00",
"name": "Mordhau Wine",
"author": "parker@parkervcp.com",
"description": "《莫德豪》是一款由斯洛文尼亚独立工作室Triternion开发的多人在线中世纪砍杀类视频游戏,其显著特色在于强调基于技巧的竞技玩法与个性化定制。",
"features": [
"steam_disk_space"
],
"docker_images": {
"registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:wine_latest": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/yolks:wine_latest"
},
"file_denylist": [],
"startup": "xvfb-run --auto-servernum wine MordhauServer.exe {{DEFAULT_MAP}} -log MaxSlots={{MAX_PLAYERS}} -USEALLAVAILABLECORES -Port={{SERVER_PORT}} -QueryPort={{QUERY_PORT}} -Beaconport={{BEACON_PORT}}",
"config": {
"files": "{\r\n \"Mordhau/Saved/Config/WindowsServer/Game.ini\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"AdminPassword\": \"AdminPassword={{server.build.env.ADMIN_PASSWORD}}\",\r\n \"ServerName\": \"ServerName={{server.build.env.SERVER_NAME}}\",\r\n \"ServerPassword\": \"ServerPassword={{server.build.env.GAME_PASSWORD}}\"\r\n }\r\n }\r\n}",
"logs": "{}",
"startup": "{\r\n \"done\": \"Session GameSession successfully created\"\r\n}",
"stop": "^C"
},
"scripts": {
"installation": {
"container": "registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian",
"entrypoint": "bash",
"script": "#!/bin/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: /mnt/server\r\n# Image to install with is 'registry.cn-shanghai.aliyuncs.com/pterodactyl-images/installers:debian'\r\n\r\n##\r\n#\r\n# Variables\r\n# STEAM_USER, STEAM_PASS, STEAM_AUTH - Steam user setup. If a user has 2fa enabled it will most likely fail due to timeout. Leave blank for anon install.\r\n# WINDOWS_INSTALL - if it's a windows server you want to install set to 1\r\n# SRCDS_APPID - steam app id found here - https://developer.valvesoftware.com/wiki/Dedicated_Servers_List\r\n# SRCDS_BETAID - beta branch of a steam app. Leave blank to install normal branch\r\n# SRCDS_BETAPASS - password for a beta branch should one be required during private or closed testing phases.. Leave blank for no password.\r\n# INSTALL_FLAGS - Any additional SteamCMD flags to pass during install.. Keep in mind that steamcmd auto update process in the docker image might overwrite or ignore these when it performs update on server boot.\r\n# AUTO_UPDATE - Adding this variable to the egg allows disabling or enabling automated updates on boot. Boolean value. 0 to disable and 1 to enable.\r\n#\r\n ##\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd /tmp\r\nmkdir -p /mnt/server/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd\r\nmkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd /mnt/server/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root /mnt\r\nexport HOME=/mnt/server\r\n\r\n## install game using steamcmd\r\n./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p /mnt/server/.steam/sdk32\r\ncp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p /mnt/server/.steam/sdk64\r\ncp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n\r\n## fix issues with startup.\r\nif [[ ! -d \".wine/drive_c/users/container/My Documents\" ]]; then\r\n mkdir -p \"/mnt/server/.wine/drive_c/users/container/My Documents\"\r\nfi\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\""
}
},
"variables": [
{
"name": "Steam 服务器应用 ID",
"description": "",
"env_variable": "SRCDS_APPID",
"default_value": "629800",
"user_viewable": false,
"user_editable": false,
"rules": "required|numeric|in:629800",
"field_type": "text"
},
{
"name": "查询端口",
"description": "",
"env_variable": "QUERY_PORT",
"default_value": "27015",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric|max:65535",
"field_type": "text"
},
{
"name": "信标端口",
"description": "Mordhau 信标端口",
"env_variable": "BEACON_PORT",
"default_value": "15000",
"user_viewable": true,
"user_editable": false,
"rules": "required|numeric|max:65535",
"field_type": "text"
},
{
"name": "Windows 安装标志",
"description": "Windows游戏服务器安装所需",
"env_variable": "WINDOWS_INSTALL",
"default_value": "1",
"user_viewable": false,
"user_editable": false,
"rules": "boolean",
"field_type": "text"
},
{
"name": "管理员密码",
"description": "",
"env_variable": "ADMIN_PASSWORD",
"default_value": "aP@55word",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "服务器名称",
"description": "",
"env_variable": "SERVER_NAME",
"default_value": "A Pterodactyl Hosted Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string",
"field_type": "text"
},
{
"name": "游戏密码",
"description": "",
"env_variable": "GAME_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "默认地图",
"description": "",
"env_variable": "DEFAULT_MAP",
"default_value": "/Game/Mordhau/Maps/Contraband/FFA_Contraband",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "最大玩家数",
"description": "服务器的最大玩家数",
"env_variable": "MAX_PLAYERS",
"default_value": "24",
"user_viewable": true,
"user_editable": true,
"rules": "required|numeric|between:1,60",
"field_type": "text"
},
{
"name": "自动更新",
"description": "决定是否让服务器自动更新",
"env_variable": "AUTO_UPDATE",
"default_value": "0",
"user_viewable": true,
"user_editable": true,
"rules": "boolean",
"field_type": "text"
},
{
"name": "安装的额外变量",
"description": "",
"env_variable": "EXTRA_FLAGS",
"default_value": "",
"user_viewable": false,
"user_editable": false,
"rules": "nullable|string",
"field_type": "text"
},
{
"name": "WINDOWS_INSTALL",
"description": "",
"env_variable": "WINDOWS_INSTALL",
"default_value": "1",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|in:1",
"field_type": "text"
},
{
"name": "[系统] WINETRICKS_RUN",
"description": "",
"env_variable": "WINETRICKS_RUN",
"default_value": "vcrun2022",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|max:20",
"field_type": "text"
}
]
}附属文件
暂无附属文件
提交历史
Fork 关系
查看关系图暂无 Fork,成为第一个 Fork 的人吧!