描述:
本插件最初为名为 "Vintage" 的服务器设计,现作为独立插件提供。它允许拥有权限的玩家创建一个特定的世界中心出生点。当玩家离开可配置的出生点保护区域时,将失去出生点保护。在保护期间,玩家将免疫所有来自生物和玩家的伤害;玩家只有通过走出边界或攻击没有出生点保护标签的其他玩家才能失去该保护。在出生点保护区域内,你还无法建造或放置方块。
Clans 是一个与 CenterSpawn 软依赖的模组,当传送到仅包含氏族成员的出生点时,10 秒的传送延迟将被移除。
命令与界面:
/spawn,start - 如果玩家在没有 'spawn.*' 权限的情况下输入此命令,他们将被传送至出生点。否则显示帮助菜单。
/spawn,start goto - 默认 /spawn - 拥有 'spawn.*' 权限的玩家使用的传送命令
/spawn,start check <player> - 检查指定玩家的出生点保护状态
/spawn,start set|create - 如果位于世界坐标 0 处且拥有相应权限,将设置/重新配置出生点。
/spawn,start del|delete - 如果位于世界坐标 0 处且拥有相应权限,将移除已设置的出生点。
/spawn,start prefix <set> <prefix> - 若拥有权限,将设置插件消息的前缀
/spawn,start warn <set> <East> <West> <South> <North> - 若拥有权限,将更新要显示的边界警告消息距离。
/spawn,start border <set> <East> <West> <South> <North> - 如果获得权限,将更新要显示的边界消息距离。
/spawn,start re - 如果获得权限,将重新加载所有插件配置文件。
配置示例:
在游戏中设置服务器的出生点后,配置文件中会出现一个名为 'cords' 的新目录。
权限:
spawn.* - 授予生成帮助菜单/工作人员访问的权限。
API:
isProtected(player)
- 布尔值:检查玩家是否拥有出生点保护。适用于记分板等场景。
待办事项:
- 为聊天提示添加可配置的声音
- 添加在游戏中配置世界边界(worldborder)的命令。
- 调整世界边界传送事件
DESCRIPTION:
Designed for a server called "Vintage" and now brought to you as a stand-alone plugin, this allows players with permission to create a world center specific spawn point, that of which when a player leaves the configurable spawn border they lose spawn protection, during the period of protection a player is invulnerable to all mob and player damage and the only way for the player to lose that protection is by walking past the border or attacking a player without the spawn protection tag. While within spawn border you are also unable to build or place blocks.
Clans is a soft dependent with CenterSpawn, upon teleporting to spawn around only clan member(s) the 10 second warp delay will become absent.
COMMANDS & INTERFACE:
/spawn,start - If a player enter's this command without permission 'spawn.*' they will teleport to spawn. Otherwise showing the help menu.
/spawn,start goto - default /spawn - teleport command for players with permission 'spawn.*'
/spawn,start check <player> - Checking a targeted player for spawn protection
/spawn,start set|create - If centered at 0 in the world and permission granted will set/reconfigure spawn point.
/spawn,start del|delete - If centered at 0 in the world and permission granted will remove set spawn point.
/spawn,start prefix <set> <prefix> - If permission granted will set prefix for plugin messages
/spawn,start warn <set> <East> <West> <South> <North> - If permission granted will update the border warning message distance to be displayed.
/spawn,start border <set> <East> <West> <South> <North> - If permission granted will update the border message distance to be displayed.
/spawn,start re - If permission granted will reload all plugin configuration files.
CONFIGURATION EXAMPLE:
Once you set your server's spawn point in game, a new directory called 'cords' will appear in configuration.
PERMISSION:
spawn.* - Grants permission to spawn help menu/staff access.
API:
isProtected(player)
- Boolean: Checks if a player has spawn protection. Useful for scoreboards etc.
TO-DO:
- Add configurable sounds for chat prompts
- Add command to configure worldborder in-game.
- Implement worldborder teleport event adjustments
评论 0
登录后参与评分
还没有评论,来抢沙发吧