Warps icon

Warps -----

Simple, elegant warps with a custom GUI and custom signs!




Hey everyone!
We are approaching 50,000 total downloads, and I want to do a special update in celebration. One feature which has been suggested multiple times is being able to create and lay out special pages of warps, for instance in a lobby style rather than a survival world style. This is one of the features I would like to add in the next update. Any other suggestions would be welcome; if I already have them planned, that will confirm their demand. If I don't, credit will be given for the idea. Thanks so much for downloading!

This update: Strictly a version, API and IDE update. The version is updated to 1.18.1, the API is downdated to 1.13 so that it can be more compatible (previously 1.17). I've switched workspaces and needed to get all my code transferred; this is proof that I'm ready to build the next big update.
----------, Jan 28, 2022

Sorry for the failed attempt earlier; I've been very short of time recently and am trying to pop out quick patches when I can and don't really have time to fully test things. Hopefully this will solve the sign line dupe issue!
----------, Sep 28, 2021

There was a minor bug reported to me wherein the third line on a warp sign was always displayed the same as the second line. This minor update should fix that issue. Sorry for any issues this may have caused, and thanks SarcasmEmbodied for the heads up!
----------, Sep 20, 2021

ItzYanick on Discord alerted me that after setting the warps, everything was fine. Then he restarted his server and it threw errors in the console; as it turns out, some of his warps were in worlds that were loaded in Multiverse. So at his suggestion I added a softdepend into the plugin.yml and now Warps will load *after* Multiverse, allowing full compatibility. Thanks ItzYanick!
----------, Aug 30, 2021

So I've had a couple of bugs and suggestions brought up recently and decided it was time to update to 1.17.

Bugs fixed:
If your server is in 1.17 and the plugin was developed for 1.16, the teleport would never happen, even though the countdown would. This has been fixed by updating the plugin to 1.17.
The name displayed for a GUI item can now be properly set by changing the name of the item itself before setting the GUI item. There are plugins that can do this for you, or you can rename it in an anvil and manually change it in the Warps.yml file.

Features added:
A new line has been added to the config.yml file. You can copy and paste this in wherever, or delete your old config file and it will generate inside.
Code (YAML):
Warp-Limit-Reached : "&cYou have created as many warps as you are allowed! (%limit%)"
This also adds in a new placeholder %limit% which is replaced by that player's total warp limit.
----------, Aug 7, 2021

So I've had alot of new users who are just starting out their journey in Minecraft Server Hosting, and many of them are making small, personal servers. This means that they don't have much need or desire to use a permissions management plugin... but they also don't really want to op everyone. So I made an easy compromise. The new config file has "UsePermissions" (a new entry) disabled (set to false) by default. This means you don't need a permissions plugin to use all of the permissions features. !WARNING! This does mean that any player can create or delete or otherwise alter any warp. Use this feature with caution.
The other change to the config file is the addition of an entry called "Warp-Limit" which is by default set to 1. This is used if any player does not have a specific permission limiting their warps (warps.limit.x).
I've also updated the code to 1.17, but do bear in mind that I have not extensively tested any of this. Please let me know via Discord when/if you have issues or questions. :) My tag is Blue Dev#1111. See you there!
----------, Jul 10, 2021

I was alerted of a bug by a helpful user wherein clicking in the inventory/gui of other plugins (or even a vanilla inventory) would cause errors to spam the console. This issue has been fixed. Thanks @asters94 for reporting this!
----------, Jun 5, 2021

First of all, I want to give a huge Thank You to all of you guys who have kept this plugin alive and growing for the last 5 years. Without your suggestions and your requests for bug fixes, I probably would have abandoned this project before it had a chance to shine. I am very proud to be the author of a plugin that has reached such a phenomenal number of downloads. I never thought I'd get this far. Thank you so much.

I've been wanting to do a complete code overhaul for version 2.0, but had lots of other things going on so I couldn't seem to find the time. But when I saw I was approaching 20,000 downloads, I knew I had to work on something special for you guys. So I have included several requested features, several bug fixes, and lots of optimizations and changes. There are still a couple things I wanted to add in and change, but they're minor really and shouldn't affect much as far as usage goes. So here's the overview.


Changed permission node warp.sign.create to warp.sign.create.* and warp.sign.create.own to allow players to create signs for their own warps.
Changed permission node warp.sign.destroy to warp.sign.destroy.* and warp.sign.destroy.own to allow players to destroy signs for their own warps.
Changed permission node warp.item to warp.item.* and warp.item.own to allow players to set their own warp items.
Changed Warps file section "GUI-Item" to hold an itemstack instead of a material for greater control.
Changed Warps file sections "W", "X", "Y", "Z", "Pitch", and "Yaw" to all be one section called "Location" to store things faster and with less memory.
Changed the way signs are stored; instead of being in a file now, the warp is stored within the sign itself as persistent data. This makes the plugin much faster and take up less storage space.
Added a better description within the config file of how to set up a warp sign.
Added a configurable message to prompt another sign breakage to confirm sign removal.
Added a configurable delay before warping.
Added a configurable message to alert the player of the delay.
Added the cancellation of a warp via movement out of original block location during the delay period (also configurable).
Added a configurable message for missing permissions of a given command.
Added a configurable message for when you set your warp's item.
Removed enormous amounts of old, poorly written code and re-wrote it in a much tidier, more efficient format.
Removed Signs file.
Removed numeric data for material types in config to catch up to current deprecation and code changes.


Phew, that was alot! The only downside here is that because of the massive changes and upgrades, your config file will have to be deleted. You can copy over some of your settings but be careful to not mess up the new file in the process, or you may find yourself starting over. The other thing is that any previously set warp signs will have to be re-created, since the storage is no longer in a file but in the sign's own persistent data container. The extra configurability of warp items also means that you may need to re-set your warp items for whichever ones were customized.

If you run into any other issues transitioning, hit me up on Discord @Blue Dev#1111 and I will get to you ASAP. I've got a busy life and can't guarantee I will get to you right away, but it will almost always be the same day (in my time zone).

Enjoy!
----------, May 11, 2021

Hey guys! No big overhaul of version 2.0 yet, but we're leading up to it. This quick update is to fix a breaking issue that just popped up this week in a user's server. Apparently, using a period in the name of a warp would cause the file saving to mess up, and I just never even considered it. It is now repaired and any period used in the name will automatically be removed before being saved to the file when creating your warp to prevent this issue.
----------, Apr 30, 2021

This update was a beast to get done. I updated a bunch of old code that really needed to be prettied up (when I first made this, I was kinda new to Java) and added some super cool features at the request of one of my users.

Sooo, these new things. They're simple and intuitive (I like things like that), so it should be easy to grasp.

Players who create a warp now log their UUID into that warp's info. This might look something like the following:

Code (YAML):
derp:
  W
: 2994a714-0218-4803-8ec6-58a9cf182423
  X
: 6012.5
  Y
: 92.25
  Z
: 237.5
  Yaw
: -212
  Pitch
: 12
  Creator
: d85bc05f-bdff-4931-b624-5713c6b029a0
But don't worry! Old warps are still compatible; their creator will be run as "null" and shouldn't throw any errors into your console.
The point of having the UUID logged is so that a player can have access to warps they create, even if they don't have permission to access all warps. Here's an example player:

NAME: Steev
UUID: i4M45CRU8-6969-420-whatevs
Perms: warp.create, warp.limit.3

So this player, Steev, has no permission to delete or use warps. But if uses the /setwarp command, a warp will be created which he can delete or use even without permissions. The limit permission means that he can have a maximum of 3 warps created by him at any given time. This permission can be any number supported by Java, all the way up to 2,147,483,647.

Hope this helps!

- Blue1
----------, Jan 3, 2021

*Actually* updated to Java version 1.8 now. I think last time my IDE didn't change the settings like I thought it did. I've updated the compiler settings and now this should run on all public hosting sites or any unit using Java 1.8.
----------, Nov 17, 2020

Not much to say; There were complaints about some hosting services still being on Java 8 and thus not being compatible with the Java 14 version that was posted previously. So this is a Java 8 version to continue compatibility.
----------, Nov 11, 2020

Fixed a bug where newer versions of Minecraft didn't recognize the built-in names of Bukkit sounds. Sound names are now editable within the config to set them to whatever you wish from the Bukkit Sounds list found at https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html. I have only tested this version in my 1.16.1 server because atm I am quite busy and didn't have time to test other versions. Enjoy!
----------, Nov 4, 2020

Fixed a minor bug, updated to make sure it's compatible with the newest version, and added a teleport sound.
----------, Jun 20, 2018

Added a requirement for players to have permission to use the warp attached to the warp sign.
----------, Dec 25, 2016

Fixed a bug where items did not show up properly in the GUI.
Made "next" and "previous" GUI items to be configurable.
Merry Christmas!
----------, Dec 24, 2016

Fixed a bug that allowed players to use any warp, regardless of permission, by using the GUI. Now only the warps they have permission to use will show in the GUI.
Added a BUNCH of configurable messages, as requested by @JacobNordvall . You will need to delete your old config file in order to use this update. If you changed the sign format from the default, you can copy/paste that into the new config.
Added a permission for /warps: warp.list
----------, Dec 24, 2016

Resource Information
Author:
----------
Total Downloads: 182,766
First Release: Dec 1, 2016
Last Update: Jan 28, 2022
Category: ---------------
All-Time Rating:
28 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings