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!
Echt super plugin benutze es schon länger ABER habe das problem dass die warps die ich setze für niemanden sichtbar sind außer für ops also "Currently is no warp defined" oder so ähnlich nur ops können das /invwarp menü öffnen. Woran liegt das? Dake, Affe3397 :D
hey the signs are only work with Op's and the delay time isn't working!
Is it possible to make that a player needs to have already found a warp to have the permission?
Great plugin :3
I will probably make a plugin review in English on this because there are so many other languages!
@comniemeer
Ah great the plugin updated so now it works GREAT! Thanks great plugin!!
@LightningGamingz
Are you using CB 1.5.2-R0.1 or higher? - Don't use it! Wait for ClickWarp 1.3.5 to be approved!
Great plugin, besides one thing In the new Version. When I go to my inventory or use the item for the invwarp, I lag! I am referring to Client Sided Lag, but It happens to everyone that tries it. Hopefully you can fix this because this is an AWESOME plugin I have been waiting for! (By the way, the older version doesn't lag, only when you use the invwarp, not when you go to your inventory)
@BenMe and @all:
I'm sorry about the error
, but at the moment, I have no idea how to fix that :(Hopefully I find a solution tomorrow!
Fixed! Wait for the update until it has been approved!
Hey, wirklich Klasse Plugin :)
Allerdings bekomme ich beim Invwarp eine Fehlermeldung die extrem lang ist. Kleiner Ausschnitt: org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:672) at net.minecraft.server.v1_5_R3.EntityPlayer.closeInventory(EntityPlayer.java:661) at org.bukkit.craftbukkit.v1_5_R3.entity.CraftHumanEntity.closeInventory(CraftHumanEntity.java:321) at de.comniemeer.ClickWarp.Listeners.InventoryListener.closeInv(InventoryListener.java:111) at de.comniemeer.ClickWarp.Listeners.InventoryListener.onClose(InventoryListener.java:97) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:672) at net.minecraft.server.v1_5_R3.EntityPlayer.closeInventory(EntityPlayer.java:661) at org.bukkit.craftbukkit.v1_5_R3.entity.CraftHumanEntity.closeInventory(CraftHumanEntity.java:321) at de.comniemeer.ClickWarp.Listeners.InventoryListener.closeInv(InventoryListener.java:111) at de.comniemeer.ClickWarp.Listeners.InventoryListener.onClose(InventoryListener.java:97) at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.v1_5_R3.event.CraftEventFactory.handleInventoryCloseEvent(CraftEventFactory.java:672)
@fabibalzu
Nein, das möchte ich nicht machen, weil mein Plugin ja eigentlich die Befehle von Essentials überschreibt.
@playogaming
I have with my lastest plugin version (1.3.4) no problems with CraftBukkit 1.5.2. Can you send me eventually your error report?
@FlavourFlave
Kommt in der nächsten Version.
@TheCobra54
/warp <Warp> <Spieler> kommt auch in der nächsten Version.
Ich wüsste nicht was ich für 1.5.2 fixen sollte... Ich habe keine Fehler...
@fabibalzu
Ich finds gut so, man muss ja nur die Befehle in Essentials aus machen. Nur der /warp Befehl sollte etwa so aussehen: /warp <warp> <player> - so dass man andere Spieler teleporten kann.
PS: Bitte fix für 1.5.2!!
@comniemeer
Ich weis was du noch machen könntest:
Du könntest ja noch ein Item machen für /invtp z.B ein Buch oder so
update it to 1.5.2 it keep the old InventoryListener is playing up so you need to fix it
Hallo kannst du eventuell eine Veränderte version zum Download anbieten? Weil die Kommandos "/setwarp, /delwarp, /warp, /warps" mit Essentials Konfrontieren es währe net wenn du diese zum Beispiel so ändern könntest "/cw setwarp, /cw delwarp, /cw warp, /cw warps" Oder so ähnlich ist mir vollkommen egal wie sie danach heisen hauptsache sie Konfrontieren nicht mehr.
Danke, fabibalzu
@Gnarrsy
Warp specific permissions
Could you make it so that users can only warp to certain warps, not all of them? Because my server has admin only warps.
@sebas2023
Warp specific permissions
In my server the people try to /invwarps and it says 'no warp defined'
GReetings sebas2023
@PanniCraft
cool, thanks