CrossAnywhere
English | 简体中文
CrossAnywhere 是一个适用于 Minecraft 1.20+(Java 21)的 Paper/Spigot 传送插件。它提供个人/全球传送点、TPA 请求、返回功能、安全检查、冷却时间和可配置的费用。所有消息均使用 Adventure/MiniMessage 格式并支持国际化(i18n)。
功能
- 个人和全球传送点(支持朝向角度 yaw/pitch 和描述)
- 带有可点击的传送/删除/编辑按钮的传送点列表
- 带超时和重复策略的 TPA / TPAHere 请求
- 在传送前或死亡时记录的返回点(可配置)
- 世界白名单和跨世界权限门控
- 按功能划分的传送冷却时间
- 传送费用(经验值和/或物品)
- 安全检查,支持确认或附近安全区域搜索
- 简易传送:
/ca <name>(优先级:个人 > 全球 > 玩家)
- 快捷命令(可选覆盖
/tp)
要求
安装
- 构建插件:
./gradlew build
- 将 jar 文件放入
plugins/ 目录。
- 启动服务器以生成配置文件和消息文件。
- 根据需要编辑
config.yml 和 messages_*.yml。
命令
主命令:/ca(别名 /stp)
传送点(个人):
/ca setp|setpersonal [-f] <name> [desc...] - 在当前所在位置创建或更新个人传送点;使用 -f 覆盖。
/ca tpp|tpersonal <name> - 传送到其中一个个人传送点。
/ca delp|delpersonal <name> - 删除其中一个个人传送点。
/ca listp|listpersonal - 列出你的个人传送点。
/ca descp <name> <desc...> - 设置或更新个人传送点的描述。
传送点(全球):
/ca setg|setglobal [-f] <name> [desc...] - 在当前所在位置创建或更新全球传送点;使用 -f 覆盖。
/ca tpg|tglobal <name> - 传送到一个全球传送点。
/ca delg|delglobal <name> - 删除一个全球传送点。
/ca listg|listglobal - 列出全球传送点。
/ca descg <name> <desc...> - 设置或更新全球传送点的描述。
其他:
/ca list - 列出所有个人和全球传送点。
/ca tp <player> - 传送你自己到目标玩家(管理员权限)。
/ca tphere <player> - 将目标玩家传送到你身边(管理员权限)。
/ca tpa <player> - 向目标玩家发送传送请求。
/ca tpahere <player> - 要求目标玩家传送到你身边。
/ca cancel - 取消你发出的所有待处理 TPA 请求。
/ca accept|allow [player] - 接受最新请求或特定玩家的请求。
/ca deny|reject [player] - 拒绝最新请求或特定玩家的请求。
/ca tpaallow <player> - 允许某玩家无需确认即可直接传送到你身边。
/ca tpadisallow <player> - 从你的直接传送白名单中移除某玩家。
/ca tpaallowlist - 显示你的直接传送白名单。
/ca back - 返回到你上次记录的位置。
/ca confirm - 确认一次待处理的危险传送。
/ca cancelconfirm - 取消一次待处理的危险传送确认。
/ca importstp [file] [--include-back] [--offline-uuid|--raw-uuid|--auto-uuid] [--clear] - 从插件数据文件夹中的 JSON 文件导入 MCDR STP 数据。
/ca <name> (easy_tp=true) - 简易传送:个人 > 全球 > 玩家。
快捷命令:
/setp - /ca setp 的快捷方式。
/tpp - /ca tpp 的快捷方式。
/delp - /ca delp 的快捷方式。
/listp - /ca listp 的快捷方式。
/descp - /ca descp 的快捷方式。
/setg - /ca setg 的快捷方式。
/tpg - /ca tpg 的快捷方式。
/delg - /ca delg 的快捷方式。
/listg - /ca listg 的快捷方式。
/descg - /ca descg 的快捷方式。
/tplist - /ca list 的快捷方式。
/back - /ca back 的快捷方式。
/tpa - /ca tpa 的快捷方式。
/tpahere - /ca tpahere 的快捷方式。
/tphere - /ca tphere 的快捷方式。
/tpaccept - /ca accept 的快捷方式。
/tpdeny - /ca deny 的快捷方式。
/tpcancel - /ca cancel 的快捷方式。
/tpconfirm - /ca confirm 的快捷方式。
/tpcancelconfirm - /ca cancelconfirm 的快捷方式。
/tp (仅当 commands.override_tp=true 时) - 使用 CrossAnywhere 处理覆盖原版 /tp。
权限
crossanywhere.personal
crossanywhere.personal.tp
crossanywhere.global
crossanywhere.global.tp
crossanywhere.list
crossanywhere.tp
crossanywhere.tphere
crossanywhere.tpa
crossanywhere.tpahere
crossanywhere.tpa.allowlist
crossanywhere.back
crossanywhere.easy
crossanywhere.crossworld
crossanywhere.cooldown.bypass
crossanywhere.cost.bypass
crossanywhere.safety.bypass
crossanywhere.admin
数据文件
plugins/CrossAnywhere/personal_waypoints.json
plugins/CrossAnywhere/global_waypoints.json
plugins/CrossAnywhere/tpa_allowlist.json
plugins/CrossAnywhere/stp_uuid_map.json (可选的名称 -> UUID 映射,用于导入)
plugins/CrossAnywhere/stp_world_map.json (可选的维度 -> 世界映射,用于导入)
配置
完整选项请参见 config.yml。
主要部分:
worlds: 白名单
easy_tp: 启用 /ca <name>
waypoint_name_max_length, allow_unicode_names
personal_max_waypoints, global_max_waypoints
cooldown: 各功能的冷却时间
cost: 经验和物品费用(含跨世界处理)
safety_check: 确认或附近安全区域搜索
commands.override_tp: 是否注册 /tp
国际化 (i18n)
messages_en_US.yml
messages_zh_CN.yml
注意事项
- 所有快捷命令复用相同的检查逻辑(世界、权限、冷却时间、费用、安全性)。
- TPA 请求和安全确认基于内存存储,重启后重置。
CrossAnywhere
English | 简体中文
CrossAnywhere is a Paper/Spigot teleport plugin for Minecraft 1.20+ (Java 21). It provides personal/global waypoints,
TPA requests, back, safety checks, cooldowns, and configurable costs. All messages use Adventure/MiniMessage and support
i18n.
Features
- Personal and global waypoints (with yaw/pitch and description)
- Waypoint listing with clickable teleport/delete/edit buttons
- TPA / TPAHere requests with timeout and duplicate policy
- Back point recorded before teleports and on death (configurable)
- World whitelist and cross-world permission gate
- Teleport cooldowns (per feature)
- Teleport costs (exp and/or item)
- Safety checks with confirm or nearby-safe search
- Easy teleport:
/ca <name> (personal > global > player)
- Shortcut commands (optional override for
/tp)
Requirements
Installation
- Build the plugin:
./gradlew build
- Put the jar in
plugins/.
- Start the server to generate config and message files.
- Edit
config.yml and messages_*.yml as needed.
Commands
Main command: /ca (alias /stp)
Waypoints (personal):
/ca setp|setpersonal [-f] <name> [desc...] - Create or update a personal waypoint at your current location; use -f
to overwrite.
/ca tpp|tpersonal <name> - Teleport to one of your personal waypoints.
/ca delp|delpersonal <name> - Delete one of your personal waypoints.
/ca listp|listpersonal - List your personal waypoints.
/ca descp <name> <desc...> - Set or update the description of a personal waypoint.
Waypoints (global):
/ca setg|setglobal [-f] <name> [desc...] - Create or update a global waypoint at your current location; use -f to
overwrite.
/ca tpg|tglobal <name> - Teleport to a global waypoint.
/ca delg|delglobal <name> - Delete a global waypoint.
/ca listg|listglobal - List global waypoints.
/ca descg <name> <desc...> - Set or update the description of a global waypoint.
Other:
/ca list - List both personal and global waypoints.
/ca tp <player> - Teleport yourself to the target player (admin permission).
/ca tphere <player> - Teleport the target player to you (admin permission).
/ca tpa <player> - Send a teleport request to the target player.
/ca tpahere <player> - Ask the target player to teleport to you.
/ca cancel - Cancel all outgoing TPA requests you sent.
/ca accept|allow [player] - Accept the latest request or a specific player's request.
/ca deny|reject [player] - Deny the latest request or a specific player's request.
/ca tpaallow <player> - Allow a player to teleport to you directly without confirmation.
/ca tpadisallow <player> - Remove a player from your direct-teleport allowlist.
/ca tpaallowlist - Show your direct-teleport allowlist.
/ca back - Return to your last recorded location.
/ca confirm - Confirm a pending unsafe teleport.
/ca cancelconfirm - Cancel a pending unsafe teleport confirmation.
/ca importstp [file] [--include-back] [--offline-uuid|--raw-uuid|--auto-uuid] [--clear] - Import MCDR STP data from
a JSON file in the plugin data folder.
/ca <name> (easy_tp=true) - Easy teleport: personal > global > player.
Shortcut commands:
/setp - Shortcut for /ca setp.
/tpp - Shortcut for /ca tpp.
/delp - Shortcut for /ca delp.
/listp - Shortcut for /ca listp.
/descp - Shortcut for /ca descp.
/setg - Shortcut for /ca setg.
/tpg - Shortcut for /ca tpg.
/delg - Shortcut for /ca delg.
/listg - Shortcut for /ca listg.
/descg - Shortcut for /ca descg.
/tplist - Shortcut for /ca list.
/back - Shortcut for /ca back.
/tpa - Shortcut for /ca tpa.
/tpahere - Shortcut for /ca tpahere.
/tphere - Shortcut for /ca tphere.
/tpaccept - Shortcut for /ca accept.
/tpdeny - Shortcut for /ca deny.
/tpcancel - Shortcut for /ca cancel.
/tpconfirm - Shortcut for /ca confirm.
/tpcancelconfirm - Shortcut for /ca cancelconfirm.
/tp (only if commands.override_tp=true) - Override vanilla /tp with CrossAnywhere handling.
Permissions
crossanywhere.personal
crossanywhere.personal.tp
crossanywhere.global
crossanywhere.global.tp
crossanywhere.list
crossanywhere.tp
crossanywhere.tphere
crossanywhere.tpa
crossanywhere.tpahere
crossanywhere.tpa.allowlist
crossanywhere.back
crossanywhere.easy
crossanywhere.crossworld
crossanywhere.cooldown.bypass
crossanywhere.cost.bypass
crossanywhere.safety.bypass
crossanywhere.admin
Data Files
plugins/CrossAnywhere/personal_waypoints.json
plugins/CrossAnywhere/global_waypoints.json
plugins/CrossAnywhere/tpa_allowlist.json
plugins/CrossAnywhere/stp_uuid_map.json (optional name -> UUID map for import)
plugins/CrossAnywhere/stp_world_map.json (optional dimension -> world map for import)
Configuration
See config.yml for full options.
Key sections:
worlds: whitelist
easy_tp: enable /ca <name>
waypoint_name_max_length, allow_unicode_names
personal_max_waypoints, global_max_waypoints
cooldown: per-feature cooldowns
cost: exp and item costs (with crossworld handling)
safety_check: confirm or nearby-safe search
commands.override_tp: whether to register /tp
i18n
messages_en_US.yml
messages_zh_CN.yml
Notes
- All shortcut commands reuse the same checks (world, permission, cooldown, cost, safety).
- TPA requests and safety confirmations are in-memory and reset on restart.
评论 0
登录后参与评分
还没有评论,来抢沙发吧