Warpl v1.1 - Warp around your server

Warpl is a simple plugin that does one thing well- warping.

There are three commands:
/warp [warpname] - Warps the player to that warp.
/setwarp [warpname] (permission node: warpl.set) - Sets a warp at the player’s location.
/removewarp [warpname] (permission node: warpl.remove) - Removes the specified warp
/warplist - Lists all the warps that exist.

Data file is stored at: /mods/warpl/warps.dat

Download link: https://dl.dropboxusercontent.com/u/34769058/pl/Warpl.jar
Source: https://github.com/Cactose/Warpl
My twitter: https://twitter.com/Cactose

Confirmed compatible with build: sponge-1.8-1499-2.1DEV-544

I appreciate any feedback and am open to feature requests.

1 Like

Is there a warp delete command as well? Otherwise the list could get very crowded after a while :smiley:

Nope. I’ll add that right now!

1 Like

Nice! Perhaps you could also look into using this library for the list? I for one am a big fan of it :smiley:

1 Like

@Lemonous I would point him to the official PaginationService in SpongeAPI now that it’s there.

@Cactose

Pagination documentation can be found here

2 Likes

Thanks @Flibio I’m on mobile so I didn’t have the link at the ready!

1 Like

I would also recommend you test your plugin in single player worlds. If you are in one world, you will be able to see you warps from another.

Hint: you should be saving the world.getUniqueId() per location so when you get your worlds list, you can verify if the world is available in the current game session.

You can see Destinations source to give you an idea of how I did it. Also, you may have issues with permissions in single player worlds, at least until this issue is solved.

1 Like

What’s the difference between warp delete and /removewarp ?

Oh forget it, I answered my own question.

is there anyway to limit the number of warps a group/rank/person can have?