[ECON] CommandShops v4.1.0 - The premier local shop plugin. [1.4.7]

Discussion in 'Plugin Releases' started by zolcos, Oct 1, 2011.

  1. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I released 4.0.2 yesterday which should fix this
  2. Offline

    haku_D

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    THANK YOU SO MUCH!
  3. Offline

    XboxAddict77

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have a problem I can buy and sell to a shop however when i buy i get money (of course) when I buy no money is taken from me . Im using the latest release and Essentialseco
  4. Offline

    Inferno

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    When people enter shops there is no message 'You have entered Shop' and 'You have left Shop', Was this feature removed?
  5. Offline

    Mozartripper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    SHOP ENTER/EXIT MESSAGES ARE GONE UNTIL WORLDGUARD/TOWNY INTEGRATION HAPPENS
    read the first post :p
  6. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It wouldn't give and take money at the same time
    In any case, can't do anything without the log
  7. Offline

    Burt_Reynolds

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is there any way to add custom items from spout like guns plus items.
  8. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Not currently. Although I could add a configurable item list feature but given the amount of effort it would take modders or admins to use it (creating 'fingerprints' for the item name matching system), I don't think many people would.
  9. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    New release 4.0.3 fixes the open connections issue for mysql users.
  10. Offline

    griffenx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have a question. I have the shops set up on my server so that they act as stores in the different towns. Since I'm the creator/owner of the shops (I made them), no money is taken from me when I buy anything. I'd like to be able to buy things from the shops sometimes when I'm just playing normally. If I were to delete my name from the owner section of the shops in the database, would it make it work like that, or would it mess things up?
  11. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Most likely, your economy plugin would give errors which should cause the transaction to not go through.

    The best way to do what you want is put in a fake name and then create a new player file with that name. An 'NPC' if you will. Just make it something ridiculous so someone doesn't actually make a Minecraft account with that name and get rich.

    You may also want to give the shop infinite money.

    This post has been edited 1 time. It was last edited by zolcos Apr 17, 2012.
  12. Offline

    axebyte

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    any easy way to import the files from sqlite to a Mysql?
    It doesnt auto pull the info from them like it did the flats prior.
  13. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    One of the great things about SQL is that there are a lot of third party tools to choose from to manage the data. I recommend "SQLite Administrator" and "MySQL Workbench". With tools like that I'm pretty sure you don't even need to know SQL because they will autogenerate it for you using an 'export' feature.
  14. Offline

    axebyte

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @zolcos yeah thanks i already have MySql Workbench and it took me a while to get the sqlite to import to it, but i was finally able to get that correct. Thanks.

    This is on the recent 4.0.2 of this plugin. After this happens the server just stops allowing anyone from joining and the server itself just stops replying and i have to do a Stop/restart. Any idea what is behind this error?
  15. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    PatPeter strikes again: first SQLibrary made separate connections per query and didn't close them, now it makes 1 connection and saves it forever and never checks if it has expired.
    You can get around this by setting your mysql server's wait_timeout to be longer than the amount of time between your bukkit's regular restarts.
  16. Offline

    Tathar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Did this get implemented? I'm not seeing it on the to-do list anymore.
  17. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It was never officially added as there is not much demand compared to most other features on there
  18. Offline

    axebyte

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Got this error, and directly after it, my Iconomy 6 data was wiped .. i hav 150+ very unhappy people.. Any idea what this issue is and why it would of kicked icnomy to delete everything?

    Code:
    2012-05-07 16:47:37 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'shop' in plugin CommandShops v4.0.3
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764)
        at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
    Caused by: java.util.ConcurrentModificationException
        at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:953)
        at java.util.LinkedList$ListItr.next(LinkedList.java:886)
        at com.iCo6.IO.mini.Mini.read(Mini.java:148)
        at com.iCo6.IO.mini.Mini.read(Mini.java:135)
        at com.iCo6.IO.mini.Mini.update(Mini.java:374)
        at com.iCo6.system.Queried.setBalance(Queried.java:421)
        at com.iCo6.system.Holdings.setBalance(Holdings.java:26)
        at com.iCo6.system.Holdings.math(Holdings.java:103)
        at com.iCo6.system.Holdings.add(Holdings.java:58)
        at net.milkbowl.vault.economy.plugins.Economy_iConomy6.depositPlayer(Economy_iConomy6.java:157)
        at com.aehdev.commandshops.commands.CommandShopSell.shopSell(CommandShopSell.java:440)
        at com.aehdev.commandshops.commands.CommandShopSell.process(CommandShopSell.java:292)
        at com.aehdev.commandshops.commands.ShopCommandExecutor.onCommand(ShopCommandExecutor.java:120)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
  19. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yes.
    That error comes from iconomy. Further up in your log you may see a warning about this.
    iconomy 6 has a huge bug where, if you are using file storage instead of mysql, if multiple things interact with your economy at the same time, it will cause an error that can wipe out your econ data.
    niji apparently refuses to fix it because you can avoid the problem by using mysql and he's more interested in getting ico7 out of beta than fixing ico6.
  20. Offline

    axebyte

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ahh sorry to have bothered you then, as the first intial error i seen was command shop, and i figured it was the leading issue to the other errors that followed, thanks for explaining it to me. :D
  21. Offline

    Waikiki21

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'am very amazed that you updatet the work of LocalShops but It not working in all it functions. For Example I have set a shop but my money is not decreased about 100 Dollars and if I enter a job there comes no info that i'am in a shop. I hope you can help me becaue I want to run this shopsystem. sk me or more Infos please.
    Sicerly Michael
  22. Offline

    axebyte

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I cant say why the money isnt moving for you, not sure what your using for money, iconomy? bosiconomy? so on..

    But the entering a shop was disabled and mentioned on here a few times. If you use world guard just tap out an area, and add /region flag nameofregion greeting Welcome to (insert shop name) and put in a /region flag regionname farewell Thanks for coming!
  23. Offline

    haloking3129

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey I like this plugin but how do you sell a certain quantity of 1 item. For example im selling sugar cane for 100 dollars but I want them to get a full stack of 64. Help please
  24. Offline

    vianilambo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    When I go to change the price after adding the shop, it almost always tells me that "Ice is now sold for ten dollars"
    for instance, I type:
    /shop set sell Bread price 10

    It gives me:

    Ice is now sold for 10 dollars.
  25. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    In that case you're setting the price of an item named "Bread price" which is taken to mean ice
  26. Offline

    vianilambo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    ah. So I should replace the word "price" with the actual number. Thank you.
  27. Offline

    Mozartripper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any other way to fix this ? its getting annoying to have to restart the server every time it timeout.
    is it only because of patpeter's library or it could be a problem with the mysql version or driver ?

    This post has been edited 1 time. It was last edited by Mozartripper Jul 9, 2012.
  28. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    SQLibrary is written such that you must set your mysql server's wait_timeout to be longer than the amount of time between your bukkit's regular restarts, or else there is a chance that the database connection will get dropped.
    Note that wait_timeout can be set pretty darn high
  29. Offline

    xJHA929x

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is it possible to make the shops global that way you dont have to be in a certtain region and still be able to type say; /shop buy diamond 24?

    This post has been edited 1 time. It was last edited by xJHA929x Jul 12, 2012.
  30. Offline

    zolcos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Just tp to the edges of your world and make a really big shop. I think Essentials lets you tp to coordinates with /tppos

Share This Page