EXPensiveTP
EXPensiveTP - Pay XP for Teleporting!
[Tested Minecraft versions: 1.14.3 , 1.14.4]
EXPensiveTP is a teleport plugin where players must pay for their teleport rights! With XP(Levels)!
This plugin offers features such as:
set home, teleport home, teleport to bed, custom locations, teleport to location and more!
For every teleport you must pay with your levels and satisfy the minLevel requirement!
This plugin is designed for small and medium sized servers (should also have no problems on larger servers)
You can always turn customHomes and tpx off to get the standard version if you have/want a vanillia server!
What can it do? :
Pics : https://imgur.com/a/HR5SyDA
/hometp Command:
- lets a player set a custom home (enable or disable)
- pay level and teleport to your home ( configurable!)
- pay level and teleport to your bed
- Player will lose XP(level) in the process ( configurable! ) (2 Methods available)
- set min. amount of levels required to use teleport ( configurable )
- Teleport countdown ( configurable )
- custom teleport message
/tpx Command: (alias : /tpxp):
- teleport yourself to coordinate and pay XP
- teleport to custom locations on the server and pay XP!
- set min. amount of levels required to use teleport ( configurable )
- teleport countdown ( configurable)
- custom teleport message
- max tp distance ( configurable)
- custom teleport message
/explocation Command:
- add custom locations players can teleport to, to your server! (like spawn, a hub, a jump and run starting point etc.!)
- set minLevel players have to have and set level cost players have to pay to teleport to your location!
- remove locations just as easy!
- default permission: op (admin)
/tplist Command [page]:
- shows your custom locations ( Name, minLevel requiered,
Level_cost)
- max. 5 entrys per page
Commands:
/hometp --> Teleports a player to his custom set home. In the process he pays with his XP(level)
If custom homes is disabled: teleports a player to his bed!
/hometp set --> sets a custom home for the player
/hometp bed --> teleports player to his bed
/tpx [x] [y] [z] --> Teleports a player to given coordinates
/tpx [locationName] --> Teleports a player to custom location
/tplist [page] --> Shows all custom locations on the server
/explocation add [Name] [minLevel] [Level_Cost] --> Adds a custom location to your server (@ your current coordinates)
/explocation remove [Name] --> Removes location with the given name
Config:
config.yml should appear after you restart your server (if ExpensiveTP.jar is in your plugins folder)
You should edit it with Notepad++ or the standard windows editor
The config has changed in version 3! You can now enable or disable the /tpx [location] command!
So please delete your old config.yml from version 2, if you want to update to version 4!
# Config File of the ExpensiveTP Plugin
#Always use (int) or (boolean) values!!
# # = comment
# Config for the /hometp Command # Tutorial
#-------------------
# Put your world name here with " "
worldName: "world"
#-------------------
# Enable custom sethomes? (Command: /hometp set) If customHomes is true -> /hometp will now TP you to your set home!
# If customHomes = true, you will now have to type /hometp bed to tp to your bed
#(false / true )
customHomes: true
#min amount of level required to use /hometp (int)
minLevel: 5
#-------------------
# If decreaseLevel = true --> Level after /hometp = currentLevel - intLevel
decreaseLevel: false
intLevel : 5
#------------------
# If dividebyNumber = true --> Level after /hometp = currentLevel/setDivider
dividebyNumber: true
setDivider: 2
#------------------
# (int)seconds before teleport happens
teleportDelay: 6
#------------------
# teleportmessage: " message "
teleportmessage: "Teleport in : "
#------------------
#If playerMoveEvent = true --> Cancel teleport if player is moving or if player is getting damage (for the command /hometp)
playerMoveEvent: true
#------------------
#set teleport cooldown in sek. (please note that the teleport cooldown starts after a player used the /hometp command and NOT after the teleport is finished!)
tpcooldown: 5
#------------------
#Config for the /tpx Command :
teleportXP:
#enable tpx [x] [y] [z] (true/false)? (you can now use the command /tpx [x][y][z])
- true
#minLevel to use tpx in coordinate mode?
- 20
#decreaseLevel?
- false
#intLevel? (by how much do you want to decrease the current player Level if decreaseLevel = true)
- 5
#dividebyNumber?
- true
#setDivider? (by how much do you want to divide the current player Level if dividebyNumber = true
- 5
#teleportDelay - (int)seconds before teleport happens
- 10
#maxDistance a player can teleport (in blocks):
- 2000
# enable tpx [location]? (true/false):
- true
# Do you want to cancel the /tpx telport if the player is moving? (true/false)
- true
# set teleport cooldown (in sek.) for the tpx Command (please note that the teleport cooldown starts after a player used the /tpx command and NOT after the teleport is finished!)
- 5
#tpxteleportmessage: " message "
tpxteleportmessage: "Teleport in : "
#-------------------
Permissions:
tested with permissionsEX
expensivetp.all:
description: access all commands
epxensivetp.cooldown:
description: Removes tp cooldown
default: op
expensivetp.add:
description: Allows usage of /explocation add
default: op
expensivetp.remove:
description: Allows usage of /explocation remove
default: op
expensivetp.tplist:
description: Allows usage of /tplist
default: true
expensivetp.tpx.coordinates:
description: Allows usage of /tpx [x][y][z]
default: true
expensivetp.tpx.location:
description: Allows usage of /tpx [location]
default: true
expensivetp.home:
description: Allows usage of /hometp set
default: true
expensivetp.bed:
description: Allows usage of /hometp bed
default: true
How to install? :
- put the .jar in your plugins folder!
- start the server! A config.yml file should appear in your plugins/ExpensiveTP folder
- Edit the config with Notepad++ , Wordpad or Editor
- if your world Name is not "world" then you need to change it to your world Name (worldName: "yourWorldName")
Update 1.14.4 v.5 Changelog :
"Movement and Cooldown" Update
If you want to update : Your old config won't work anymore (just delete it, a new config will appear after reload)! Old locations should work (bugs possible) but please update them if you can!
- cancel teleport if player is moving or is getting damage (config)
- set teleport cooldown timer! (config)
- custom locations : Now saves yaw and pitch
- new permission (expensivetp.cooldown)
- small bugfixes
Have fun!
Nether Update (small update) (1.14.4 v.4)
If you want to update from version 3:
There should be no problems! But I would advise you to remove your previous locations(+homes) and set new ones!
- "beta update (bugs are possible)"
- you can now set homes and custom locations in the nether, end etc.
- worldName in config isn't as important anymore. (just a backup value)
- removed max distance from /tpx location (not from /tpx x y z !) (didn't make sense in the first place and wasn't possible anymore)
- project is now a maven project
Thank you for installing! :)
Donation Link:
I'm very excited about every download I see! But this plugin has taken me quite some effort to create and update. That's why I greatly appreciate every donation I receive!
If you want to fuel my motivation to update this plugin and you feel like this plugin is worth your support:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AZYVECJA7UPDU&source=url
(or use the donate button above)
Thank you! :)
What will come in the future?:
- allow players to set home bed during day by right-clicking on the bed
- admin command: tp someone to location
-
View User Profile
-
Send Message
Posted Jul 29, 2019Is it volunteer to cooldown the TP at use of the command and not after the tp?
-
View User Profile
-
Send Message
Posted Jul 29, 2019In reply to divinagneau:
I don't exactly understand what you mean. But I will try to answer your question anyway:
If you don't want the tp cooldown in its current state --> just set tpcooldown to 0 (for tpx and hometp in the config) or use the epxensivetp.cooldown permission
If you want the cooldown to start after the teleport --> rn this is not possible with the current version. I will add this next version
not perfect Workaround for now: Just set the cooldown higher than the teleport delay
If I didn't get your question right then please ask me again :)
-
View User Profile
-
Send Message
Posted Jul 29, 2019In reply to Forge_User_39116316:
You answered to my question :) I'm waiting for the next update =D Great work!
-
View User Profile
-
Send Message
Posted Jul 25, 2019Great update! Nice work! =D
I can not wait for "option to cancel teleport if player is moving" (and on damage, permissions)
Some suggestions:
- Allow players to set home bed during day by right-clicking on the bed. (permissions)
- Create an item to replace the command /hometp (a hearthstone, enable/disable, permissions)
- Add a cooldown on the command /hometp (options + permissions)
-
View User Profile
-
Send Message
Posted Jul 25, 2019In reply to divinagneau:
Haha thank you again! :)
I will add the first two suggestions on my toDo list :) . The cooldown one is actually quite hard to realise, so I won't do that feature for now.
edit: I was wrong about the cooldown. It is quite easy and I will do it! Should come with update 5
This is my current toDo list (if you are interested) :
-
View User Profile
-
Send Message
Posted Jul 22, 2019Great plugin!
Suggestion: Divide "Custom TP" and "TP on XYZ" in two options so administrators can choose to create TPs without players being able to teleport anywhere.
-
View User Profile
-
Send Message
Posted Jul 22, 2019In reply to divinagneau:
Thank you ! :)
There is actually a small "bug" right now where you can set teleportXP to false and /tpx location still works (but tpx [x][y][z] doesn't !). So use that or set the tpx minLevel requirements to a very high number! (if I have missunderstood you I am sorry)
But yeah.. I will try to add separate permissions to custom tp,tp xyz and all the other commands this week! Thanks for your feedback! :) )
-
View User Profile
-
Send Message
Posted Jul 23, 2019In reply to Forge_User_39116316:
That could be a great temporary solution :D