KindlyTPA
Overview
KindlyTPA is a lightweight and simple plugin to control tpa in your server instead of installing other big plugins.
Features.
Protection System
- Players receive temporary invulnerability after teleportation (configurable duration)
- Prevents ambushes, traps, and _tpakilling _ after teleporting
User-Friendly Experience
- Simple commands:
/tpa
,/tpaccept
,/tpadeny
, and/tpacancel
- Clear feedback messages for all actions
- Cooldown system to prevent spam
Fully Customizable
- All messages are configurable in the config.yml
Usage
- Use
/tpa <player>
to send a teleport request - The recipient can accept with
/tpaccept
or deny with/tpadeny
- The sender can cancel their request with
/tpacancel
Configuration
The plugin features a comprehensive configuration file where you can adjust:
- Protection duration after teleportation
- Request cooldown time
- All message texts with full color code support
# KindlyTPA Configuration
# Time in seconds that players will be invulnerable after teleportation
protection-duration: 5
# Cooldown in seconds between TPA requests
tpa-cooldown: 30
# Messages (supports color codes with '&')
messages:
prefix: "&7[&bKindlyTPA&7] "
# TPA request messages
request:
sent: "&aYou have sent a teleport request to &e%player%&a."
received: "&e%player% &ahas requested to teleport to you. Type &e/tpaccept &aor &e/tpadeny&a."
no-pending: "&cYou don't have any pending teleport requests."
expired: "&cYour teleport request to &e%player% &chas expired."
cooldown: "&cYou need to wait &e%time% &cseconds before sending another request."
self: "&cYou cannot send a teleport request to yourself."
not-found: "&cPlayer not found or is offline."
# TPA accept messages
accept:
sender: "&aYour teleport request has been accepted. Teleporting in 3 seconds..."
receiver: "&aYou have accepted the teleport request."
no-request: "&cYou don't have any pending teleport request from this player."
# TPA deny messages
deny:
sender: "&cYour teleport request has been denied."
receiver: "&aYou have denied the teleport request."
no-request: "&cYou don't have any pending teleport request from this player."
# Protection message
protection:
enabled: "&aYou are now protected for &e%seconds% &aseconds after teleportation."
disabled: "&cYour teleportation protection has ended."
# Help message
help:
- "&b----- &eKindlyTPA Help &b-----"
- "&e/tpa <player> &7- Send a teleport request to a player"
- "&e/tpaccept [player] &7- Accept a teleport request"
- "&e/tpadeny [player] &7- Deny a teleport request"
- "&e/tpacancel &7- Cancel your sent teleport request"
Permissions (by default are true)
kindlytpa.tpa
- Allows sending teleport requestskindlytpa.tpaccept
- Allows accepting teleport requestskindlytpa.tpadeny
- Allows denying teleport requestskindlytpa.tpacancel
- Allows canceling sent teleport requests
Links
Details
Licensed MIT
Published 6 months ago
Updated 6 months ago