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)