Description:
With this small plugin you can create, list and delete different warp points. You can also create warp signs. All messages can be set in the config.
Features:
• Dynamic warp gui
• Every message is editable
• Every permission is editable
• Warp signs
• Developer api
• Update checker
Commands:
/warpsystem reload - Reloades the config.yml (warpsystem.warpsystem)
/setwarp <name> - Sets a warp point (warpsystem.setwarp).
/delwarp <name> - Deletes a warp point (warpsystem.delwarp).
/warp <name> - Teleportes you to a specific warp point (warpsystem.warp).
/warps - Lists all warp points (warpsystem.warps).
Other Permissions:
warpsystem.warpsign.create - To create a warp sign.
warpsystem.warpsign.use - To use a warp sign.
Config.yml:
Code (YAML):
messages:
prefix
: '&7
[&9WarpSystem&7
]&r'
no-player
: '
%prefix% &cYou must be a player!'
no-permission
: '
%prefix% &cSorry, you do not have enough permission!'
warp-already-exists
: '
%prefix% &cThis warp already exists!'
warp-not-exists
: '
%prefix% &cThis warp does not exist!'
warpsystem:
usage
: '
%prefix% &cUsage: /warpsystem reload'
successful
: '
%prefix% &eYou successfully reloaded the config!'
setwarp:
usage
: '
%prefix% &cUsage: /setwarp <name>'
successful
: '
%prefix% &eYou successfully set the warp &6%warp%&e!'
warp:
usage
: '
%prefix% &cUsage: /warp <name>'
successful
: '
%prefix% &eYou have been teleported to &6%warp%&e!'
delwarp:
usage
: '
%prefix% &cUsage: /delwarp <name>'
successful
: '
%prefix% &eYou successfully removed the warp &6%warp%&e!'
warps:
usage
: '
%prefix% &cUsage: /warps'
no-warps
: '
%prefix% &cNo warp points set yet!'
warp-sign:
successful
: '
%prefix% &eYou successfully created a warp sign!'
warp-inventory:
item:
name
: '&6
%warp%'
material
: BOOK
lore
:
- '&eClick to teleport!'
next-page
: '&6Next Page'
previous-page
: '&6Previous Page'
page
: '&6Page
%page%/%pages%'
page-not-exists
: '
%prefix% &cThis page do not exist!'
permissions:
warpsystem
: warpsystem.warpsystem
setwarp
: warpsystem.setwarp
delwarp
: warpsystem.delwarp
warp
: warpsystem.warp
warps
: warpsystem.warps
create-warpsign
: warpsystem.warpsign.create
use-warpsign
: warpsystem.warpsign.use
How To Create A Warp Sign?
1. Line: [Warp]
2. Line: Warp name
Developer API:
Code (Java):
public
void example
(
)
{
WarpAPI.
setWarp
(warp, location
)
;
WarpAPI.
deleteWarp
(warp
)
;
WarpAPI.
getWarpLocation
(warp
)
;
WarpAPI.
getWarps
(
)
;
WarpAPI.
warpExists
(warp
)
;
}
@EventHandler
public
void handleSetWarp
(SetWarpEvent event
)
{
// do stuff here
}
@EventHandler
public
void handleDeleteWarp
(DeleteWarpEvent event
)
{
// do stuff here
}
@EventHandler
public
void handleTeleportToWarp
(TeleportToWarpEvent event
)
{
// do stuff here
}
I would appreciate a rating 