侧边栏壁纸
博主头像
Wood Chen博主等级

独唱独酬,独行独坐还独卧

  • 累计撰写 207 篇文章
  • 累计创建 126 个标签
  • 累计收到 6 条评论

目 录CONTENT

文章目录

幻兽帕鲁PalServer守护进程,管理员命令,VC++运行库分享

wood
2024-01-24 / 0 评论 / 0 点赞 / 91 阅读 / 8181 字

服务器推荐

腾讯云幻兽帕鲁专用服务器优惠:https://curl.qcloud.com/uLCNpnXB

PalServer守护进程(根据内存占用重启)

示意图

文件

群公告文档里

使用方法

  1. 需要有Nodejs环境(下载地址:https://nodejs.org/dist/v20.11.0/node-v20.11.0-x64.msi)

  2. 服务端配置文件,启用RCON,设置密码

  3. 修改index.tx中的配置信息(如果使用我的教程搭建,应该只需要修改密码即可)

  4. 运行npm install,npm run build,npm start

  5. 存档会保存到守护进程目录的/dist/backup中。

处理逻辑

管理员命令

启用:在服务端配置文件里,设置AdminPassword

使用:在游戏内,按Enter键,输入命令

commands 命令

If you want to use there commands. You need to setting AdminPassword and get permission for administration with /AdminPassword command.

如果要使用这里的命令。您需要设置 AdminPassword 并使用 /AdminPassword 命令获取管理权限

提示:SteamID,是通过/ShowPlayers来显示

/Shutdown {Seconds} {MessageText}

The server is shut down after the number of Seconds Will be notified of your MessageText.
服务器在秒数后关闭 将收到您的 MessageText 的通知。

/DoExit

Force stop the server. 强制停止服务器。

/Broadcast {MessageText}

Send message to all player in the server.
向服务器中的所有玩家发送消息。

/KickPlayer {SteamID}

Kick player from the server.
将玩家从服务器上踢出。

/BanPlayer {SteamID}

BAN player from the server.
从服务器禁止播放器。

/TeleportToPlayer {SteamID}

Teleport to current location of target player.
传送到目标玩家的当前位置。

/TeleportToMe {SteamID}

Target player teleport to your current location
目标玩家传送到您当前的位置

/ShowPlayers /ShowPlayers

Show information on all connected players.
显示所有已连接玩家的信息。

/Info

Show server information. 显示服务器信息。

/Save

Save the world data. 保存游戏数据。

About SteamID 关于SteamID

You can copy SteamID if you have administrative permission.

To copy, right-click twice on the player list.

如果您拥有管理权限,则可以复制 SteamID。

要复制,请在播放器列表上单击鼠标右键两次。

How to Unban player. 如何解禁玩家。

At this time, it is not possible to command the unban.

However, can be unbaned by editing the file directly.

The file is located in steamapps/common/PalServer/Pal/Saved/SaveGames/banlist.txt in the Steam game library folder.

Deleting the SteamID of the player you wish to unban from this file.

After editing a file, it takes about 2 minutes for it to be afected.

目前版本,无法通过命令解禁。

但是,可以通过直接编辑文件来解禁。

该文件位于 Steam 游戏库文件夹中的 steamapps/common/PalServer/Pal/Saved/SaveGames/banlist.txt 中。

从此文件中删除要解禁的玩家的 SteamID。

编辑文件后,大约需要 2 分钟才能受到影响。

VC运行库安装程序下载:

https://aka.ms/vs/17/release/vc_redist.x64.exe

官方文档:

https://tech.palworldgame.com/dedicated-server-guide


交流群

点击链接加入QQ频道【幻兽帕鲁PalWorld】:https://pd.qq.com/s/cfoglmfwc

0

评论区