Skip to content
This repository has been archived by the owner on Aug 29, 2022. It is now read-only.

qopiku/HubDelay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HubDelay

Teleport to the hub with a delay.

this is the PocketMine-MP Plugin to teleport player to a hub with a delay.

Requirements

PocketMine-MP API 3.0.0

How does this work?

Basically the /hub command will teleport the player to the default world and the default spawn. So, you only need to change the contents of the level-name variable in the server.properties file to be the name of your world lobby. and execute the /setworldspawn command on your world lobby server.

Command

  • /hub - Back to hub with a delay.

Future Additions

  • Creating config files
  • Customize the time to delay to the hub
  • Cooldown for command execution (custom delay + 5)
  • Added /sethub command to make it easier to set the position / location of the hub / lobby
  • Add custom aliases that can be set in the config file