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

    DestinysCourage

    Hi, Giant! I love your idea, but can you tell me how to install it? I'm not much of a bukkit-plugins installer, so..yeah, can you help me out? Thanks!
     
  3. Offline

    Giant

    Well, it's pretty much just downloading the jar file (See the "Download Jar" link in the first post).
    And place the jar file in the "plugins" directory of bukkit.
    GiantShop should then create the necessary files to operate, if this fails, please report back and I will do my best to help!
    The only remaining thing you are left to do, is either tell GiantShop to not use permissions, or add the permissions to the superperms plugin you are using!*

    *See link to PermissionsBukkit for the only tested permissions engine.

    Ps. I am working on supporting more permission engines so it will be more user friendly!
     
  4. Offline

    morizuki

    having problem on /shop update.. I add many many items.. and I've update one item, now it turns all of my list to that item..
     
  5. Offline

    Giant

    I'll check into that after I get some sleep........
    Up for over 30hours now O__o
     
  6. Offline

    morizuki

    me 20hours XD hahaa.. ok am going to wait..
     
  7. Offline

    Giant

    Alright, I woke up from my state of coma now.....

    Care to explain your issue a little bit more?
    From what I can understand you added alot of items, and then update 1 causing the others to go too?
    These items, where they normal items like stone? Or where they more like colored wool?
     
  8. Offline

    morizuki

    let say i put a stone and a dirt for 1$

    i've updated the stone for 2$

    when u look at the list
    it will tell u like this
    Selling 1 Stone for 2$
    Selling 1 Stone for 2$

    instead of
    Selling 1 Stone for 2$
    Selling 1 Dirt for 1$
     
  9. Offline

    Giant

    Bug confirmed, found, and fixed! :D
    Now working on uploading it haha.
    Standby for V1.3.1!
     
    morizuki likes this.
  10. Offline

    morizuki

    can you also add the Sapling and leaves?
     
  11. Offline

    Giant

    Sapling should already be in?
    Or do you mean the different biome types?
     
  12. Offline

    morizuki

    yeah different biome.. sorry. XD
     
  13. Offline

    Giant

    Redownload jar :p
     
    morizuki likes this.
  14. Offline

    RG_PankO

    MySQL any time soon?

    Does it have all the functionalities of Virtual Shop?
    If yes - why is this better/worse?
     
  15. Offline

    Giant

    MySQL is already supported... (Why else would there be config settings for it?)
    This shop does not have the functionality of VirtualShop, as VirtualShop is pretty much a per user based shop, whereas this is more like a normal shop, like a supermarket.
     
  16. Offline

    GoSox2525

    Looks alright, i think you should add an export command to export the shop to a csv file for easier editing when adding very large amounts of items to a shop. And also a way to define certain areas where players can use the commands. UNtil then im sticking to DynamicMarket
     
  17. Offline

    Giant

    The export sounds quite helpfull, I shall look into that.
    But the certain areas only, sort of goes against the "global" shop idea doesn't it?
     
  18. Offline

    andrewpo

    It would be great if you could get some screenshots onto your first post :)
     
  19. Offline

    Giant

    Of what would you like screenshots then?
     
  20. Offline

    andrewpo

    I just think screenshots make posts more appealing, such as the chests open, showing a bit of chat text saying "You bought .... from ...'s shop" maybe.

    I'm not sure how your plugin actually works as I haven't tested it yet so I can't be sure what to screenshot :p

    If you haven't put any up by the time I get around to testing it, I'll happily send you some :D
     
  21. Offline

    GoSox2525

    i suppose, but it wouldnt be required, just an option. For me i only look for global shops like this so i can use commands and not need 200 chests and signs in a massive room to make a store. But id still like the commands to be used in a shop.

    EDIT: i see you already added importing and exporting the database, thanks! Keep up the good work :)
     
  22. Offline

    Giant

    Hmm, So you mean a per user shop idea? Or just 1 global shop, in 1 area only?
    So a bit like a supermarket? Might look into that.

    You're free to send them! :)

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

    NikkyyyHD

    What, so I have to go in game and add each item one by one?
     
  24. Offline

    Giant

    No, it DOES support CSV, and adding is also possible from the console.
    What made you think that you had to go in game for adding it? (So I can see if I can clarify it :p)
     
  25. Offline

    GoSox2525

    No it is one global shop, but the commands will only work in defined areas. It can be just one area, or as many as you want (default would be zero and commands would work anywhere). DMWrapper has the same function for DynamicMarket, but it just has bugs im not happy with so im looking into this
     
  26. Offline

    Giant

    Alright, I'll look into it!
    Care to tell me those bugs btw? So I can sort of try to fix them if I find them in my code? :p
     
  27. Offline

    GoSox2525

    It wasnt so much bugs it was just not very user friendly. The csv file to edit your shops items had categories for price, floor price, base price, ceiling price, stock, maxstock, minstock, floorstock, cielingstock, and other things that made it difficult. If i wanted to change the price of something i had to change every single price "category" and i would often miss a few. I never thought all of that was necessary, it should have been more simple.
     
  28. Offline

    Giant

    That indeed sounds a bit uhm.... bloated to me. GiantShop does not support dynamic pricing though, it is just pretty much a set price. I am however considering implementing stocks as an option.
     
  29. Offline

    GoSox2525

    Perfect! The biggest problem with it ts that if you didnt have a large difference between StockFloor and StockCeiling, then items ran out of stock very fast, there was no option for just unlimited stock, which is what i really wanted
     
  30. Offline

    Giant

    That does sound kind of annoying, especially the lacking of a function to turn it off.....
     
  31. Offline

    GoSox2525

    i agree, well so far you are already providing more support than the dev of DynamicMarket was. I'll be switching to this :)
     

Share This Page