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!
Can you make it so in the warp inventory section we can put the warps in the color codes ect.
@comniemeer
Warp-specific permissions PLEASE!
@xSkillCycanxMC
Thank you for the translation! I'm going to implement it in the next version.
@NyanCraftDe
Mal schauen ob ich eine Funktion einbaue, bei der die Essentials-Warps in den Warps-Ordner meines Plugins übertragen werden. Aber du musst beachten, dass in das virtuelle Inventar maximal 54 (6 Zeilen, 9 Spalten) Warps passen! Ich habe noch nicht ausprobiert, wie das mit mehr als 54 Warps aussieht :O
@ZwingGX
You're welcome! Yes, I recognized that already, I'm going to fix that in the next version. ;)
thank you for update :)
please add ignore aim(mouse) move event ? mouse move -> warp delay canceled :d
@comniemeer Ich muss mir mal anschauen wie dein Plugin die Warps abspeichert. Vielleicht kann ichs mit ner Batch irgendwie übertragen. 250 Warps neu setzen wäre mir jetzt zu krass.
This plugin i need only on Admin warps : pvp ... Vip have his warp here is problem :/
If you have conflicts with essentials just edit the config at
Now essentials will not use setwarp and warp!
:)
[CZ-language]-
@DasCube
Es ist alles bereits in Arbeit, bis auf die Farbe des Warps. Das wird wohl zu schwer zu machen und deshalb werde ich das vorerst nicht in Angriff nehmen. Aber das mit der Groß- und Kleinschreibung wird wohl in der nächsten Version gehen.
@NyanCraftDe
Das mache ich nicht, weil mein Plugin eigentlich die Befehle von Essentials überschreibt. Du musst dann deine Warps neu setzen. Es lohnt sich aber ;)
Kannst du vielleicht irgendwas regeln, dass der warp command, keine Probleme mit anderen Plugins macht, die diesen benutzen? Meine Warps werden bisher von Essentials verwaltet und das sollte auch eigentlich so bleiben. Nur wenn ich das richtig sehe kann ich ClickWarp dann nicht benutzen, weil beide /warp benutzen, oder?
Und noch ne Idee es währe cool wenn man den Warpnamen jetzt wie im tutorial pvp auch in Farbe und mit Formatics schreiben kann ? weil das nicght so toll aus sieht wenn man ne bunte Beschreibung hat und dann nen einfach (kleingeschrieben ;( )wei0en pvp text oben hat . Währe toll wenn du das einbringst
Hey mach mal bitte die Funktion rein dass man den Menünamen ändern kann also dieses Grüne Warps also so dass man mindesten ie Farbe und das Format ändern kann , währe voll nice danke , und mach bitte das man die warps auch mit großbuchstaben schreiben kann
LG DasCube ^^
@xSkillCycanxMC
Sorry, but I don't change the commands! For me it works fine with Essentials! My plugin overrides the Essentials warp commands, so that you can only use my plugin. You can try to re-set your Essentials warps with my plugin.
can you set new commands ??? i getting conflixt with essemtials please :) , i translate you CZ and SK language ;) and i thik so can russian
@Shlaten
Merci!! - Thank you!! I will implement it in the next version ;)
Hi, nice plugin, I have done a french translate of the langage file : Hope it will help some people.
thx for your plugin
and can you set new cmds?? warp getting conflict with esenials :-C
commi is in slovak language :-P forgot on this :-P
@AFatTick
Ok, I'll think about a solution how to order the warps however the user wants. ;)
@xSkillCycanxMC
No, I'm from Germany and can't read the second part of your comment xD
And you are slovak/czech ?? (pretože som tam videl Inventar :) len tak nechcel by si pracovať na niečom spoločnom? :P )