WorldWarps
WorldWarps 是一款 Minecraft 模组,旨在管理游戏中的传送点(warp points),允许玩家创建、删除并传送到各个地点。该模组对于需要让玩家在不同区域间快速导航的服务器尤其有用。
安装
- 确保已安装 Forge。
- 下载 WorldWarps 最新版本。
- 将下载的
.jar 文件放入 mods 文件夹中。
- 启动你的服务器或游戏。
命令
在聊天栏中输入 /warp 以查看所有可用命令。
WorldWarps 提供的主要命令是 /warp,它包含多个子命令:
/warp <name>: 将玩家传送到指定的传送点。
/warp list: 列出所有可用的传送点。
/warp list public: 列出所有公共传送点。
/warp list personal: 列出所有个人传送点。
/warp info <name>: 显示指定传送点的信息。
/warpmgr 命令用于管理传送点:
/warpmgr create <name>: 在当前玩家位置创建一个新的传送点。
/warpmgr create <name> <x> <y> <z> <yaw> <pitch> <world>: 在指定坐标处创建一个新的传送点。
/warpmgr create <name> <owner> <x> <y> <z> <yaw> <pitch> <world>: 使用指定的所有者和坐标创建一个新的传送点。
/warpmgr remove <name>: 删除指定的传送点。
/warpmgr list: 列出所有传送点。
/warpmgr list public: 列出所有公共传送点。
/warpmgr list personal: 列出所有个人传送点。
/warpmgr list all: 列出所有传送点。
/warpmgr visibility <name>: 切换指定传送点的可见性。
/warpmgr update <name> <x> <y> <z> <yaw> <pitch>: 使用新坐标更新指定的传送点。
配置
WorldWarps 有一个配置文件,位于 world/serverconfig/worldwarps-server.toml。以下是可用的配置选项:
warpLimit: 玩家最多可以拥有的传送点数量。(开发中)
canWarpPermissionLevel: 进行传送所需的权限等级。
canChangeTypePermissionLevel: 更改传送点类型所需的权限等级。
canCreateWarpPermissionLevel: 创建传送点所需的权限等级。
warpAdminPermissionLevel: 成为传送点管理员所需的权限等级。
权限
WorldWarps 集成了权限系统,允许你为每个命令设置权限。以下是相关权限:
worldwarps.can_warp: 允许玩家使用 /warp 命令。
worldwarps.can_create_warp: 允许玩家使用 /warpmgr create 命令。
worldwarps.can_change_type: 允许玩家使用 /warpmgr visibility 命令。
worldwarps.warp_admin: 允许玩家使用管理员级别的传送点命令。
许可证
WorldWarps 采用 MIT 许可证授权。有关更多详细信息,请参阅 LICENSE 文件。
WorldWarps
WorldWarps is a Minecraft mod designed to manage warp points in the game, allowing players to create, remove, and teleport to various locations. This mod is especially useful for servers where players need to quickly navigate between different areas.
Installation
- Ensure you have Forge installed.
- Download the latest version of WorldWarps.
- Place the downloaded .jar file into your
mods folder.
- Start your server or game.
Commands
Write /warp in chat to see all available commands.
The main command provided by WorldWarps is /warp, which has several subcommands:
/warp <name>: Teleports the player to the specified warp.
/warp list: Lists all available warps.
/warp list public: Lists all public warps.
/warp list personal: Lists all personal warps.
/warp info <name>: Displays information about the specified warp.
The /warpmgr command is used for managing warps:
/warpmgr create <name>: Creates a new warp at the player's current location.
/warpmgr create <name> <x> <y> <z> <yaw> <pitch> <world>: Creates a new warp at the specified coordinates.
/warpmgr create <name> <owner> <x> <y> <z> <yaw> <pitch> <world>: Creates a new warp with the specified owner and coordinates.
/warpmgr remove <name>: Removes the specified warp.
/warpmgr list: Lists all warps.
/warpmgr list public: Lists all public warps.
/warpmgr list personal: Lists all personal warps.
/warpmgr list all: Lists all warps.
/warpmgr visibility <name>: Toggles the visibility of the specified warp.
/warpmgr update <name> <x> <y> <z> <yaw> <pitch>: Updates the specified warp with new coordinates.
Configuration
WorldWarps has a configuration file located at world/serverconfig/worldwarps-server.toml. Here are the available configuration options:
warpLimit: The maximum number of warps a player can have. (WIP)
canWarpPermissionLevel: The permission level required to warp.
canChangeTypePermissionLevel: The permission level required to change warp type.
canCreateWarpPermissionLevel: The permission level required to create a warp.
warpAdminPermissionLevel: The permission level required to be a warp admin.
Permissions
WorldWarps has a permissions integration, which allows you to set permissions for each command. Here are the permissions:
worldwarps.can_warp: Allows the player to use the /warp command.
worldwarps.can_create_warp: Allows the player to use the /warpmgr create command.
worldwarps.can_change_type: Allows the player to use the /warpmgr visibility command.
worldwarps.warp_admin: Allows the player to use admin-level warp commands.
License
WorldWarps is licensed under the MIT License. See the LICENSE file for more details.
评论 0
登录后参与评分
还没有评论,来抢沙发吧