Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.
/ EasyHomes Public archive

A highly customizable and easy-to-use Homes plugin which supports both commands and forms.

License

Notifications You must be signed in to change notification settings

AntiCores/EasyHomes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EasyHomes Banner

EasyHomes

HitCount License Poggit Release
HitCount GitHub license Poggit-CI

A highly customizable and easy-to-use Homes plugin which supports both commands and forms for your Minecraft Bedrock Server running on PocketMine-MP.

Features

  • Allows you to create homes on your server.
  • Easy configuration and setup.
  • You can change the language by editing the lang.yml file.
  • Default commands and messages shown to the player can be changed via lang.yml.
  • You can set a limit to the maximum homes that a player can set. Edit the default limit in config.yml to suit your needs.
  • Two storage ways available: Yaml and SQLite3 which can be set via config.yml.
  • Neat API for developers looking for making addons or including this plugin into their own plugin.
  • Support commands as well as forms. Both of which can work in conjunction.
  • Support for Admin Commands.
  • Admins can easily monitor player homes even when a player is offline.

How to setup?

  • Get the .phar of this plugin from poggit
  • Put into your plugins folder.
  • Restart the server.
  • Enjoy...

Commands and Permissions

  • Normal Player Commands:
Description Command Permission Default
Home form /home eh.command true
Home command /home [string:home] eh.command.tp true
Teleport to home /home teleport [string:home] eh.command.tp true
Delete a home /home delete [string:home] eh.command.del true
Help command /home help eh.command.help true
List homes /home list eh.command.list true
Set a home /home set [string:home] eh.command.set true
  • Admin Player Commands:
Description Command Permission Default
Admin form /homeadmin eh.command.admin op
Delete a player home /homeadmin delete [string:player] [string:home] eh.command.admin.del op
Get player's home limit /homeadmin getlimit [string:player] eh.command.admin.limit.get op
Set player's home limit /homeadmin setlimit [string:player] [int:count] eh.command.admin.limit.set op
Increase player's home limit /homeadmin ilimit [string:player] [int:count] eh.command.admin.limit.increase op
Help command /homeadmin help eh.command.admin.help op
List player's homes /homeadmin list [string:player] eh.command.admin.list op
Set player's home /homeadmin set [string:player] [string:home] eh.command.admin.set op
Teleport to player's home /homeadmin teleport [string:player] [string:home] eh.command.admin.tp op

Note: Alias for every command exists. You can find detail in lang.yml.

API

EasyHomes provides a simple API for developers wishing to use this plugin in theirs or make addons for it.

  • First you need to get hold of the plugin. You can do so by:
$easyHomes = Server::getInstance()->getPluginManager()->getPlugin("EasyHomes");
if($easyHomes instanceof \JackMD\EasyHomes\Main){
    //do whatever
}
  • Then you need to get hold of the provider via:
$provider = $easyhomes->getProvider();
  • Now you take a look at ProviderInterface for the things you can access.
  • Everything in it is easy and straight forward.