Fast Travel Waypoints
Fast Travel Waypoints
Discoverable, scaling priced waypoints
- Author: ben657
- Version: 1.037
Description
This plugin allows for admins to define a set of named points which users can warp to whenever they want; given that they have previously been there and discovered the point. Going to a point will cost the player money. The amount will be defined by an equation given by an admin in the config.
Price equations
The price from one point to another is defined by an equation in the config. This can contain one of several variables and symbols to allow for customisation of prices.
+,-,*,/ = Add,Minus,Multiply,Divide
[DISTANCE] = distance between the player and the portal
[XWORLD] = A value depending on whether the teleport is across worlds. 1 if across worlds, 0 if in the same world.
[PWRLVL] = the players overall mcMMO power level, if it is running
[LVL] = the players normal minecraft exp based level
Example: [DISTANCE] * [PWRLVL] / 10 would divide the power level by 10, and multiply it by distance. (Follows BIDMAS, Brackets, indicies, division, multiplicaion, addition, subtraction)
Regions
You can create square regions in your world, in which travel between portals will be free. So a region over a city for example, traveling from a portal at the entrance to the castle withing for example will be free.
Commands/Permissions
- /waypoint || /waypoint list - lists each waypoint available and the price to it
- /waypoint list all - lists all waypoints, regardless of if they have been found - FTW.admin
- /waypoint create [name] - creates a waypoint with the given name - FTW.admin
- /waypoint delete [name] - deletes the waypoint with the given name - FTW.admin
- /waypoint region create [name] - creates a region with the given name - FTW.admin
- /waypoint region delete [name] - deletes the region with the given name - FTW.admin
- /waypoint [name] - tries to teleport you to the given waypoint, and charge the cost to your wallet - FTW.player
Requirements
- Tested on: CraftBukkit 1.5 R0.1 Development build
- External libs: BeanShell (equation parsing) - This must go in <server dir>/plugins/lib/
- Plugins: An economy plugin of your choice + Vault
@xcuirsed
Should be WorldGuard.
@xcuirsed
The author has been busy lately, I'm trying to find someone to help him maintain it. Decent suggestion though.
If this plugin is still being updated would it be possible to add a permission node that gives a discount to the travel cost.
What plugins does the region part of this plugin work with? Everytime I enter the command you state above it just comes up with the help /FTW [create/delete] [name]
Also the conflict was with a plugin named waypoints, which is where you can set death points where people are sent when they die instead of the spawn.
@xcuirsed
Not that i'm aware of. Theres aliases for the commands incase of command conflicts
Is there any plugins that will interfere with this one? Such as essential warps?
@xcuirsed
yep, and put the beanshell jar file inside the lib folder, just as the instructions above say to :)
So do I just create a folder called "lib" inside the plugin folder ?
@xcuirsed
ah, that's the problem. If you don't have the lib folder, you need to add it yourself and stick the beanshell lib in there :)
Tried it with the new jar and still nothing and I am using the latest craftbukkit. I have a horrible feeling I am just being an idiot and doing something completely wrong.
So let me get this right you just take both the jar and the bean shell thing and put them in the plugins folder as I don't have this lib folder.
Thanks in advance and sorry for the late reply.
@xcuirsed
Sounds odd... what version of Craftbukkit are you running? and are there any console errors relating to this plugin?
EDIT: Just uploaded a new version using the latest release of bukkit, give this one a try. ^^
Hey,
For some odd reason the jar isn't being picked up on my server, like it isn't making a config file or any file for that matter.
The only plugins I have is BOSEconomy Vault this one and the beanshell thing.
Any ideas on why this is happening and how to fix it? or am I just being thickheaded.
Thanks in advance.
Would it be possible to add a TELEPORT OTHER function? (so I could build a hub-like Grand Central station for my players?)
The idea would be that I build my teleport hub and (either via command block or, if the functionality were there, signpost) define where the pressure plate, button, portal, etc. would send a player while still observing discovered waypoints and costs..
Just thought I'd ask if that was on your radar at all.
Thanks again!
@Nobula
Yeah, that's definitely a command conflict, the help text there isn't anything i've written. Glad FTW works well for you ^^
Thank you! You were right!
If I use "/FTW" all of the spawn points are still there!! I can warp to them using, "/FTW <waypoint>". I have to use "/FTW waypoint ..." in order to access all the other create/edit/delete functions so it's all working except for the "waypoints" command which seems to be conflicting with something.
If I type, "/waypoint help" I get the following help (which I'm not sure is part of yours or Citizens2):
/waypoings provider [provider name] (-d) - Sets the current waypoint provider /waypoints disableteleporting - Disables teleportation when stuck (temporary command)
Other than "/waypoint help", typing "/waypoint" does nothing at all
no error message, no feedback whatsoever.Hope this is more useful info than my last post—this mod has really made my server so much more fun for our users. Thank you again for such a great piece of work!
-n
@Nobula
Hmm, sounds like a command conflict somewhere... I'll add a couple of aliases which will work for when the usual command doesn't, should solve the problem :)
Also, thanks for the kind words! Always nice to know the plugin's being used ^^
LOVE this mod. Currently working well on my server but found that installing Citizens (for RPG-esque NPCs and quests) breaks Waypoints. (none of the functionality seems to work: list, create, etc.)
All I can see is the instructions for accessing "Waypoint Help"
I know this isn't much to go on, but I'm not really sure what other information I could give that might be useful.
@diannetea
Updated a while ago, subscribe so you get upload notifications :)
1.5 error
http://pastebin.com/aNmcWw1T
Great feature... it's gonna become world of minecaft :D
one thing i don't get. How to set a region? the command /waypoint region create doesn't work..
@diannetea
The exp levels is already in, just use [LVL] in your equation. I just fixed up the description so that should be easier to see. :)
As for the zip file, I'll need to check if I'm allowed to distribute the lib, but good idea.