Inactive [ECON] GiantShop v2.0 (BETA) (Forniphilia) - The great new SimpleShop [1.3.1-R2.0]

Discussion in 'Inactive/Unsupported Plugins' started by Giant, Jul 19, 2011.

  1. Offline

    Giant

    GiantShop
    V2.0
    GiantShop 2.0 continues where SimpleShop left off! It is great, fast and most importantly: easy to use! GiantShop is a global shop, wich uses a commands based system to sell and buy items.

    BukkitDev
    GiantShop is now located at BukkitDev!

    This thread is outdated! Please see BukkitDev for updates!

    old stuff (open)

    Features
    • Global shop
    • Item gifting
    • SuperPerms!
    • DataType MaterialData supported including names! Now you can add all your wool colours to your shop!
    • Add items from the console!
    Dependencies

    *Use only 1 of these permission engines at a time!

    **Any SuperPerms plugin may work, but only PermissionsBukkit has been tested!

    Commands (open)

    • /shop - Show GiantShop help page 1
    • /shop [h|help|?] (page) - Show GiantShop help page X
    • /shop [l|list] (page) - Show GiantShop item list page X
    • /shop [c|check] [id([:type])] - Search a single item
    • /shop [s|sell] [id([:type])] [amount] - Sell items back to the shop
    • /shop [b|buy] [id([:type])] [amount] - Buy items from the shop
    • /shop [g|gift] [receiver] [id([:type])] [amount] - Gift an item to player [receiver]
    • /shop add [id([:type])] [amount] [sellFor] [buyFor] - Add an item to the shop, leave sellFor or buyFor as 0 to only sell/buy item
    • /shop update [id([:type])] [amount] [sellFor] [buyFor] - Update an item in the shop, leave sellFor or buyFor as 0 to only sell/buy item
    • /shop remove [id([:type])] - Remove an item from the shop
    • /shop truncate - Erase all items from the shop
    • /shop save - Save current configuration
    • shop export - export current SQL database to CSV*
    • shop import - import data from CSV*
    *These commands are only accessible from the console!


    Permissions (open)

    • giantshop.* - Gives access to all GiantShop permissions
    • giantshop.shop.* - Gives access to the GiantShop payout*
    • giantshop.admin.* - Gives access to all GiantShop admin commands*
    • giantshop - Gives access to simple GiantShop commands as list and help
    • giantshop.shop.check - Gives access to check command
    • giantshop.shop.buy - Grants user ability to buy from the shop
    • giantshop.shop.sell - Grants user ability to sell back to the shop
    • giantshop.shop.gift - Grants user ability to gift
    • giantshop.admin.send - Enables admin to send GiantShop help to user
    • giantshop.admin.add - Enables admin to add items to GiantShop
    • giantshop.admin.update - Enables admin to update items in GiantShop
    • giantshop.admin.remove - Enables admin to remove items from GiantShop
    • giantshop.admin.truncate - Enables admin to remove all items from GiantShop
    • giantshop.admin.save - Enables admin to save the current GiantShop config
    * When using SuperPerms all groups contain 'giantshop' permission


    Example conf (open)

    Code:
    GiantShop:
        Global:
            name: GiantShop #Shop name
            usePermissions: true #Should we use permissions? if not, everyone has access to shop, OP is admin
            permissions:
                permissionEngine: SuperPerms #Permission engine, can be: 'SuperPerms' for bukkit SuperPerms, 'Permissions' for theYetis Permissions, 'PEX' for PermissionsEX
            perPage: 5 #Amount of items to list per page
            Broadcast:
                buy: true #Show a global message that player X just bought a shiny new item
                gift: true #Show a global message that player X just gifted player Y a shiny new item
                sell: false #Show a global message that player X just sold a rusty old item
            govt:
                useGovt: false #Should we use a global user as govt.?
                govtName: Government #Name of the govt. bank account
            free:
                useFree: false #Should we use worlds where shopping is free?
                freeWorlds: #Worlds that can use free shopping
                - world1
        Database:
            type: SQLite #Database to use
            database: minecraft #Database name
            table: GiantShop #Database table name
            prefix: shop_ #Database table prefix, handy for when you have alot of tables in 1 database
            MySQL:
                host: localhost #MySQL host
                port: 3306 #MysQL port
                user: root #MySQL user
                password: none #MySQL password
    


    Download Jar
    items.yml* **
    source - not available as of yet

    *Please use right click -> save as
    ** Should be automatically created by GiantShop.

    Changelog:
    v1.6.2
    • Added ability to buy/sell/gift/check by name!
    • Fixed some return messages not having any colour
    v1.6.1
    • Fixed torches throwing an error when trying to sell
    Older versions (open)

    v1.6
    • Added support for other economy engines!
    v1.5.7
    • Updated items.yml to 1.8.1 (Thanks Jiggy)
    v1.5.6
    • Totally forgot to add support for doubles in importing
    v1.5.5
    • Added support for doubles in pricing
    v1.5.4
    • Fixed past 1am coding bug
    • Bumped version nummer to 1.5.4 in jar after forgetting to do so earlier :rolleyes:
    v1.5.3

    • Added configuration setting to give ops all permissions by default.
    • Renamed config file from GiantShop.yml to config.yml, GiantShop should automatically rename this file.
    v1.5.2

    • Added support for free worlds!
    • Fixed a kind of a big bug where the shop was charging per individual item instead of for the set amount. (meaning: if you would say did /shop add 1 10 10 1 and then /shop buy 1, so buying just 1, you would actually pay 100! xD).
    v1.5.1

    • Added support for "government"
    v1.5

    • Fixed bug where not all help pages were available
    • Added API for future location plugin
    • Added colors to shop messages!
    • Fixed bug where removing caused an internal server error
    • Possibly more, but forgotten....
    v1.4

    • Added import/export from/to CSV command to console!
    v1.3.1

    • Fixed bug where update would update entire list instead of item requested
    • Added some missing materialData thingies
    v1.3

    • Added Support for both Permissions (TheYeti's) and PermissionsEX(PEX)
    • Admin permissions now default to op
    v1.2.1

    • Fixed an accidental mistake where the sale and buy parameter where read in the wrong way around
    v1.2

    • Fixed an issue where players could sell back to the shop, even when this was set to disabled
    v1.1

    • Fixed issue where removing item triggered 2 messages telling item was removed
    • Fixed issue where items with no MaterialData were only sellable when bought from the store
    v1.0

    • initial release



    To do
    • Add colours to GiantShop messages ingame - Implented
    • Look into location bound system - Done
    • Put screenshots in this post for andrewpo :D
    Plugins:

    GiantShopLocation

    Handy stuff:


    There will be NO support given on the bukkit forums! Please file a ticket or a comment on my bukkitDev page!
     
    meiamone likes this.
  2. Offline

    Giant

    Please tell me the EXACT way you tried this, because I am unable to replicate the issue...
     
  3. Offline

    Fob_Upset

    I just did /shop sell 258 7.
    You can come on my server to see for your self if you want.
     
  4. Offline

    Giant

    How did you achieve the tools? Were they manually crafted, or cheated into the game?
     
  5. Offline

    longbowrocks

    Your mod is attempting to parse all numeric fields in our data.csv as integers. Is there a fix for this?We tried the data.csv from Meiamone's post on September 4th with the same result. On the first decimal value in the file returns an error when attempting to parseInt.
    Code:
    2011-09-17 19:25:26 [INFO] [GiantShop] Importing data from CSV!
    2011-09-17 19:25:26 [INFO] [GiantShop] Failed importing.
    2011-09-17 19:25:26 [SEVERE]
    java.lang.NumberFormatException: For input string: "7.04"
        at java.lang.NumberFormatException.forInputString(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at java.lang.Integer.parseInt(Unknown Source)
        at nl.tpre.bukkit.GiantShop.Listener.imports(Listener.java:1028)
        at nl.tpre.bukkit.GiantShop.GiantShop.onCommand(GiantShop.java:213)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:349)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:499)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:478)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  6. Offline

    Fob_Upset

    Manually crafted
     
  7. Offline

    MicroDark

    Hi !

    Thanks for your very good plugin.
    It's possible to create an infinite global shop ?
     
  8. Offline

    meiamone

    First, make sure you've deleted the old version and are only running the most current version. I had the same problem until I updated to the 1.5.6 version. There have been no problems with it since.
     
  9. Offline

    Giant

    Wasn't it global already?
    Also, there is no "stock" option so it currently is infinite! :D
     
  10. Offline

    MicroDark

    Thanks but :'(
     
  11. Offline

    Giant

    Hmm interesting, mind telling me your server then so I can come have a look?
    If you don't want it publicly available then feel free to pm me! :)

    why the tears? make me sad panda! O__o

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

    MicroDark

    It's better ? --> [creeper]

    ^^
     
  13. Offline

    Giant

    Would you mind if my current state of tiredness makes me incapable of understanding this?
     
  14. Offline

    MicroDark

    It's a joke, sorry :)
    (and sorry for my english, i'm french)
     
  15. Offline

    Giant

    C'est pas de problems ;)
    Je parlé un petit de Français!!

    (But am Dutch, so don't start a full convo in French, keep it English here as much as possible please!)
     
  16. Offline

    MicroDark

  17. Offline

    longbowrocks

    Thank you. Apparently bukkit wasn't displaying the correct version number. We re-downloaded that mod and it worked like a charm!
     
  18. Offline

    Giant

    That wasn't an issue with bukkit, that was just me having forgotten to sort of bump the version number thingy! :D

    Oh btw, any chance you could make an Office 2007/2010 version of your price tool? Because it throws an error currently :(

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

    meiamone

    I think I can make up a 2007 version. I'll get it posted within the next day. I just got a new server running...lots of hair pulling and tension atm. :eek:
     
  20. Offline

    Giant

    haha, would be cool if there would be one! :D
    And try shaving yourself bald before launching a new server or project next time! :D No hair to pull then!
     
    meiamone likes this.
  21. Offline

    longbowrocks

    Have you seen any problems with PermissionsEx? For the most part your mod works great on our server, but even our superAdmin is unable to execute "/shop check <item>" because he gets the same error as the rest of us:
    "[GiantShop] insufficient permissions!"
     
  22. Offline

    Giant

    Please make sure the user has the "giantshop.shop.check" permission!
     
  23. Offline

    meiamone

    Giant, here's the 2007 version of the Excel pricing workbook I promised, along with the xls version for older Excel users. For anyone not following this, it contains a data file for importing into GiantShop, a pricing worksheet that allows for changing base item prices and automatically updating all crafted items that contain them, and VBA macro code that completes the data.csv for importing.
     

    Attached Files:

  24. Offline

    Giant

    Nop, it stills throws me an out of range error :(
     
  25. Offline

    meiamone

    Sorry, I found the problem. It reads the filename of the workbook. It was only looking for an .xls extension instead of the xlsx for the 2007 macro-enabled extension.
     

    Attached Files:

  26. Offline

    Giant

    Meh, it just hates me, so I guess it's something on my end.................
     
  27. Offline

    Fogazi

    I have tried every thing that I can think of to fix this?
    Whenever i go to buy or sell something i get red writing saying An internal error occurred while attempting to perform this command

    Code:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'shop' in plugin GiantShop v1.5.6
    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:755)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:720)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:713)
    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:91)
    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.NoClassDefFoundError: com/iConomy/iConomy
    at nl.tpre.bukkit.GiantShop.Listener.buy(Listener.java:502)
    at nl.tpre.bukkit.GiantShop.CommandExecutor.Exec(CommandExecutor.java:62)
    at nl.tpre.bukkit.GiantShop.GiantShop.onCommand(GiantShop.java:233)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    ... 12 more
     
  28. Offline

    Giant

    You seem to not have iConomy installed........
    Code:
    Caused by: java.lang.NoClassDefFoundError: com/iConomy/iConomy
    
     
  29. Offline

    Jiggy

  30. Offline

    Giant

    Hmm, it was working with the proper items without updating for me O__o, but thanks alot! :) I'll check it out!
     
  31. Offline

    Jiggy

    hmm couldnt find a lot of items in the items.yml file
    Or does it auto-update ?
     

Share This Page