
Pay To Teleport
This is a minecraft fabric mod that allows you to teleport with configurable item and costs.
Screenshots


About this Mod
PayTp Mod Documentation
- Updated on 2025-10-27
- 中文文档请看这里
Overview
PayTp is a lightweight Fabric mod for Minecraft that allows players to teleport by paying a certain amount of in-game currency (items).
It supports flexible teleportation modes, multi-language localization, and fully customizable cost rules.
Features
- Cross-dimension teleport to a specified location
- Player teleport request system
- Home and Back
- Beacon waypoint (Warp)
- Adjustable teleportation cost algorithm
- Ender Chest / Shulker Box payment support
- Cloth Config API support (client-side)
- Can be used as a server-side only mod
Most features can be disabled by setting their corresponding command names to empty strings.
For example, changing general.mainCommand in the config file from ptp to empty will disable the coordinate teleport function.
The in-game help guide will automatically adapt.
Commands
All displays show the default command names, where <> indicates required parameters and () indicates optional parameters
| Command | Description |
|---|---|
/ptp |
Get command guide for PayTp |
/ptp (dimension) <x> <y> <z> |
Teleport to specified coordinates (in a specific dimension) |
/ptpto <player> |
Send request to teleport to a player |
/ptphere <player> |
Send request to a player to teleport to you |
/ptpaccept (player) |
Accept a teleport request (from a specific player) |
/ptpdeny (player) |
Deny a teleport request (from a specific player) |
/ptpcancel (player) |
Cancel a pending teleport request (to a specific player) |
/ptpback |
Return to the previous location |
/ptphome |
Teleport to your home (if configured) |
/ptphome set |
Set your home to your current position |
/ptpwarp <name> |
Teleport to the specified waypoint |
/ptpwarp create <name> |
Create a new waypoint (must be within an active beacon beam) |
/ptpwarp delete <name> |
Delete the specified waypoint |
/ptpwarp list (page) |
View all waypoints on the server |
Configuration
Configuration File Location:
~/config/paytp.json
Example Structure:
{
"general": {
"language": "en_us",
"mainCommand": "ptp",
"crossDimMultiplier": 1.5
},
"request": {
"requestCommand": {
"toCommand": "ptpto",
"here": "ptphere",
"acceptCommand": "ptpaccept",
"denyCommand": "ptpdeny",
"cancelCommand": "ptpcancel"
},
"expireTime": 10
},
"home": {
"homeCommand": "ptphome",
"homeMultiplier": 0.5
},
"back": {
"backCommand": "ptpback",
"maxBackStack": 10,
"backMultiplier": 0.8
},
"warp": {
"warpCommand": "ptpwarp",
"maxInactiveTicks": 100,
"checkPeriodTicks": 20,
"warpMultiplier": 0.5
},
"price": {
"currencyItem": "minecraft:diamond",
"parameter": {
"minPrice": 1,
"maxPrice": 64,
"baseRadius": 10.0,
"rate": 0.01
}
},
"setting": {
"effect": {
"particleEffect": true,
"soundEffect": true
},
"flag": {
"allowEnderChest": true,
"prioritizeEnderChest": true,
"allowShulkerBox": false,
"prioritizeShulkerBox": false
}
}
}
Configuration Details
General Settings
| Field | Type | Description |
|---|---|---|
language |
string |
Language file (e.g., zh_cn, en_us, zh_tw), affects messages and help text. |
mainCommand |
string |
Main command name, e.g., /ptp. |
crossDimMultiplier |
double |
Price multiplier for cross-dimensional teleportation, e.g., 1.5 means 1.5× the base price. |
Teleport Request System
Request Commands
| Field | Type | Description |
|---|---|---|
toCommand |
string |
Command to request teleporting to the target player (default /ptpto). |
hereCommand |
string |
Command to request the target player to teleport to your location (default /ptphere). |
acceptCommand |
string |
Command to accept a request (default /ptpaccept). |
denyCommand |
string |
Command to deny a request (default /ptpdeny). |
cancelCommand |
string |
Command to cancel a sent request (default /ptpcancel). |
Configuration
| Field | Type | Description |
|---|---|---|
expireTime |
int |
Teleport request expiration time in seconds. |
Home System
| Field | Type | Description |
|---|---|---|
homeCommand |
string |
Command to teleport home (default /ptphome). |
homeMultiplier |
double |
Home teleport multiplier, e.g., 0.5 means half price. |
Back System
| Field | Type | Description |
|---|---|---|
backCommand |
string |
Command to return to previous location (default /ptpback). |
maxBackStack |
int |
Maximum number of saved historical positions. |
backMultiplier |
double |
Back teleport multiplier, e.g., 0.8 means 20% discount. |
Waypoint System
| Field | Type | Description |
|---|---|---|
warpCommand |
string |
Command name to teleport to a waypoint (default /ptpwarp). |
maxInactiveTicks |
int |
The cooldown time before a waypoint is deleted after its associated beacon is deactivated. |
checkPeriodTicks |
int |
The interval for checking waypoint-to-beacon matching. |
warpMultiplier |
double |
Waypoint teleport multiplier, e.g., 0.5 means half price. |
Cost Calculation Settings
Currency
| Field | Type | Description |
|---|---|---|
currencyItem |
string |
The item ID used as currency, e.g., minecraft:diamond. |
Parameters
| Field | Type | Description |
|---|---|---|
minPrice |
int |
Minimum teleport cost. |
maxPrice |
int |
Maximum cost per teleport. |
baseRadius |
double |
Radius within which teleportation costs the minimum price. |
rate |
double |
Distance increase rate for cost beyond base radius. |
Settings
Effects
| Field | Type | Description |
|---|---|---|
particleEffect |
boolean |
Enable particle effects during teleportation. |
soundEffect |
boolean |
Enable sound effects during teleportation. |
Feature Flags
| Field | Type | Description |
|---|---|---|
allowEnderChest |
boolean |
Allow using currency from Ender Chests. |
prioritizeEnderChest |
boolean |
Prioritize deduction from Ender Chests. |
allowShulkerBox |
boolean |
Allow using currency from Shulker Boxes. |
prioritizeShulkerBox |
boolean |
Prioritize deduction from Shulker Boxes. |
Price Calculation Formula
Calculation Logic
Distance Calculation:
- Same dimension:
- Use direct Euclidean distance.
- Cross-dimension:
- Overworld × 8 → Nether;
- Nether × 0.125 → Overworld;
- Entering/leaving The End: use the distance from whichever coordinate is in The End to the End center
(0,0,0).
- Other dimensions:
- Use Euclidean distance by default. Can customize in
PayTpCalculator#calculateDistance.
- Use Euclidean distance by default. Can customize in
- Same dimension:
Formula:
distanceBeyondBase = max(0, distance - baseRadius) rawPrice = minPrice + distanceBeyondBase * increaseRate totalPrice = rawPrice * externalMultiplierFinal Price:
price = min(totalPrice, maxPrice)
Example Calculation
Default price configuration:
{
"minPrice": 1,
"maxPrice": 64,
"baseRadius": 10.0,
"rate": 0.01,
"crossDimMultiplier": 1.5
}
- Player A teleports to Player B (same world, distance 200 blocks):
Extra distance = 200 - 10 = 190 Price = (1 + 190 × 0.01) × 1.0 = 2.9 → rounded to 3 - Cross-dimensional teleport:
Price = 3 × 1.5 = 4.5 → rounded to 5 - Price is capped at 64 automatically.
Cloth Config Support
If the Cloth Config API is installed, all settings can be adjusted directly through the in-game Mod Menu GUI. (World restart may be required.)
Compatibility & Deployment
| Type | Supported |
|---|---|
| Fabric Loader | ✅ |
| Server Only | ✅ |
| Client UI (Cloth Config) | ✅ |
| Multi-language Support | en_us / zh_cn / zh_tw |
| Minecraft Version | 1.21.4+ |
Credits
This mod is inspired by early economy-style teleport plugins. The request logic references the Teleport Command mod. The waypoint logic references the Beacon Waypoint mod.
Developed using Fabric API and fully compatible with vanilla saves.
Feel free to submit issues or pull requests on GitHub to improve configuration and calculation algorithms.
Available Versions
How to Install Pay To Teleport on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Pay To Teleport". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+5 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Pay To Teleport server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Pay To Teleport compatible with fabric?
Pay To Teleport officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Pay To Teleport – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Pay To Teleport consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Pay To Teleport with just one click on your server.