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 Apr 9, 2016how to set up sign??
screenshots?
please!!
-
View User Profile
-
Send Message
Posted Apr 25, 2014Please this project has been abandonded. Here is a continue of it Here!
-
View User Profile
-
Send Message
Posted Apr 8, 2014Why I can't install PetShop? Here's error from console: [SEVERE] Could not load 'plugins\PetShop-6.1.0.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.ExceptionInInitializerError
My Windows 7 Home Basic, Java 7u51 (build 1.7.0_51-b13), CraftBukkit 1.6.4-R2.0
-
View User Profile
-
Send Message
Posted Nov 30, 2013Can you make a GUI shop please?
-
View User Profile
-
Send Message
Posted Oct 24, 2013maybe you could add a way to add pens that show the animals so people could see them. Like you hit them with an item and then the shop and maybe make it auto setups the sign also. Just an idea I had.
-
View User Profile
-
Send Message
Posted Oct 16, 2013thanks for the reply. As soon as horse support is add I will really be using this to complete my all in one bank and item / animal shop idea
-
View User Profile
-
Send Message
Posted Oct 8, 2013@scott19062
at this time this is not posible cause i try to find to identify every horse type. that are to many. but i looking forward to fix this problem
-
View User Profile
-
Send Message
Posted Sep 21, 2013would this work with horse's. I really want to sell horse's, wolfs, cats to people and it is for 1.4.2 so i would say that it wont work for the horses????
-
View User Profile
-
Send Message
Posted Sep 1, 2013@Epicballzy
use it like any other sign shop plugin right click on a petshop sign like description after that use the deliver command
-
View User Profile
-
Send Message
Posted Sep 1, 2013@MrSpartan1171
without any error description i cant help you. as an advise petshop works fine its running at my minecraft and feed the beast server
-
View User Profile
-
Send Message
Posted Sep 1, 2013@thorn_paw
did you install vault ? it seams that petshop cant take money of your bankaccount
-
View User Profile
-
Send Message
Posted Aug 25, 2013idk how to use this ^.^
-
View User Profile
-
Send Message
Posted Aug 16, 2013sounds like a great plugin but 2 words: doesnt work
-
View User Profile
-
Send Message
Posted Jul 23, 2013after I make a shop and click on it to see if it works I get a really long thing in the console
im sorry but I am going to post that here
INFO] [Metrics] Server returned HTTP response code: 502 for URL: http://mcstats.org/report/PetShop
2013-07-23 09:30:27 [SEVERE] Could not pass event PlayerInteractEvent to PetShop v6.1.0
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.v1_6_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:192)
at net.minecraft.server.v1_6_R2.PlayerInteractManager.interact(PlayerInteractManager.java:373)
at net.minecraft.server.v1_6_R2.PlayerConnection.a(PlayerConnection.java:630)
at net.minecraft.server.v1_6_R2.Packet15Place.handle(SourceFile:58)
at net.minecraft.server.v1_6_R2.NetworkManager.b(NetworkManager.java:296)
at net.minecraft.server.v1_6_R2.PlayerConnection.e(PlayerConnection.java:118)
at net.minecraft.server.v1_6_R2.ServerConnection.b(SourceFile:37)
at net.minecraft.server.v1_6_R2.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:590)
at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:226)
at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:486)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:419)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NullPointerException
at de.dailycraft.petshop.shop.PlayerBuyAction.onPlayerInteract(PlayerBuyAction.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 16 more
-
View User Profile
-
Send Message
Posted Jul 1, 2013SLIMES DONT FOLLOW :(
-
View User Profile
-
Send Message
Posted Feb 26, 2013@RedScope53
i try to implement something that could help you ;)
-
View User Profile
-
Send Message
Posted Jan 24, 2013Cows don't follow.. only wolves and ocelots..
-
View User Profile
-
Send Message
Posted Dec 10, 2012@quintanle
you can sell slimes(and any other aggressiv mob) via admin-shop function
-
View User Profile
-
Send Message
Posted Dec 9, 2012Add slimes!
-
View User Profile
-
Send Message
Posted Sep 21, 2012@razilioxtre1
Im not the support of Vault. My plugin use Vault as comunicationport. So someting goes wrong with the payment its 99% the problem of vault. when you post the startupsquence of your server & and active debug mode while buying a pet a could say something more. but you say only "not working" while round 40 server & 150 users dont have any problems like this