ClickedTran / WarpGUI

it's a plugin that allows you to navigate using the chest menu
GNU General Public License v3.0
7 stars 4 forks source link

πŸ“‹ General

Plugins WarpGUI
API
Version
Download
Total Download



βœ”οΈ The plugin allows you to create and edit warps βœ”οΈ


βœ”οΈ Can add or remove more areas βœ”οΈ


πŸ“– Features


Credits / Virions Used


πŸ’¬ Commands

Commands Description Aliases
/warpgui WarpGUI Commands /warp


πŸ“ Permission

Click to see permission - use permission `warpgui.command` to use command /warpgui - use permission `warpgui.command.help` to use command /warpgui help - use permission `warpgui.command.create` to use command /warpgui create - use permission `warpgui.command.remove` to use command /warpgui remove - use permission `warpgui.command.setup` to use command /warpgui setup - use permission `warpgui.command.list` to use command /warpgui list


πŸ“œ Config

Click to open ```yaml --- # 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" ... ```

πŸ“š For Developer

API

$api = WarpManager::getInstance();

Create New Warp

$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");

Remove Warp

$name = "fishing";

if(!$api->getWarp()->exists($name)){
   $player->sendMessage("warp does not exists!");
   return;
}
$api->removeWarp($name);
$player->sendMessage("Warp ".$name." has been removed");

Setup Warp

/**
*@var Player $player
*/
$api->editWarp[$player->getName()];

Teleport Player To Warp

/**
*@var Player $player
*@var string $name
*/

$name = "fishing";
$api->teleportToWarp($player, $name);


▢️ Tutorial Setup

your_server_file
| - - plugins
|       ` - - WarpGUI
|       ` - - DEVirions
| - - virions
|       ` - - InvMenu
|       ` - - Commando
|       ` - - SimplePacketHandler


Install

  • Step 1: Click the Direct Download button to download the plugin
  • Step 2: move the file WarpGUI.phar into the file plugins
  • Step 3: Restart server