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

An advanced wardrobe plugin for Pocketmine-MP.
version 1.0.0
Approved
Direct Download How to install?
66 Downloads / 66 Total
Plugin Description §

BetterWardrobe

Advanced wardrobe plugin for Pocketmine-MP.

Features

  • Ability to store up to 9 full or partial armor sets.
  • Ability to manipulate and equip sets via a GUI or command.
  • Option to view the wardrobe of other players.
  • Customisable messages and permissions for each armor slot.

Commands

Command Description Permission
/wardrobe manage Access your wardrobe. betterwardrobe.manage.command
/wardrobe equip Equip a set. betterwardrobe.equip.command
/wardrobe view View another players wardrobe. betterwardrobe.view.command

Set permissions

There are 9 sets, use betterwardrobe.slot.{setnumber}, so if I wanted a player to have access to the 5th slot, I'd grant the player the betterwardrobe.slot.5 permission, all players defaultly have access to the first slot.

API

use snare\BetterWardrobe\BetterWardrobe;

$instance = BetterWardrobe::getInstance();

Various methods can be found below:

$manager = $instance->getSessionManager();

$session = $manager->getSession(string $name);

$wardrobe = $session->getUsableWardrobe(); // returns a complex array, see code for details.

$wardrobe->addItem(int $setId, int $slot, Item $item, bool $swap = false); // again, confusing function, check session class.

Support

Reach out on discord snare_gale if having any issues or if you need help with configuration.

Supported API versions
5.3.0
->
5.27.1
Producers §
  • Collaborators:
    • @snarerectify
License §
Categories:
Fun
General
Informational
Mechanics
Miscellaneous
Permissions
Database
Other files
Permissions
Commands

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

/ 5
Loading...