⚠️ 免责声明
我不是专业开发者,只是一个借助 AI 辅助编码的普通玩家。
本项目可能未遵循最佳实践,且可能存在漏洞。
Beacon Waypoints
本插件通过允许玩家使用信标在它们之间快速旅行,为信标提供了额外功能!安装方法是将 jar 文件放入 plugins 文件夹并启动/重启服务器。
支持版本我不确定,但在 1.21.11 - 26.2 中运行完美。
本插件使用了 bStats。
功能
- 在信标处创建公共或私人传送点
- 可配置的传送点图标选择器
- 发现模式:玩家可以通过与信标交互来发现公共传送点,并且只能在已发现的传送点之间传送
- 多种传送费用选项
- 提供 language.yml 文件以支持自定义翻译
命令
/waypoint <name> <public | private> - 为玩家当前站立的信标创建一个公共或私人传送点
/waypoints reload - 重载配置文件
/waypoint share <player> - 与其他玩家分享私人传送点
演示
注意:信标之间的传送要求信标内部没有任何方块,包括玻璃等透明方块。基岩是例外情况,因此本插件可以在下界正常工作。
权限
BeaconWaypoints.createWaypoints:允许玩家创建传送点
BeaconWaypoints.useWaypoints:允许玩家使用传送点
BeaconWaypoints.usePrivateWaypoints:允许玩家创建和传送到私人传送点
BeaconWaypoints.breakWaypointBeacons:允许玩家破坏拥有传送点的信标
BeaconWaypoints.manageAllWaypoints:允许玩家编辑、固定或删除所有公共传送点及对应的信标
BeaconWaypoints.reload:允许玩家重载配置文件
BeaconWaypoints.bypass.cost:允许玩家绕过费用(经验值或金钱)
配置
max-public-waypoints:服务器上同时存在的最大公共传送点数量(默认:100)
max-private-waypoints:每个玩家可以拥有的最大私人传送点数量(默认:30)
force-alphanumeric-names:强制传送点名称在创建时为字母数字组合
public-waypoint-menu-rows:每页显示的公共传送点选择菜单的行数,不包括用于页面导航的那一行(默认:3,范围:1-5)
private-waypoint-menu-rows:每页显示的私人传送点选择菜单的行数,不包括用于页面导航的那一行(默认:2,范围:1-5)
instant-teleport:选择目的地后立即激活传送,无需热身动画(默认:false)
disable-animations:通过信标传送时禁用粒子动画效果(默认:false)
launch-player:通过信标传送时将玩家发射到空中(默认:true)
launch-player-height:玩家在传送到目的地前被发射到的 Y 轴高度。反作弊插件可能不允许玩家超过一定高度,请根据需要调整此值。最小值为世界高度。(默认:576)
disable-group-teleporting:默认情况下,信标会传送站在其上方的任何人。如果希望仅将传送限制为选择目的地的玩家本人,请将其设置为 true。(默认:false)
allow-beacon-break-by-owner:如果玩家没有 BeaconWaypoints.breakWaypointBeacons 权限,但如果该信标上的所有传送点都由他们拥有,这仍然允许他们破坏信标。信标的所有者是放置它的玩家。(默认:true)
payment-mode:none, xp, 或 money(默认:none)
xp-cost-per-chunk:使用 XP 付费模式时,两个传送点之间每个区块的费用(默认:0)
xp-cost-dimension:使用 XP 付费模式时,跨维度传送的费用(默认:0)
money-cost-per-chunk:使用金钱付费模式时,两个传送点之间每个区块的费用(默认:0)
money-cost-dimension:使用金钱付费模式时,跨维度传送的费用(默认:0)
cost-multiplier:影响基于距离费用的乘数。使用的公式为 cost*(distance^multiplier)(默认:0)
required-items:具有不同支付属性的物品列表(默认:空)
banned-items:如果玩家背包中包含这些物品,则不允许传送的物品列表(默认:空)
discover-mode:启用发现模式,仅允许玩家传送到他们通过与信标交互而发现的传送点(默认:false)
allow-all-worlds:允许在任何世界中创建传送点(默认:true)
allowed-worlds:如果禁用了 allow-all-worlds,则根据文件夹名允许创建传送点的世界列表(默认:world, world_nether, world_the_end)
waypoint-icons:可用于传送点图标的物品列表,此处给出的顺序将与图标选择菜单中的顺序相同(默认包含 111 个物品)
注意: 如果使用 WorldEdit 删除信标,传送点不会被删除。你需要手动重新放置信标并破坏它,或者改用 setblock 和 fill 命令。
⚠️ Disclaimer
I'm not a professional developer, just a regular person coding with the help of AI.
This project may not follow best practices and could contain bugs.
Beacon Waypoints
This plugin gives beacons extra functionality by letting players use beacons to fast travel between them! Install this plugin by putting the jar file into your plugins folder and starting/restarting the server.
Supports versions i dont know but it work perfectly in 1.21.11 - 26.2
This plugin uses bStats.
Features
- Create public or private waypoints at beacons
- Configurable icon chooser for waypoints
- Discovery Mode: Players can discover public waypoints by interacting with the beacon and can only teleport between discovered waypoints
- Various payment options for teleportation
- language.yml file for custom translations
Commands
- /waypoint <name> <public | private> - Create a public or private waypoint for the beacon the player is standing on
- /waypoints reload - Reloads the config
- /waypoint share <player> - share private waypoints with other players
Demo
Note: Teleportation between beacons requires the beacon to have no blocks inside it, including transparent blocks like glass. Bedrock is an exception, so this plugin will work in the Nether.
Permissions
- BeaconWaypoints.createWaypoints: Allows players to create waypoints
- BeaconWaypoints.useWaypoints: Allows players to use waypoints
- BeaconWaypoints.usePrivateWaypoints: Allows players to create and teleport to private waypoints
- BeaconWaypoints.breakWaypointBeacons: Allows players to break beacons that have waypoints
- BeaconWaypoints.manageAllWaypoints: Allows players to edit, pin, or remove all public waypoints and corresponding beacons
- BeaconWaypoints.reload: Allows players to reload the config
- BeaconWaypoints.bypass.cost: Allows players to bypass cost (xp or money)
Configuration
- max-public-waypoints: The maximum amount of public waypoints that can exist at once on the server (default: 100)
- max-private-waypoints: The maximum amount of private waypoints that each player can have (default: 30)
- force-alphanumeric-names: Force waypoint names to be alphanumeric when they are created
- public-waypoint-menu-rows: The number of rows the public waypoint selection menu will show per page, not including the row for page navigation (default: 3, range: 1-5)
- private-waypoint-menu-rows: The number of rows the private waypoint selection menu will show per page, not including the row for page navigation (default: 2, range: 1-5)
- instant-teleport: Activate teleportation as soon as the destination is chosen without a warmup animation (default: false)
- disable-animations: Disable the particle animations when teleporting through a beacon (default: false)
- launch-player: Launch the player when teleporting through a beacon (default: true)
- launch-player-height: The y-level players will launch into the air before teleporting to the destination. Anti-cheat plugins may not allow players to go above a certain height, so adjust this as needed. The minimum value is the world height. (default: 576)
- disable-group-teleporting: By default, beacons teleport anyone standing on top of them. If you want to limit the teleportation to only the player who chooses the destination, set this to true. (default: false)
- allow-beacon-break-by-owner: If the BeaconWaypoints.breakWaypointBeacons permission is disabled for a player, this will still allow them to break a beacon if all waypoints attached to it are owned by them. The owner of a beacon is the player who placed it. (default: true)
- payment-mode: none, xp, or money (default: none)
- xp-cost-per-chunk: The cost per chunk between two waypoints using the XP payment mode (default: 0)
- xp-cost-dimension: The cost to teleport between dimensions using the XP payment mode (default: 0)
- money-cost-per-chunk: The cost per chunk between two waypoints using the money payment mode (default: 0)
- money-cost-dimension: The cost to teleport between dimensions using the money payment mode (default: 0)
- cost-multiplier: A multiplier that affects the cost based on distance. The formula used is cost*(distance^multiplier) (default: 0)
- required-items: a list of items with different properties regarding payment (default: empty)
- banned-items: a list of items that will not allow players to teleport if they are in their inventory (default: empty)
- discover-mode: Enable discovery mode which only allows players to teleport to waypoints they have discovered by interacting with their beacon (default: false)
- allow-all-worlds: Allow waypoints to be created in any world (default: true)
- allowed-worlds: List of worlds that allow waypoints based on folder name if allow-all-worlds is disabled (default: world, world_nether, world_the_end)
- waypoint-icons: List of items that can be used for waypoint icons, the order given here is the same order that will be in the icon picker menu (default includes 111 items)
Note: If WorldEdit is used to delete a beacon, the waypoint will not be deleted. You will need to manually place back the beacon and break it, or use the setblock and fill commands instead.
评论 0
登录后参与评分
还没有评论,来抢沙发吧