[ECON] CommandShops v4.2.0 - The premier local shop plugin. [1.5.2]

Discussion in 'Archived: Plugin Releases' started by zolcos, Sep 30, 2011.

  1. Offline

    zolcos

    CommandShops - The premier local shop plugin:
    Source: GitHub
    IRC: irc.esper.net #CommandShops
    Download at BukkitDev: http://dev.bukkit.org/server-mods/commandshops/

    Features:
    • Player created physical shops with custom 3D boundaries
    • No physical components needed, business done entirely through commands
    • Updated item compatibility and dependencies
    Requirements:
    • Vault
    • Any economy plugin supported by Vault
    Optional Requirements:
    • To use permissions, get any permissions plugin that can feed into SuperPerms (PermissionsBukkit recommended, ask your doctor about SuperPerms support). By default everyone can use and create shops but only ops have the admin powers.
    • To enable MySQL mode you need a MySQL server obviously.
    • To use WorldGuard integration features you'll need WorldGuard
    Upcoming Features: [​IMG]
    • XP market + legit repair / disenchant
    • Storage limitations (config,size,chests?)
    • stock variety limitations (upgrade web of similar items?)
    • sales tax (Make shop fees go to the same collector as the sales tax?)
    • multi language support
    Good servers that use CommandShops:
    Commands: https://rawgithub.com/aeheathc/CommandShops/master/doc/commands.html
    Permissions: https://raw.github.com/aeheathc/CommandShops/master/src/plugin.yml
    Config file: https://raw.github.com/aeheathc/CommandShops/master/src/config.yml
    Changelog: https://github.com/aeheathc/CommandShops/blob/master/README.md
     
    zon, Stormbow, kahlilnc and 1 other person like this.
  2. Offline

    mdskizy

    If this works a praise you, we've been trying to port it and have had countless issues. Local Shops was by far the best RP shop plugin and it not be be a single global shop. Thank you Zolcos
     
    danielcwr and iPhysX like this.
  3. Offline

    DaveDee

    Nice to see it again.
    It would be awesome, if you could add towny support. I think creation limiter (only mayor/citizens can make shop), and territorial limiter (only in town chunks). Optional ofcourse =)
     
  4. You are a beast! I was working on this, but you did a great job! Thanks alot :D Maybe you could put it on Git?
     
    kahlilnc likes this.
  5. Offline

    zolcos

    I planned on using github but was having trouble accessing the repository (although I can access other peoples just fine) and figuring out how to rename the "3.1" branch to be my "master" branch so I decided to just get the plugin out now and setup git later. When I get that done I can stop including the source in the jar.

    I also want to put it on bukkitdev but I ran into a rather angry looking message about needing to be the "ORIGINAL AUTHOR!!!!!111" or my plugin "WILL B DELETEDZ!!!!OMGZ" and I took it to mean I might need permission from cereal to add my fork of his plugin there?
     
  6. Offline

    tom

    Plan on adding Spout :) ? Maybe a pop up GUI ?
     
  7. Offline

    zolcos

    I have no plans to add Spout but I may add a GUI via the ole "chest is really a shop" trick if demand is high. In the meantime, if you want command-less transactions, I recommend CommandSigns.
     
  8. Offline

    staxx6

    convert your plugin the old settings/"shops" from localshops?
    *test*
    nope.
    Erm, I have a request.. ;)
     
  9. Offline

    zolcos

    You should be able to copy in (plz backup) your configuration and shopfiles and CS will recognize it. Are you getting any errors in the log? Were you migrating from latest LS version?
    The only thing you'll definitely have to convert yourself is the permissions. (edit: and config)

    I'll test migration some more to make sure though
     
  10. this is very cool i hope it gets approved!
     
  11. Offline

    staxx6

    It work, without an Error! :>
     
  12. Offline

    conor king

    Hello :D
    Does this work with Iconomy 6 yet?
     
  13. Offline

    zolcos

    Yep that was one of the main ideas behind this submission and the reason for using Register
    http://dev.bukkit.org/server-mods/register/pages/frequently-asked-questions/

    Released version 3.5.1 with some previously upcoming features :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  14. Offline

    derJones

    Hi!
    I am using BOSEconomy, and buying Stuff in my shops works great with it. But when I sell something, it says that I got the money, but I didn't.
    Any idea?
     
  15. Offline

    iffa

    Oh. It's THIS plugin again! :D
     
  16. Offline

    conor king

    When i sell stuff and buy stuff in game it does not give the money or take it out i am using register

    Fixed it :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  17. Offline

    zolcos

    If you were able to fix it on your end, please post how since it appears some other people are having the same issue and I haven't yet been able to reproduce it.
     
  18. Offline

    conor king

    There is a new problem now when coming to buy you say for exaple
    it buys the max you can buy and takes you money but gives no items im not sure what going on.

    I Updated the plugin :/

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  19. Offline

    zolcos

    Anyone having basic problems with money not working, post your server log with debug mode on in the config. The log should only show the time from typing /reload CommandShops to when the problem happened. Please make that time short. Also note which economy you're using.

    3.5.2 is out. CommandShops now requires that you download the Register plugin. This will allow you to take advantage of bugfixes in new versions of Register without me having to update CommandShops.

    Please include your Register version in any bug reports here.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  20. Offline

    conor king

    3.5.2 Does now not work at all for me.
     
  21. Offline

    derJones

    Using BOSEConomy

    Code:
    13:11:09 [INFO] [CommandShops] Loaded with 1 shop(s)
    >
    13:11:09 [INFO] [CommandShops] Version 3.5.2 is enabled:
    >
    13:11:09 [INFO] [CommandShops] Starting NotificationThread with Timer of 300 seconds
    >
    13:11:09 [INFO] [CommandShops][Economy] Register activated. It should report 'Payment method found' soon.
    >
    13:11:09 [SEVERE] Could not pass event PLUGIN_ENABLE to CommandShops
    java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.register.payment.Methods.hasMethod()Z
            at com.aehdev.commandshops.RegisterListener.onPluginEnable(RegisterListener.java:71)
    
    13:11:09 [SEVERE] Could not pass event PLUGIN_ENABLE to CommandShops
    java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.register.payment.Methods.hasMethod()Z
            at com.aehdev.commandshops.RegisterListener.onPluginEnable(RegisterListener.java:71)
     
    13:11:10 [SEVERE] Could not pass event PLUGIN_ENABLE to CommandShops
    java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.register.payment.Methods.hasMethod()Z
        
    >
    13:11:38 [INFO] [CommandShops] derJones issued: buy cobblestone 1
    >
    13:11:43 [INFO] [CommandShops] derJones issued: buy cobblestone 1
    >
    13:11:43 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'shop' in plugin CommandShops v3.5.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.IncompatibleClassChangeError: Expected static method com.nijikokun.register.payment.Methods.hasMethod()Z
            at com.aehdev.commandshops.modules.economy.EconomyManager.getBalance(EconomyManager.java:76)
            at com.aehdev.commandshops.PlayerData.payPlayer(PlayerData.java:234)
            at com.aehdev.commandshops.commands.CommandShopBuy.shopBuy(CommandShopBuy.java:474)
            at com.aehdev.commandshops.commands.CommandShopBuy.process(CommandShopBuy.java:337)
            at com.aehdev.commandshops.commands.ShopCommandExecutor.onCommand(ShopCommandExecutor.java:121)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
            ... 12 more
    >
     
  22. Offline

    chancrescolex

    Is there any way to configure the currency? We used to have dollars and cents with localshops, so a price would show up as $1.50. Now its 1 dollar, 50 coins.

    Great work btw.
     
  23. Offline

    bullard120

    Love you! Really hope this gets Approved! :D
     
  24. Offline

    zolcos

    Update: I'm working on the dependency issue, I have a lead on it but it has to do with some obscure stuff so please bear with me

    It calls the currency formatting method from whatever economy plugin you have installed. I'm guessing you upgraded to iConomy 6 when you started using CommandShops? Double check the economy plugin's config

    AFAIK Plugin Submissions is the new Plugin Releases

    Alright, 3.5.3 is out. Thanks for the logs guys; I think my latest changes will have helped.
    Also on second thought there may be a problem with formatting after all. I'll look into it more

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  25. Offline

    derJones

    Hmm when I use 3.5.3, my former shop doesn't work anymore, but it's still in the shops-folder.

    And it does not work with items from 1.8 :(
    (Melon Slices e.g.)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  26. Offline

    zolcos

    That can't be right. What's it saying when you try to add Melon Slice? Show me the log from when you do
     
  27. Offline

    derJones

    Okay, forget about that, foolish mistake by myself :D
    But there's another problem:
    I put the commandshops.jar into my plugins folder and reload the server, but nothing happens. Why is that now?
     
  28. Offline

    Teddeh

    I'm updating to CB 1240 as my players couldn't get equipment from the store?
    They'd buy it, but it wouldn't give it to them?
     
  29. Offline

    Zaros

    It would be sick if '/buy' opened an chest inventory interface. Players could have a chest somewhere in the shop, maybe a floor down that is affected by '/buy' and '/sell'. This would make the adding and removing of shop items a lot easier, as well as adding a more user friendly interface for the user. Shops could also be small shops and big shops, depending on how much they pay to make it. You could use the different chest sizes for this.

    Plugin Release forum is too mainstream.
     
  30. Offline

    conor king

    Could you upload old build section?
     

Share This Page