pWarps - 现代传送插件 作者: pidemann 目标版本: Bukkit / Spigot / Paper 1.21.4
============================================================
该插件的功能是什么?
pWarps 是一款简单、快速且易于使用的传送插件,专为 Minecraft 服务器准备。 它允许玩家或授权人员创建特定位置的传送点,传送到这些位置,查看传送列表,并在必要时删除传送点。
该插件可用于生存、阵营、盒子PVP、空岛、城镇、SMP 和大厅风格的服务器。 例如:
- /setwarp spawn 创建一个出生点。
- /warp spawn 让玩家前往出生点。
- /warps 打开玩家可用的传送列表。
- /delwarp spawn 让授权人员删除一个传送点。
该插件已回归单语言系统。消息在 messages.yml 文件中编辑,默认消息语言为英文。
============================================================
主要功能
- 现代且多彩的消息系统
- 通过 messages.yml 编辑消息
- 通过 config.yml 配置延迟、冷却、限制和效果系统
- warps.yml 中安全记录传送点
- /pwarp 主命令
- 实用命令:/warp, /warps, /setwarp, /delwarp
- 分页显示传送列表
- 如果玩家移动则取消传送
- 传送延迟
- 传送冷却系统
- 支持声音和粒子效果
- 完全兼容 LuckPerms 权限系统
- PlaceholderAPI 支持
- 轻量级、简单的结构,不使用数据库
============================================================
文件结构
当插件首次启动时,它会创建以下文件:
plugins/pwarps/config.yml plugins/pwarps/messages.yml plugins/pwarps/warps.yml
config.yml: 此处保留插件的一般设置。可以在此处调整传送延迟、冷却、移动取消、每个玩家的传送点限制、列表每页大小、声音和粒子效果。
messages.yml: 所有消息都保存在这里。你可以保留英文消息,也可以根据你的语言进行编辑。支持颜色代码和十六进制颜色。
warps.yml: 创建的传送点记录在这里。每个传送点的拥有者、世界、坐标、偏航角/俯仰角值和创建时间都会保存。 虽然可以手动编辑此文件,但在服务器离线时编辑会更安全。
============================================================
命令
/pwarp 显示主帮助菜单。
/pwarp help 显示帮助菜单。
/pwarp list 显示传送列表。
/pwarp go 传送到指定的传送点。
/pwarp set 在当前所在位置创建传送点。
/pwarp delete 删除指定的传送点。
/pwarp info 显示关于传送点的信息。
/pwarp permissions 显示插件的权限列表。
/pwarp placeholders 显示 PlaceholderAPI 占位符列表。
/pwarp reload 重新加载 config.yml、messages.yml 和 warps.yml 文件。
/warp 传送到指定的传送点。
/warps [page] 显示传送列表。
/setwarp 在当前所在位置创建新的传送点。
/delwarp 删除指定的传送点。
============================================================
LuckPerms 与权限系统
pWarps 直接兼容 LuckPerms。无需单独的 LuckPerms API。 该插件使用 Bukkit 权限系统,因此所有权限都可以通过 LuckPerms 轻松授予。
基本权限:
pwarps.use 插件的基本使用权限。
pwarps.list 允许玩家查看传送列表。
pwarps.warp 允许玩家传送到传送点。
pwarps.set 允许玩家创建传送点。
pwarps.delete.own 允许玩家删除自己的传送点。
pwarps.delete.any 允许玩家删除任何传送点。
pwarps.info 允许使用传送点信息命令。
pwarps.admin.reload 允许使用 /pwarp reload 命令。
pwarps.admin 包含所有管理权限。
特殊传送点查看和使用权限:
pwarps.view. 允许玩家在列表中看到特定的传送点。 示例:pwarps.view.spawn
pwarps.teleport. 允许玩家传送到特定的传送点。 示例:pwarps.teleport.spawn
通用特殊权限:
pwarps.view.* 授予查看列表中所有传送点的权限。
pwarps.teleport.* 授予传送到所有传送点的权限。
限制权限:
pwarps.limit. 设置玩家可以创建的最大传送点数量。 示例:pwarps.limit.10
pwarps.limit.unlimited 授予玩家无限创建传送点的权利。
绕过权限:
pwarps.bypass.cooldown 绕过传送冷却期。
pwarps.bypass.delay 绕过传送延迟。
pwarps.bypass.limit 绕过传送点创建限制。
LuckPerms 示例:
/lp group default permission set pwarps.warp true /lp group default permission set pwarps.list true /lp group vip permission set pwarps.limit.10 true /lp group admin permission set pwarps.admin true
============================================================
PlaceholderAPI 支持
如果服务器上存在 PlaceholderAPI,pWarps 会自动注册其自身的占位符。 这些占位符可以用于记分板、标签页列表、全息图、菜单等系统中。
占位符:
%pwarps_total% 显示服务器上的传送点总数。
%pwarps_list% 根据 config.yml 中的分隔符列出传送点名称。
%pwarps_owned% 显示玩家拥有的传送点数量。
%pwarps_limit% 显示玩家的传送点限制。
%pwarps_visible% 显示玩家可见的传送点数量。
%pwarps_first% 按字母顺序显示第一个传送点名称。
%pwarps_exists_spawn% 返回名为 "spawn" 的传送点是否存在的信息。 可以将 "spawn" 替换为其他传送点名称。
%pwarps_owner_spawn% 显示名为 "spawn" 的传送点的拥有者。
%pwarps_world_spawn% 显示名为 "spawn" 的传送点所在的世界。
%pwarps_coords_spawn% 显示名为 "spawn" 的传送点的坐标。
============================================================
性能与轻量
pWarps 设计为轻量运行。
- 不使用数据库。
- 将传送点保存在简单的 YAML 文件中。
- 不持续运行繁重的循环。
- 传送操作仅在命令被使用时执行。
- 列表操作仅在 /warps 或相关命令被使用时进行。
- PlaceholderAPI 数据从简单内存数据中读取。
- 不包含会占用服务器刻(ticks)的复杂流程。
因此,它可以轻松用于小型、中型和大型服务器。 即使在拥有大量传送点的服务器上,由于列表是分页显示的,也不会一次性向玩家发送无限行的内容。
============================================================
设置
config.yml 中高亮显示的设置:
settings.teleport-delay-seconds 确定传送前等待的秒数。
settings.teleport-cooldown-seconds 确定玩家再次传送前必须等待的秒数。
settings.cancel-teleport-on-move 确定玩家移动时是否取消传送。
settings.max-warps-per-player 确定每个玩家的默认传送点上限。
settings.list-page-size 确定 /warps 列表中每页显示的传送点数量。
effects.enabled 确定传送后的效果是否启用。
effects.sound 确定传送后播放的声音。
effects.particle 确定传送后显示的粒子效果。
permissions.per-warp-view 激活基于传送点的查看权限。
permissions.per-warp-teleport 激活基于传送点的传送权限。
============================================================
安装
- 将 pwarps-1.0.0.jar 文件放入 plugins 文件夹。
- 完全重启服务器。
- 在创建 plugins/pwarps 文件夹后,编辑 config.yml 和 messages.yml 文件。
- 通过 LuckPerms 授予权限。
- 使用 /pwarp reload 命令刷新设置。
建议: 不要将旧的 pwarps jar 文件留在 plugins 文件夹中。如果存在多个相同插件的 jar 文件,服务器可能会加载错误的文件。
============================================================
简短摘要
pWarps 是一个简单、现代、注重性能的传送插件,支持 LuckPerms 和 PlaceholderAPI。 它为服务器管理员提供易于配置的体验,为玩家提供快速且易懂的传送体验。
如有错误和问题,请联系 Discord: PideMann
pWarps - Modern Warp Plugin Producer: pidemann Target version: Bukkit / Spigot / Paper 1.21.4
============================================================
WHAT DOES THE PLUGIN DO?
pWarps is a simple, fast, and easy-to-use warp plugin prepared for Minecraft servers. It allows players or authorized personnel to create warp points at specific locations, teleport to these points, view the warp list, and delete warps when necessary.
The plugin can be used on survival, faction, boxpvp, skyblock, towny, smp, and lobby-style servers. For example:
- /setwarp spawn to create a spawn point.
- /warp spawn for players to go to the spawn point.
- /warps to open the warp list available to the player.
- /delwarp spawn for authorized personnel to delete a warp.
The plugin has returned to a single-language system. Messages are edited in the messages.yml file, and the default message language is English.
============================================================
KEY FEATURES
- Modern and colorful message system
- Editable messages via messages.yml
- Configurable delay, cooldown, limit, and effect system via config.yml
- Secure warp recording in warps.yml
- /pwarp main command
- Practical commands: /warp, /warps, /setwarp, /delwarp
- Paged warp listing
- Teleport cancellation if the player moves
- Teleport delay
- Teleport cooldown system
- Sound and particle effect support
- Fully compatible with LuckPerms authorization system
- PlaceholderAPI support
- Lightweight, simple structure that does not use a database
============================================================
FILE STRUCTURE
When the plugin is first started, it creates the following files:
plugins/pwarps/config.yml plugins/pwarps/messages.yml plugins/pwarps/warps.yml
config.yml: General settings for the plugin are kept here. Teleport delay, cooldown, cancellation on movement, warp limit per player, list page size, sound, and particle effects can be adjusted from here.
messages.yml: All messages are kept here. You can leave the messages in English or edit them according to your language. Color codes and hex colors are supported.
warps.yml: Created warps are recorded here. The owner, world, coordinates, yaw/pitch value, and creation time of each warp are saved. It is possible to edit this file manually, but it is safer to edit it while the server is offline.
============================================================
COMMANDS
/pwarp Shows the main help menu.
/pwarp help Shows the help menu.
/pwarp list Shows the warp list.
/pwarp go Teleports to the specified warp.
/pwarp set Creates a warp at the current location.
/pwarp delete Deletes the specified warp.
/pwarp info Shows information about the warp.
/pwarp permissions Shows the permission list of the plugin.
/pwarp placeholders Shows the PlaceholderAPI placeholder list.
/pwarp reload Reloads config.yml, messages.yml, and warps.yml files.
/warp Teleports to the specified warp.
/warps [page] Shows the warp list.
/setwarp Creates a new warp at the current location.
/delwarp Deletes the specified warp.
============================================================
LUCKPERMS AND PERMISSION SYSTEM
pWarps is directly compatible with LuckPerms. No separate LuckPerms API is required. The plugin uses the Bukkit permission system, so all permissions can be easily granted via LuckPerms.
Basic permissions:
pwarps.use Basic usage permission for the plugin.
pwarps.list Allows the player to view the warp list.
pwarps.warp Allows the player to teleport to warps.
pwarps.set Allows the player to create a warp.
pwarps.delete.own Allows the player to delete their own warp.
pwarps.delete.any Allows the player to delete any warp.
pwarps.info Allows usage of the warp info command.
pwarps.admin.reload Allows usage of the /pwarp reload command.
pwarps.admin Includes all administrative permissions.
Special warp viewing and usage permissions:
pwarps.view. Allows the player to see a specific warp in the list. Example: pwarps.view.spawn
pwarps.teleport. Allows the player to teleport to a specific warp. Example: pwarps.teleport.spawn
General special permissions:
pwarps.view.* Grants permission to view all warps in the list.
pwarps.teleport.* Grants permission to teleport to all warps.
Limit permissions:
pwarps.limit. Sets the maximum number of warps a player can create. Example: pwarps.limit.10
pwarps.limit.unlimited Grants the player unlimited warp creation rights.
Bypass permissions:
pwarps.bypass.cooldown Bypasses the teleport cooldown period.
pwarps.bypass.delay Bypasses the teleport delay.
pwarps.bypass.limit Bypasses the warp creation limit.
LuckPerms examples:
/lp group default permission set pwarps.warp true /lp group default permission set pwarps.list true /lp group vip permission set pwarps.limit.10 true /lp group admin permission set pwarps.admin true
============================================================
PLACEHOLDERAPI SUPPORT
If PlaceholderAPI is present on the server, pWarps automatically registers its own placeholders. These placeholders can be used in scoreboards, tablists, holograms, menus, and similar systems.
Placeholders:
%pwarps_total% Shows the total number of warps on the server.
%pwarps_list% Lists warp names according to the separator in config.yml.
%pwarps_owned% Shows the number of warps owned by the player.
%pwarps_limit% Shows the player's warp limit.
%pwarps_visible% Shows the number of warps the player can see.
%pwarps_first% Shows the first warp name alphabetically.
%pwarps_exists_spawn% Returns information on whether a warp named "spawn" exists. A different warp name can be written instead of spawn.
%pwarps_owner_spawn% Shows the owner of the warp named "spawn".
%pwarps_world_spawn% Shows the world where the warp named "spawn" is located.
%pwarps_coords_spawn% Shows the coordinates of the warp named "spawn".
============================================================
PERFORMANCE AND LIGHTWEIGHTNESS
pWarps is designed to run lightly.
- Does not use a database.
- Keeps warps in a simple YAML file.
- Does not use heavy loops that run continuously.
- Teleport operations only run when the command is used.
- Listing operations are only performed when /warps or related commands are used.
- PlaceholderAPI data is read from simple memory data.
- Does not contain complex processes that will strain server ticks.
Therefore, it can be easily used on small, medium, and large servers. Even on servers with many warps, it does not send unlimited lines to the player at once because the list is paged.
============================================================
SETTINGS
Highlighted settings in config.yml:
settings.teleport-delay-seconds Determines how many seconds to wait before teleporting.
settings.teleport-cooldown-seconds Determines how many seconds the player must wait to teleport again.
settings.cancel-teleport-on-move Determines whether the teleport will be canceled if the player moves.
settings.max-warps-per-player Determines the default warp limit per player.
settings.list-page-size Determines the number of warps per page in the /warps list.
effects.enabled Determines whether effects after teleport are enabled.
effects.sound Determines the sound to play after teleport.
effects.particle Determines the particle effect to display after teleport.
permissions.per-warp-view Activates warp-based viewing permissions.
permissions.per-warp-teleport Activates warp-based teleport permissions.
============================================================
INSTALLATION
- Place the pwarps-1.0.0.jar file into the plugins folder.
- Restart the server completely.
- Edit the config.yml and messages.yml files once the plugins/pwarps folder is created.
- Grant permissions via LuckPerms.
- Refresh settings with the /pwarp reload command.
Suggestion: Do not leave old pwarps jar files in the plugins folder. If there is more than one jar file of the same plugin, the server might load the wrong file.
============================================================
SHORT SUMMARY
pWarps is a simple, modern, performance-friendly warp plugin with LuckPerms and PlaceholderAPI support. It offers an easily configurable experience for server owners and a fast and understandable warp experience for players.
For errors and bugs, contact Discord: PideMann
下载 PWarp
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PWarp
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PWarp
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PWarp
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PWarp
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PWarp
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PWarp
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PWarp
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PWarp
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PWarp
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
该插件已重新编译并发布,以兼容新版本。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧