[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

    v1carious

    Running with MySQL without a problem, automatically generated the simpleshop table on first run. My only suggestion is a little more explanation on the table titles. I prefer to work with a sql editing client vs using commands in game. Most are obvious, a couple i had to figure out with trial and error. Then again im not a minecraft vet.

    Also, to those having trouble with connection make sure your database is named "minecraft" with the username "root" and password "pass". Alternatively be sure to configure the config file according to your MySQL settings.

    EDIT: as usual i neglected to read through all the replies. So my above statement has been covered a few times already. However ill leave it since 70% of the human population couldn't find gravel in a gravel pit.
     
  3. Offline

    Herr Riz

    Are SimpleShop and iConomy compliant with the command changes in CraftBukkit 186+?
     
  4. Offline

    Retricide

    I get this error on Cb #200...do I need to downgrade CB?
    Code:
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Feb 2, 2011 4:08:34 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to SimpleShop
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
            at com.nijikokun.bukkit.SimpleShop.iListen.onPlayerCommand(iListen.java:156)
            at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.java:133)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:213)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:590)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:563)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:278)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:204)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  5. Offline

    Stephen92

    bump
     
  6. Offline

    Dreiak

    I'm pretty sure you can't do this yet. I hope you will be able to in future updates. But for now, items that I wish to buy and not sell I set the buy price to whatever value, and the sell price to 0. To sell, whatever value, and to not buy, to a ridiculously high value. For me, the average player has around 15,000... so non-buyable items I have set to like 500,000.

    Also, I am having the issue that I as admin can buy/sell, add, do whatever perfectly fine. However, my users are unable to /shop buy or /shop sell. Still, they can /shop, /shop [ID], and /money. Is there a specific permission I have to enable for them? They are all at least in the Default group, most are in Moderators. I am the only Admin.

    I use the Permissions plugin, iConomy, SimpleShop, WorldEdit, WorldGuard, and SimpleWarp.
     
  7. Offline

    Azraeil

    Bump for stock! :D
     
  8. Offline

    henrylee99

    how do i use it when i type /add 1:64 10 2 it does nothing please help
    a
     
  9. Offline

    Azraeil

    You should try using /shop add instead of just /add. /add isn't a recognized command.
     
  10. Offline

    lewis123

    Can u please make a flatfile version so i can run it with all my other plugins i beg u
     
  11. Offline

    Xemnas33

    Just out of a matter of interest why are you unable to use sql? I used to use flatfile but after swapping to Sql everything seems to run much better :)
     
  12. Offline

    Themself

    I'm having issues with this plugin. When I type
    it tells me:
    Thanks for the help!
    I have an items.db in the main craftbukkit folder.
    Build:186
     
  13. Offline

    MIKUiqnw0

    Check items.db for item reference. A number of item names do not coincide with the wiki or older hMod versions - you need to make the changes yourself if desired.
     
  14. Offline

    Azraeil

    I'm pretty sure lightstone is something along the lines of brittlegold
     
  15. Offline

    Nijikokun

    Instead of doing that you should just state what is the issue so I'm not aimlessly trying to figure it out.
     
  16. Offline

    Livewire

    For what it's worth the one thing I can see is it's missing the minimum bukkit build requirement after the title and the version.

    Their example is [CATEGORY] PluginName v0.1 - Description [122] - we've got Econ, SimpleShop, and the description, but not the actual version or the bukkit requirement.

    Not sure if that's all they want honestly but just thought I'd make my first second post something somewhat useful :)

    Edit: Forgot I actually did have a post here before this one.
     
  17. Offline

    Zero9195

    Hi Nijiko ;)
    First, I really like your plugins, in fact we are only using yours and nothing else at the moment ;)
    But i get his Error when starting the Server. I installed the Dependencies and so on, but still doesn't work:
    Code:
    2011-02-03 06:23:27 [SEVERE] [SimpleShop]: Database connector not found for mysql: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    2011-02-03 06:23:27 [INFO] [SimpleShop] Creating database.
    2011-02-03 06:23:27 [SEVERE] [SimpleShop]: Database connector not found for mysql: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    2011-02-03 06:23:27 [INFO] [SimpleShop] Database Created.
    
    Oh, and I'm using the latest CraftBukkit Build ;)
    Thanks for your help ;)
    --- merged: Feb 3, 2011 7:17 AM ---
    Ok, i got it, just some files at the wrong place ;)
     
  18. Offline

    RustyDagger

    I know you have alot of plugins to work on niji But could you please fix the item taking on this please I would much like to use it but the idea of players getting endless amounts of money and not losing items kinda defeats the purpose of installing it.

    starting to regret that first in first served attitude that you had when u started making bukkit plugins i bet.

    Considered asking others for help Or teaching some new guys how to help?
     
  19. Offline

    Themself

    I did; it has lightstone aligned with 89, its item ID. Where does the items.db file go anyway?
    EDIT: Won't work w/ any names.
     
  20. Offline

    Almightycloud

    Well it works well as in on the server but i dont know if its me or the plugin if i type /shop add 1:64 10 5 it seems it wont add it to the shop list i tried a full server restart nothing i dont know if its the version of my craftbukkit? if so how do i check the version?
     
  21. Offline

    iMalware

    Is there a way to isolate the area in which to use this plugin?

    Such as an actual shop?
     
  22. Offline

    Nijikokun

    1.2 Released
     
  23. Offline

    Racha

    When there will be a sign shop Nijikokun [​IMG]
     
  24. Offline

    Nijikokun

    Reuploaded 1.2

    @Above: Soon.
    --- merged: Feb 4, 2011 4:28 PM ---
    re-re-uploaded 1.2

    Finally. ffs.
     
  25. Offline

    Xemnas33


    What's the chance of getting supply and demand so the market is dynamic? Some people said they were working on it but we haven't heard from them since =/
     
  26. Offline

    ehushagen

    Just noticed a bug using SimpleShop 1.2 and CB232. Using /shop ITEMNAME or /shop ITEMID no longer shows the prices, but rather just brings up the help info. All other commands seem to work perfectly though.

    Edit: Should mention that it worked in the last release. And should also mention that pagination works great, and is really appreciated!
     
  27. Offline

    Pluckerpluck

    erm, not sure about what was reuploaded... but the /shop help doesn't say to use the /shop check command in my version
     
  28. Offline

    silentdojo

    Hey Niji! Thanks again for all your wonderful plugins. Found a simple bug...
    Ex. I have 15 apples in inventory.
    I /shop sell apple
    my apples are sold in stacks of 1
    it stacks all other apples not sold...
    Might do this for other non stackable items.
     
  29. Offline

    Runelynx

    Ok the connector is in my base craftbukkit directory, but on server start I get:


    2011-02-04 22:36:01 [SEVERE] [SimpleShop]: Database connector not found for mysql: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    2011-02-04 22:36:01 [INFO] [SimpleShop] Creating database.
    2011-02-04 22:36:01 [SEVERE] [SimpleShop]: Database connector not found for mysql: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    2011-02-04 22:36:01 [INFO] [SimpleShop] Database Created.
    --- merged: Feb 4, 2011 7:37 PM ---
    nevermind, password problem, it works.
    --- merged: Feb 4, 2011 8:24 PM ---
    /shop [id]
    doesnt do anything
    --- merged: Feb 4, 2011 8:24 PM ---
    2011-02-04 23:27:13 [INFO] runelynx issued server command: shop 1
    2011-02-04 23:27:13 [INFO] Unknown console command. Type "help" for help.
     
  30. Offline

    Azraeil

    I suppose stock still isn't implemented?
     
  31. Offline

    Nijikokun

    It's a craftbukkit issue, and no @above, and @everyone about /shop [id] it is now /shop check [id] read the changelog ffs.
     

Share This Page