PetStore

PetStore

10.2k Downloads

PetStore allows players and server operators to control the ownership of tameable animals. Players and server operators can transfer ownership of tamed animals to another player directly, mark an animal to give away (first come, first serve) or sell and animal through a Vault compatible plugin.

UUID Notice
PetStore is mostly UUID compliant. Features pertaining to Pet Sales and Vault have not yet been updated.

Project Scope

PetStore's only purpose is to allow various ways of changing the owner of a tamed animal. PetStore does not offer protection for animals and relies on your choice of anti-grief plugins to prevent animal theft (in the case of horses) or death. PetStore also does not allow you to alter animals or make pets out of non-tameable animals. Please do not request such features, there are plenty of plugins that do this already available.

Commands

All actions are performed using the /petstore command (Alias /pet). Most actions require right clicking an animal after performing the command.

CommandEffect
/petstore transfer <PlayerName>Directly transfers ownership of a pet to another specified online player.
/petstore giveAllows an owner to mark a pet to be given away. The first player to right click the animal gains ownership.
/petstore sell <Price>Allows an owner to put a pet up for sale. A player may right click the animal to purchase. (Requires Vault)
/petstore releaseAllows an owner to release a pet into the wild.
/petstore tameAllows a player to instantly tame an animal.
/petstore cancelAllows an owner to cancel a give or sell state on an animal.
/petstore reloadReloads the yaml data from files.
/petstore saveForces a save to the yaml files. (Normally occurs on plugin disable).

Permissions

PermissionEffectDefault
petstore.<command>Allows access to the command. Includes transfer, give, sell, and release.true
petstore.<command>Allows access to the command. Includes tame, reload, and save.op
petstore.adminPlayers with this permission bypass the pet ownership checks for all commands.op
petstore.notifyupdateNotifies players when an update to PetStore is available.op

The following are technical permissions, however they are always inherited by the above permissions and it is never necessary to grant them manually.

PermissionEffectDefault
petstore.commandGrants players the ability to use the PetStore base command.false
petstore.cancelGrants players the ability to use the PetStore cancel command.false

Flags Integration

When Flags is installed, PetStore will automatically register the following flags allowing you to control where PetStore actions may be used. Only Flags.jar is necessary for this functionality, other modules included with Flags are optional.

FlagDescriptionDefault
SellPetToggles players ability to sell pets in the area.true
GivePetToggles players ability to give away pets in the area.true
ReleasePetToggles players ability to release pets in the area.true
TransferPetToggles players ability to transfer pets in the area.true

Update Checking

PetStore can automatically check for updates and even download and install them for you. To check or download Check must be set to true. If download is false, the console and all players with the petstore.notifyupdate permission will be notified when an update is available. If download is set to true, the update will be downloaded to a temporary location and installed automatically the next time the server reloads. While the download has not been installed, permitted players will receive notification that the update is ready.

The ServerModsAPIKey is currently optional, however if you wish to provide it you can locate it here. Please to not share this key with anyone. PetStore will upload it directly to BukkitDev and no author of PetStore will be allowed to see it.

Update:
  Check: true
  Download: false
  ServerModsAPIKey: null

Other great plugins by Alshain01

  • RocketTeleport - A fun way of transporting players from one place to another.
  • HardcoreClaims - Grief Prevention extension that removes a claim when a player dies.
  • NoMoreZombies - A small plugin developed to disable zombies spawning more zombies.

    https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif

Metrics

PetStore reports non-identifying information about your server to MCStats.org. For more information on what is reported and how to disabled it if you would like to, please view the FAQ. To view the full set of data, click the graph below.

Metrics Graph

Source

PetStore is an open source project with restrictions. Valid and tested contributions will be welcome through GitHub pull requests, any contributions made will be considered part of the original license agreement.

Source Repository

Discussion Forum

Looking for the comments? In order to provide more centralized and effective means of feedback and support for my growing list of plugins, a new Discussion Forum has been created. You don't even need a new account to use it! This forum is exclusively for plugins by Alshain01 and discussion of their use and development. For other concerns, please consult the Bukkit Forums.