FastTravelSigns
FastTravelSigns: Simple Exploration/RPG-Friendly Warping
MC-Stats: Stats
Version 1.0.6 released. Requires Java 8 and Bukkit/Spigot 1.10+
Please report any Bugs or missing features as soon as possible.
Source-Code: GitHub
Tired of warp plugins that give your users access to a full range of public warp points as soon as they're given a certain permission? Want to encourage your users to explore rather than teleporting everywhere? Want to make them work a bit for their instant transportation? FastTravelSigns may be for you!
This plugin provides a means to create special [FastTravel] signs in your world, which your users may find and 'activate' by left-clicking them. At that point they may Fast Travel to them anytime. The idea here is that they have to get to a place before they may warp to it, similar to fast travelling in games like Oblivion and Skyrim (or even the Fly move in Pokemon!).
Features include:
- Very simple setup - most extra features are optional and it works great out of the box!
- SuperPerms/Bukkit Permissions support (Tested with PermissionsEX. See "Permissions" section below).
- Configurable cooldown between uses, and warmup before teleporting
- "Always on" automatic warp signs that will always be available to all players - Automatic signs are marked green on your list of available points!
- Economy support (Requires Vault)
- Signs are fully protected against removal by unprivileged users
- Growing list of handy administrative abilities
- You are now added to a sign if you enter a specific range
- Notifies admins if an update is availabile
- You can choose your destination in an inventory menu
- Uses the new UUID system
- Full support for SQLite and MySQL
- Signs can be shown on Dynmap
- Signs can be moved to new sign
Installation
You know the drill. Download FastTravel.jar and drop it into your plugins directory. If you wish to use the Economy support to charge your users for FastTravelling, also make sure you have installed Vault. This Plugin requires Java 8.
Run once to generate a default config.
YouTube
rmh4209 has made a handy Youtube video demonstrating installation and usage (still working but misses some features). And I made a YouTube video in german myself for a newer version.
Usage
See the Usage page.
Permissions
The following permissions can be given to control the use of the plugin. (Default is OP access for all permissions.)
- fasttravelsigns.use: Allows use of the /ft command to list travel points and to actually travel.
- fasttravelsigns.multiworld: Allows fast-travelling to points located in other worlds than the one the player is currently in.
- fasttravelsigns.create: User may create FastTravel signs (unauthorized ones are removed).
- fasttravelsigns.remove.own: User may remove FastTravel signs they created.
- fasttravelsigns.remove.all: User may remove all FastTravel signs, including ones they did not create.
- fasttravelsigns.list: Use the /ftlist command to list all FastTravel signs.
- fasttravelsigns.price: Use the /ftprice command to set the price to travel to a FastTravel point.
- fasttravelsigns.delete: Use the /ftdelete <point> command to delete it.
- fasttravelsigns.auto: Use the /ftauto <point> command to toggle whether or not it is "automatic", that is, "always on" and available to all players.
- fasttravelsigns.setpoint: Use the /ftsetpoint <point> command to set an alternate teleportation point for the sign.
- fasttravelsigns.reload: Use the /ftreload command to reload configuration and sign database.
- fasttravelsigns.overrides.cooldown: Allows user to bypass the cooldown setting if > 0.
- fasttravelsigns.overrides.allpoints: Allows user to teleport to every existing fast travel point, multiworld or not.
- fasttravelsigns.overrides.price: Allows user to bypass any costs for using fast travel.
- fasttravelsigns.overrides.warmup: Allows user to bypass the warmup setting if > 0.
- fasttravelsigns.clear: Allows user to clear all players from a sign.
- fasttravelsigns.remove: Allows user to remove a player from a sign.
- fasttravelsigns.setrange: Allows user to set the range of a sign.
- fasttravelsigns.save: Allows user to save the database.
- fasttravelsigns.update: Update notification will be shown on login.
- fasttravelsigns.menu: Allows the use of inventory menus /ftmenu.
- fasttravelsigns.show: Allows the usage of /ftshow and /ftshowrange.
- fasttravelsigns.convert: Alows the usage of /ftconvert [dbtype] to change the database system on the fly.
- fasttravelsigns.move: Allows the moving of a sign.
Known Issues
- Removing the block underneath or attached to a sign may result in the sign floating in midair.
- Occasionally a sign might be placed in such a way that users end up teleported to the ground below the sign. This does not have any obvious cause I can find yet. (Possibly fixed as of v0.4)
- If the sign is placed on a wall above ground level in a room, you may end up teleported to the room (or roof) above.
To-Do
- 1.1.0 - Might take a while
1.1.0 will drop support for files based databases. Either a SQLite or MySQL database will be used. This will enable me to add support for BungeeCord
Report any bug you find here: Issues
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
For news follow me on Twitter: Follow here
@gabriel11798
I avoided this for a reason - doing this would require a hook into player movement events, which are much more costly to your server speed than click events. I want to keep this plugin as light on server load as possible. But thanks for the suggestion!
@xphoenixxx
Thanks for the update. This might actually be the real solution to the weird teleportation problem. If I get time/motivation I'll see about adding a fix for that.
Plugin still working as of this weeks update, although travel to non-loaded, or very distant chunks often drops me in the ground or other unexpected places, unless i fast travel twice.
eg, 10, 64, 10 starting point 16300, 64, 448 destination point
This either jams me in the ground, or in a cave below, until i re-run fast travel to that point.
Fix there might be to make fast travel teleport twice, on purpose with a 1 second delay until the second teleport to give the chunk a chance to finish loading before calculating your position.
Maybe have a radius around signs, so when entered it displays a message like; "You discovered Spawn!" or something like that.
Could you make an option for travelling back and forth between and signs and to disable the text commands? Then I could use this for boats in ports and airships. If so, that would be great!
@Namiraja
Any updates?
@craftycreeper hi we're running on 1.2.5-R4.0 with MultiWorld, DeadMansChest, SimpleBackup, SimpleGold, WorldEdit, iConomy, GiveAll, LongerDay, PermissionsBukkit, Simple Player List, Vault, WorldGuard, TreeAssist, Catacombs, FastTravelSigns, dynmap, Dynmap-WorldGuard, PhatLoots, MonsterIRC, ChestLock, ItemRepair, SignShop, dynmap-mobs
with an older version of the plugin (i don't know exactly what i tried, sorry) there was no problem. i didn't try 0.5.3a, but i will now. btw it's always the last travelpoint that's listed in the signs.yml that is deleted (... that one at the bottom...)
@HoCo_xXSamXx
rmh4209 is precisely correct :) If you're still confused just check the Usage link above, or watch rmh's video (also linked above).
@HoCo_xXSamXx
It is. When you right-click the sign, you learn the location. In order to travel to a specific FastTravelSigns point, you have to type "/ft <name of point here>"
Hi, I love the idea of this plugin, however, I have not yet got it to work. Every time I try to use a created sign, It tells me "you have already traveled to this location". Is this the way it is supposed to be? Can I override this?
Thanks, HoCo
To those concerned about signs disappearing from your savefile, I've added a little check to make sure it saves when the plugin is being disabled. This should show up soon as version 0.5.3a. I hope this fixes it - if not, I am flummoxed.
Hope to add aliases within the next day or two!
@ryanwagner
The command names will conflict, so yeah, that won't work.
@zempire2010mjk
Love the idea of aliases. Will look into implementing this soon.
@SimonWhitePDX
This is really quite a weird issue. I'll be looking over my plugins again today and I'll make sure that the sign file is always being saved correctly after signs are added. Which version of Bukkit are you running, and what other plugins do you have?
@pgirl
Ah... having a different setpoint for each user would get kind of messy code-wise, but more importantly it lets users basically use every sign like a warp point to wherever they want, unless you constrain how far away from the sign the user's point can be. That could get pretty ugly. I personally think it's best to have one point for everyone per sign for now. The spawning in dirt issue is a separate problem that I haven't been able to track down yet :(
I honestly don't know how essentials could be interacting with it, unless /ft is one of the commands it has and it's conflicting. Possibly a permissions misconfiguration?
A dynmap plugin is an interesting idea. I will try to find out how difficult that would be.
@SimonWhitePDX
got the same problem. After some while the last travelpoint in signs.yml is deleted, when I use the '/reload' command.
@craftycreeper
The reason I wanted to be able to let people change the setpoint, was so they didn't spawn in the dirt all the time - but I only want them to change their OWN fasttravel point, but with setpoint turned on they can change EVERYONES setpoint. but that has become null and void because......
I've now got another problem. FT isn't working. I don't' know why. All I did was turn on /TP access in essentials, and now /ft doesn't work for any of my players. I have players who are literally half a real day's walk away. They have /home and /spawn now, but no /ft points.
And while I'm here... Are you going to do a dynmap - fasttravelsigns plugin?
I really want to continue using this plugin - I really like it, but it's impossible to hold back the crowd who are asking for warp instead for ever. :( I hope I can find the reason soon. :( And I hope you can stop the spawn from happening in the ground. I don't know how to write a mod, so maybe I'm asking for a lot.. don't know.
I'm having a problem with points being deleted for no reason, I have 10 points on my server, and I keep having to remake the signs, they keep their colors and everything, it's just that they suddenly get removed from the signs.yml and don't count as a point for some reason. I have no idea why!
Help me!
can this be used at the same time as: http://dev.bukkit.org/server-mods/fasttravel-technius/
specifically, the signs being players created warp points
the admin created warp points being the rpg style ones from the above
Out of all the things I have tried so far like MV Portals (I really like it, but started to hate all of the setup work), various warp sign plugins, etc this is now my current favorite.
It also works very well with MV Core and PermissionsBukkit by not allowing a world bypass to a non-allowed player as some other sign plugins have.
Some suggestions though if your willing to consider.
Addition of a sign alias so that it could still show the full name of the area its for on the sign, but allow you to go there without having to do the full name of that FastTravel sign. Was thinking something along the lines of a /ftalias command where you would type /ftalias ChessCraft Chess so that when ppl do /ft they can see ChessCraft(Chess) thus allowing them to type /ft chess and be taken to the ChessCraft FastTravel sign, or maybe just a way so that the plugin knows that if you type /ft Chess* it goes to the ChessCraft sign.
Addition of FastTravelAccept or /FTA (yes like how /TPA works) as it would just seem to fit with the whole FastTravel theme. I know there are other plugins that do the whole /TPA thing allowing you to TP to another player and them being able to accept or decline, but having one plugin that can do various TP effects instead of bits and pieces of several (that also contain 20 different things your never going to use) just seems cleaner overall.
Otherwise, this is looking to be a great plugin and has been a lot less headaches than most I have tried.
@Djrowling
Thanks! Glad to hear it :) I kinda went on a hiatus for a while and fell a bit behind on feature requests, but I hope to get back into the swing of things now.
omg, i love this plugin.
@someoneb
I've uploaded a new version (0.5.3) that includes both of your requested features! I hope that you're still using this months later, but if not, I hope the always-on signs feature is useful to others :) And yeah, the lack of - and _ in sign names was silly and I fixed that too.
@pgirl
Uhh... what? First of all, what do you mean by "hiding the sign"? What is the point of having warp points like this if no one can find them?
Secondly, the whole point of the permission is to control access to the setpoint command. If you don't want your users to have the command, don't give them the permission. Plain and simple.