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

    I will look into that. Might be a glitch somewhere I guess.....

    Edit:
    nope, works fine for me... Do you have any plugins that modify or use the gold ingot? Maybe one of those is involved.
     
  3. Offline

    morizuki

    hmm gold ingots.. i think none i guess
     
  4. Offline

    Giant

    in that case: can you try buying 1 from the store, and then selling? And check if it does take the sold part out.
     
  5. Offline

    DJAddi

    Hey!
    Well, it is a simple plugin and as the other shop works fine, but as the other shops it has no permission to buy AND SELL for free (yes, not getting money for selling something if you do not need money to buy it is important to me because I want to use the plugin on the same server in a survival and a creative world). See this feature as requested... although I also requested this at other shop plugins.
    Have fun,

    Addi
     
  6. Offline

    Giant

    So if I get it right you want the ability to set a price for world X and then have the same item for free in world Y if the user has the required permission?
     
  7. Offline

    DJAddi

    That's it. World X would be the survival, users should buy and sell with the preset prices (nice import-function from .csv by the way, prevents a lot of work). In world Y they have another inventory (MultiInv-plugin) and as it is a creative world, everyone should be able to buy items for free and noone should get money for selling items (because it is useless and because iConomy currently is not supporting multiple worlds).
    Would be a great feature for me...
    Have fun,

    Addi
     
  8. Offline

    Giant

    So you just want a free world? Like add list where you can add worlds too? And if the given player is in one of these worlds he is allowed to use it for free?
    You are confusing me a little right now atm, because in your initial post you talked about a permission... hehe
     
  9. Offline

    DJAddi

    A worldlist would be possible, but I guess a permission is less work for you... generally you are right. There is a free world and a pay-world, free means you can buy for free and sell for nothing, pay means you buy for money and sell for money. Introducing a permission that certain users buy and sell for free would be the easiest solution for you and more accurate for other servers I guess...
     
  10. Offline

    Giant

    Well, the worldlist is not too much work hehe. The permission thing is not that hard either, but not as fool proof...... Guess'll go worldlist.
     
  11. Offline

    DJAddi

    You're great. Hope to see this feature soon ;).
     
  12. Offline

    morizuki

    it's selling.. i think i found the error..

    when u mine the gold ore, and smelt it, then u sell it.. the gold won't disappear..
     
  13. Offline

    Giant

    Hmm, in that case: a smolten gold ore has a different materialdata thingy then a normal one :S
    I shall look into that! :D
     
    morizuki likes this.
  14. Offline

    Kohle

    I'm getting an internal error when I try to do this:
    /shop buy sand 1

    Not sure why. I also have government enabled.
     
  15. Offline

    Giant

    Ahh, that's because it would be:
    /shop buy 12 1
    Buying by name is not yet supported at this moment... :(
    The name thingy in the FP means that it shows items by their respectfull name. So instead of just: "wool" it would show: "[Colour] Wool"
     
  16. Offline

    Kohle

    Now it keeps saying that the item [X] does not exist.
     
  17. Offline

    Giant

    when you do
    /shop list
    is the item listed? (might be on a different page)

    You should be very happy with 1.5.2! :D

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

    Zocomen

    Could you make it avaible with BOSEconomy? :D
     
  19. Offline

    Giant

    I'll consider it.

    Any updates on this?

    So, how is the free world thingy? :D
     
  20. Offline

    mrvertigo27

    Two requests
    • Would you please get with the dev for bukkitupdater with a static link for auto updating
    • the other one i forgot because I got busy at work A.D.D. FTW!! I now remember however that request falls under your Giant Shop Location plugin, I will post that there.
     
  21. Offline

    Kohle

    It says no items yet... :confused:
     
  22. Offline

    Giant

    Hmm, it seems GiantShop Location is already in the DB weird, that GiantShop itself is not haha.... I shall check with the developer :)

    And you are sure there should be items added?

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

    Kohle

    Umm... I just dropped the .jar into the plugins, ran the server, and it generated the items file, but when I go to type /shop list in game, it says no items yet...
     
  24. Offline

    Giant

    yea, that's because you have to add items to it...
    the items.yml file just contains names....

    use the add command for it...
    See original post, or /shop help for more details on this.
     
  25. Offline

    DJAddi

    I cannot test it, because the rest of the plugin won't work. I can't import the .csv, I can't add items to the database (or I just can't buy them). If it works for everyone else I am fine and look for another shop plugin. Sorry for the work with the free worlds...
    Have fun,

    Addi
     
  26. Offline

    mrvertigo27

    Not to be a pest but it would be nice to be able to have decimals in my prices so i can more accurately keep with my standard 12% difference between buy and sell prices
     
  27. Offline

    Giant

    That would be nice yep xD
    I shall add it to the looooooong (but actually very short feature request list)

    and that needs to be spammed?

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

    mrvertigo27

    sorry, my browser froze..... *blush*
     
  29. Offline

    Giant

    Haha, no problem :p
     
  30. Offline

    mrvertigo27

    I'm having trouble finding documentation on adding things with damage values Charcoal for instance, thats the syntax for adding it to the shop (im not having much luck with the item name) how would I do this with logs n such without using the name?
     
  31. Offline

    Giant

    damage value? You mean the material data?
     

Share This Page