VaultTPA

Teleportation with distance based cost using Vault.


Fully customizable messages, supports any economy plugin with Vault, configurable cost, cooldown and maximum cost

Will not run without Paper and Vault



Default config:

limit: 10000 # The maximum cost of a single teleport
costPerBlock: 1 # How much money a single block of distance costs
cooldownTime: 15 # cooldown in seconds

# Strings, you can use &6Color &bCodes
# Do not remove the %s and %d.

noSuchPlayer: "No such player was found"
poor: "You have insufficient funds"
noPending: "No pending request was found"
senderPoor: "Request sender cannot afford teleport"
tpReq: "%s wants to teleport to you. /tpaccept to accept."
tpReqHere: "%s wants to teleport to you to them. /tpaccept to accept."
reqSentCost: "Request sent! Total cost if accepted: %s"
reqAccept: "Request accepted! Teleporting..."
acceptedCost: "Your teleportation request was accepted! You have been charged %s. Teleporting..."
failedCost: "Your teleportation request was accepted, but you cannot afford it! Total cost: %s"
cooldown: "You cannot use this command yet. Cooldown remaining: %d seconds"

 
Permissions:
vaulttpa.tpa - Permission to use /tpa and /tpaccept
vaulttpa.tpahere - Permission to use /tpahere


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    654579
  • Created
    Aug 3, 2022
  • Last Released File
    Aug 3, 2022
  • Total Downloads
    519
  • License

Categories

Members

Recent Files