[INACTIVE][ECON] DynamicMarket v.0.4.8.1 - Versatile Shop Plugin [440-480+?]

Discussion in 'Inactive/Unsupported Plugins' started by HaloInverse, Feb 2, 2011.

  1. Offline

    HaloInverse

    DynamicMarket - Dynamic Global Shop Plugin

    Version: 0.4.8
    Built against: Bukkit 0.0.1 build #412
    Works with: CraftBukkit 0.0.1 builds #440-480 or thereabouts.

    Requires:
    • Permissions 2.5
      • Very recommended, but now optional! See "DynamicMarket.settings" below.
    • iConomy 4.1
    • Either of:
      • SQLite (easiest to set up, reccomended)
      • MySQL (more troublesome, more powerful)
    Buy items, sell items, admins set prices, et cetera. However, there's a lot going on under the hood...

    READ THIS BEFORE PROCEEDING.
    Seriously. (open)

    This plugin has a great deal of flexibility, but the price of more flexibility is more command options to control that flexibility. Computers just aren't very psychic.

    While in-game help exists for commands, the output from /shop help (<topic>) is intended to be a quick reference, not exhaustive documentation. Full instructions simply won't fit on the MineCraft client's tiny text display.

    You should read and understand the following sections before installing this plugin and setting up your shop. If not, you should at least read and understand the following sections while you are setting up your shop items.


    The big feature: Dynamic pricing. Items can be set to increase in price as they are purchased from the shop, and decrease in price as they are sold back, simulating open market conditions. The initial prices of items are just considered a starting point - user transactions will eventually adjust an item's price to a near-ideal level, based on actual value vs. rarity.

    However, as of 0.4.5, the configuration fields are now flexible enough to allow a range of behaviours, from fixed pricing with no stock limits, to fully-dynamic pricing with finite stock levels.

    This is by no means "complete" in the sense of "finished adding features", but it is complete enough to be functional and usable.

    Current Features (open)

    New & Current Features:
    • Buying and selling of items:
      • Item prices can be set to dynamically adjust according to supply and demand. This is highly adjustable, including the rate of price increase/decrease per transaction, optional hard overstock/understock limits, price ceilings/floors, etc. Leaving all the extra features turned off makes an item's price fixed and always-in-stock, like a basic "flat rate" shop.
      • Subtypes of items are fully supported.
      • List of items in the shop is broken into pages, accessible by number.
        • Partial-name searching! "/shop list wood" shows everything with "wood" in the name.
      • Item names for buy/sell/info also use partial substring matches.
      • A dynamically-priced item might cost more for 10 items than the cost of 1 item multiplied by 10, due to stock depletion. So, the "/shop <id>" command now takes an optional ":<count>" parameter, so you can get a quote for the actual buy/sell price of larger numbers of items.
    • Administration:
      • Shop items are edited via a "tag" system, so you don't have to re-enter every field for each small change. Plus there's a few utility tags which do other things to an item's record...
      • Item names are now editable, and will persist (independent of items.db) until the item's record is deleted.
        • This also makes items.db a convenience instead of a necessity, since items can be added by ID and then immediately renamed.
      • A "Default" item exists in the shop, which cannot be bought or sold, but serves as the base data for any new items you add to the shop. Any tags not supplied when you add an item will be copied from whatever you put into "Default".
      • Basic sanity-checking on input data has been added. Also, adjusting an item's bundle-size will rescale its price automatically.
      • Items can be set to be purchasable but not sellable, or vice versa. (Set either price to -1 to disable that transaction type for that item.)
        • Tags like "canbuy:n" and "nosell" can now be used.
      • An extended in-game help system. "/shop help" lists available commands and help topics. "/shop help <topic>" gives help on a shop command or other shop-related topic listed in the main help.
      • The list of commands displayed is filtered by the user's current permission level.
      • Shortcuts for all commands (except for database reset).
      • All commands except for "/shop buy" and "/shop sell" can be accessed through the Bukkit console. No need to log in to add or update items!
      • Access to the entire shop is now restrictable by permission.
      • Highly informative error messages, to help reveal why your database exploded. (Which really shouldn't happen, but you never know...)
      • The shop DB can now be exported to a .csv file, edited in your favorite spreadsheet, and re-imported back into the database, making large-scale changes easier.
      • NEW: The revenue/cost of transactions can now be transferred to another account. With the basic plugin, this can be an admin's iConomy account, or a dummy "GovernmentBank" account. (Don't use that name, or some bright spark will register that username and exploit you.) With a wrapper plugin, this can be set to link a shop's funds directly to an owning player's iConomy balance.
      • NEW: Transaction logging to a comma-delimited file, ready to import into a spreadsheet for nefarious financial analysis!

    Market Mechanics (open)

    Quick Market Mechanics Description:
    • Instead of a "buy price" and a "sell price", items now have a "base price" and a "sales tax". The "buy price" is based on the base price (adjusted by stock, if set to do so), and the "sell price" is based on (<buy price> - <sales tax%>). So if the sales tax is set to 25, then an item's selling price will be 75% of its purchase price. (The sales tax is entered as a number from 0 to 100, representing 0% to 100% tax.)
      • Using the old "/shop add <id> <buyprice> <sellprice>" format still works - the plugin just calculates the base price and sales tax, so that the buying and selling prices come out right.
    • Shop items have a "stock level", which is not necessarily a literal count of items in stock. By default, the stock level is considered an offset from baseline, rather than an absolute count.
      • Items with stock near zero are considered to be in "average" supply, and will be priced at their base price.
      • Items with a positive stock are considered "in surplus", and will be priced below their base price.
      • Items with a negative stock are considered "understocked", and will be priced above their base price.
      • This interpretation of stock levels can be made to behave like literal counted stock, by setting an item's StockFloor to zero, which prohibits negative stock.
    • Items have a "volatility", which indicates how quickly the price changes based on changes in stock level. It represents the percent increase in an item's price per item purchased, multiplied by 10000. V=1 (the lowest level) means that 100 items would have to be purchased to raise the price by 1%. V=10000 (the highest level) means that 1 item purchased would raise the price by 100% (doubling the price). (More examples in tags.txt)
      • There is also "inverse volatility", which represents the number of items needed to be bought in order to double the buying price (or halve it, if selling). This is more convenient for some people's mindsets, and is converted into volatility when entered.
    • The "sell price" is actually calculated from the buy price at the current stock level + 1, rather than the current stock level. This is to prevent gaining endless money by buying an item (driving the price up) then immediately selling it back (dropping the price) - if <sales tax> = 0, then buying-then-selling like this produces zero net gain/loss (as it should).
    • The tag presets "fixed", "float", "finite", and "flat" allow you to quickly set up common options. If used with the "Default" item before adding items to your shop, this will allow you to set the overall behaviour of the shop easily. See Tag Reference for further details.

    Commands (open)

    Commands:

    <Angle Brackets> denote parameters.
    (Round Brackets) denote optional sections.
    The brackets themselves are not part of the command; they are just used to describe syntax. Brackets should not be typed.
    If executing shop commands through the Bukkit console, leave off the initial slash.

    /shop - Shows the main help page. Lists commands and shortcuts.
    /shop help - Ditto.
    /shop help <topic> - Shows help on the given command or subject.
    /shop help tag <tagName> - Shows help on the given item tag.
    /shop <id>( :<count>) - Shows current buy/sell information on the given item.
    <id> can be an item name or a type number with an optional subtype:
    <id> = <itemName> | <itemID> | <itemID>,<subtypeID> | Default
    If <count> is used, shows the total price for the given number of items/bundles.
    /shop list (<partname>) (<pageNum>) - Lists a page of items in the shop. Default page = 1.
    If <partname> is used, lists only items with <partname> as part of their name.
    /shop buy <id>( :<quantity>) - Purchases an item. Default quantity is 1 bundle.
    /shop sell <id>( :<quantity>) - Sells an item. Default quantity is 1 bundle.
    /shop add <id>( :<bundleSize>) (<buyPrice> (<sellPrice>)) <tagList> - Adds an item to the shop list.
    <buyPrice> and <sellPrice> are accepted for convenience, and are internally converted to BasePrice and SalesTax.
    Unused tags will have their data copied from the Default item.
    Transactions will be in multiples of <bundleSize>. Default quantity is 1 item per bundle (unless overriden with the Default record)
    /shop info <id> - Shows much more detailed information about an item in the shop, such as stock level, volatility, etc.
    /shop update <id>( :<bundleSize>) (<buyPrice> (<sellPrice>)) <tagList> - Edits an item's shop data record.
    Data is first copied from the old record, then tags are applied in order of entry.
    NEW! <id> can be "all", applying changes to all items in the shop list.
    /shop remove <id>- Removes an item from the shop list.
    /shop reload - Reboots the plugin, reloading the configuration file and items.db.
    /shop reset - Deletes and recreates the shop database from scratch. Asks for an extra confirmation before doing so.
    /shop exportdb - Exports the shop database to a .csv file. The name and location are configured in SimpleMarket.settings. (Default: Plugins/DynamicMarket/shopDB.csv)
    /shop importdb - Imports a .csv file into the shop database. Same file location as used by the exportdb command. Note that the previous contents of the database are NOT cleared out before importing, so you may want to do a "/shop reset" before importing. The file's format MUST match the format of the exported file (except for quote marks, which are stripped out on import).

    Tag Reference
    Tag Usage Examples
    Permissions (open)

    Permissions:

    'dynamicmarket.access' : Grants basic access to the root /shop command.
    'dynamicmarket.buy' : Grants purchase rights.
    'dynamicmarket.sell' : Grants selling rights.
    'dynamicmarket.items.add' : Grants the ability to add new items to the shop.
    'dynamicmarket.items.update' : Grants the ability to edit items in the shop.
    'dynamicmarket.items.remove' : Grants the ability to remove items from the shop.
    'dynamicmarket.admin' : Grants the ability to delete-and-rebuild the shop database, and to reboot the plugin.

    Installation/Setup (open)

    Installation/Setup:
    • If you haven't already done so, install Permissions and iConomy, and ensure they work.
    • Copy DynamicMarket.jar into your Plugins/ folder.
    • NEW: Copy items.db into Plugins/DynamicMarket/ (or whichever directory you specify in DynamicMarket.settings) (DynamicMarket will work with other plugins' items.db files, but not all plugins will handle the extra subtype data in the items.db linked below.)
    • NEW: Copy either the SQLite connector or the MySQL connector into your main MineServer/Bukkit folder.
      • Or, if you have a MySQL server running, edit DynamicMarket.settings to specify the MySQL server, login, and password.
    • Edit plugins/Permissions/config.yml, and give everybody the appropriate permissions.
      • Most users would get 'dynamicmarket.access', 'dynamicmarket.buy', and 'dynamicmarket.sell', unless you want to restrict such commands to registered/VIP users.
      • Mods would probably get 'dynamicmarket.items.*'
      • Admins should get 'dynamicmarket.admin', if they don't already have '*'.
    • (Re)Start your MineCraft server. Errors may be thrown to the console, but the file Plugins/DynamicMarket/DynamicMarket.settings should be created.
    • Edit DynamicMarket.settings. Particularly, the setting "database-type".
      • "database-type=sqlite" : Use the SQLite connector. This is the simpler option. No further database access configuration should be needed.
      • "database-type=mysql" : Use the MySQL connector. You will need to set the options "mysql-user", "mysql-pass", and "mysql-db", as well as having a working MySQL server installation set up already.
    • NEW: Log in to MineCraft as someone with 'simpleMarket.admin' permission, or use the Bukkit console. Use "/shop reload" to load the edited config file.
    • Use /shop add to fill the market with tasty blocks at scandalous prices.
      • You WILL want to use "/shop update default" to set up some sensible default values for the items you will be adding, so you don't have to do so much typing for every item. (Or at least inspect the Default entry, to be sure you agree with it.)
      • If you want to make all of the items in the shop use dynamic pricing, set up the parameters in the Default item FIRST, so you don't have to go back and modify 100+ items to support variable pricing.

    DynamicMarket.settings Reference

    Downloads:
    • DynamicMarket 0.4.8.1 (.jar) (.7z) (iConomy 4.1, Permissions 2.5)
    • DynamicMarket 0.4.8 (.jar) (.7z) (iConomy 3.0, Permissions 2.1)
    • DynamicMarket 0.4.6.1 (.jar) (.7z) (iConomy 2.1 / Cookies+iConomy Wrapper)
    • DynamicMarket Source on GitHub
    • items.db <-- Contains subtypes. Put this in /Plugins/DynamicMarket/.
    • SQLite Connector (reccomended) Put this in your MineCraft server/Bukkit root.
    • MySQL Installation Guide (not so easy, probably not recommended for SQL server beginners)
    • Sample shopDB.csv Many (but not all) items, set up for floating-stock+floating-prices. Edit it if you like, then put this in your Plugins/DynamicMarket folder and use /shop importdb to load the items into your shop.
    DynamicMarket Wrapper Plugins:
    • DMWrapper: Restricts shop access to specific regions. Outdated.
    Want to integrate DynamicMarket's shop functions into your own plugin? Read this!
    To Do List(s) (open)


    To Do for v.0.5:
    • Logging of transactions. Done.
      • Global messages to alert to price changes.
    • Item classes: Use Permissions to control access to certain types of items, i.e. make safe items (gravel, stone, iron) available to anyone, but limit traffic in dangerous items (TNT, lava buckets, monster spawners) to VIPs. (For example.)
    • Customizable interface/highlight colours. Done.
    • Clean up the d*** out-of-date comments in the code. (Working on it.)
    To Do before 1.0:
    • Optional auto-transactions triggered by price disparities in raw/processed materials.
    • Possible migration of the new help system to a separate plugin, unless the expanded features needed become available in MCDocs or Bukkit.
    • Migrate config file handler to Yaml.
    • Random fluctuations of stock levels (would make the market more lively on a low-population server)
    • Stock levels drift back to rolling averages (smoothes out short-term price spikes, allows for long-term price drifting)

    Recent Changes:

    0.4.8.1:
    • Migrated to Permissions 2.5, iConomy 4.1.
    0.4.8:
    • shopLabel moved from a table name suffix to a table field.
    • Using "all" as the item name now applies the given tags to all items with the current shopLabel.
    • Altering an item's bundleSize now changes its stock level, as well as its basePrice.
      • New stock level is rounded down, to stave off future item duplication issues.
    • Sanity-check behaviour changed to make database queries more efficient and fend off future exploits:
      • stockHighest/stockLowest set to stock if lower/higher than stock.
      • stockCeil/stockFloor is set to stockFloor if lower/higher than stock.
      • priceCeil is raised to priceFloor if priceCeil<priceFloor.
        • Previous behaviours: Swap if order wrong, range-crop stock if outside highest/lowest/floor/ceil.
    • Fixed bug: Adding items without specifying count did not import count from default record.
    0.4.7:
    • Upgraded to iConomy 3.0.
    0.4.6.1:
    • Rolled back iConomy calls to 2.x style, to be compatible with Cookies' iConomy wrapper.
    0.4.6:
    • Support for transaction funds to be backed by an iConomy account.
      • Account link parameters added to wrapper-call messages.
    • Wrapper calls streamlined.
    • Added basic transaction logging.
    0.4.5:
    • Volatility can now go as low as 0.
      • In this way, stock can still be counted without affecting price.
    • CSV import/export now uses +INF / -INF as shorthand for min/max values in applicable fields.
    • Message colours now customizable in DynamicMarket.settings.
    • Expanded help on tags/presets.
    • Changed "fixed" tag, splitting its function with "flat".
    • Added tag presets "flat" and "finite".
    • Updated tag "renorm" to accept an optional new stock level other than 0.
    Full Changelog

    Credits:
    • Nijikokun: SimpleShop v.1.1, on which this was based. (And for Permissions and iConomy, on which this relies.)
    • AtomicAcidBath: Assistance with tracking down a hard-to-see MySQL syntax error.
     
    SoapFlakes and Mahngiel like this.
  2. Offline

    Stephen92

    im at work but in like 8 hours ill test it and im using groupmanager not permissions, I mean it recognizes the command just gives me internal error. Hopefully ur new release will fix cause I love this shop plugin the best, i'll post when I get home after updating to see if it works or not.
     
  3. Offline

    imaxorz

    I did as you suggested and I'm using coockies with the iConomy wrapper and it works great. One problem though is when using the shop it doesn't use my currency name I specified in Coockies settings, it just says money or moneys.
     
  4. Offline

    SweetCraft Girl


    You cannot quite call anyone wrong in this realm where problems crop up because of the many variables of interactions that occur between server, hardware, and plugins...

    So, with that said, Nathan. Permissions 2.0 = NOT WORKING AT ALL for us with Craftbukkit [423] or any other with our plugins - It cripples everything we try and does not even work alone. However <big f'ing comma here> Permissions TWO -POINT- ONE [2.1] = Awesome Sauce with a side of Will Smith....So go figure. Works with all 34 - thrirty-four - plugins....So...um.. i also did not have to call you "wrong". Sometimes, things like that are just obvious.....

    Oh, FYI when you find yourself saying "from what i hear", try to remember the word "hearsay" and the meaning, "anecdotal", it is also another one that will help prevent such errors in reasoning when choosing to be rude. :D
     
  5. Offline

    HaloInverse

    You know what? That's the kind of wrong I don't mind being. :) I haven't tested DynamicMarket with Permissions 2.1 lately, because 2.0 was breaking in other ways on my server (and 2.1 is working fine for me). I just sort of assumed that if I built against Permissions 2.1, I'd lose 2.0 compatibility... but apparently not.

    I guess only 2.1 works for some servers, and only 2.0 works for others. Glad to hear DynamicMarket potentially works with both.

    I noticed that too. Coelho hasn't implemented passing the Cookies currency name to the iConomy wrapper yet. He's working on stuff.
    --- merged: Feb 24, 2011 8:19 PM ---
    In that case... I haven't tested DynamicMarket with GroupManager's Permissions emulation, but it ought to work. You say you're getting "internal error" messages... you should post what the internal error is. :) (i.e. look at the Bukkit console, see what's getting spit out there.)
     
  6. Offline

    Nathan C

    Yeh, I actually didn't mean to come off rude to the author at all in that post. I resepect HaloInverse a lot.

    Sorry, it came out that way, it was late at night for me.
     
  7. Offline

    Stephen92

    no matter what I buy or sell it says "internal error occured while attempting to perform this command."

    hope this helped.
     
  8. Offline

    HaloInverse

    No offense taken. Like I said, I'm glad to hear something wasn't broken when I thought it was.
    Not helpful at all, sorry. The error text from your Bukkit console when the message "internal error occured while attempting to perform this command." appears in your Minecraft client (not the same thing!) is what I actually need. Without the error message from the Bukkit console, I truly have no way to find what's causing the problem.
     
  9. Offline

    dotnabox

    So I recently installed this and I am quite excited to get my new server running with this. I recently switched to Bukkit and am slowly implementing mods that look promising. This one is great!

    My only question is this -- is there a sample shopDB that I could download that's already populated with prices for all items? I'd much rather manually tweak a few things than build the thing myself. :)
     
  10. Offline

    jwideman

    Unfortunately not. Maybe someone will post theirs. I'm still populating mine, on an as needed basis.
     
  11. Offline

    Varthx

    Okay. Maybe I'm dumb, but why do I have to set up EVERY item in the shop. I just want every item in there. For sale/purchase. Setting up the 100+ items for sale and determining prices for each? No thanks. Is that really what I have to do, or am I missing something?
    --- merged: Feb 24, 2011 11:29 PM ---
    @dotnabox you are correct sir. Too tedious for me. (sp)
     
  12. Offline

    poopiepants

    I received this error.

    Running Iconomy 3.0 and the latest version of dynamicmarket.


    2011-02-24 21:33:02 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'shop
    ' in plugin DynamicMarket v0.4.6.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77
    )
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1
    76)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:633)
    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)
    Caused by: java.lang.NoSuchFieldError: db
    at com.gmail.haloinverse.DynamicMarket.iListen.get_balance(iListen.java:
    436)
    at com.gmail.haloinverse.DynamicMarket.iListen.shopBuyItem(iListen.java:
    506)
    at com.gmail.haloinverse.DynamicMarket.iListen.parseCommand(iListen.java
    :888)
    at com.gmail.haloinverse.DynamicMarket.DynamicMarket.onCommand(DynamicMa
    rket.java:120)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    ... 12 more
     
  13. Offline

    dotnabox

    I can't help you with your problem, but I can tell you that CraftBukkit 432, iConomy 2.2, and the latest version of DynamicMarket all work together nicely. :]
     
  14. Offline

    HaloInverse

    Oh snap! This was suggested a while back, and I nearly forgot about it. Check the "Downloads" section in the OP for a sample shopDB.csv file.

    I've provided a file in .csv format, so that it can be imported into your shop regardless of which database type you're using.
    --- merged: Feb 25, 2011 7:13 AM ---
    iConomy 3.0 is still broken. Use 2.2, or Cookies+iConomy Wrapper for now.
     
  15. Offline

    dotnabox

    You, sir, are a gentleman and a scholar. Thanks!
     
  16. Offline

    Fenryk

    For some reason...whenever I try to edit settings with my Admin account, it keeps telling me I don't have access to the shop. I think I've got the permissions correct, so I'm not sure what the issue is.
     
  17. Offline

    poopiepants

    There was just another release to iconomy 3.x
    They are asking plugin authors to update.
    Apparently something has changed on their end.
    Thanks for the great plugin.
     
  18. Offline

    Nijikokun

    Cookies author is working with me now to create iConomy 4.0, please update to 3.0!
     
  19. Offline

    MarchingSpartan

    I am getting the same error using both 2.2 and 3.0. The version doesn't seem to matter. Whats also strange is that I just had this working and now it doesn't.

    *EDIT* Solved. I have no reason as to why the error happened but going back again to 2.2 work for whatever reason. I didn't changed anything else.
     
  20. Offline

    mathiaskruse

    Hey, i have an issue while trying to add new items to the database.

    I use the command /shop add stone:64 baseprice:150, and i get "Unrecognized item name or ID", it's the same thing whichever item i try to add.

    I can add the item by ID, but ALL items listen will have the name UNKNOWN!

    Any ideas :/? I dont get any errors.
     
  21. Offline

    T.E.

    Hello!

    I'm having the same error (Unhandled exception executing command). Running bukkit 429. iConomy 3.0. Also, its running on MySQL. After I added the shop items, I checked with MySQL workbench and verified that the tables are there.

    Server startup:
    Code:
    2011-02-25 12:38:50 [INFO] Starting minecraft server version Beta 1.3
    2011-02-25 12:38:50 [INFO] Loading properties
    2011-02-25 12:38:50 [INFO] Starting Minecraft server on *:25565
    2011-02-25 12:38:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-447-g84246c4-
    b429jnks (MC: 1.3)
    2011-02-25 12:38:50 [INFO] Preparing level "world"
    2011-02-25 12:38:50 [INFO] Preparing start region
    2011-02-25 12:38:51 [WARNING] Using the stupidly long constructor com.MatCat.NPCTrader.NPCTrader(Plu
    ginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag
    the plugin author of NPCTrader to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-25 12:38:51 [WARNING] Using the stupidly long constructor com.nijikokun.bukkit.Permissions.P
    ermissions(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recomm
    ended. Go nag the plugin author of Permissions to remove it! (Nothing is broken, we just like to kee
    p code clean.)
    2011-02-25 12:38:51 [WARNING] Plugin 'Permissions' (ver 1.0) is registering events before it is enab
    led. It may be misbehaving and the author needs to fix this.
    2011-02-25 12:38:51 [INFO] [Permissions] version [2.0] (Handler) loaded
    2011-02-25 12:38:52 [WARNING] Using the stupidly long constructor com.bukkit.tsurara.Sponge.Sponge(P
    luginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go na
    g the plugin author of Sponge to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-25 12:38:52 [INFO] [Sponge] Version 1.3 activated.
    2011-02-25 12:38:52 [INFO] [BBROTHER] Cleaned out 0 records because of age
    2011-02-25 12:38:52 [INFO] [BBROTHER] Cleaned out 0 records because there are too many
    2011-02-25 12:38:52 [INFO] [BBROTHER] Permissions enabled.
    2011-02-25 12:38:52 [INFO] [BBROTHER] BigBrother 1.6.1 enabled
    2011-02-25 12:38:52 [INFO] [COOKIES] Script is ready to start giving out cookies.
    2011-02-25 12:38:52 [INFO] [DynamicMarket] Standard Permission plugin enabled.
    2011-02-25 12:38:52 [INFO] [DynamicMarket] version [0.4.6.1] (Caribou) enabled
    2011-02-25 12:38:53 [INFO] Loaded Essentials build 234 by Zenexer, ementalo, Eris, and Brettflan
    2011-02-25 12:38:53 [INFO] Loaded EssentialsBan build 234 by Zenexer, ementalo, Eris, and EggRoll
    2011-02-25 12:38:53 [INFO] Loaded EssentialsChat build 234 by Zenexer, ementalo, Eris, and Brettflan
    
    2011-02-25 12:38:53 [INFO] Loaded EssentialsGod build 234 by Zenexer, ementalo, Eris, and EggRoll
    2011-02-25 12:38:53 [INFO] Loaded EssentialsHelp build 234 by Zenexer, ementalo, Eris, and EggRoll
    2011-02-25 12:38:53 [INFO] Loaded EssentialsHome build 234 by Zenexer, ementalo, Eris, and Brettflan
    
    2011-02-25 12:38:53 [INFO] Loaded EssentialsProtect build 234 by Zenexer, ementalo, Eris, and Brettf
    lan
    2011-02-25 12:38:54 [INFO] EssentialsServerlist version 234 by Vimae Development enabled.
    2011-02-25 12:38:54 [INFO] Loaded EssentialsSpawn build 234 by Zenexer, ementalo, Eris, and Brettfla
    n
    2011-02-25 12:38:54 [INFO] Loaded EssentialsTele build 234 by Zenexer, ementalo, Eris, and Brettflan
    
    2011-02-25 12:38:54 [INFO] Loaded EssentialsWarp build 234 by Zenexer, ementalo, Eris, and Brettflan
    
    2011-02-25 12:38:54 [INFO] [iConomy] version [3.0] (Shiva) loaded
    2011-02-25 12:38:54 [INFO] [Jail] Loaded 1 jail zones.
    2011-02-25 12:38:54 [INFO] [Jail] Loaded 0 prisoners.
    2011-02-25 12:38:54 [INFO] Take yourself wonder by wonder, using /magiccarpet or /mc. MagicCarpet ve
    rsion 1.4.2 is enabled!
    2011-02-25 12:38:54 [INFO] NPCTrader version 1.0.8: Found iConomy
    2011-02-25 12:38:54 [INFO] NPC Trader is Using Permissions
    2011-02-25 12:38:54 [INFO] jdbc:mysql://localhost:3306/minecraft
    2011-02-25 12:38:54 [INFO] 143 recipes
    2011-02-25 12:38:54 [INFO] Loaded 7 NPCs.
    2011-02-25 12:38:54 [INFO] NPCTrader version 1.0.8 is enabled!
    2011-02-25 12:38:54 [INFO] [iConomy] Attached plugin to Permissions. Enjoy~
    2011-02-25 12:38:54 [INFO] Persistence version 0.5 is enabled
    2011-02-25 12:38:54 [INFO] Spells version 0.96 is enabled
    2011-02-25 12:38:54 [INFO] Wand version 0.64 is enabled
    2011-02-25 12:38:54 [INFO] Done (3769326554ns)! For help, type "help" or "?"
    
    Server and plugin info:
    Code:
    2011-02-25 12:42:08 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-447-g84246c4-
    b429jnks (MC: 1.3)
    2011-02-25 12:42:08 [INFO] This server is also sporting some funky dev build of Bukkit!
    plugins
    2011-02-25 12:43:55 [INFO] Plugins: BigBrother, Cookies, DynamicMarket, Essentials, EssentialsBan, E
    ssentialsChat, EssentialsGod, EssentialsHelp, EssentialsHome, EssentialsProtect, EssentialsServerlis
    t, EssentialsSpawn, EssentialsTele, EssentialsWarp, iConomy, Jail, MagicCarpet, NPCTrader, Permissio
    ns, Persistence, Spells, Sponge, Wand
    Server console error:
    Code:
    2011-02-25 12:44:55 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'shop' in plugin DynamicM
    arket v0.4.6.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:173)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:621)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:585)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:578)
            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:252)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchFieldError: db
            at com.gmail.haloinverse.DynamicMarket.iListen.get_balance(iListen.java:436)
            at com.gmail.haloinverse.DynamicMarket.iListen.shopBuyItem(iListen.java:506)
            at com.gmail.haloinverse.DynamicMarket.iListen.parseCommand(iListen.java:888)
            at com.gmail.haloinverse.DynamicMarket.DynamicMarket.onCommand(DynamicMarket.java:120)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
            ... 12 more
    
    Update:

    I upgraded to the latest bukkit. I did a /shop reset confirm and deleted the database. I added just one item and it took it fine but the the same error when I tried to buy it

    Update 2:

    Switched to SQlite and the same thing...

    Update 3:

    Downgraded to iConomy 2.1 and its working.

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

    mathiaskruse

    Really? lol. Well T.E. Im using the update the developer of this plugin gave (some iConomy 3.0 bypass thingy)

    T.E. add me to msn, mkh-92@live.dk

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

    SplenectomY

    I was getting the "internal error" line when attempting to buy something earlier as well. Can't get a console report atm (not the owner). Using Icon 3.0fix, latest DynMark and latest GroupManager w/FakePermissions.
     
  24. Offline

    HaloInverse

    Working on that. That, and Something Else simultaneously.

    It appears you don't have items.db located somewhere DynamicMarket can find it.
    - Download items.db from the OP.​
    - Put items.db into Plugins/DynamicMarket.​
    - Verify that Plugins/DynamicMarket.settings:items-db-path=/Plugins/DynamicMarket​

    As for the items you've already added without names, you can give them names using /shop -u <id> name:<newItemName>

    iConomy 3.0 (the proper, official, fixed release version) isn't quite supported with DynamicMarket yet. In the next few hours, it will be. :)

    ...and now it does. 0.4.7 supports iConomy 3.0. The real iConomy 3.0, not the pre-release incomplete version, and not "3.0 r1".

    Everybody who's had recent errors - now's an excellent time to upgrade iConomy and DynamicMarket. I understand that the current version of iConomy 3.0 is more or less complete and stable now, with 4.0 in the works. :)

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

    that331

    This plugin is fantastic! Thank you for adding the database we can edit in a spreadsheet. That made life so much easier.
     
  26. Offline

    Runelynx

    agree... I'm just about done with these shop plugins. So much work to get running and then the author just bails... and someone else makes something that (of course) cannot use what you're previously entered....
     
  27. Offline

    Stephen92

    ok i'm using groupmanagers 99c and iconomy 3.0 and the 0.4.7 of this and also the items.db that you have supplied, and it is still saying no matter what I have entered unknown as the name of the item in the shop.

    bump

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

    Hakaslak

    Bump for iConomy 4.0 support!
     
  29. Offline

    ShadowDrakken

    just a notice to the dev here... iConomy 4 is officially released, recommended to upgrade this plugin ASAP since older versions are officially discontinued
     
  30. Offline

    Nate204

    I'm officially sad now.
    Almost as sad as when the wrapper for this died. Born: Monday, Died Tuesday. RIP DMWrappe.

     
  31. Offline

    ShadowDrakken

    Niji is doing some patching right now on iConomy4 to fix the new bugs, should see an update soonish
     

Share This Page