Main Features:
- Teleportation Requests (/tpa):
- A player can request to teleport to another player using the /tpa <player> command.
- If the target player is online, they receive a message with clickable options [YES] and [NO] to accept or deny the request.
- Accept Requests (/tpaccept):
- If the target player accepts the request, the requesting player will be teleported to the target after a configurable delay (e.g., 5 seconds).
- Deny Requests (/tpdeny):
- If the target player denies the request, the requesting player is notified.
- Automatic Request Expiration:
- Teleportation requests automatically expire after 60 seconds if not accepted or denied.
- Configurable Teleportation Cost:
- If enabled in the configuration, players can be charged for teleportation using Vault's economy system. The amount is configurable.
- Configuration Reload (/tpareload):
- Administrators can modify the configuration and reload it with the /tpareload command.
Configurable Options:
The plugin loads a configuration file that allows customization of:
- Messages shown to players (e.g., errors, success messages, or denial notifications).
- Teleportation delay.
- Whether teleportation costs money and how much it costs.
Technical Details:
- Uses Vault: For economy management (e.g., teleportation fees).
- Manages Teleport Requests: Uses a HashMap<UUID, UUID> to store requests, mapping the requester to the target player.
- Interactive Messages: Utilizes TextComponent for clickable chat options that allow players to accept or deny requests.
- Automation: Leverages the BukkitScheduler to handle request expirations and delayed teleportation.
Commands and Permissions:
- /tpa <player>:
- Description: Sends a teleportation request.
- Permission: tpa.tpa
- /tpaccept:
- Description: Accepts a teleportation request.
- Permission: tpa.tpaccept
- /tpdeny:
- Description: Denies a teleportation request.
- Permission: tpa.tpdeny
- /tpareload:
- Description: Reloads the plugin configuration.
- Permission: tpa.reload
Technical Details:
- Supported Versions: Compatible with the latest Minecraft server versions.
- Author: Developed by Mesiacik.
- Email: [email protected]
- Applied and tested on live server: majnuj.com
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta