VS: Ship Handler 是用于 Valkyrien Skies 的性能优化模组。
你是否曾遇到过有人创建了数以百万计的飞船,导致服务器频繁崩溃的情况?
别担心,Ship Handler 来拯救你!
如果玩家想让他们的飞船保留在服务器上,他们必须将飞船注册到其名下。
管理员可以运行 "handler" 命令来删除服务器上所有未注册的飞船。
使用方法:
玩家可以通过以下命令注册和取消注册他们的飞船:
ship-handler ship register <ship>
以及
ship-handler ship unregister <ship>
你可以使用以下命令列出当前已注册的船只:
ship-handler list list
你可以查看自己创建的船只:
ship-handler list created-ships
你可以使用以下命令查看当前的自动注册状态:
ship-handler ship autoRegister
通过在命令末尾添加 true 或 false 来开启或关闭它,例如:
ship-handler ship autoRegister <true|false>
<服务器管理员区域>
处理船只时,请运行以下命令:
ship-handler handler run
若要按 ID 删除船只,请使用:
ship-handler handler deleteShip <ShipID>
要查看所有当前已注册的船只及其所属玩家,请使用:
ship-handler list all-registered-ships
要查看所有当前创建的船只及其创建者,请使用:
ship-handler list all-created-ships
要从其他玩家处移除已注册的船只(无论你是否知道该玩家的名称),请使用:
ship-handler ship remove <ship>
要将船只注册到你的名下(无论之前的所有者是谁),请使用:
ship-handler ship add <ship> [player]
如需更改各项配置设置,请前往服务器配置文件,路径如下:
<world>
└serverconfig
└shiphandler.toml
你可以修改的设置包括:
-
自动注册船只:新玩家的默认 AutoRegister 值(默认为 true)
-
无限 OP 船只:如果将玩家设置为操作员(operator),则允许其拥有无限数量的船只(默认设为 true)
-
最大船只数量:每个玩家可注册的船只上限,设置为 -1 表示无限船只。此设置会被「无限 OP 船只」(Infinite OP Ships)覆盖(默认设为 -1)
-
自动注册查找距离:AutoRegister 在查找玩家时的最大搜索距离(默认设为 150)
欢迎提出改进建议!
你可以自由地在整合包中使用本模组,只需注明原作者即可 :D
VS: Ship Handler is a performance mod for Valkyrien Skies.
Have you ever had people creating millions of ships, making the server a crashaholic?
Well fear no more, ship handler is here to save the day!
Players will have to register their ships to their name if they want them to stay on the server.
Admins can run the "handler" command to delete all unregistered ships from the server.
How To Use:
Players can register, and unregister their ships with the commands:
ship-handler ship register <ship>
and
ship-handler ship unregister <ship>
You can list the ships that you currently have registered with:
ship-handler list list
You can view the ships that you have created with:
ship-handler list created-ships
You can view your current AutoRegister status with:
ship-handler ship autoRegister
You can turn it on or off by adding true or false to the end of the command like so:
ship-handler ship autoRegister <true|false>
<Server Owner Area>
To handle the ships, run the command:
ship-handler handler run
To delete a ship by it's ID use:
ship-handler handler deleteShip <ShipID>
To see all the currently registered ships, and to which player it is registered, use:
ship-handler list all-registered-ships
To see all the currently created ships, and which player created it, use:
ship-handler list all-created-ships
To remove a registered ship from another player (regardless of if you know the player's name or not) use:
ship-handler ship remove <ship>
To register a ship to your name (regardless of previous ownership) use:
ship-handler ship add <ship> [player]
To change the various config settings go to the Server config file at:
<world>
└serverconfig
└shiphandler.toml
The settings that you can change:
-
Auto Register Ships: Default AutoRegister Value for new players (Set to true by default)
-
Infinite OP Ships: If players that have been set as operator get to have infinite ships (Set to true by default)
-
Max Ships: The maximum allowed ships that a player can register to their name, set to -1 for infinite ships. This is overridden by "Infinite OP Ships" (Default set to -1)
-
Max Ship Find Distance: The maximum distance that AutoRegister will look in to find a player. (Set to 150 by default)
Feel free to give suggestions for improvements!
You are free to use this in modpacks, just credit me please :D
评论 0
登录后参与评分
还没有评论,来抢沙发吧