feat: 完整实现 TPA 并添加多版本适配

This commit is contained in:
2026-06-25 23:40:30 +08:00
parent 061c3be2b1
commit 5d86f0e3eb
27 changed files with 2344 additions and 223 deletions
+46
View File
@@ -82,10 +82,56 @@ help:
seen: " &f/seen &7- View player information"
feed: " &f/feed &7- Restore hunger"
repair: " &f/repair &7- Repair held or all items"
tpa: " &f/tpa <player> &7- Request to teleport to a player"
tpahere: " &f/tpahere <player> &7- Request a player teleport to you"
tpaall: " &f/tpaall &7- Request all players teleport to you"
tpaccept: " &f/tpaccept [player] &7- Accept a teleport request"
tpdeny: " &f/tpdeny [player] &7- Deny a teleport request"
tpignore: " &f/tpignore &7- Toggle ignoring teleport requests"
admin: " &f/essc admin &7- Toggle admin mode"
tpsbar: " &f/tpsbar [player] &7- Toggle TPS boss bar"
maintenance: " &f/maintenance <on|off|status|reload|add|remove|list> &7- Manage maintenance mode"
tpa:
messages:
usage-tpa: "&cUsage: /tpa <player>"
usage-tpahere: "&cUsage: /tpahere <player>"
usage-tpaall: "&cUsage: /tpaall"
usage-tpaccept: "&cUsage: /tpaccept [player]"
usage-tpdeny: "&cUsage: /tpdeny [player]"
self: "&cYou cannot send a teleport request to yourself."
sent-tpa: "&aSent a teleport request to {target}. It expires in {seconds} seconds."
sent-tpahere: "&aInvited {target} to teleport to you. The request expires in {seconds} seconds."
duplicate-request: "&eYou already have a pending request of this type for {target}."
ignoring-requests: "&cYou are currently ignoring teleport requests."
send-cooldown: "&cPlease wait {seconds} seconds before sending another teleport request."
accept-cooldown: "&cPlease wait {seconds} seconds before accepting another teleport request."
received-tpa: "&e{requester} wants to teleport to you."
received-tpahere: "&e{requester} invited you to teleport to them."
response-hint: "&7Type &f/tpaccept {requester} &7to accept or &f/tpdeny {requester} &7to deny."
accept-button: "&a[Accept]"
deny-button: "&c[Deny]"
no-request: "&cYou do not have any pending teleport requests."
accepted-target: "&aAccepted {requester}'s teleport request."
accepted-sender: "&a{target} accepted your teleport request."
denied-target: "&cDenied {requester}'s teleport request."
denied-sender: "&c{target} denied your teleport request."
expired: "&cYour pending teleport request has expired."
expired-sender: "&cYour teleport request to {target} expired."
expired-target: "&cThe teleport request from {requester} expired."
player-offline: "&cTeleport failed because a player in the request is now offline."
already-warming-up: "&cA related player is already warming up for teleportation."
warmup-start: "&eTeleporting in {seconds} seconds. Do not move or take damage."
warmup-status: "&eTeleporting in {seconds} seconds"
warmup-cancelled-move: "&cTeleport cancelled because you moved during warmup."
warmup-cancelled-damage: "&cTeleport cancelled because you took damage during warmup."
teleport-complete: "&aTeleport complete."
ignore-enabled: "&eYou are now ignoring teleport requests."
ignore-disabled: "&aYou are now accepting teleport requests."
ignore-notification: "&7You are currently ignoring teleport requests."
tpaall-sent: "&aSent teleport requests to all players."
tpaall-no-targets: "&cThere are no online players who can receive the request."
blocks-menu:
title: "&6&lEssentialsC &8- &e&lShortcut Menu"
items: