[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

    wardevour

    the game crashes when i try the command shop list. this is the error i receive. this only happens if i add an item i don't want people to sell and then try to list the shop, otherwise the shop lists fine even if i disable buying an item. I've tried everything this is definitely what made it stop working. this was a fresh server i just installed simpleshop and it all worked perfectly until i added an item you cant sell and tried to list

     

    Attached Files:

  3. Offline

    pSyCeNeTiC

    Hey, at first, very nice mod and thanks for that.

    My question, how can i add Wood with different Textures to the shop (birch,redwood) and same for wool, red, black, green etc.? tried the essential format, /shop add 35:13:1 10 5 for example, but that doesn't work :D

    Thanks for answers
     
  4. Offline

    wardevour

    @pSyCeNeTiC have u tried editing the items.db in ur servers root and adding the dyes id urself and then adding to the shop usuing /shop add [ID]:64 1 -1
    this would allow buying 64 ID's for 1 dollar and disable selling
     
  5. "-1" crashes /shop list

    Please fix!
     
  6. Offline

    Stephen92

    same for me when i type /shop list including everyone on the server, it crashes i'm using cb 314.
     
  7. Offline

    oxxygenn

    after adding items, it says there is no itemes available for purchase

    "item currently not for sale"
     
  8. Offline

    silentdojo

    Just an idea.... when you update for adding the different colors of items; maybe add a new column to the table "damage". So we can specify the color of logs and cloth etc. With the default to zero so we won't have to edit each row.

    Unless you already thought of that.
     
  9. Offline

    Tekiran

    i'm guessing you don't have either the mssql or sqlite dependency jar in your main minecraft server folder.
     
  10. Offline

    Nathan C

  11. Offline

    DerET

    I love it... It's simple :D
     
  12. Offline

    Nocturnal7x

    Not really familiar with sql, but is there any way I can edit the table and add to the table outside of the game?

    Thanks.
     
  13. Offline

    Beaverbeliever

    There should be a way to sell all of a particular item in your inventory by using a * or % symbol for amount. Is this possible to add?
     
  14. Offline

    Glorificus

    Craftbukkit version git-Bukkit-0.0.0-428-g51dd641-b53jnks (MC: 1.2_01)

    Code:
    2011-02-22 23:53:32 [SEVERE] Could not pass event PLAYER_COMMAND to SimpleShop
    java.lang.NullPointerException
            at com.nijikokun.bukkit.SimpleShop.iListen.get_balance(iListen.java:65)
            at com.nijikokun.bukkit.SimpleShop.iListen.onPlayerCommand(iListen.java:79)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:150)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:647)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:600)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:77)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:325)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:240)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-22 23:32:32 [WARNING] Using the stupidly long constructor com.nijikokun.bukkit.SimpleShop.SimpleShop(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of SimpleShop to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-22 23:32:32 [WARNING] Plugin 'SimpleShop' (ver 1.3) is registering events before it is enabled. It may be misbehaving and the author needs to fix this.

    [​IMG]
     
  15. So, I have listed out a complete "value" chart for all items in Minecraft 1.2. By values, I mean cost for buying and selling in iConomy Money. I have included the shop.db file, and a excel spreadsheet as well. I hope you guys like this! I know that I wish I had one before I entered in a crazy amount of db settings. I have no use for it anymore, so I hope you like!

    [removed] (Shop.db)
    [removed] (Excel Spreadsheet)
     
  16. Offline

    denace

    Are you still workin on that plugin?
     
  17. Offline

    SplenectomY

  18. Offline

    chernobyl360

    im looking into this. i know im not a Dev of Plugins, but ill try and see what happens. most likely some one else will beat me to it :/
     
  19. Offline

    bogboom

    For whoever takes this over:

    Code:
    [SEVERE] Could not pass event PLAYER_COMMAND to SimpleShop
    java.lang.NoSuchFieldError: db
            at com.nijikokun.bukkit.SimpleShop.iListen.get_balance(iListen.java:65)
            at com.nijikokun.bukkit.SimpleShop.iListen.onPlayerCommand(iListen.java:79)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:150)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:646)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:596)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:590)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-24 03:25:06 [INFO] Eva_Fiertze tried command: /cbj
    
     
  20. Offline

    shadoskill

    was jsut about to post this. but iam getting the same error
     
  21. Offline

    DerET

    Is the source code public? I need it to translate this plugin into German...
    Great... Got the code from Github :)
     
  22. Offline

    TOAST7312

    SimpleShop simply not worknig now;

    I'm running craftbukkit 450 currently
    Any other info will need to be requested
    But seeing as Niko doesn't know where she's going
    I don't see a reason why anyone would do that
     
  23. Offline

    Runelynx

    Someone please get this running again? Alternatives are nowhere near as easy and straightforward.
     
  24. Offline

    the-infernus

  25. Offline

    Runelynx

    any luck? really want to be able to use this again, its so nice and simple.
    --- merged: Feb 27, 2011 8:40 PM ---
    I miss simpleshop :(
     
  26. Offline

    chernobyl360

    no luck. i keep getting some type of pluginloader being NULL. so im not gonna bother :/
     
  27. Offline

    Runelynx

    anyone else wanna take a stab at it? :(
     
  28. Offline

    Thanks4trying

  29. Offline

    Nader

    i'd really like that too... i can't find a single econ plugin thats up to date and this one is simply beast...
     
  30. Offline

    Giant

    So if I'd tell you, that I have it "working" with
    CB #448
    iConomy 4.0
    Permissions 2.4

    And that the only thing not working yet is the showBalance,
    should I upload an unofficial build somewhere? :)
     
  31. Offline

    Dreggor

    I am ok converting over to something else, what else would be a good option?
     

Share This Page