Skip to content

Hydreon/LBPets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LBPets - A simple plugin for adding pets to your server

This plugin allows a user to add pets to their server. The commands are simple:

Command Sub Command User Params Description
lbpets give <name> ChickenPet, OcelotPet, PigPet, WolfPet Spawns a pet
lbpets remove <name> Removes a player's pet
lbpets find <name> Finds a player's pet

The plugin can also be accessed by its API

$LBPets = Server::getInstance()->getPluginManager()->getPlugin('LBPets');

// Give a pet
$LBPets->givePet($user, $pet);

// Remove a pet
$LBPets->removePet($user);

// Find a pet
$LBPets->findPet($user);