Skip to content

Lunarelly/LunarRanks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ranks

Ranks plugin for PocketMine-MP.

Features

  • Rank command have auto-completion
  • Flexible settings in config.yml
  • Local/Global chat
  • Rank inheritances
  • Rank priorities
  • Chat & Nametags included
  • Fast & Easy to use

Setup

  • Configure your ranks in config.yml
  • Example:
ranks:
  player:
    priority: 1
    color: "§7"
    display-name: "Player"
    chat-format: "§f{NAME}: §7{MESSAGE}" # Available tags: {NAME}, {DISPLAY_NAME}, {MESSAGE}
    name-tag: "§7{NAME}" # Available tags: {NAME}, {DISPLAY_NAME}, {PLATFORM}, {LINE}
    alias: "default"
    inheritance: []
    permissions: []
  • Use /rank command!

API

  • Example:
/** @var LunarRanksPlugin $rankManager */
$rankManager = Server::getInstance()->getPluginManager()->getPlugin("LunarRanks");

if ($rankManager !== null) {
    $player->sendMessage("Your rank: " . $rankManager->getRank($player)->getDisplayName());
}

About

Ranks plugin for PocketMine-MP.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages