π 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
```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