DiscoverWarps

Download
The most recent downloads for this plugin can be found here: http://tardisjenkins.duckdns.org:8080/job/DiscoverWarps/
What it does
DiscoverWarps is a simple Skyrim/RPG style warp/teleportation plugin that lets you warp to locations that you have previously discovered.
Features
- Use stone or wood pressure plates to set discovery points
- Plates are protected from griefing and explosions
- Simple to use
- Set auto-discoverable locations
- Set a cost to buy locations
- Use signs to warp to locations
- Created in response to this request: http:forums.bukkit.org/threads/wip-mech-teleportation-skyrim-traveling.112579/
Installation
Add the DiscoverWarps.jar file to your server's plugins directory and start up the server. Config and database files will be created automatically with the default values.
If you want to use the buying feature you will need to install Vault and the economy plugin of your choice (check the Vault page for supported plugins)
How it works
- Place a stone or wood pressure plate where you want the discovery point to be
- Stand on the pressure plate
- Make the plate a DiscoverPlate by typing
/dw set [name] - Add as many DiscoverPlates as you want
- Players can show a list of DiscoverPlates by typing
/dw list- If they have discovered one of the plates (by walking on it) it will be marked as VISITED - Once a player has discovered a DiscoverPlate, they can teleport to it by typing
/dw tp [name] - Warp to a DiscoverPlate via a GUI (version 1.5.x or higher), type
/dw tp(without specifying a name) to open the GUI
DiscoverWarp Signs
You can place signs that will warp you to the specified DiscoverWarp plates
- Place a sign
- On the first line type: [DiscoverWarp] - the text to type is configurable
- On the second line type the name of the warp to go to
- Click Done to finish editing the sign - if there is a cost for buying the location, it will be placed on line 3
A player will be warped to the location if:
- they have already discovered the location
- there is a cost set and the player has sufficient balance
WorldGuard region discovery
To set them up:
- Add your WorldGuard region in the usual way
- Add a discoverplate inside the region where you want the warp point to be
- Run the
/dw set [name]command as usual - The plugin should auto-detect the WorldGuard region and add it to the database along with the plate location
- Get another player to test it out...
- You're done!
Commands
/dw set [name]- turns the stone or wood pressure plate you are standing on into a DiscoverPlate/dw delete [name]- removes the specified DiscoverPlate/dw disable [name]- disables the specified DiscoverPlate/dw enable [name]- enables the specified DiscoverPlate/dw cost [name] [amount]- set the cost for a DiscoverPlate/dw auto [name]- toggle auto-discovery true|false for a DiscoverPlate/dw allow_buying- toggles allow_buying true|false - requires Vault and a server restart to hook in your economy plugin/dw xp_on_discover- toggles xp_on_discover true|false/dw sign [text]- sets the text to type between the square brackets[ ]on a DiscoverWarps sign/dw list- lists enabled DiscoverPlates and shows if they are visited/not visited/dw tp [name]- teleports you to the specified DiscoverPlate, can now be used from the console:- You need to supply a
[player]argument - so the command becomes:dw tp [name] [player] - The player must have discovered the plate first, to override discovery, supply a fourth argument -
true- the command now becomes:dw tp [name] [player] true
- You need to supply a
/dw buy [name]- Buy the specified DiscoverPlate location
Permissions
discoverwarps.use discoverwarps.admin
All permissions default to OP.
Config
no_damage: [true|false]
Whether the player takes no damage (invulnerability) after teleporting. Default: false
no_damage_time: [seconds]
How long (in seconds) the player takes no damage. Default: 10 seconds
allow_buying: [true|false]
Whether players can buy DiscoverPlate locations. Default: false. Requires Vault to be installed if true
xp_on_discover: [true|false]
Whether players gain XP when finding a DiscoverPlate. Default: false
xp_to_give: [amount]
How much XP to give when finding a DiscoverPlate. Default: 3
sign: [text]
What to type between the square brackets when creating a DiscoverWarps sign. Default: discoverwarp
Video
And one in French: https://www.youtube.com/watch?v=lXB2L2wC3kE
Source code
Metrics
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true
UUID conversion
Versions 1.4 and higher of this plugin will connect to api.mojang.com to update player names in the database to UUIDs in order to support the upcoming name changes in Minecraft. It will do this one time only, when the server starts up after installing the new version of the plugin.
-
View User Profile
-
Send Message
Posted Mar 1, 2016Is it possible to bold the messages? (add formatting)
EDIT: And also it's impossible for me to translate, the config reloads itself.
-
View User Profile
-
Send Message
Posted Feb 29, 2016Hello just found your plugin and it was exactly what i needed.
Just one thing. How about adding the Option to open the Gui when you sneak on a warp plate? So it would be commandless.
MFG
-
View User Profile
-
Send Message
Posted Oct 4, 2015Can you add color codes to the text for the GUI locations =)
-
View User Profile
-
Send Message
Posted Sep 17, 2015@ZwPBerserk
You can't, and I don't see any need to do so.
-
View User Profile
-
Send Message
Posted Sep 17, 2015Hi,
How do i change the Gui Item/Icons ?
-
View User Profile
-
Send Message
Posted Jun 24, 2015@eccentricnz
Well what I want to do is allow them to use the list command, but not the warp command. Reason being is I want them to be able to use an item which warps them (which has op capabilities). I have the item set up, I just can't give them /dw list.
-
View User Profile
-
Send Message
Posted Jun 24, 2015@KronicleGamer
There are only two permissions (as listed above), as nobody has ever requested any different... Besides I see no point in having a warp plugin if you're not going to let people use the warps functionality...
-
View User Profile
-
Send Message
Posted Jun 24, 2015I may be doing something wrong, or I just have no idea, but how do I give people different permissions? Such as, allowed to use list, but not the dw tp?
-
View User Profile
-
Send Message
Posted Jun 14, 2015@Expodium
Install or update WorldGuard
-
View User Profile
-
Send Message
Posted Jun 14, 2015I love the idea of the plugin! But whenever i do /dw set <name> it gives me a internal server error. I use the recommended version of spigot and so on, is this something you know about?
Error:
http://pastebin.com/vcUrKtb9
-
View User Profile
-
Send Message
Posted May 30, 2015@dsquaredtwo
If it takes you more than 5 seconds to give everyone the discoverwarps.use permission, then you haven't got your permissions set up very well... I suggest you read up on permissions inheritance.
-
View User Profile
-
Send Message
Posted May 30, 2015Is there a way you can add something in config to make it so that players don't have to have the permission to discoverwarps.use in order to use discover warps, such as add something like, Permissions:[True or false] and when it is set to true players have to the permission in order to use the warping system, but when it is set to false any one can tp. I want this for my role-playing server but don't want to have to go through the hassle of giving permissions to new players just so they can use the fast travel system.
-
View User Profile
-
Send Message
Posted May 25, 2015@Flashera
Nope, and personally I find the Essentials delay quite irritating
-
View User Profile
-
Send Message
Posted May 25, 2015Is there a way to make a delay to go to the warps? (Like essentials)
-
View User Profile
-
Send Message
Posted May 23, 2015@giantawesomemeep
Can't currently do that
-
View User Profile
-
Send Message
Posted May 23, 2015i want the warps to cost but i dont want members to be able to use /dw buy [name] how do i do this?
-
View User Profile
-
Send Message
Posted May 15, 2015@CubyMaster
No estoy seguro de entender cómo reproducir el error, puede explicar con más detalle?
-
View User Profile
-
Send Message
Posted May 15, 2015Spigot 1.8.3 cuando explota un creeper salta problema y pasa eso al teletransportarse. Problem:
10:50:40 p.m. [WARN] [DiscoverWarps] Task #6210 for DiscoverWarps v1.5.2 generated an exception 10:50:40 p.m. java.util.ConcurrentModificationException 10:50:40 p.m. at java.util.HashMap$HashIterator.nextNode(Unknown Source) [?:1.8.0_45] 10:50:40 p.m. at java.util.HashMap$KeyIterator.next(Unknown Source) [?:1.8.0_45] 10:50:40 p.m. at net.minecraft.server.v1_8_R2.EntityTracker.track(EntityTracker.java:32) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:40 p.m. at net.minecraft.server.v1_8_R2.WorldManager.a(WorldManager.java:18) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:40 p.m. at net.minecraft.server.v1_8_R2.World.a(World.java:1066) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:40 p.m. at net.minecraft.server.v1_8_R2.WorldServer.a(WorldServer.java:960) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:40 p.m. at net.minecraft.server.v1_8_R2.World.addEntity(World.java:1059) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:40 p.m. at net.minecraft.server.v1_8_R2.World.addEntity(World.java:987) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:40 p.m. at net.minecraft.server.v1_8_R2.PlayerList.moveToWorld(PlayerList.java:604) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:40 p.m. at org.bukkit.craftbukkit.v1_8_R2.entity.CraftPlayer.teleport(CraftPlayer.java:475) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:40 p.m. at org.bukkit.craftbukkit.v1_8_R2.entity.CraftEntity.teleport(CraftEntity.java:223) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:40 p.m. at me.eccentric_nz.discoverwarps.DiscoverWarpsMover$1.run(DiscoverWarpsMover.java:57) [?:?] 10:50:40 p.m. at org.bukkit.craftbukkit.v1_8_R2.scheduler.CraftTask.run(CraftTask.java:71) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:40 p.m. at org.bukkit.craftbukkit.v1_8_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:41 p.m. at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:718) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:41 p.m. at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:41 p.m. at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:41 p.m. at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [spigot-1.8.3.jar:git-Spigot-26dfd01-ad2f806] 10:50:41 p.m. at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
-
View User Profile
-
Send Message
Posted Apr 18, 2015@qentin1741
Reloading a server is not recommended.
-
View User Profile
-
Send Message
Posted Apr 17, 2015Hi ,Thanks for good plugin , How i can change the cooldown because when i modify the config file and i reload the server the cooldown is reset to 30sec.