[INACTIVE][ECON] SimpleShop [1.41] - An iConomy Shop [493-531]

Discussion in 'Inactive/Unsupported Plugins' started by Nijikokun, Jan 23, 2011.

  1. Offline

    Nijikokun

    SimpleShop (1.41) (iConomy 4.4+ & Permissions or Op(s).txt)(Donate)
    Download the latest release. (Jar)

    What is SimpleShop?
    Simple shop is... well a simple global shop that allows you to add, update, and reload in game.
    Natively supporting MySQL & SQLite.

    Install:
    1. You need iConomy & Permissions to use this plugin.
    2. Download the archive, extract the files to your base craftbukkit directory.
      1. SQL Dependencies Required:
        1. SQLite Dependency
        2. MySQL Dependency
      2. The dependency must be located in the craftbukkit plugin directory!
    3. Go to plugins/SimpleShop/ and modify the .settings file to your likings.
    4. Restart server and enjoy!
    Stock
    Show Spoiler
    To activate stock open up the .settings file and locate use-stock=false set it to true.
    Commands:
    Show Spoiler
    /shop check [id] - Show item information
    /shop list (page)
    /shop buy [id]([:amount])
    /shop sell [id]([:amount])
    /shop add [id]:[amount per bundle] [buy] [sell] (stock)
    /shop update [id]:[amount per bundle] [buy] [sell] (stock)
    /shop remove [id]
    /shop reload
    Examples:
    • Getting Started.. We are going to add stone, in bundles of 64 to purchase for 10, and sell for 2.
      • /shop add 1:64 10 2
      • For Stock:
        • /shop add 1:64 10 2 64
    • Lets test it:
      • /shop buy 1
    • Now lets update it.. it was bit expensive and nobody was really gaining money.
      • /shop update 1:64 8 5
      • For Stock:
        • /shop update 1:64 8 5 64
    • Now lets test again:
      • /shop sell 1
    • The end.
    Permission Nodes:
    Show Spoiler
    simpleshop.buy
    simpleshop.buy.gift
    simpleshop.sell
    simpleshop.items.remove
    simpleshop.items.reload
    simpleshop.items.add
    simpleshop.items.update
    Changelog:
    • Version 1.41
      • Rewrote chunks of the coding.
      • Added support for "gifting"
        • /buy [item]( : amount) [who]
    • Version 1.4
      • Fixed connection issues.
      • Fixed plugin hook issues.
      • Added Dependency download support.
      • Default file loading support like in iConomy.
      • Fixed up some CLI issues.
    • Version 1.3
      • Added support for stock
        • Modifies database! Backup before restarting!
      • Fixed some bugs revolving around listing pages.
      • Fixed issues with not being able to set non-sellable / buyable items.
        • Now use -1 for either buy / sell to disable that feature:
        • /shop add 1:64 -1 15
          • Stone is sellable but not purchasable!
    • Version 1.2
      • Commands are now CLI parsed.
        • Causes /shop [id] to become /shop check [id]
      • Shop list is now paginated (Untested)
    • Version 1.1
      • Fully working with selling items.
     
    dojopunk and TonyMcDanza like this.
  2. Offline

    blinghung

    Hmm I still cant get it to work i say /shop add 5:5 5 and it say nothing
     
  3. Offline

    joey

    Um yeh everything is working but /shop reload is there anyway i can do this manual in notepad
     
  4. Offline

    HaloInverse

    I've noticed that many of the people having database problems with this plugin have been using MySQL. This plugin is working fine for me, but I'm using "database-type=sqlite". It's possible that it's just the MySQL interface that is borked... maybe try switching to SQLite to get your shops working until the MySQL code is further debugged?
     
  5. Offline

    unya

    Thanks for this wonderful plugin, it works for me using MySQL!
    So... does anyone got a nice database table set up with prices that work? Or just prices that work? I'm having trouble figuring out what's worth what.
     
  6. Offline

    Drakoon

    Why it isn't working? I have all plugins installed no errors received and in console says Drakoon issued server command: blah blah blah. Unknown console command.
    redownloading doesn't help me
    ss http://screenshooter.net/9685064/Drakoon_2
     
  7. Offline

    joey

    Same -.-
     
  8. Offline

    blinghung

    Can somone do a video tutorial or tutorial?
     
    joey likes this.
  9. Offline

    joey

    YEs please!
     
  10. Offline

    Azraeil

    I suppose stock isn't implemented yet? I'll have to hold off on using it for a little while then.
     
  11. Offline

    shadrxninga

    @Nijikokun What Does the -1 mean under type? Using mysql
     
  12. Offline

    Miech

    I too am having trouble adding any items to the shop. SQlite is creating the database file and I can see the menu using /shop. I can even /shop add <anything> and I can get an "unknown item" response, so the command tries to work. When I use the real syntax, I get no responses back at all, and nothing goes in the shop.

    Issue with the database possibly?
     
  13. Offline

    mysticviperx

    how can i edit the database so i dont have to type in everything i want to sell?
    i have a huge excel sheet with all the crap and there prices...but i don't want to enter everything in via minecraft.
     
  14. Offline

    unya

    Wanna share that excel?
     
  15. Offline

    benthemeek

    I dont know how to track this down but I beleive there is some kind of bug with the "/shop add" command as it seems at least a few others here might be experiencing it. I am using sql-lite and sometimes I can get an item to load to shop. Otherwise I get no response at all from console except the accompanying unknown command that comes with every shop command. I can still buy and sell items that are loaded but I cannot currently add additional items to the shop. Any ideas?
     
  16. Offline

    King of Koopas

    I got a problem. I can't get iconomy to run. Whenever I start the server it just comes up with an error saying it couldn't run iconomy.jar. Ideas?
    --- merged: Jan 27, 2011 6:58 PM ---
    NVM I was using the wrong version. Working now :D
     
  17. Offline

    Nate204

    Spent over two hours adding prices that are stable (and I'm still bug testing it), That's writing them all down, and then hand entering each one........ I've had easier days at work lol.

    I believe we should come up with something as a community. Toss some stuff into Google docs and tweek it. It would be universal pricing. Any economy plugin current or future is always going to need data entry.

    Edit- Biggest thing, It would need to have some form of credit due, such as a list of users who have edited and updated. Maybe even going to the point of saying "Current Servers using this pricing system:"
     
    Starrk likes this.
  18. Offline

    unya

    Yeah, I'm testing different prices now. Also, there are some items that's good to avoid. Like water. Or lava.
     
  19. Offline

    Starrk

    I'll be willing to help.

    Also, this plugin should be in Plug-in Development, since you can't even use it.
     
  20. Offline

    Nate204

    This plugin works for my server. At least it did when I left for college this morning.

    I have a pretty good Idea for how to get a decent price list going. Stop into my server sometime today and see what I currently have.
    www.online-self.com or 64.83.209.97:25565

    Also, this plugin needs a page break. When I type /shop list , All 30 or 40 items I have just fill the chat log -.-;
    The only way my users can see prices, is to type /shop ITEM. Even with that, you still need to know the name of the item.... Glowstone/Lightstone is called FragileGoldBlock or something? How are they supposed to know that?

    I'm using SQLite btw.

    If anyone else wants to help out with pricing, please let us know.
    --- merged: Jan 27, 2011 7:51 PM ---
    True, but that's no biggy. I offer Obsidian to members but it's expensive. purchasable?, oh yeah. Big Brother helps with the anti-grief.

    I wish this plugin would also have permissions that worked like that though. If only members could buy certain items, That would be awesome!
     
  21. Offline

    Nijikokun

    When the new permission system comes into play I will work on that.

    351,1=RedDye
     
  22. Offline

    Robert White

    THANK YOU! I tried a whole bunch of stuff, but didn't think to try that. Your assistance is much appreciated.
     
  23. Offline

    Nate204

    I appreciate that! =D
     
  24. Offline

    King of Koopas

    I can't get anything to work. the /shop command works, however nothing else seems to want to respond. Nothing comes up and all that come sup in the console is that kingofkoopes tried command.
     
  25. Offline

    terrantimes

    show shop list only 20 line.... can more?
     
  26. Offline

    Nijikokun

    You need to give permissions via the Permissions plugin.

    Next version it will.
     
  27. Offline

    King of Koopas

    I did. This is how it looks, did I do something wrong? I'm still new to this
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        KingofKoopas:
            group: Admins
            permissions:
    simpleshop.buy
    simpleshop.sell
    simpleshop.items.remove
    simpleshop.items.reload
    simpleshop.items.add
    simpleshop.items.update
    
    
     
  28. Offline

    Starrk

    I'm still having that shop problem where it says I add it but I can't seem to buy it.
    --- merged: Jan 27, 2011 10:21 PM ---
    Hey Nate, could you possible tell me what I'm doing wrong? I added the item in the store but I can't buy it because it says it's not available for purchase. I'm not sure what I'm doing wrong. I can't even use /shop reload.

    Could you send me your Permissions properties? Thanks in advance.
     
  29. Offline

    StickerZ

    one question...
    instead of typing "simpleshop.buy"
    "simpleshop.sell"
    and so...

    is it possible to only put the command "/shop" ???
     
  30. Offline

    joey

    Please sorry for posting so much but this is the last thing im waiting for to get my serrver outta "beta" can you please tell me why i dont have /shop reload working but everything else it says invalid item http://tinypic.com/r/4rruw4/7 plugins
    http://tinypic.com/r/rc7dp0/7 server with bukkit latest build
     
  31. Offline

    Nijikokun

    Permissions are supposed to use nodes. not commands.
     

Share This Page