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

[PMMP] A Plugin implement Faction Guild API.

License

Notifications You must be signed in to change notification settings

skh6075/GuildPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GuildPlus

[PMMP] A Plugin implement Faction Guild API.

Usage

If you want to check the Player Guild?

GuildAPI::getInstance()->getGuildByPlayer(Player $player);

If you want to All Guilds?

GuildPlus::getInstance()->getGuilds();

If you want to create Guild?

GuildPlus::getInstance()->addGuild(Player $ownerPlayer, string $guildName);

If you want to get Guild?

/** @var Guild|null $guild */
$guild = GuildPlus::getInstance()->getGuild(string $guildName);

If you want to use Guild LevelProcess?

$levelProcess = $guild->getLevelProcess();
$levelProcess->getLevel();
$levelProcess->getExperience();
$levelPrccess->addExperience(float $amount);
$levelProcess->decreaseExperience(float $amount);

About

[PMMP] A Plugin implement Faction Guild API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages