diff --git a/Essentials/src/com/earth2me/essentials/api/IWarps.java b/Essentials/src/com/earth2me/essentials/api/IWarps.java index 207b2afdb..ab94d2187 100644 --- a/Essentials/src/com/earth2me/essentials/api/IWarps.java +++ b/Essentials/src/com/earth2me/essentials/api/IWarps.java @@ -54,6 +54,25 @@ public interface IWarps extends IConf { */ void setWarp(String name, Location loc) throws Exception; + /** + * Set a warp + * + * @param user - User of warp + * @param name - Name of warp + * @param loc - Location of warp + * + * @throws Exception + */ + void setWarp(User user, String name, Location loc) throws Exception; + + /** + * Gets Lastowner UUID + * + * @param name - Name of warp + * + * @throws WarpNotFoundException + */ + UUID getLastOwner(String warp) throws WarpNotFoundException; /** * Check to see if the file is empty *