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.
Hi, how do I make it that people that are not opped can buy animals? Thanks
Signs made successfully and takes money but does not give animal any ideas? Using 1.7.9
Correction: I reinstalled it and it works perfectly now. Thank You for Plugin, though i feel i may have lots of animals running around my shop lol
@Powercows
The idea is good, so I will think about it. The mechanics of this plugin won't change, but maybe I'll add something that fits to your suggestion :D
maybe not spawn eggs.. but a sign you can put up after purchase as a location for 'delivery" of your live stock.
besides it might be hard to lead 20 wolves back home even with "better leads" plugin
also in my main world, people/towns tend to be split by great distances, even water.. generally we tend to have a survival island.. eventually someone finds a continent with villages and then we set up warp gates. Mobs dont go through warp gates.
I like the idea better than eco pet and buying of farm animals suits my server where animals can be more than difficult to actually find.(i'm making starvation a real issue.. most likely your first death will be starvation unless you can find friends or perpare for it right away.. like catch some fish.. which can be done by hand with mo creatures mod. but there arent many fish, thats just the easiest food besides zombie flesh to acquire in the start)
anyways my ultimate dream for your plugin, is to buy a sign from town.. I place that sign in the cow farm pen put on it idk [delivery] cows powercow and if I had actually bought some cows, after a couple of days they would spawn in the pen. That way I dont have to figure out how to get 20 cows across an ocean with only one hand full of wheats.
@Mzgower
Use EchoPet
Hi I am a server owner and I have a suggestion for this plugin could you please make a petsshoop mode so you can like buy baby cows and like name them (kinda like the hypixels server) and if there is a plugin for this what is it? Thank you
@soysuva
If you want to sell spawn-eggs, please use AdminShops of ChestShop.
@AcidSikeO
If you have more issues with the internet option please tell me.
@jones9898
I dont know this bug, but it seems like a mc bug.
can you change the animals to spawn eggs (id) instead? Because when you buy the animal, they spawn at the shop and it's very annoying because people will spam the shop with animals everywhere.
If you get back to working on this, you should look into making it possible to disable the "internet" and "autodownload" features. Yeah yeah, I know there are config values, but they do not work as expected. If I set both those values to false, AnimalShops, does not work. It will complain about an interact event not being able to be cast. Set true to both values and the plugin works fine.
Edit: Oh yeah, I'm running CB-DEV 1.3.2R0.2, #2361. Other than the above issue, this plugin has been working flawlessly.
When I bought a red cat, it acted like a cat with an Ocelot skin?
UPDATE: It was a one time bug, but it happened the first time, so i dunno?
@fuzyfeet
no. But tameable animals are tamed.
Will this hook into PetCreeper, so if you buy a cow and you can tame a cow it will be tamed when spawned?
@KORSamsung
Fixed that in a new version. :)
Is this a bug?
If I bought wolf, his health is 8/20 (I hit him with damage 1, than 7/20) If its bug, pls fix this. Thanks.
MAN! THX SO MUCH!
@wolfenguard
So you can do nasty things? What about writing the coordinates on the sign? Nice idea, I am thinking about it.
Nice plugin, will you be able to add a feature like "/deliver" ... deliver the bought monsters to the following location when the command is entered? I know 'PetShop' plugin has a feature like this.