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!
@zekigames
You obviously have some sort of bukkit api extension (org.spigotmc) that this plugin is not compatible with, remove said api extension and it should be fine. I have never heard of spigotmc, but it it is super important, code your own InvWarp plugin to work with it, and please stop spamming the comments of this awesome plugin. >:(
Is there a way to set it so that players always spawn in with the invwarp item?
the items for them to click to go to warp menu isnt appearing in there inv any ideas??
HELP
2013-08-28 03:18:46 [SEVERE] Could not pass event InventoryClickEvent to ClickWarp v1.3.5
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:1393)
at net.minecraft.server.v1_6_R2.Packet102WindowClick.handle(SourceFile:31)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:235)
at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118)
at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:125)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NullPointerException
at de.comniemeer.ClickWarp.Listeners.InventoryListener.onClick(InventoryListener.java:35)
at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 15 more
I have the plugin and groupmanager and i gave all the perms to use the clock but still if i deop my self it says: Currently is no warp defined! Help me
When I try to create a warp sign.
First Line: [Warp] Second Line: blank Third Line: blank Fourth Line: blank
The sign breaks and says : [SignWarp] Pleasy specify a warp in line 2!
I am trying to put invwarp on a sign that says
First Line : [DPWarp] Second Line : Click here Third Line : to warp! Fourth Line : Blank
and it opens up invwarp.
Players can't use compass even when i gave permission for it.
Does anyone know if it's possible to add a few warps that DON'T pop up in the invwarp menu? i want to add them to warp signs insted of having them in the inventory, any help would be appreciated :)
I have given the players on my server the permissions: clickwarp.warp.* , clickwarp.warp, clickwarp.invwarp, yet none of them can use the item I set to open the teleport menu (compass). Please help!
@lecraeman
It actually replaces the essentials /warp with the ClickWarp's /warp command, so, yeah
So, I assume this does not work with essentials?
I would really love if it would.
I don't want to convert them...
Can you not make an option in the config to set it to USE essentials warps?
I have the click warp and it says i have a warp called .DS_Store and i try to delete it and It keeps on saying it does not exist HELP!!!!!!!!
@comniemeer
i do :3. Amazing plugin, i luv it. No bugs :D Just wondering if anyone knows a plugin that spawns you an item when u die?
@HeadShotNoob
Aren't there any people out in the world who read the whole description???
Hi,
I have a problem:
I created some Warps (as Admin) but the users cant see all these Warps..
What can I do or what i have done wrong?
- HeadShotNoob
@Quantum64
Already on the TODO-List.
@kurtis108
Please watch some tutorials how to set up GroupManager.
@zwerg4
Already on the TODO-List.
@akabarblake
Hmm... I don't have Mac, but I remeber a situation I had also a fake warp in the list. I'll try to exclude files from warp-listing that don't end with ".yml".
@ravand
There is already an awesome pugin that allows commands via an inventory. I try to find the link again... :D
Edit: Here it is: Chest Commands GUI
@xghozt
No. And I don't think I'll implement it.
@alex6135
You did not read the whole description: Warp-specific permissions
Please help me!
I installed this. Now only I, the Op, can warp. Can someone please give me detail instructions on how to set it up so all users can use warp signs? Instruction's say "clickwarp.sign.use" , but where do I do this. I am new to this.
My server is 108.170.11.170:25579
Is it possible to have this in your inventory automatically in a certain world?
@kurtis108
You don't know how to use Groupmanager?
Maybe add a feature that lets items send commands instead of warps only. This way you might be able to send bungeecord commands :)