Skip to content

ClickedTran/WarpGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📋 General

Plugins WarpGUI
API
Version
Download
Total Download


✔️ The plugin allows you to create and edit warps ✔️


✔️ Can add or remove more areas ✔️


📖 Features

  • It's a plugin that allows you to navigate using the chest menu
  • The plugin is inspired by the WarpGUI of Minecraft PC

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
---
# 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

About

it's a plugin that allows you to navigate using the chest menu

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages