MyPet - Wiki
WebsiteDownloadSpigotDiscord
Legacy
Legacy
  • MyPet - Wiki
  • MyPet-Premium
  • Setup
    • Permissions
    • Commands
    • Configurations
      • config.yml
      • pet-config.yml
      • pet-shops.yml
      • Custom-Item-Data in Config
  • Systems
    • Leash Flags / Requirements
    • Skilltrees
      • SkilltreeCreator - Tool
    • Experience
      • Experience-Script
    • MyPet Storage
    • Hunger-System
    • World Groups
    • Auto Updater
  • Skill Overview
    • Backpack
    • Beacon
    • Behavior
    • Control
    • Damage
    • Fire
    • Heal
    • Knockback
    • Life
    • Lightning
    • Pickup
    • Poison
    • Slow
    • Ranged
    • Ride
    • Shield
    • Sprint
    • Stomp
    • Thorns
    • Wither
  • Tutorials
    • How to get a pet
    • File to MySQL
    • File to MongoDB
  • Plugin-Hooks
    • Hook Types
    • Citizens NPC
    • WG Region Flags
    • PlaceholderAPI
    • BossShopPro
  • Misc
    • Is MyPet EULA compliant?
    • FAQ
    • Changelog
Powered by GitBook
On this page
  • Pictures
  • Commands
  • Permissions

Was this helpful?

  1. Plugin-Hooks

Citizens NPC

PreviousHook TypesNextWG Region Flags

Last updated 6 years ago

Was this helpful?

A simple addon for MyPet that adds a trait to Citizens that allows pet-owners to store their pets.

Every WorldGroup has it's own storage so you can not transfer pets between WorldGroups.

The Citizens traits are called:

  • mypet-storage -> MyPet Storage

  • mypet-wallet -> Economy addon for the mypet-storage trait

  • mypet-shop -> Pet shop

Pictures

Commands

  • /petadmin npc wallet [Private/Owner/Bank/None]

    • sets the account where the money will be transfered to

      • Owner and Bank need a name as a 2nd parameter

  • /petadmin npc shop <shop name>

    • set the shop that will be opened by the selected NPC

Permissions

The MyPet.petstorage.limit.<limit> permission is shared with by /petstore command and the storage/shop trait.

 - MyPet.npc.storage
 - MyPet.npc.shop

 - MyPet.petstorage.limit.<limit>