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 Jan 3, 2012@clavat
do you have Vault installed?
@ogr93
when you install vault you can use other permission system! When you dont have any permission & economy plugin installed petshop didnt work
-
View User Profile
-
Send Message
Posted Jan 1, 2012only runs this mod with PermissionsEx if you arent op or admin?
Because y put this mod for my players
-
View User Profile
-
Send Message
Posted Jan 1, 20122012-01-02 01:31:28 [WARNING] [PetShop] Disable PetShop could not find Eco & permission system
I have only essentials plugin for eco, and groupmanager for permission, http://ess.khhq.net/wiki/Main_Page
not compatible ?
-
View User Profile
-
Send Message
Posted Jan 1, 2012You need to fix the basic spelling mistakes in your post...
-
View User Profile
-
Send Message
Posted Jan 1, 2012@Cryptage
i take a look into the code so i can fix it. i think it will be fixed tomorrow.
-
View User Profile
-
Send Message
Posted Jan 1, 2012Thanks but it doesn't work anymore ' i've a lot of error :
17:46:00 [SEVERE] Could not pass event PLUGIN_ENABLE to PetShop java.lang.NoClassDefFoundError: ru/tehkode/permissions/bukkit/PermissionsEx at de.dailycraft.petshop.Hooker.onPluginEnable(Hooker.java:47) at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.j ava:590) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:339) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:975) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169 ) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 17:46:00 [SEVERE] Could not pass event PLUGIN_ENABLE to PetShop java.lang.NoClassDefFoundError: ru/tehkode/permissions/bukkit/PermissionsEx at de.dailycraft.petshop.Hooker.onPluginEnable(Hooker.java:47) at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.j ava:590) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:339) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:975) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169 ) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 17:46:00 [SEVERE] Could not pass event PLUGIN_ENABLE to PetShop java.lang.NoClassDefFoundError: ru/tehkode/permissions/bukkit/PermissionsEx at de.dailycraft.petshop.Hooker.onPluginEnable(Hooker.java:47) at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.j ava:590) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:339) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:975) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169 ) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457) 17:46:01 [SEVERE] Could not pass event PLUGIN_ENABLE to PetShop java.lang.NoClassDefFoundError: ru/tehkode/permissions/bukkit/PermissionsEx at de.dailycraft.petshop.Hooker.onPluginEnable(Hooker.java:47) at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.j ava:590) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav a:58) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j ava:339) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:975) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:280) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169 ) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
(...)
-
View User Profile
-
Send Message
Posted Jan 1, 2012@Cryptage
ohhh sorry ... looks like i didnt delete the depencies from plugin.yml i reupload the 1.3.final with the deleted depencies
Download
-
View User Profile
-
Send Message
Posted Jan 1, 2012I have vault and goupmanager and it doesn't work
[GRAVE] Could not load 'plugins\petshop.jar' in folder 'plugins': PermissionsEx org.bukkit.plugin.UnknowDependencyException: PermissionsEx (...)
-
View User Profile
-
Send Message
Posted Dec 30, 2011@Tauryuu
Register is deprecated / out of date. So i dont start a support of an old plugin. Use Vault its the same or give me a running version of register unter Bukkit 1.0-R1.
@clavat
I Support Groupmanager at this time via Vault. I start direct support after version 2.0/Playershop function.
@mantegudo
this function + the translation in the sign will work wenn 1.3 is out of dev state.
-
View User Profile
-
Send Message
Posted Dec 30, 2011Could you integrate Register support? (Or make it open source? :P )
-
View User Profile
-
Send Message
Posted Dec 30, 2011Great Plugin ;)
You can add GroupManager (Essentials perm) support ? so an other permission...
-
View User Profile
-
Send Message
Posted Dec 30, 2011@DailyCraft
Thanks, working like a cham, it would be more useful if we can Spawn the mob with the configure mob name like this:
So I wanna spawn the mobs by telling /deliver Vaca instead of Cow, get it?
Thanks =)
-
View User Profile
-
Send Message
Posted Dec 29, 2011Dev version finished.
download
-
View User Profile
-
Send Message
Posted Dec 26, 2011Vault support? So that it can have all economies?
-
View User Profile
-
Send Message
Posted Dec 26, 2011@DailyCraft
I just wanna a String Replace to %Animal% hahaha, just replace it to the matched animal, It's not so hard =(
-
View User Profile
-
Send Message
Posted Dec 26, 2011@mantegudo You dont ask to much :) feedback is everything i need xD Just make a list of your wishes and i try to add them
-
View User Profile
-
Send Message
Posted Dec 26, 2011@DailyCraft
If I'm asking too much tell me =p, may u give me the source code? I will do some changes for me then use yours when it become ready!
Thank you =)
-
View User Profile
-
Send Message
Posted Dec 26, 2011@mantegudo
at this time it is the minimal version to give you the possibility to translate it ... in the future i will add some regex to add the name of the player and animal
when i finally found a way to give players the possibility to trade his pet (sell a cow) i will add more complex commands
-
View User Profile
-
Send Message
Posted Dec 26, 2011Thank you!
Do we have any masks?
Like %animal% to display the pet I've bought?
buy: Voce comprou um %animal% sell: Voce vendeu um $animal%
Maybe in a near future u can make more complex commands like /deliver mobname, /deliver all
Thanks
-
View User Profile
-
Send Message
Posted Dec 26, 2011@mantegudo
Finaly done! wait for bukkit authentication. v1.2
added translation possibility & hook into worldguard
i didnt test the translation jet but the wg problem should be solved
i added the translation for selling pets (and other comming features) but those function isnt implemented jet
download