PetShop
PetShop
Description
PetShop is a Sign-Shop-System wich let your user buy cows and other Monster. This plugin require PermissionsEx and iConomy6 to handle the permissions and money(since v1.3 you can use Vault to handle money and permissions).With the command /deliver can the user spawn his bought Pets
coming features
- implement metrics ( http://manage.daily-craft.de/jira/browse/PETSHOP-2 )
- implement feature to prevent stealing pets from others ( http://manage.daily-craft.de/jira/browse/PETSHOP-1 )
- implement the different Villagers & Ocelots
Any wishes?! just let me know
added Features
- implemented Database Support
- PlayerShops
- Debug function
- Worldguard hook so you cant use /deliver in region with mob-spawning: deny flag
- config file so you can translate the displayed message
- hook into Vault to support All Eco and Permission Systems
- add Translation regex to config so %PLAYER% (unused jet) & %ANIMAL% can add to the translations
- add Translation for (peacefull Creatures)
Permissions
- petshop.shop.create | required to create Petshops
- petshop.shop.buy | required to buy @ one Petshop
- petshop.shop.create.player | required to create a playershop
- petshop.shop.create.admin | required to create a adminshop or playershop with a othername
- petshop.collect.pet | required to collect pets with a string
- petshop.admin,merge | required to merge from flatfile to db
Database Installation
All you have to do is to set in the config.yml store to database (the server have to be down for it)
all you need to do is to put this in your bukkit.yml file( replace username, password und database with yours)
You can use any other database (like sqlite) just write the right driver class.
database: username: USERNAME isolation: SERIALIZABLE driver: com.mysql.jdbc.Driver password: PASSWORD url: jdbc:mysql://localhost:3306/DATABASE
if you use previous flatfile system you can merge it with the command /petshop (in future releases there come more subcommand)
Commands
- /deliver .... deliver the bought monsters
- /deliver all .... same as /deliver
- /deliver Creaturename (Case sensitive) ... deliver only the given Type
- /petshop info [name] ... returns the content of the Player (not jet implemented)
- /petshop set [name] [PetType] [MetaTag] ... set a new petcount for a specific Pet (not jet implemented)
- /petshop export filename ... export the content of the whole petshop (not jet implemented)
- /petshop import filename ... import the backup file to the Petshop store (not jet implemented)
Shop-sign
AdminShop
- Line 1 Pet Shop
- Line 2 Creaturename:Color
- Line 3 how many
- Line 4 price
PlayerShop
- Line 1 Pet Shop
- Line 2 PlayerName
- Line 3 CreatureName:Color
- Line 4 price (for one pet)
allowed Creatures
- Cow
- MushroomCow
- WILD_OCELOT
- BLACK_CAT
- RED_CAT
- SIAMESE_CAT
- IronGolem
- Chicken
- Wolf
- FARMER
- BLACKSMITH
- LIBRARIAN
- BUTCHER
- PRIEST
- Sheep
- Squid
- Snowman
Colors
WHITE, ORANGE, MAGENTA, LIGHT_BLUE, YELLOW, LIME, PINK, GRAY, SILVER, CYAN, PURPLE, BLUE, BROWN, GREEN, RED, BLACK
Questions
If you have any questions, just join my server: server.daily-craft.de
(iam BADMAN152)

Looking 4 Dev Builds?!
http://manage.daily-craft.de/jenkins/job/PetShop/
Bugs and Feature Request
If you have some bugs or you want that a new feature have to be added use our bugtracker (Jira)
-
View User Profile
-
Send Message
Posted Dec 26, 2011@DailyCraft
Thank you very much, if you can send me a temporary link when it's ready I will be happy :) I don´t care to test for you to check for bugs :P
Thanks
-
View User Profile
-
Send Message
Posted Dec 26, 2011@mantegudo
thanks for bugreport. I try to hook in to worldguard so it shouldnt be possible in those regions to spawn something. I also add the config possiblilty so you can change the messages. If everything works fine these features will be tomorrow available.
-
View User Profile
-
Send Message
Posted Dec 25, 2011Hey, I Found a Bug/non implemented exception
When I'm on a worldguard area and it has the mob-spawning flag set to deny, the PetShop tells me the mobs were spawned but it won't, then I lost my bought mobs.
Thanks
-
View User Profile
-
Send Message
Posted Dec 25, 2011Awesome plugin, may u give us the source code or just make a config file cause I Have a Brazilian server and want to to translate the messages!
Thanks!
-
View User Profile
-
Send Message
Posted Dec 21, 2011Thanx!
-
View User Profile
-
Send Message
Posted Dec 21, 2011@johnlier yes hat this time im only supporting pex but i think support some more. For wishes and good ideas write a comment on the comming features site so i can add it
@Trobsky this bug is allready fixed in v1.1.
-
View User Profile
-
Send Message
Posted Dec 20, 2011Bug: You can /deliver the bought animals over and over again =). Reset the bought animals when somebody writes /deliver. Thank you for a good mod.
-
View User Profile
-
Send Message
Posted Dec 20, 2011hmm, does it only work with pex?
-
View User Profile
-
Send Message
Posted Dec 20, 2011@KrYojeNiX
I try to hook into a jobsystem or create my own one. When its finally hook into one it should only posible to create Petshops für famers
-
View User Profile
-
Send Message
Posted Dec 17, 2011Hi :D Sounds interesting and like the hooking into farmer, any other classes for selecting who can sell what?