ClickWarp
ClickWarp is a plugin that allows you to teleport to your warps via an inventory. It also allows you to teleport to a player via an inventory. Of course, you can use the classic warping-system via commands.
Update 03/18/2019:
Sorry for not posting anything on the progress recently. I know I promised to update the plugin in 2018, but I stopped the work after a progress of around 50%. I was rewriting the entire plugin, because my coding style from 2013 was absolutely bad.
I still feel there's potential for this plugin, but I don't know whether it would be downloaded and if there's still a target group. If you are interested, please feel free to participate in the following poll: https://www.strawpoll.me/17634201
Additionally, I now have a donation button, and I would be pleased if you could support my work with a little donation. It would help me motivate and finally update this plugin! Nearly 500.000 downloads can't lie!
Commands and Permissions
<Required> - [Optional]
COMMAND | DESCRIPTION | PERMISSION | ALIASES |
---|---|---|---|
/warps | Shows you a list of available warps | clickwarp.warps | /warp |
/warp <name> | Teleports you to the given warp | clickwarp.warp | /warps <name> |
/invwarp | Opens an inventory with all warps, if you pick an item, you will be teleported there | clickwarp.invwarp | /invwarps |
Invwarp-Item | Opens the /invwarp-inventory, the item is configurable in the config.yml | clickwarp.invwarp.item | |
/setwarp <name> | Defines a new warp at the current location. Use color codes! ;) |
clickwarp.setwarp | |
/setwarp <name> [item-ID] | Defines a new warp at the current location with the specified item that is shown in /invwarp | clickwarp.setwarp | |
/setwarp <name> [item-ID] [price] | Defines a new warp at the current location with the specified item that is shown in /invwarp and the price that it costs | clickwarp.setwarp | |
/delwarp <name> | Deletes a warp | clickwarp.delwarp | |
/editwarp <name> item [item-ID] | Adds the warp an item which is displayed in /invwarp | clickwarp.editwarp | |
/editwarp <name> lore [lore] | Adds the warp a lore which is displayed in /invwarp | clickwarp.editwarp | |
/editwarp <name> price [price] | Adds the warp a price that it should cost | clickwarp.editwarp | |
/invtp | Opens an inventory with all players online on the server, and if you pick one head, you will be teleported to this player | clickwarp.invtp | /invteleport |
/clickwarp <version I reload> | Shows the version and reloads the files of the plugin | clickwarp.clickwarp |
Description for the /editwarp command
If you created a warp, you can do /editwarp to add additional meta to a warp.
/editwarp <warp> item <Item-ID> will change the item displayed in the /invwarp menu.
Example: /editwarp pvp item 276 will be shown as a diamond sword.
Another example: /editwarp shop item 35:14 will be shown as a red-wool block!
/editwarp <warp> lore <lore-text> will add a lore (description) to that warp in the /invwarp menu.
Example: /editwarp pvp lore &4Here_you_can:&2fight_against_your:&1enemies!
- The first line of the description is shown up red: "Here you can", while the second line is green: "fight against your" and the third blue: "enemies!".
The text will be splitted up in lines at any ":" and every "_" will be replaced by " ". Color codes are also possible.
Warp-specific permissions
You can now allow players access to all warps or only some specific warps via permissions!
First of all, give them the permission for the warp-method they are allowed to use:
- For warping via commands: clickwarp.warp
- For inventory-warping: clickwarp.invwarp
- For sign-warping: clickwarp.sign.use
Then give them the permission for:
- All warps: clickwarp.warp.*
or - Some specific warps: clickwarp.warp.<warp-name>
Sign-Warp
If you like to use your warps on signs, you can make now Warp-Signs!
Easily, put that on your sign:
Line | Content | Description |
---|---|---|
Line 1 | [Warp] | You can edit the appearance after updating the sign in the config.yml |
Line 2 | <warp-name> | Case insensitive, will be updated with colors and format automatically |
Line 3 | Type what you want, e.g. a description |
|
Line 4 | Type what you want, e.g. a description |
Permission for creating warp-signs: clickwarp.sign.create
Permission for using warp-signs: clickwarp.sign.use
Delays
If you like to warp or teleport players with a little delay, you can define in the config.yml these specific times.
You can set, whether delays are activated, how long players wait before teleporting and whether they shouldn't move.
If you like to let some groups/players bypass such delays, you can give them following permissions:
Give clickwarp.warp.instant to players that shouldn't be affected by warp-delays.
Give clickwarp.teleport.instant to players that shouldn't be affected by teleport-delays.
You can set in the config.yml whether delays should be used when warping via signs.
Current translations
If you're happy to support me, you can translate the language files to your language!
- English
- German
- French - thanks to Shlaten!
- Portugese - thanks to Ksocially!
- Czech - thanks to xSkillCycanxMC!
Known Bugs
- Item can't be "0" (AIR) -> StackTrace
TODO-List
- Sort items in the /invwarp menu however you want
- Custum commands
- Option to en- and disable warp-specific permissions
- Inv-TPA
- BungeeCord compatibility
- Convert/Migrate Essentials warps to ClickWarp warps
- Warp sounds
- If you have other ideas, write it in the comments or send me a pm!
@cursedmegaman
Yep, that works ^^
Hey, so i have a question. Can your click warp transport you to a different world? Like say i wanted to go from my original world to one that im trying to upload.
Hi, Ich hätte da noch eine Idee für ein weiteres Feature, evtl. die Möglichkeit einen anderen Spieler zu einem Warp zu schicken, also:
/warp spawn Spieler
Dann wird Spieler zum Spawn geschickt, wenn ich den Befehl eingebe.
@xH3LLRAIZ3Rx
No?! I just said I'm going to fix it today.
@SpiderVen0m
Do you mean Spigot servers running Bungeecord? No. I don't know anything about Spigot...
Can we warp servers?
@comniemeer
YAY, is it uploaded?
@xH3LLRAIZ3Rx
Tomorrow, OK ;)
Probably because im running latest development version of bukkit, can you add a update?
@PanniCraft
Nein, leider (noch) nicht! Mal schauen ob ich das hinbekomme ;)
Edit: Ehrlich gesagt weiß ich selbst nicht genau, wie das Plugin die Warps anordnet o.O Mir ist auf meinem Server aufgefallen, dass ein Warp, der mit k beginnt, weiter vorne steht, als einer mit a oder c! Diese Sache muss ich mal noch überdenken!
Hi, habe gerade gelesen, dass du Deutscher bist, also schreibe ich mal auf Deutsch :D Gibt es eine Möglichkeit, die Warps im Invwarp Menü anzuordnen (alphabetisch, beliebig)?
@PanniCraft
Yes, I know of this error, please wait for approval of version 1.3.2! I'm sorry about that...
@Wonkee
Give them the permission "clickwarp.warp.*" for access to all warps or "clickwarp.warp.<warp-name>" for this specific warp! ;)
@xH3LLRAIZ3Rx
Hmm... I'm sorry about that, but at the moment, I have no answer to that. I'm going to look today at my computer a little bit more specific [Was that formulated correctly? I'm from Germany, so my English isn't perfect...].
@comniemeer
when i did /invwarp This is the error: http://pastebin.com/wJj1SxY1
I have added and set up a few warps. I am able to do /invwarp and see the items and click and warp to them. However when anyone else does /invwarp they are told "no warps defined."
Problem fixed after reading the info on the latest update.
Hey there,
I really like your plugin but I get some errors when the plugin is loaded and when I type in a command. You can see the errors here:
http://pastebin.com/AxszJi33
I hope you can help me ^-^
@xH3LLRAIZ3Rx
What?! That can't be possible, because /warp has nothing to do with an interact event. But you can paste the error to pastebin.com or related, so that I can have a look on the severe!
i get a playerinteractevent severe each time i do /warp
@byCanLP
Do you mean cooldowns?
How can you make distances between each item warps?
@MrREOM
Sorry, but I don't know what you mean, can you explain it a little bit better?
@dog1234
No! (facepalm) That function is the main function and the meaning, why I started this project on BukkitDev. But you can disallow your players to use that, simply don't give them the permission.
Can you get rid of the inventory section and just leave the Warps section?