Tpa +

插件

· 作者 Hyper-Mayank

Folia 原生 TPA 套件(1.16.5–26.3),支持可信好友自动接受、坐骑/宠物传送、反陷阱预览、GUI 控制中心,以及 Vault 和 PlaceholderAPI!

0 本站下载 0 关注 更新于 1 小时前

最新 2.3.0 · 26.3 · Bukkit / Folia

一键开服(送7天)

⚡ Tpa + — Ultimate DonutSMP-Style Folia TPA Suite (1.16.5 – 26.3)

Tpa + is a blazing-fast, feature-complete Teleport Request (TPA) plugin engineered for Survival SMPs, DonutSMP-style realms, Lifesteal networks, and high-concurrency Folia servers. Built from a single ultra-lightweight JAR (~119 KB) for Bukkit, Spigot, Paper, Purpur, and Folia across Minecraft 1.16.5 through 26.3 (all 35 releases).


🌐 Official Minecraft Server — HYDRAZ Network

Experience our projects live on a high-performance Java & Bedrock multiplayer server!

Platform Server IP Port
☕ Java Edition play.hydraz.online 25565 (Default)
📱 Bedrock Edition bedrock.hydraz.online 443

🏆 Why Server Owners Upgrade to Tpa +

Feature Tpa + v2.3.0 Basic / Essentials TPA
MC 1.16.5 – 26.3 Universal JAR ✅ All 35 Releases (Zero Binary Traps) ❌ Breaks on 1.16.5 or 1.21.4+ / 26.3
All 5 Loaders (Bukkit, Spigot, Paper, Purpur, Folia) ✅ True Folia Regions + Spigot Fallback ❌ Single-thread or Paper-only
DonutSMP-Style Online Player Picker GUI (/tpa) ✅ Paginated Heads, Distance, Dimension & Friend Badges ❌ Command-only
TPA Center Dashboard (/tpalist) ✅ 1-Click Accept/Deny/Cancel, Toggles & /tpaback ❌ None
Trusted Friends Auto-Accept (/tpafriend) ✅ Instant Friend Auto-Accept + Blocklist (/tpablock) ❌ Global toggle only
Bulk Request Management (/tpaccept all, /tpdeny all) ✅ Accept, Deny & Cancel All in One Command ❌ One-by-one spam
Anti-Trap Hover Preview + Dynamic Live Anchor Tracking ✅ World, Biome & Hazard Scan + Live Safe Re-Track ❌ Blind teleport into lava traps
Mount & Leashed Pet Companion Teleport ✅ Horses, Camels, Boats & Pets + Auto-Remount ❌ Leaves mounts & pets behind
SQLite WAL + MySQL + 0ms Cached Analytics ✅ Non-Blocking WAL + Cross-Server MySQL ❌ Flat-file lag or DB locks
Vault Economy, XP Costs & Claim Protection ✅ Vault + XP Levels + WorldGuard + GriefPrevention ⚠️ Limited or paid

🆕 What's New in v2.3.0

  • 🧭 DonutSMP-Style Online Player Picker GUI (/tpa & /tpahere): Running /tpa or /tpahere without arguments now opens a paginated player head selector showing Dimension, Distance, Trusted Friend ★, and AFK badges — Left-Click to /tpa, Right-Click to /tpahere, Shift-Click to toggle Trusted Friend!
  • ⚡ Bulk Request Commands: Use /tpaccept all, /tpdeny all, and /tpcancel all (with tab-completion) to manage multiple requests effortlessly.
  • 🎯 Dynamic Live Anchor Tracking: Re-tracks the target's live safe spot right when the countdown completes, preventing stale 5-second-old landings while keeping lava/trap safety intact.
  • 📊 Persistent TPA Analytics (tpaplus_stats) & SQLite WAL: Tracks player/server teleport stats with 0ms in-memory caching, backed by lock-free SQLite WAL (busy_timeout=5000) or MySQL.
  • 🛡️ 1.16.5 Crash Fixes & Relog Cooldown Exploit Patch: Eliminated POWDER_SNOW / getMinHeight() errors on 1.16.5 and closed the disconnect-relog cooldown reset exploit.

🛠️ Commands & Permissions

Command Description Permission
/tpa [player] Open Online Player Picker GUI or send TPA request aiotpa.use
/tpahere [player] Open Player Picker GUI (TPAHere mode) or invite a player (/tpah) aiotpa.use
/tpaccept [player|all] Accept latest, specific, or all incoming requests (/tpyes) aiotpa.use
/tpdeny [player|all] Deny latest, specific, or all incoming requests (/tpno) aiotpa.use
/tpcancel [player|all] Cancel latest, specific, or all outgoing requests aiotpa.use
/tpalist Open the TPA Center live GUI dashboard aiotpa.use
/tpaback / /back Return to your pre-TPA or death location aiotpa.back
/tpafriend <add|remove|list> [player] Manage trusted friends who auto-accept (/tpatrust) aiotpa.friend
/tpablock / /tpaunblock / /tpablocklist Block or unblock players from sending TPA requests aiotpa.block
/tpaauto / /tpatoggle Toggle auto-accept or block all incoming requests aiotpa.autoaccept / aiotpa.toggle
/tpcoolby Pay Vault fee to bypass active TPA cooldown aiotpa.use
/tpall / /tpahereall Send TPA / TPAHere to all online players (Admin) aiotpa.admin.all
/tpainfo [player] / /tpareload Inspect live player TPA status/stats or reload config aiotpa.admin

Bypass permissions: aiotpa.bypass.cooldown, aiotpa.bypass.delay, aiotpa.bypass.toggle, aiotpa.bypass.combat, aiotpa.bypass.world, aiotpa.bypass.vanish, aiotpa.bypass.requestlimit, aiotpa.bypass.cost, aiotpa.bypass.block.


📈 PlaceholderAPI Expansions (%tpaplus_*%)

  • %tpaplus_pending_incoming% / %tpaplus_pending_outgoing%
  • %tpaplus_cooldown% / %tpaplus_autoaccept_status% / %tpaplus_toggle_status%
  • %tpaplus_has_back% / %tpaplus_back_world%
  • %tpaplus_friends_count% / %tpaplus_blocked_count%
  • %tpaplus_in_combat% / %tpaplus_combat_seconds% / %tpaplus_warming_up% / %tpaplus_invulnerable%
  • %tpaplus_total_teleports% / %tpaplus_player_teleports% / %tpaplus_requests_sent% / %tpaplus_requests_accepted%
  • %tpaplus_last_partner% / %tpaplus_engine%

⚙️ Click to view default tpa.yml (Auto-Migrates Safely)
# =========================
# TPA MAIN CONFIG
# =========================
# This file is split into sections. Every key below includes a short explanation.

# Core timing + behavior for teleport requests.
settings:
  request-expire-seconds: 30 # How long (seconds) a pending request can stay before it expires.
  cooldown-seconds: 10 # How long (seconds) a player must wait before sending another request.
  teleport-delay-seconds: 5 # Delay (seconds) before teleport happens after a request is accepted.
  cancel-on-move: true # If true, teleport is cancelled when the teleporting player moves during delay.
  cancel-on-damage: true # If true, teleport is cancelled when the teleporting player takes damage during delay.
  safe-teleport: true # If true, checks destination safety before teleporting.
  safety-search-radius: 2 # Horizontal/vertical radius to search for safe landing block.
  dynamic-anchor-tracking: true # (v2.3.0) Re-tracks anchor's live safe location when warmup completes.

  # GUI confirmation & Player Picker settings
  open-picker-gui-on-empty-command: true # (v2.3.0) Running /tpa or /tpahere with no player opens DonutSMP-style Online Player Picker GUI.
  use-request-gui: false # If true, /tpa opens confirmation GUI. If false, sends request directly.
  use-accept-gui: false # If true, /tpaccept opens confirmation GUI. If false, accepts directly.

  # Anti-Spam, Cooldown & Privacy (v1.6.0)
  same-target-min-interval-seconds: 5 # Min seconds before sending another request to the same target.
  refund-cooldown-on-deny: true # Refund cooldown to requester when target denies request.
  vanish-compat: true # Hides vanished players from /tpa, /tpahere, and tab completion (SuperVanish, VanishNoPacket, etc).
  max-active-outgoing-requests: 5 # Max active outgoing requests per player (0 = unlimited).

  # Countdown visual effects (BossBar, particles, sound fades)
  visuals:
    bossbar-enabled: true
    bossbar-title: "&a&lTeleporting in &f%seconds%s &8(&7Do not move&8)"
    bossbar-color: "GREEN" # BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
    bossbar-style: "PROGRESS" # PROGRESS, NOTCHED_6, NOTCHED_10, NOTCHED_12, NOTCHED_20
    particles-enabled: true
    particle-type: "END_ROD" # END_ROD, PORTAL, DRAGON_BREATH, SOUL_FIRE_FLAME, ENCHANT, FLAME
    particle-style: "SPIRAL" # SPIRAL, RINGS, VORTEX
    trail-enabled: true # Particle trail connecting origin to destination
    trail-particle: "PORTAL" # Particle for arrival trail
    arrival-lightning: true
    arrival-firework: true
    title-countdown-enabled: true # Show on-screen title countdown during warmup

  # Previous location /tpaback settings (v1.8.0)
  back:
    record-death-location: true # If true, death location is also recorded for /tpaback

  # AFK / Inactivity Target Safety (v1.9.0)
  afk:
    warn-when-afk: true # Send requester a friendly warning if target is marked AFK
    prevent-request-when-afk: false # If true, completely blocks requests to AFK targets

  # Safe Glide & Mid-Air Fall Safety (v1.9.0)
  safety:
    glide-protection: true # Grant temporary Slow Falling if teleporting in mid-air or while gliding
    glide-slow-falling-seconds: 6 # Duration of Slow Falling effect

  # Mount & Leashed Companion Teleportation (v2.1.0+)
  mount-teleport:
    enabled: true # Automatically bring ridden mounts and leashed animals with the player
    include-vehicle: true # Bring ridden horses, camels, boats, striders, etc.
    auto-remount: true # Automatically re-mount the player onto their vehicle upon arrival (v2.2.0)
    include-leashed: true # Bring nearby leashed pets and re-attach leads upon arrival

  # Trusted TPA Friends System (v2.2.0)
  friends:
    auto-accept-friends: true # Automatically accept /tpa requests from players on your /tpafriend list

  # Distance & Cross-Dimension Limits (v2.2.0 - bypass with aiotpa.bypass.world)
  limits:
    allow-cross-world: true # Allow teleporting across dimensions (Overworld <-> Nether <-> End)
    max-distance: -1.0 # Max distance in blocks within the same world (-1 = unlimited)

  # Economy transactions for teleportation commands (requires Vault / Player XP)
  economy:
    tpa-cost-money: 0.0
    tpa-cost-xp-levels: 0
    tpahere-cost-money: 0.0
    tpahere-cost-xp-levels: 0
    cooldown-bypass-fee-money: 25.0

  # Protection claim checkers to protect regions from teleport invasions
  protection:
    check-worldguard: false
    check-griefprevention: false

  # Combat Tagging & In-Combat Teleport Prevention
  combat:
    enabled: true # If true, prevents teleportation while in combat
    tag-duration-seconds: 10 # How long (seconds) player is tagged in combat after attacking or being attacked
    tag-on-mob-damage: false # If true, taking damage from hostile mobs also triggers combat tag
    auto-cancel-pending-requests: true # Automatically cancels any pending requests if participant enters combat

  # World Change Teleport Safety (v1.7.0)
  world-change:
    cancel-teleport: true # If true, cancels teleport warmup if mover or anchor changes worlds
    cancel-pending-requests: true # If true, cancels pending TPA requests if participant changes worlds

  # Safe Landing Invulnerability (prevents fall damage / chunk lag suffocation upon teleporting)
  invulnerability:
    enabled: true
    duration-seconds: 3 # Seconds of damage immunity immediately after teleporting

  # Disabled worlds where teleportation commands cannot be used
  disabled-worlds:
    - "example_disabled_world"
    - "example_pvp_arena"

  # Permission-based warmup delay tiers (checked in order, first matched permission applies)
  delay-tiers:
    "aiotpa.delay.instant": 0
    "aiotpa.delay.mvp": 1
    "aiotpa.delay.vip": 2

  # Permission-based cooldown tiers (checked in order, first matched permission applies)
  cooldown-tiers:
    "aiotpa.cooldown.mvp": 2
    "aiotpa.cooldown.vip": 5

  # Storage configuration. SQLite is standard file-based database. MySQL is for cross-server bungee.
  database:
    type: "sqlite" # sqlite, mysql
    mysql:
      host: "localhost"
      port: 3306
      database: "minecraft"
      username: "root"
      password: ""
      useSSL: false

# Optional placeholders from external plugins (mainly for GUI lore values).
hooks:
  # Placeholder for coins from another plugin (requires PlaceholderAPI).
  # Example: %playerpoints_points%, %coinsengine_coins%
  coins-placeholder: "%playerpoints_points%" # Placeholder used to show a player's coin amount.
  coins-unavailable: "N/A" # Fallback text when coins placeholder cannot be resolved.
  balance-unavailable: "N/A" # Fallback text when balance/economy value cannot be resolved.

# Storage has been moved to a separate file (data.yml) to avoid bloating the configuration.

# All chat/actionbar texts used by commands and request flow.
messages:
  # General command / validation messages.
  only-players: "&cOnly players can use this command." # Sent if command is run from console/non-player.
  usage-tpa: "&eUsage: /tpa <player>" # Help text for /tpa format.
  usage-tpahere: "&eUsage: /tpahere <player>" # Help text for /tpahere format.
  usage-tpaback: "&eUsage: /tpaback" # Help text for /tpaback format.
  no-back-location: "&cNo previous teleport location found to return to." # Sent when /tpaback has no location.
  back-teleporting: "&aReturning to your previous location..." # Sent when returning back.
  player-not-online: "&cThat player is not online." # Sent when target player is offline/missing.
  self-request: "&cYou cannot send a request to yourself." # Sent if player tries requesting themselves.
  cooldown: "&cYou must wait &f%seconds%s &cbefore sending another request." # Cooldown message (%seconds% replaced).

  # Request create + receive messages.
  request-sent: "&aTPA request sent to &f%target%&a." # To requester when /tpa request is sent.
  requesthere-sent: "&aTPAHere request sent to &f%target%&a." # To requester when /tpahere request is sent.
  request-received-header: "&a&lNew teleport request &8| &7Expires in &f%seconds%s" # Header shown to target when a request arrives.
  request-received-tpa: "&7%requester% wants to teleport to you." # Target text for /tpa type request.
  request-received-tpahere: "&7%requester% wants you to teleport to them." # Target text for /tpahere type request.

  # Clickable chat button labels + hover text.
  request-accept-button: "&a[Accept]" # Accept button text in request message.
  request-accept-hover: "&aClick to accept\n&7Destination: &e%destination_world% &8(&b%destination_biome%&8)\n&7Safety Scan: %destination_safety%" # Hover text with environment & hazard preview.
  request-buttons-divider: "&7 | " # Separator placed between clickable buttons.
  request-deny-button: "&c[Deny]" # Deny button text in request message.
  request-deny-hover: "&cDeny this request" # Hover text for deny button.
  request-cancel-button: "&c[Cancel]" # Cancel button text (for requester-side cancellation).
  request-cancel-hover: "&7Cancel this request" # Hover text for cancel button.
  request-dashboard-button: "&b[Open request list]" # Shortcut to the request dashboard.
  request-dashboard-hover: "&7View and manage all active requests" # Hover text for dashboard shortcut.

  # AFK & Glide safety notifications (v1.9.0)
  target-is-afk: "&c%target% is currently AFK and not accepting teleport requests."
  target-afk-warning: "&e⚠ Note: &f%target% &eis currently marked as AFK."
  glide-protection-active: "&b✦ &fGlide safety activated: &7Slow Falling applied for &b%seconds%s&7."

  # Request invalid/denied states.
  no-pending-accept: "&cNo pending teleport request to accept." # Sent when /tpaccept has no valid request.
  request-changed: "&cThis request is no longer available." # Sent when request expired/changed before action.
  no-pending-deny: "&cNo pending teleport request to deny." # Sent when /tpdeny has no valid request.
  request-denied-requester: "&cTeleport request denied by &f%target%&c." # To requester after denial.
  request-denied-target: "&eTeleport request denied." # To target after they deny/cancel.

  # Acceptance + teleport countdown flow.
  requester-offline: "&cThe requester is no longer online." # Sent if requester disconnects before completion.
  movement-cancelled: "&cTeleport cancelled because you moved." # Sent when movement cancels delayed teleport.
  teleported: "&aTeleported." # Sent when teleport succeeds.
  request-accepted-tpa: "&aYou accepted &f%requester%'s &ateleport request." # To target after accepting /tpa.
  request-accepted-tpahere: "&a&f%target% &aaccepted your TPAHere request." # To requester after /tpahere accept.
  actionbar-countdown: "&a&lTELEPORTING &7| Teleporting in &a%seconds% &7seconds &8[&7Do not move&8]" # Actionbar countdown (%seconds% replaced each tick).

  # Auto-accept toggle + notifications.
  autoaccept-enabled: "&aAuto-accept TPA is now enabled." # To player after enabling auto-accept.
  autoaccept-disabled: "&eAuto-accept TPA is now disabled." # To player after disabling auto-accept.
  autoaccept-target-notice: "&aAuto-accept is enabled. Incoming request accepted automatically." # To target when auto-accept triggers.
  autoaccept-requester-notice: "&e%target% has auto-accept enabled." # To requester when target auto-accepts.

  # Incoming request toggle messages.
  incoming-tpa-enabled: "&aIncoming teleport requests are now enabled." # To player after allowing requests.
  incoming-tpa-disabled: "&eIncoming teleport requests are now disabled." # To player after blocking requests.
  target-blocked-tpa: "&c%target% has disabled incoming teleport requests." # To requester when target blocks requests.

  # GUI close/cancel messages.
  gui-cancelled: "&eTeleport request cancelled." # Sent when request GUI is closed/cancelled.
  accept-gui-cancelled: "&eTeleport accept cancelled." # Sent when accept GUI is closed/cancelled.

  # Dynamic features messages
  unsafe-teleport: "&cTeleport cancelled: destination is not safe!"
  damage-cancelled: "&cTeleport cancelled because you took damage."
  plugin-reloaded: "&aConfiguration and data reloaded successfully!"
  no-permission: "&cYou do not have permission to run this command."
  request-too-frequent: "&cYou recently sent a request to &f%target%&c. Please wait a moment."
  request-expiry-reminder: "&e&lReminder: &f%requester% &ewants to teleport to you! Request expires soon."
  too-many-requests: "&cYou have too many pending requests! Cancel one first."

  # Combat, Invulnerability & World restriction messages
  in-combat: "&cYou cannot teleport while in combat! Wait &f%seconds%s&c."
  target-in-combat: "&c%target% is currently in combat and cannot accept requests!"
  combat-cancelled: "&cTeleport cancelled because you entered combat!"
  combat-request-cancelled: "&cTeleport request with &f%player% &cwas cancelled because of combat!"
  world-disabled: "&cTeleportation is disabled in this world!"
  world-change-cancelled: "&cTeleport cancelled because a player changed worlds."
  world-change-request-cancelled: "&cTeleport request with &f%player% &cwas cancelled because of a world change."
  invulnerability-started: "&aYou have &f%seconds%s &aof teleport invulnerability!"
  invulnerability-ended: "&eTeleport invulnerability has expired."

  # Player Blocklist messages
  player-blocked: "&cYou have blocked &f%target% &cfrom sending you teleport requests."
  player-unblocked: "&aYou have unblocked &f%target%&a."
  player-not-blocked: "&e%target% is not in your blocklist."
  target-blocked-you: "&c%target% is not accepting teleport requests from you."
  blocklist-header: "&6&lYour Blocked Players &8(&7%count%&8):"
  blocklist-format: "&7- &f%player%"
  blocklist-empty: "&eYou have not blocked any players."
  cannot-block-self: "&cYou cannot block yourself."

  # Trusted Friends messages (v2.2.0)
  usage-tpafriend: "&eUsage: /tpafriend <add|remove|list> [player]"
  friend-added: "&d✦ Added &f%target% &dto your trusted TPA friends (Instant Auto-Accept)!"
  friend-removed: "&eRemoved &f%target% &efrom your trusted TPA friends."
  friend-not-found: "&e%target% is not in your trusted friends list."
  friend-already-added: "&e%target% is already on your trusted TPA friends list."
  cannot-friend-self: "&cYou cannot add yourself as a TPA friend."
  friendlist-header: "&d&lYour Trusted TPA Friends &8(&7%count%&8):"
  friendlist-format: "&7- &d%player%"
  friendlist-empty: "&eYou have no trusted TPA friends yet. Use &f/tpafriend add <player>&e."
  friend-autoaccept-target: "&d✦ Trusted friend &f%requester%'s &drequest was accepted automatically."
  friend-autoaccept-requester: "&d✦ &f%target% &dhas you on their trusted friends list (Auto-Accepted)."
  cross-world-disabled: "&cCross-dimension teleportation is disabled!"
  max-distance-exceeded: "&cTarget is too far away! (&f%distance%m &c/ max &f%max%m&c)"

  # Admin mass teleport messages
  tpall-sent: "&aSent teleport requests to &f%count% &aonline players."
  tpahereall-sent: "&aSent TPAHere requests to &f%count% &aonline players."
  usage-tpablock: "&eUsage: /tpablock <player>"
  usage-tpaunblock: "&eUsage: /tpaunblock <player>"

  # Economy and Claims messages
  insufficient-funds: "&cYou do not have enough money! Cost: &f$%amount%"
  insufficient-xp: "&cYou do not have enough XP levels! Cost: &f%amount% levels"
  teleport-paid: "&aDeducted &f$%amount% &afor your teleport."
  teleport-paid-xp: "&aDeducted &f%amount% XP levels &afor your teleport."
  cooldown-bypass-ask: "&cYou are on cooldown! &e<click:run_command:/tpcoolby>Click here</click> &eto bypass cooldown for &f$%amount%&e."
  cooldown-bypassed: "&aBypassed request cooldown for &f$%amount%&a."
  region-protected: "&cTeleport cancelled: target is inside a WorldGuard protected region!"
  claim-protected: "&cTeleport cancelled: target is inside a GriefPrevention protected claim!"

  # Dashboard & Player Picker GUIs
  gui-dashboard-title: "&1&lTPA CENTER &8| &7Requests"
  gui-picker-title: "&6&lTPA SELECT &8| &7Online Players"
  accept-all: "&aAccepted &f%count% &apending teleport request(s)!"
  deny-all: "&eDenied &f%count% &epending teleport request(s)."
  cancel-all: "&eCancelled &f%count% &eoutgoing teleport request(s)."

# Sound effects for each event.
sounds:
  # Format: SOUND_NAME,volume,pitch
  # Use 'none' to disable a sound.

  # Request send/receive states.
  request-sent: "ENTITY_EXPERIENCE_ORB_PICKUP,0.8,1.3" # Played to requester when request is sent.
  request-received: "ENTITY_PLAYER_LEVELUP,0.7,1.5" # Played to target when request is received.
  request-cooldown: "none" # Played when player is on cooldown.
  request-accepted: "ENTITY_EXPERIENCE_ORB_PICKUP,0.9,1.2" # Played when a request is accepted.
  request-denied: "BLOCK_NOTE_BLOCK_BASS,0.9,0.8" # Played when a request is denied.
  requester-offline: "none" # Played when requester goes offline.
  no-pending: "none" # Played when accepting/denying with no pending request.
  target-blocked: "BLOCK_NOTE_BLOCK_BASS,0.9,0.8" # Played when target blocks request type.

  # Teleport process sounds.
  countdown-tick: "BLOCK_NOTE_BLOCK_HAT,0.6,1.9" # Played each countdown tick before teleport.
  teleport-success: "ENTITY_ENDERMAN_TELEPORT,0.9,1.0" # Played when teleport completes.
  teleport-cancelled: "BLOCK_NOTE_BLOCK_BASS,0.85,0.75" # Played when teleport is cancelled.

  # Auto-accept toggle sounds.
  autoaccept-enabled: "UI_BUTTON_CLICK,0.8,1.4" # Played when enabling auto-accept.
  autoaccept-disabled: "UI_BUTTON_CLICK,0.8,0.8" # Played when disabling auto-accept.
  autoaccept-triggered: "ENTITY_PLAYER_LEVELUP,0.8,1.1" # Played when auto-accept handles a request.

  # Request-block toggle sounds.
  request-toggle-enabled: "UI_BUTTON_CLICK,0.8,1.3" # Played when enabling incoming request type.
  request-toggle-disabled: "UI_BUTTON_CLICK,0.8,0.8" # Played when disabling incoming request type.

  # GUI + validation sounds.
  gui-cancel: "UI_BUTTON_CLICK,0.8,0.9" # Played when closing/cancelling via GUI.
  player-not-online: "BLOCK_NOTE_BLOCK_BASS,0.85,0.8" # Played when target player is offline.

# GUI layout and item text for request/accept inventories.
gui:
  title: "&6TPA Request" # Title of the request creation GUI.
  inventory-size: 27 # GUI size in slots (must be multiple of 9).

  filler:
    material: "GRAY_STAINED_GLASS_PANE" # Background filler item material.
    name: " " # Display name for filler item.

  cancel:
    slot: 11 # Slot used for the cancel button in request GUI.
    material: "RED_CONCRETE" # Cancel button material.
    name: "&cCancel" # Cancel button display name.
    lore:
      - "&7Close this menu."
      - "&cClick to cancel"

  send:
    slot: 15 # Slot used for send button in request GUI.
    material: "GREEN_CONCRETE" # Send button material.
    name-tpa: "&aSend TPA" # Send button label when command type is /tpa.
    name-tpahere: "&aSend TPAHere" # Send button label when command type is /tpahere.
    lore-tpa:
      - "&7Request teleport to &f%target%"
      - "&aClick to send"
    lore-tpahere:
      - "&7Ask &f%target% &7to teleport to you"
      - "&aClick to send"

  target:
    slot: 13 # Slot showing target player's head/info in request GUI.
    name: "&6%target%" # Display name for target preview item.
    lore-tpa:
      - "&8✦ &7You are requesting to teleport to this player."
      - "&8&m------------------------------"
      - "&c⚔ Kills: &f%kills%"
      - "&a💰 Balance: &f%balance%"
      - "&6🪙 Coins: &f%coins%"
      - "&8&m------------------------------"
      - "&eClick a button to continue."
    lore-tpahere:
      - "&8✦ &7You are inviting this player to your location."
      - "&8&m------------------------------"
      - "&c⚔ Kills: &f%kills%"
      - "&a💰 Balance: &f%balance%"
      - "&6🪙 Coins: &f%coins%"
      - "&8&m------------------------------"
      - "&eClick a button to continue."

  # GUI used by target when confirming an incoming request.
  accept:
    title: "&6TPA Confirm" # Title of the accept confirmation GUI.
    inventory-size: 27 # GUI size in slots (must be multiple of 9).

    filler:
      material: "GRAY_STAINED_GLASS_PANE" # Background filler item material.
      name: " " # Display name for filler item.

    cancel:
      slot: 11 # Slot used for cancel button in accept GUI.
      material: "RED_CONCRETE" # Cancel button material.
      name: "&cCancel" # Cancel button display name.
      lore:
        - "&7Close this menu."
        - "&cClick to cancel"

    confirm:
      slot: 15 # Slot used for confirm button in accept GUI.
      material: "GREEN_CONCRETE" # Confirm button material.
      name: "&aConfirm" # Confirm button display name.
      lore:
        - "&7Accept this teleport request."
        - "&aClick to confirm"

    requester:
      slot: 13 # Slot showing requester player info in accept GUI.
      name: "&6%requester%" # Display name for requester preview item.
      lore-tpa:
        - "&8✦ &7This player wants to teleport to you."
        - "&8&m------------------------------"
        - "&c⚔ Kills: &f%kills%"
        - "&a💰 Balance: &f%balance%"
        - "&6🪙 Coins: &f%coins%"
        - "&8&m------------------------------"
        - "&aPress confirm to accept."
      lore-tpahere:
        - "&8✦ &7This player wants you to teleport to them."
        - "&8&m------------------------------"
        - "&c⚔ Kills: &f%kills%"
        - "&a💰 Balance: &f%balance%"
        - "&6🪙 Coins: &f%coins%"
        - "&8&m------------------------------"
        - "&aPress confirm to accept."

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源