AnimalShop
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.:
- [AnimalShop]
- Amount
- Sheep
- 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
Action | Permission node |
---|---|
Use AnimalShop | AnimalShop.use |
Creation of shops | AnimalShop.create |
Language list | AnimalShop.languagelist |
Change language | AnimalShop.changelanguage |
Reset language settings | AnimalShop.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.
@karatetoes
Every pet which is tameable, is tamed, so yes the follow the players like pets. :)
do the animals follow the player like a pet, or does it just buy one for them to like do their own evil bidding with :D
@ryan9988yo
Yes, if you give everyone OP else you have to set up a permissions plugin like PermissionsEX.
Is there a way to make it so i dont need permissions? i only use this on a private server for some of my friends and i dont want to bother with permissions...
@Ronzi3
This feature will be implemented und a minor bugfix will come too.
thanks for this great plugin! you did a really good work. please could you add an option to translate the buying message? that one that ends with "... You should befriendit!" Again thanks! this is a must for my server ;)
@Junkie23
Maybe Ocelots and (Possibly configurable) Iron Golems will be nice. Also, I'd love to see the smallest 'Hipo' (or slime).
Keep up the good work.
@optiknerve
2 questions, will this work with boseconomy since nobody is keeping iconomy updated?
Also , will it be updated for 1.2.3?
Thanks for your time Optik
i didnt had any problem at all the players press right click and not left click
Using the latest build? Error message?
i can buy a animal. but when not admin player trying to buy animal its aint work without errors. and i did put permission.
1.2.3 Compatibility Please :)
@darkmyre
My fault, its fixed and I added a lot of cats.
@ScubaXsniper
use ChestShop with an AdminShop
Would there be any way to make it give you a spawn egg? Like if I wanted a shop in the spawn city with the Animal Shop. There they could purchase a mob, get an egg, and spawn it whenever and wherever they desire? Thanks!
@darkmyre
Ok, I`ll test it myself today.
Hmm, chickens work fine so I guess its something odd with wolves?
I've only tested with a wolf (tried both Wolf and wolf in case it was case-sensitive). I've got Worldguard but I'm only using it on another world, and I've been able to spawn wolves using a mob spawner. I'll try with some other animals today and see if its only wolves that arent spawning.