Inactive [MECH/ECON] Money2XP v1.1.4 - train your mcMMO-skills using money - now with zones! [1000]

Discussion in 'Inactive/Unsupported Plugins' started by TZer0, Apr 7, 2011.

  1. Offline

    TZer0

    Support for this plugin has been discontinued. If you wish to take over, please contact me.

    Money2XP - train your mcMMO-skills using iConomy/BOSEconomy-money

    Downloads
    Old version(1.0, iConomy 5, mcmmo ~1.0, pre 1.0.43)

    Old version(0.2.2, iConomy 4):


    Dependencies:
    Features:

    • Allows players to train their skills using iConomy-money, BOSEconomy-money or EssenaitalsEco-Money.
    • Easy to set up
    • Will allow rich players to spend some cash :)
    • Training-zones!
    Permission-nodes:

    Commands (you may use /m2xt and /m2xs instead of /m2xtrain and /m2xset):
    Show Spoiler

    • /m2x and /m2xset - general help
    • /m2x (l)ist - shows skills and prices
    • /m2x [skillname] [amount] - Purchases [amount] xp for [skillname]
      • Usage:
        • /m2x archery 100 - gives you 100 archery xp.
    • /m2x [skillname] i[amount] - Purchases [amount]*[xpPerItem] xp for [skillname]
      • Usage:
        • /m2x archery i100 - purchases 100*xpPerItem archery xp for 100 of [item]
    • /m2x (c)heck [skillname] [amount] - Shows how much a purchase will cost you
      • Usage:
        • /m2x check archery 100 - Shows you how much 100 archery xp will cost you.
    • /m2xset [skillname/default] [price-per-xp] - sets the price per xp for [skillname] to [price-per-xp], 0 = default, -1 = unavailable
      • Usage:
        • /m2xs archery 150 - sets the price per xp for archery to 150
        • /m2xset default 75 - sets the default price per xp to 75.
    • /m2xset [skillname] i[itemId]:[xpPerItem] - Allows players to purchase xp for [skillname] using item with [itemId] at a rate of [xpPerItem]
      • Usage:
        • /m2xs archery i3:10 - allows purchases of archery xp for 10 xp per dirt-block.
    • /m2xtrain (z)ones {t/true/f/false} - turn training zones on/off
      • Usage:
        • /m2xt z t - enables zones
        • /m2xtrain zones f - disables zones
    • /m2xtrain (n)ode [1/2] - sets nodes for area-creation (to your current location, which two corners you define is irrelevant)
      • Usage:
        • /m2xt n 1
        • /m2xt node 2
    • /m2xtrain (c)reate [name] - creates a zone using nodes.
      • Usage:
        • /m2xt c myzone
    • /m2xtrain (l)ist {#} - shows training zones
    • /m2xtrain (s)elect [name] - select an area
      • Usage:
        • /m2xt s myzone
    • /m2xtrain (a)rea - shows information about the selected area
    • /m2xtrain (r)e(s)ize - resize selected area
    • /m2xtrain (ad)d [skillname] - adds a skill to selected area
      • Usage:
        • /m2xt ad archery
        • /m2xtrain add swords
    • /m2xtrain (d)el [skillname] - removes a skill from selelected area
      • Usage:
        • /m2xt d archery
        • /m2xtrain delete swords
    • /m2xtrain (d)elete(a)rea [name] - deletes an area
    • /m2xtrain (r)eload - reload config, reports errors
    Available skills: mining, woodcutting, excavation, repair, herbalism, acrobatics, swords, archery, unarmed, axes, taming






    Setting up a training-zone
    Show Spoiler


    Remember: before doing this, run: "/m2xt z t"
    1. First set up two nodes, these should span the zone you want to be able to train in. "/m2xt n 1" and then "/m2xt n 2" somewhere else
    2. Then create the area: "/m2xt c myareaname"
    3. Select the area: "/m2xt s myareaname"
    4. Add skills which are trianable in the area: "/m2xt ad skillname", for instance: "/m2xt ad archery"



    Setting up a sign-shop
    Show Spoiler

    First line: [m2x]
    Second line: skillname
    Third line: xp-amount
    Fourth line: will be automatically replaced by "Cost: %.2f", price

    If the price changes later (say, archery-xp goes from 10 to 20), then the fourth line will be automatically replaced with the new price and the purchase aborted so that the purchaser may re-review the deal.


    Tricks:
    • -1 disables skill-purchases for a skill, 0 sets it to the default value
    • You can set the default-price to -1 to prevent skill-purchases for all skills except for those with a price set.
    Changelog:

    • v1.1.4
      • Fixed sign-shop issue.
    • v1.1.3
      • Fixed issue when right-clicking without having access to money2xp.user.
    • v1.1.2
      • Fixed NPE when running without permissions.
      • Made it possible to set prices through console (will add some other functions currently under m2xt soon to console)
      • Fixed some other minor issues.
    Previous changes (open)


    • v1.1.1
      • Fix for using zones and signs simultaneously.
    • v1.1
      • Sign-shop
    • v1.0.1
      • Updated to latest mcmmo-version thanks to @NuclearW
      • Fixed exception when running m2x in console
    • v1.0
      • EssentialsEco-support
      • Allow purchases using items
      • Allows xp-costs below 1. (double instead of int)
    • v0.2.3
      • iConomy 5
    • v0.2.2
      • Added taming to list of skills.
    • v0.2.1
      • Fixed null pointer exception on start if no areas are present.
    • v0.2
      • Training-zones
      • Aliases
      • use float/double to store xp-costs so that one can get more than one xp per unit of money.
    • v0.1.5
      • Fixed the balance-message after purchase.
    • v0.1.4
      • Fixed broken iConomy-support from v0.1.2
    • v0.1.3
      • Fixed a minor bug
    • v0.1.2
      • Added BOSEconomy-support on MCbyWay's request.
    • v0.1.1
      • Fixed some small bugs
    • v0.1
      • Initial release



    Todo:
    • [high] Use Spout and make a video-tutorial obsolete.
    • [medium] Make a video-tutorial.
    • [medium] Options for limiting how much a zone allows you to train (levelcap).
    • [medium] Purchasing X levels instead of xp. Will be added as soon as mcMMO is fixed!
    • [medium/low] xp-cost increase per level or related to amount of xp already purchased for that skill.
    • [low] Let players become trainers when reaching high enough levels.
    • Anything you can come up with!
    Feedback, as always - is welcome.
     
    kahlilnc likes this.
  2. Offline

    Nigel

    thanks for the consideration mate
     
  3. Offline

    TZer0

    Sorry, not at the moment - currently, you are only able to at most get one xp per iCoin (added as a possible todo).
     
  4. Offline

    Digi

    iConomy 5 please ? :}
     
  5. Offline

    TZer0

    Will be added soon.
     
  6. Offline

    Nigel

    now i finanlly have the latest version of this my and tryed to use it i discover that it doesnt seem to be a system to charge people to get a lvl up it for buying levels/xp? am i right? unfortunately iam looking to make it harder to lvl up not easyer as in force then to pay cash with they want to lvl up as well as getting the xp from useing there skills but tell me if i am wrong
     
  7. Offline

    TZer0

    Now you're confusing me.

    First of all, yes - this makes it in theory easier to level, but it also drains accounts which was the purpose of this plugin. You still gain xp as normal from doing different actions. If you want this plugin to have more of an effect, decrease the cost per xp radically and increase the level up ramp.
     
  8. Offline

    Nigel

    ha thanks mate but i missunderstood in the OP where it says Allows players to train their skills using iConomy-money as i thought it ment for example to go from lvl 1 to 2 it would take X xp but until i payed for training i would not level up, which is what iam after but now i uderstand what your talking about sorry for the confusion. and thanks for the time youve spent scratching your head over my insanity
     
  9. Offline

    TZer0

    Not a problem.

    Anyways, when your users start complaining that they have too much money, you know where to find my plugin ;)
     
  10. Offline

    Nigel

  11. Offline

    TZer0

    Sorry about the wait. Done.
     
  12. Offline

    woodzy

    cookies?
     
  13. Offline

    TZer0

    Err... wait.. what?
     
  14. Offline

    Digi

    Dropbox link is actually the github project link :}
     
  15. Offline

    TZer0

    Oh, oops, fixed. The editor messed up.

    Thanks for letting me know :)
     
  16. Offline

    Exanadu

    great plugin, is there anyway to make the iconomy 4 version work with CB 740?
     
  17. Offline

    TZer0

    The iConomy 4 version (0.2.2) should be working with CB740 - that's what I tested it against.
     
  18. Offline

    Exanadu

    I figured out the problem :) didn't realize "Jar" at the end was the actual "old download" was clicking the main link instead and was accidently downloading the iConomy 5 version. but its working now :) great way for players to burn excess money.
     
  19. Offline

    Serialkiller520

    Hi, had installed your plugin, putting .jar (neither dropbox or github) in my plugin folder. Then I restart the sserver and the plugin works on it. But no any m2xp folder was created in my plugin folder. So I can't configurate it at all.

    I must precise that I'm french so it's must be I think a misunderstanding of me reading the text, maybe do I have to configure all by command?
     
  20. Offline

    TZer0

    Yes, you must use the configuration commands.
     
  21. Offline

    Sketaful

    No way to make this work with citizens?
    I just don't any commands needed on my server (or atleast as few as possible) making most things being run by NPCs :)

    Just a quizz. Thanks for the addon. :)
     
  22. Offline

    Serialkiller520

    Lol so i'm just a noob :) thx you
     
  23. Offline

    Shanev

    anyone tested this with cb818?
     
  24. Offline

    TZer0

    Should be working.
     
  25. Offline

    lucent

    Just a thought, but how about being able to specify training caps within a zone? e.g., "m2xt ad archery 300" makes users who have archery of 300 or higher unable to train in that zone.
     
  26. Offline

    TZer0

    Good idea. Will add to my list.
     
    1cec0ld likes this.
  27. Offline

    RG_PankO

    @TZer0 can I somehow limit the max level to lets say 150. And only with editing in the sql table by the admin the level could be rized more?

    Altough I really did read all the documnentation.
    Still didn't get it.
    The max level is 350?
    On 350 you have 100% chance for double drop?
     
  28. Offline

    TZer0

    I believe you are posting in the wrong thread? This is the thread for Money2XP, a plugin for mcmmo. It only deals with letting people convert their money to mcmmo-xp.

    FYI, there's no max-level in mcmmo, only a max-cap for skill-bonuses - 1000 (but no cap for activated ability duration).
     
  29. Offline

    Holylon

    Yeah, I was confused too, i searched for the link where I can download, but thought both were the old versions... maybe you can make it more clear where to get new ones, and where old?
     
  30. Offline

    RG_PankO

    Code:
    15:40:49 [SEVERE] Error occurred while enabling Money2XP v0.2.3 (Is it up to dat
    e?): null
    java.lang.NullPointerException
            at tzer0.Money2XP.Money2XP.reloadAreas(Money2XP.java:115)
            at tzer0.Money2XP.Money2XP.onEnable(Money2XP.java:90)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:857)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:253)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:157)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136
    )
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    15:40:49 [INFO] [Money2XP] hooked into iConomy.

    bukkit 928
     
  31. Offline

    TZer0

    Strange. Can you post your available worlds and your config.yml from your money2XP-folder?
     

Share This Page