[Discontinued][ECON] mGold v1.26 - Shop that uses gold ingots [1000]

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

  1. Offline


    mGold - Shop that uses gold ingots

    Version: 1.26
    craftbukkit: #1000

    mGold is a simple shop plugin. it uses gold ingots as currency but i can be change to anything. item a players sells do not disappear form there inventory before someone else buy it. a chest can be used as "bank" so the player don't need to go around with them, but the items can't be teleported between player and chest

    Latest version
    mGold.jar (Alt)
    All mGold versions
    <Edit by Moderator: Redacted mediafire url>

    * /shop list

    - * Show a list of the items name and precises
    - /shop setchest
    * Set a chest as a bank chest
    - /shop sell <item/id> <amount> <cost>
    * sell a item
    - /shop buy <item/id> <amount> <max cost>
    * buy a item
    * max cost not necessary
    - /shop remove <item/id>
    * remove a item from the shop
    - /shop count <item/id>
    * count a item
    * "c" counts money
    - /shop iadd <item>
    * add a custom name to the item the player have in hes/shes are holding in
    - /shop iremove <item>
    * remove custom item name that was added with iadd

    Keywords that commands uses
    * C are currency
    * H are the item you are holding
    * ALL is all items you have of that type

    1. download
    2. put mGold.jar in plugin forlder

    <font color="rgb(255, 0, 0)">If you haved mGold before 1.2 remove the mGold folder in plugins</font>

    * mGold.sell = allow selling
    * mGold.buy = allow buying
    * mGold.setchest= allow setting chest
    * mGold.iadd = allow players to use iadd
    * mGold.iremove = allow players to use iremove

    If all mGold.* is off then mGold is disabled for that user/group

    Know bugs:
    * none

    * version 1.26

    - * Fixed for bukkit build 1000

    * version 1.25

    - * Added iadd to add item names that can be used in the shop
    * Added iremove to remove item names that is added by iadd
    * Added leaves (aka item id 18) to allow it to have damage then sold
    * Added iremove and iadd with permissions settings

    Show Spoiler
    version 1.22
    * Updated to the bukkit build 928
    * Changed save file so it converts to version 1.3 (then its coming out)

    Show Spoiler
    version 1.21
    * Updated to the bukkit build 860

    Show Spoiler
    version 1.2
    * Added multi-world support
    * Fixed key worlds H and ALL
    * Changed save file

    Show Spoiler
    version 1.1
    * Added new save format
    * Added permissions support
    * Fixed so now double chest works
    * Remove nether items from npc shop

    Show Spoiler
    version 1.0
    * Fixed a item destroying bug
    * Fixed a rare infinite loop

    Show Spoiler
    version 0.99.1
    * Fixed a Linux loading problem

    Show Spoiler
    version 0.99
    * Fixed so items stays on the shop after reload and restart of the server
    * Added support for items id

    Show Spoiler
    version 0.98
    * Fixed bug with keyword H and ALL
    * Fixed crash then command /reload was used

    - * Moved all required files to plugins/mGold folder
    - Fixed plugin disable it self on start up error
    - Removed command /shop reload

    Show Spoiler
    version 0.97
    * Fixed for bukkit build 740
    * Added better name to item code
    * Added new command "/shop setchest"
    Last edited by a moderator: Dec 15, 2016
  2. Offline


    Is it possible to add ( when plugin will be fix ), a command who allow to sell item to npc ?
  3. Offline


    well i have think of doing that. but i think i will fix the plugin (that can be done in around 2 day (i have much irl stuff to do)) but i will make it in some patch
  4. Offline


    Ok thanks !
  5. Offline


    I have fixed the onCommand function :) and re-releasing the 0.95 version
  6. Offline


    it would be nice to have infinite shops XD
  7. Offline


    it is a option for get infinite items in the shop
  8. Offline


    i just updated mGold so it works on bukkit build 602, i did't do any big updates, im getting burned out of this plugin, i will still try to keep it up to date and fix bugs
  9. Offline



    Just to let you know, your code is erroring with:
    23:06:27 [SEVERE] BLOCK_DAMAGED loading mGold v0.95 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_DAMAGED
            at com.moon_werewolf.mGold.mGold.onEnable(mGold.java:66)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:514)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    BLOCK_DAMAGED got changed to BLOCK_DAMAGE in recent changes :(
  10. Offline

    Steve Member

    Please don't use the same version number for two different versions its very confusing :(
  11. Offline


    What are the permission nodes?
  12. Offline


    sorry? i don't understand :(
  13. Offline


    For mGold, are there nodes that you need to buy and sell?
  14. Offline


    Can you update this plugins to 670 or higher build? Thanks.
  15. Offline


  16. Offline


    Love the plugin, but items added seems to be gone on server restart?

    [Edit] Correction: the items is not gone, but they disappear altogether from the shop list. (I have disabled NPC)
  17. Offline


    Ok thx :) i have fixed it
  18. Offline


    Thanks :)
    [Edit] Sorry to bother you again werewolf, but it seems the problem persist but with the message "[mGold] Your $amount $item has been removed."
  19. Offline


    1. i thin you mean "Your %amount% %item% has been removed."
    2. If a player is offline i can't access the players inventory so the items get removed from the shop. but if the player has a chest with the item in it then the item should not get remove from the shop
  20. Offline


    Ah yes, logging in and out of the server is fine, but if the server ever restarts, the items listed is gone, "Your %amount% %item% has been removed.". Is it even a bug, or is it supposed to be like this maybe?
  21. Offline


    Right, apologies for the double post, but I think I may have found the problem. There's two "chests.dat" files, one where the 'C' is uppercase. I assume you use Windows Werewolf, where filenames are case insensitive, unlike on Linux which I use. :p

    In other words, chest data is written to 'Chests.dat', however, on server restart, now that the memory is flushed, it reads from 'chests.dat' and thus come up empty.
  22. Offline


    ok i have change it. and hope it is fixed (i can't really test), thx :) i was so confused about that bug
  23. Offline


    Tested, and it works excellent now, thank you! :D
  24. Offline


    Not Working in 812!!!
    Plz update

    I can't use any of the commands
  25. Offline


    any error messages? do you have permissions? what exactly happed then you try to use a command? have you the same build on bukkit?

    i going to fix the problem but the more information i have the better :)
  26. Offline


    I have the same version..the onlything that happents is...Nothing:p
    When i press the command...no messages no errors nothing..i redownload re-install and triple checked but nothing..
    Thnx if you can fix it:)
    have a nice day
  27. Offline


    i think i will fix this plugin then the next recommended build comes out
  28. Offline


    Come on....:)
    I need now xD
  29. Offline


    1. can you remove the "mGold" folder and start up the server and give me all the text you get then you start the server

    2. have you tried a older version? (1.0)

    3. but i want to work on my java game :(
  30. Offline


    Could you update this awesome plugin? :D
  31. Offline


    I'm working on it, it just that i don't have much free time, but it is coming

Share This Page