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

Teleport to hub easyly
version 1.0
Approved
Direct Download How to install?
185 Downloads / 185 Total
Plugin Description §

HubSpawn

Teleport to hub easyly

Features

  • Set Hub
  • Set Spawn
  • Teleport to Hub
  • Teleport to Spawn
  • With permission (default/OP)

Commands & Permissions

Commands Permissions Informations
/hubspawn hubspawn.admin Admin only
/hub hubspawn.hub For all players
/spawn hubspawn.spawn For all players

API

Set

for "Type" can be filled with "hub" or "spawn"

use pedhot\hubspawn\HubSpawn;
use pocketmine\level\Position;
use pocketmine\Server;

HubSpawn::set("Type", new Position(1, 2, 3, Server::getInstance()->getLevelByName("worldname")));

Reset

for "Type" can be filled with "hub" or "spawn"

use pedhot\hubspawn\HubSpawn;

HubSpawn::reset("Type");
Supported API versions
3.0.0
->
3.21.0
License §
Categories:
General
Admin Tools
Teleportation
Fun
Permissions
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

Loading...