L-rtpzone 插件
一款 Minecraft Spigot 插件,允许管理员创建大规模传送区域,玩家每 45 秒会被传送到世界中的随机位置。
功能特性
- 管理员可将特定区域指定为大规模传送区
- 位于这些区域内的玩家每 45 秒会被集体传送到世界的随机位置
- 玩家在传送时会听到爆炸音效并收到 “SAVAŞ!” 标题提示
- 可配置传送目标世界及坐标范围限制
- 支持多语言(英语和土耳其语)
- 支持 PlaceholderAPI 用于自定义消息内容
- 通过直观的指令轻松管理区域
- 管理员可查看区域的详细信息,包括玩家数量和传送倒计时
- 无需重启服务器即可重载配置文件和语言文件
- 新增: 在 info 命令中点击区域名称即可快速传送至该区域
指令
/mtz create <name> - 创建新的传送区域(需先设置 pos1 和 pos2)
/mtz remove <name> - 移除已有的传送区域
/mtz list - 列出所有活跃的传送区域
/mtz pos1 - 设置区域选择的第一个角点
/mtz pos2 - 设置区域选择的第二个角点
/mtz info - 查看所有区域的详细信息(仅限管理员)
/mtz teleport <zone> - 传送至指定区域(仅限管理员)
/mtz reload - 重载插件配置与语言文件(仅限管理员)
权限
l-rtpzone.admin - 允许使用所有插件指令
占位符
%lrtpzone_zone_count% - 当前活跃传送区域的数量
%lrtpzone_nearest_zone% - 最近的传送区域名称
%lrtpzone_nearest_zone_time% - 最近区域的下次传送剩余时间
%lrtpzone_zone_<name>_players% - 指定区域内的玩家数量
%lrtpzone_zone_<name>_countdown% - 指定区域的下次传送剩余时间
安装步骤
- 下载最新版本
- 将
.jar 文件放入服务器的 plugins 文件夹
- 重启服务器
- 若需使用占位符,请确保已安装 PlaceholderAPI
配置文件
插件首次运行时会在 plugins/L-rtpzone/ 目录下生成 config.yml 文件,包含以下选项:
# 传送间隔(秒)
teleport-interval: 45
# 传送目标世界及坐标范围限制
# 玩家将被传送至此世界内的指定坐标范围内
teleport-world:
# 传送目标世界名称(留空则使用与区域相同的所在世界)
world-name: ""
# 坐标范围限制
min-x: -1000
max-x: 1000
min-z: -1000
max-z: 1000
# 语言设置
# 可用语言:en(英语)、tr(土耳其语)
language: en
# 权限设置
permissions:
admin: "l-rtpzone.admin"
语言支持
本插件支持多种语言。你可以通过修改 config.yml 中的 language 设置来切换语言:
语言文件位于 lang 文件夹中,可根据需要进行自定义。
重载配置
若要在不重启服务器的情况下重载插件配置和语言文件,请使用以下指令:
/mtz reload
此指令需要 l-rtpzone.admin 权限。
新功能:可点击的区域名称
在 /mtz info 命令的输出中,区域名称现已支持点击。点击某个区域名称后,系统将自动把你传送至该区域的中心点。这大大方便了管理员在不同区域之间进行导航。
技术支持
discord: squezsaz
L-rtpzone Plugin
A Minecraft Spigot plugin that allows administrators to create mass teleportation zones where players are teleported to random locations in the world every 45 seconds.
Features
- Admins can designate specific areas as mass teleportation zones
- Players within these zones are teleported together to random world locations every 45 seconds
- Players receive an explosion sound effect and "SAVAŞ!" title when teleported
- Configurable teleportation world and coordinate limits
- Multi-language support (English and Turkish)
- PlaceholderAPI support for customizing messages
- Easy zone management with intuitive commands
- Admins can view detailed zone information including player counts and teleport timers
- Configuration and language files can be reloaded without restarting the server
- NEW: Clickable zone names in info command for easy admin teleportation
Commands
/mtz create <name> - Create a new teleport zone (requires pos1 and pos2 to be set first)
/mtz remove <name> - Remove an existing teleport zone
/mtz list - List all active teleport zones
/mtz pos1 - Set the first corner of a zone selection
/mtz pos2 - Set the second corner of a zone selection
/mtz info - View detailed information about all zones (Admin only)
/mtz teleport <zone> - Teleport to a zone (Admin only)
/mtz reload - Reload plugin configuration and language files (Admin only)
Permissions
l-rtpzone.admin - Allows access to all plugin commands
Placeholders
%lrtpzone_zone_count% - Number of active teleport zones
%lrtpzone_nearest_zone% - Name of the nearest teleport zone
%lrtpzone_nearest_zone_time% - Time until next teleport in the nearest zone
%lrtpzone_zone_<name>_players% - Number of players in a specific zone
%lrtpzone_zone_<name>_countdown% - Time until next teleport in a specific zone
Installation
- Download the latest release
- Place the
.jar file in your server's plugins folder
- Restart the server
- Ensure PlaceholderAPI is installed if you want to use placeholders
Configuration
The plugin creates a config.yml file on first run with the following options:
# Teleport interval in seconds
teleport-interval: 45
# Teleportation world and coordinate limits
# Players will be teleported to this world within the specified coordinate bounds
teleport-world:
# Name of the world to teleport players to (leave empty to use the same world as the zone)
world-name: ""
# Coordinate limits for teleportation
min-x: -1000
max-x: 1000
min-z: -1000
max-z: 1000
# Language settings
# Available languages: en (English), tr (Turkish)
language: en
# Permission settings
permissions:
admin: "l-rtpzone.admin"
Language Support
The plugin supports multiple languages. You can change the language by modifying the language setting in the config.yml file:
en - English (default)
tr - Turkish
Language files are located in the lang folder and can be customized as needed.
Reloading Configuration
To reload the plugin configuration and language files without restarting the server, use the command:
/mtz reload
This command requires the l-rtpzone.admin permission.
New Feature: Clickable Zone Names
In the /mtz info command output, zone names are now clickable. When you click on a zone name, it will automatically teleport you to that zone's center. This makes it much easier for admins to navigate between zones.
Support
discord: squezsaz
评论 0
登录后参与评分
还没有评论,来抢沙发吧