By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.
OK, Don't show this again
Plugins | WarpGUI |
---|---|
API | |
Version | |
Download | |
Total Download |
βοΈ The plugin allows you to create and edit warps βοΈ
βοΈ Can add or remove more areas βοΈ
Commands | Description | Aliases |
---|---|---|
/warpgui | WarpGUI Commands | /warp |
warpgui.command
to use command /warpguiwarpgui.command.help
to use command /warpgui helpwarpgui.command.create
to use command /warpgui createwarpgui.command.remove
to use command /warpgui removewarpgui.command.setup
to use command /warpgui setupwarpgui.command.list
to use command /warpgui list---
# WarpGUI config.yml
#
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
# βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
#
# Message Teleport To Warp
# Use {warp} to get warp name
msg-teleport: "§aSuccessfully teleport to warp§6 {warp}"
# Menu WarpGUI Name
menu-name: "WarpGUI"
...
$api = WarpManager::getInstance();
$name = "fishing";
//check warp exists
if($api->getWarp()->exsits($name)){
$player->sendMessage("warp already exists!");
return;
}
$api->addWarp($name);
$player->sendMessage("Warp ".$name." has been created successfully");
$name = "fishing";
if(!$api->getWarp()->exists($name)){
$player->sendMessage("warp does not exists!");
return;
}
$api->removeWarp($name);
$player->sendMessage("Warp ".$name." has been removed");
/**
*@var Player $player
*/
$api->editWarp[$player->getName()];
/**
*@var Player $player
*@var string $name
*/
$name = "fishing";
$api->teleportToWarp($player, $name);
IMPORTANT THING: You need to install the DEVirion
plugin into the plugins/
directory of the server, reload the server.
your_server_file
| - - plugins
| ` - - WarpGUI
| ` - - DEVirions
| - - virions
| ` - - InvMenu
| ` - - Commando
| ` - - SimplePacketHandler
Edit command
to Setup command
slot, item, position
when using done
in setupYou can leave one review per plugin release, and delete or update your review at any time