Inactive [ECON] DynaMark v0.2.0.0 - A Simple Dynamic Market / Shop [1.2.5-R1.3]

Discussion in 'Inactive/Unsupported Plugins' started by smickles, Sep 26, 2011.

  1. Offline

    smickles

    (We've made the move to BukkitDev, come here)
    Some info is outdated on this thread, please go to the BukkitDev page for the most up to date info.

    DynaMark - A Simple Dynamic Market / shop


    Donations
    • [​IMG] 1M8i6TWmnTfWCuTQJMQUkX8xJbCEctaXkF
    [​IMG] Or http://btc.to/1qq for short​
     
    diannetea and aMannus like this.
  2. Offline

    smickles

    New version ya'll, hope you like it :D
     
  3. Offline

    smickles

  4. Offline

    jcn

    heyy... there is a bug in this plugin.... try to /buy diamond 0 ... than separate the item what u bought.. (maybe there is only one item.)
     
  5. Offline

    misutaanime

    Is it possible to set it up to where signs could display the current market value of items?
     
  6. Offline

    Squirzy

    Hey, any way to include armor/weapons and tools? I tried adding "diamondpickaxe" and etc, but when you try to /price diamond or /price diamondpickaxe it comes up with internal error.

    Thanks,
    Squirzy
     
  7. Offline

    smickles

    whoa, that's a strange bug... i'll have to look into it, 'cause it's not obvious what is causing it.

    hmm, you should be able to do this.
    Could you show me an excerpt of your config.yml? -the part where you made the entry for diamondpickaxe-

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

    Squirzy

    Yeah it went somthing like this

    diamond:
    minValue: 0.25
    value: 10.0
    changeRate: 0.5
    number: 264
    maxValue: 1000.0

    diamondshovel:
    minValue: 0.25
    value: 10.0
    changeRate: 0.5
    number: 264
    maxValue: 1000.0

    diamondpickaxe:
    minValue: 0.25
    value: 10.0
    changeRate: 0.5
    number: 264
    maxValue: 1000.0

    They arn't thr actual values by the way, I removed them since players couldn't sell diamond or anything. Also,is there a way you can intergrade this with signs, say have a sign that shows the cost of the item, so we can set up a market sort of thing
     
  9. Offline

    smickles

    Give it a try with
    Code:
    diamondpickaxe:
        value: 0.24
        number: 278
        minValue: 0.01
        maxValue: 10000.0
        changeRate: 0.01
        data: '0'
        spread: 0.01
    
    IIRC it's important to have all the 'options' set to some value -the default numbers if nothing else-

    Now that I've thought about it a little, I have experienced something similar to what you are describing -quite recent, actually-. It turned out that I had assigned the same 'number' to two different items. Taking this into consideration, could it have been possible that you accidentally gave -for example- diamond and diamondpickaxe the same number?

    Also, please be sure to use the download from dev.bukkit.org... I think I'll just remove the links from this thread so there is no confusion on where to get the download.

    Oh, this is a popular request. When I get to coding in location restriction, this is at the top of the list.

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

    Wabasabi

    Whenever I try to sell ANYTHING, even though it is in the configuration file, I get the error that says...

    "An internal error has occurred while attempting to perform this command"

    How do I fix this? My server really wants to use this as a server store but can't use it if we can't sell/buy (more importantly sell.)

    We are using Iconomy6 and Register though I only downloaded register because it said to, I don't know how to actually use it.
     
  11. Offline

    smickles

    The latest version depends on Vault now because Register is broken and not being maintained.

    If switching to Vault does not fix your problem I would need to see your config.yml

    yml files are tricky things, even one misplaced space can "screw the pooch"
     
  12. Offline

    Wabasabi

    I shall download Vault and let ya know :) Thanks for responding so quick to this and the conversation.


    Worked! Thanks :D

    1 more question, how do I turn off the ability to purchase? I'd like to only use this mod for selling.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
    smickles likes this.
  13. Offline

    smickles

    In the next release there will be permission support. Then you will have the ability to turn off the ability to purchase.
    If you are technically inclined, you could open DynaMark.jar with an appropriate archive utility and modify plugin.yml. I think you can just delete these three lines:
    Code:
      buy:
        description: buys some X in the amount of Y from the market
        usage: Example - /buy cobblestone 64
     
  14. Offline

    Wabasabi

    Thankee sai
     
    smickles likes this.
  15. Offline

    Cyris69

    [SEVERE] Error occurred while enabling DynaMark v0.1.0.0 (Is it up to date?): net/milkbowl/vault/permission/Permission

    I can sell items then I get an error, I get not money but the items go away. When I buy its just an internal error

    Code:
    12:56:53 [WARNING] Permission system not detected, defaulting to OP
    12:56:53 [SEVERE] Error occurred while enabling DynaMark v0.1.0.0 (Is it up to d
    ate?): net/milkbowl/vault/permission/Permission
    java.lang.NoClassDefFoundError: net/milkbowl/vault/permission/Permission
            at me.smickles.DynamicMarket.DynamicMarket.setupPermissions(DynamicMarke
    t.java:214)
            at me.smickles.DynamicMarket.DynamicMarket.onEnable(DynamicMarket.java:1
    77)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:968)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169
    )
            at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.permission.Permi
    ssion
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 12 more
    12:56:53 [INFO] [Register] Payment method found (iConomy version: 6)
     
  16. Offline

    smickles

    Looks like you need to make the switch to Vault. I discontinued the use of Register because it is broken and unsupported. I'm sorry that it has caused this inconvenience, but it was a necessary move.
     
  17. Offline

    Cyris69

    Wonderful! Works now, are some items not in the sell list? I try to sell wheat but it doesn't let me the price is 0 for them is that why?
     
  18. Offline

    smickles

    The fix will be in the next release ;)

    Yes, some items are not in the sell list. The default config has only a list of 'base' items.
    For example, because wheat comes from seeds, wheat is not on the list but seeds are.

    You could add wheat to the config, and then you'd be able to buy and sell wheat. Soon you will be able to add things to the list by an in game command, but I haven't written the code for that yet. It's on it's way ;)

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

    Cyris69

    It works wonderfully, are there any custom lists out for the items that can be used or downloaded?
     
  20. Offline

    smickles

    I'm not aware of any that have been posted. However, I'm sure some community members will be willing to post a copy of theirs.

    anyone watching this depreciated thread will have already seen your request. you might also want to on the DynaMark forum.

    There's basically a new release, click the link for more info... I'm gonna sleep now
    http://dev.bukkit.org/server-mods/dynamicmarket/?comment=85

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

    kinqmassel

    hey.
    can someone show me how to link dynamark with iconomy becaus if i sell a Item i dont get my money but the item is away-.- so i ask you how to fiy this
     
  22. Offline

    smickles

    Did you put Vault in your plugins folder? DynaMark is designed to link up with iConomy automatically.
     
  23. Offline

    kinqmassel

    in wich plugin folder ? in the folder from dynamark ?
     
  24. Offline

    smickles

    the folder called "plugins"
     
  25. Offline

    kinqmassel

    I've done it in the folder but it does not work. I have now dynamark.jar and vaul.jar in the folder
     
  26. Offline

    smickles

    Are you getting any error messages in the console or the chat log? If so, will your post them?
     
  27. Offline

    kinqmassel

    i´ve tipped /sell stone 1 in and this is the result minecraft.png
     
  28. Offline

    smickles

    Ok, now we're getting somewhere. There should be some associated output in the console. Something that starts out "[SEVERE]"
    and then eventually has "Caused by:"

    I need to see all of that output.
     
  29. Offline

    kinqmassel

    is that about what you need? minecraft 2.PNG
     
  30. Offline

    smickles

    Yup.

    So are you using essentials? If you are, you should use the alternate command version of DynaMark because essentials uses /buy and /sell also.
    The alternate command version of DynaMark puts an "m" in front of all its commands. (for example: /msell)

    Or,

    you could disable /buy and /sell in essentials.
     
  31. Offline

    kinqmassel

    but we have not been installed essentials

    sorry we have essentials :D where can i get the alternativ version of Dynamark?

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

Share This Page