AnimalShop

38.7k Downloads

Stats

Allows players to spawn Animals by purchasing.
They only must hit a sign.
It needs iConomy5 or 6 or Register or Vault.

Sign:
e.g.:

  1. [AnimalShop]
  2. Amount
  3. Sheep
  4. Arguments

Animals:

  • Sheep
  • Cow
  • Chicken
  • Pig
  • Villager
  • Mushroom Cow
  • Ocelots
  • Wolf
  • Horses (Skeleton, Undead etc.)

Arguments

Coming soon.

If you want to know, how to use them, please read on of the language files :D

A snippet from the language.en_CA.yml:

animal:
  sheep:
    name: Sheep
    color:
      WHITE: white
      SILVER: silver
      GRAY: grey
      BLACK: black
      RED: red
      BROWN: brown
      YELLOW: yellow
      LIME: lime
      GREEN: green
      CYAN: cyan
      PINK: pink
      BLUE: blue
      LIGHT_BLUE: light_blue
      MAGENTA: magenta
      PURPLE: purple
      ORANGE: orange
    type:
      BABY: baby
      AGE_LOCK: age_lock
      CUSTOM_NAME: 'name:'
      CUSTOM_NAME_INVISIBLE: nainvis
  cow:
    name: Cow
    type:
      BABY: baby
      AGE_LOCK: age_lock
      CUSTOM_NAME: 'name:'
      CUSTOM_NAME_INVISIBLE: nainvis
  mushroomcow:
    name: Mushroomcow
    type:
      BABY: baby
      AGE_LOCK: age_lock
      CUSTOM_NAME: 'name:'
      CUSTOM_NAME_INVISIBLE: nainvis
  pig:
    name: Pig
    type:
      SADDLE: saddle
      BABY: baby
      AGE_LOCK: age_lock
      CUSTOM_NAME: 'name:'
      CUSTOM_NAME_INVISIBLE: nainvis
  villager:
    name: Villager
    type:
      BLACKSMITH: blacksmith
      BUTCHER: butcher
      FARMER: farmer
      PRIEST: priest
      LIBRARIAN: librarian
      BABY: baby
      AGE_LOCK: age_lock
      CUSTOM_NAME: 'name:'
      CUSTOM_NAME_INVISIBLE: nainvis
  wolf:
    name: Wolf
    color:
      WHITE: white
      SILVER: silver
      GRAY: grey
      BLACK: black
      RED: red
      BROWN: brown
      YELLOW: yellow
      LIME: lime
      GREEN: green
      CYAN: cyan
      PINK: pink
      BLUE: blue
      LIGHT_BLUE: light_blue
      MAGENTA: magenta
      PURPLE: purple
      ORANGE: orange
    type:
      TAMED: tamed
      ANGRY: angry
      BABY: baby
      AGE_LOCK: age_lock
      CUSTOM_NAME: 'name:'
      CUSTOM_NAME_INVISIBLE: nainvis
  ocelot:
    name: Ocelot
    type:
      BLACK_CAT: black
      RED_CAT: red
      SIAMESE_CAT: siamese
      WILD_OCELOT: wild
      TAMED: tamed
      BABY: baby
      AGE_LOCK: age_lock
      CUSTOM_NAME: 'name:'
      CUSTOM_NAME_INVISIBLE: nainvis
  horse:
    name: Horse
    type:
      DONKEY: donkey
      HORSE: horse
      MULE: mule
      SKELETON_HORSE: skeleton
      UNDEAD_HORSE: undead
      BLACK_DOTS: black_dots
      NONE: none
      WHITE: st_white
      WHITE_DOTS: white_dots
      WHITEFIELD: whitefield
      CHEST: chest
      TAMED: tamed
      BABY: baby
      AGE_LOCK: age_lock
      CUSTOM_NAME: 'name:'
      CUSTOM_NAME_INVISIBLE: nainvis
    color:
      WHITE: white
      BROWN: brown
      CHESTNUT: chestnut
      CREAMY: creamy
      DARK_BROWN: darkbrown
      GRAY: gray
  chicken:
    name: Chicken
    type:
      BABY: baby
      AGE_LOCK: age_lock
      CUSTOM_NAME: 'name:'
      CUSTOM_NAME_INVISIBLE: nainvis
  rabbit:
    name: Rabbit
    type:
      BLACK: black
      BLACK_AND_WHITE: blackandwhite
      BROWN: brown
      GOLD: gold
      SALT_AND_PEPPER: salt_and_pepper
      WHITE: white
      THE_KILLER_BUNNY: killerbunny
      BABY: baby
      AGE_LOCK: age_lock
      CUSTOM_NAME: 'name:'
      CUSTOM_NAME_INVISIBLE: nainvis

You can see what arguments / parameters are valid. If you try to put in invalid ones, the plugin will list you all valid arguments.


English tutorial:

Source code: Klick here

Permission nodes

Note: You can edit them in the language.yml

ActionPermission node
Use AnimalShopAnimalShop.use
Creation of shopsAnimalShop.create
Language listAnimalShop.languagelist
Change languageAnimalShop.changelanguage
Reset language settingsAnimalShop.resetlanguage

Sending of statistical data

This plugin uses mcstats.org to gather statistical data. The data is collected anonymously and ALL data is visible to everyone. Follow the link at the statistics banner and you'll see the collected data.

If you don't want any data to be sent, disable statistic sending in the Metrics folder/configuration.

  • Metrics:
    This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
  • A unique identifier
  • The server's version of Java
  • Whether the server is in offline or online mode
  • The plugin's version
  • The server's version
  • The OS version/name and architecture
  • The core count for the CPU
  • The number of players online
  • The Metrics version
  • How many players played the game
  • How many games finished

Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.