关于模组
本模组允许服务器管理员创建赛道并组织玩家赛车竞赛。
使用方法
设置赛道
- 创建赛道:
/racetrack create <racetrack_name>
- 进入编辑模式:
/racepoint edit <racetrack_name>
- 设置起点:
/racepoint add start <coordinate_1> <coordinate_2>
- 设置终点:
/racepoint add end <coordinate_1> <coordinate_2>
- 添加检查点(可选但推荐):
/racepoint add checkpoint <coordinate_1> <coordinate_2>
- 初始化比赛:
/race init <racetrack_name>
- 开始比赛:
/race run <racetrack_name>
- 结束比赛:
/race stop <racetrack_name>
玩家参与
- 报名参赛:
/race join <racetrack_name>
- 等待管理员开始比赛。
- 按照赛道路线完成比赛。
- 查看排行榜:
/racetrack rankinglist <racetrack_name>
命令指南
管理员命令
-
/racetrack create <racetrack_name>
创建一个新的赛道。
-
/racetrack remove <racetrack_name>
删除指定的赛道。
-
/racetrack description <racetrack_name> <description>
为指定赛道设置描述。如果描述中包含中文字符,请将整段文本用双引号括起来。
-
/racetrack clearRankingList <racetrack_name>
清除排行榜。
-
/racetrack laps <racetrack_name> <laps>
设置指定赛道的圈数(默认为 1)。
-
/racepoint edit <racetrack_name>
切换到指定赛道的编辑模式。编辑赛道前必须先选中该赛道。
-
/racepoint add <point_type> <start_coordinate> <end_coordinate>
设置指定类型区域的范围。
-
/racepoint add checkpoint <start_coordinate> <end_coordinate> <index>
在指定索引位置插入检查点。使用索引 0 表示在开头插入,任何负数表示在末尾插入。
-
/race init <racetrack_name>
为指定赛道初始化比赛。所有比赛在开始前必须经过初始化。
-
/race run <racetrack_name>
开始指定赛道的比赛。
-
/race stop <racetrack_name>
停止指定赛道的比赛并保存结果。请在比赛结束后使用此命令。重新比赛需要重新初始化。
-
/race save <racetrack_name> [show_ranking_on_stop]
手动将比赛结果保存到排行榜。
-
/race join <racetrack_name> [player_name]
将指定玩家注册到指定赛道的比赛中。
-
/race leave <racetrack_name> [player_name]
将指定玩家从指定赛道的比赛中移除。
玩家命令
-
/racetrack list
显示服务器上所有可用的赛道。
-
/racetrack info <racetrack_name> [point_type]
显示指定赛道的详细信息。
-
/racetrack rankinglist <racetrack_name> [page]
显示指定页面(默认为第 0 页)上指定赛道的排名信息。
-
/race check <racetrack_name>
检查赛道上所有参与者的信息。
-
/race join <racetrack_name>
报名参加指定赛道的比赛。
-
/race leave <racetrack_name>
退出指定赛道的比赛。
调试命令
/speeduuuuuuup debug show_all <true/false>
启用/禁用显示所有点的范围。
注意事项
- 在设置赛道时,请确保起点和终点配置正确。如果起点和终点位于同一区域,则必须至少设置一个检查点。
- 玩家必须在比赛开始前报名参赛。
- 使用命令结束比赛后,比赛结果会自动保存到排行榜。
- 请勿在不同维度之间为同一赛道设置点位。
About the Mod
This mod allows server administrators to create racetracks and organize racing competitions for players.
How to Use
Setting Up a Racetrack
- Create a racetrack:
/racetrack create <racetrack_name>
- Enter edit mode:
/racepoint edit <racetrack_name>
- Set the starting point:
/racepoint add start <coordinate_1> <coordinate_2>
- Set the endpoint:
/racepoint add end <coordinate_1> <coordinate_2>
- Add checkpoints (optional but recommended):
/racepoint add checkpoint <coordinate_1> <coordinate_2>
- Initialize the race:
/race init <racetrack_name>
- Start the race:
/race run <racetrack_name>
- End the race:
/race stop <racetrack_name>
Player Participation
- Register for the race:
/race join <racetrack_name>
- Wait for the administrator to start the race.
- Complete the race by following the racetrack route.
- View the leaderboard:
/racetrack rankinglist <racetrack_name>
Command Guide
Administrator Commands
-
/racetrack create <racetrack_name>
Create a new racetrack.
-
/racetrack remove <racetrack_name>
Delete the specified racetrack.
-
/racetrack description <racetrack_name> <description>
Set the description for the specified racetrack. If the description contains Chinese characters, enclose the entire text in double quotation marks.
-
/racetrack clearRankingList <racetrack_name>
Clear the ranking list.
-
/racetrack laps <racetrack_name> <laps>
Set the number of laps for the specified racetrack (default is 1).
-
/racepoint edit <racetrack_name>
Switch to edit mode for the specified racetrack. Editing a racetrack requires selecting it first.
-
/racepoint add <point_type> <start_coordinate> <end_coordinate>
Set the area for the specified point type.
-
/racepoint add checkpoint <start_coordinate> <end_coordinate> <index>
Insert a checkpoint at the specified index. Use index 0 for inserting at the beginning and any negative number for inserting at the end.
-
/race init <racetrack_name>
Initialize the race for the specified racetrack. All races must be initialized before starting.
-
/race run <racetrack_name>
Start the race for the specified racetrack.
-
/race stop <racetrack_name>
Stop the race for the specified racetrack and save the results. Use this command after the race ends. Restarting the race requires reinitialization.
-
/race save <racetrack_name> [show_ranking_on_stop]
Manually save race results to the leaderboard.
-
/race join <racetrack_name> [player_name]
Register the specified player for the race on the specified racetrack.
-
/race leave <racetrack_name> [player_name]
Remove the specified player from the race on the specified racetrack.
Player Commands
-
/racetrack list
Display all available racetracks on the server.
-
/racetrack info <racetrack_name> [point_type]
Display detailed information about the specified racetrack.
-
/racetrack rankinglist <racetrack_name> [page]
Displays the ranking information for the specified track on the specified page (defaults to 0).
-
/race check <racetrack_name>
Check the information of all participants on the track.
-
/race join <racetrack_name>
Register for the race on the specified racetrack.
-
/race leave <racetrack_name>
Leave the race on the specified racetrack.
Debug Commands
/speeduuuuuuup debug show_all <true/false>
Enable/disable displaying the range of all points.
Notes
- Ensure the starting and ending points are correctly configured when setting up a racetrack. If the starting and ending points are in the same area, you must have at least one checkpoint.
- Players must register for the race before it starts.
- Race results are automatically saved to the leaderboard after using the command to end the race.
- Do not set points for the same racetrack across different dimensions.
评论 0
登录后参与评分
还没有评论,来抢沙发吧