[ECON/RPG] MultiCurrency v0.11 - the only Multiple Currency Plugin [1240]

Discussion in 'Inactive/Unsupported Plugins' started by ashtheking, Jul 15, 2011.

     
  1. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    MultiCurrency
    by Ashtheking
    What is MultiCurrency? A lightweight yet powerful plugin providing multiple currencies. Perfect for that RP server with different nations! Or perhaps usable for that Stock Market server? Whatever you are looking for, this plugin is for you. Created for the private server TJRP (tjrp.proboards.com), I decided to release this for the world.

    Download:
    MultiCurrency
    Source included in jar.

    Command List:
    Alias are the same, with "mc" infront, aka "/mcpay" instead of "/pay."

    Permissions:
    Uses these nodes if Permissions is installed, else it uses the above settings.

    ashtheking.multicurrency.info: (/money command)
    ashtheking.multicurrency.pay (/pay command)
    ashtheking.multicurrency.create (/create command)
    ashtheking.multicurrency.convert (/convert command)
    ashtheking.multicurrency.exchange (/exchange command)
    ashtheking.multicurrency.remove (/remove command)
    (If the config is set up for this)
    ashtheking.multicurrency.obtain.<currency> (receiving from /pay command)


    BUGS:
    None so far, :D
    Please email [email protected] OR post here with any bugs.

    For Plugin Developers (How to hook into MultiCurrency):
    Uneeded now, it's part of Register!

    Hooking into MultiCurrency is about the easiest thing to do. Here's how.
    1. Start by importing the following.
      1. Code:
        import me.ashtheking.currency.CurrencyList;
    2. Then, when you wish to modify the currency (add / subtract / multiply/ divide), use this. If you do not specify, currency, uses whatever currency the player has the most of.
      1. Code:
        CurrencyList.<function>(String playerName, double amount, [optional] String currency)
    3. You can check things about the currency, such as isNegative, hasOver, hasUnder, hasEnough, all of which have arguments: (String playerName, double amount, (optional) String currency). If you don't specify currency, does the same as the functions.
    4. If you wish to add your own currency, simply use this code, where "m" is a Material:
      1. Code:
        CurrencyList.addCurrency(currency, m.name());
    5. If you ever need help, just check the source code included in the jar, or email me at [email protected]


    Config File Explanation:

    • usePermissions=true
      • If set to true, means that it will look for, and if found, will use, Permissions 3.x
    • noPermsMessage=You don't have permissions to do this.
      • Message sent if someone tries to use a command, does not mean you need the usePermissions, as it will do this for the (Op) commands.
    • requirePermsForEachCurrency=false
      • If changed to true, will require the player a person is trying to send <currency> to using /pay to have "ashtheking.multicurrency.obtain.<currency>", otherwise will tell both players the below message
    • unableToGetCurrencyMessage=not having permissions for this currency.
      • Reason Message for being unable to obtain <currency>.


    TODO:
    --Integrate with Permissions DONE!
    --Have better plugin dev support. Part of Register! Thanks @Acrobot
    --Suggest if you have an idea.

    Changelog:

    That's all, folks! Enjoy!

    This post has been edited 5 times. It was last edited by ashtheking Sep 8, 2011.
    kahlilnc and StormyDayz like this.
  2.  
  3. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    title is missing pplugin version
    no changelog
  4. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    How do you edit the title? I'll make the changelog.
  5. Offline

    Plague

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thread tools -> edit thread
  6. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thank you! I just checked and found out the same thing, :)
  7. Offline

    Djrowling

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Good idea!
  8. Offline

    Headhunter09

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    suggestions:

    Integrate with permissions
    Make it work with LWC
  9. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'll look into Permissions, but it should work with LWC, unless there is a command conflict.
  10. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Updated to 0.05, adding some more features.
  11. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Really people? Deleting your posts as soon as you post them? I get an email, but it gives me an error. Really annoying. Just edit your post.
  12. Offline

    monsoon300

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    As it was stated before: permissions integration. Just making it work with permissions is fine too.
  13. Offline

    kahlilnc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ahh I like this. Best to get some plugins to support it?
  14. Offline

    kajtie

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Maybe its me , but I think the download link doesnt work ...
  15. Offline

    rakiru

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    It works fine for me, but a few people seem to have a problem with dropbox links for whatever reason.
  16. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Works with permissions now.
  17. Offline

    N0z

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Good plugin. Espically for RPG! :) :D

    you sir deserver an internet.
  18. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  19. Offline

    thehutch

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Would this awesome looking plugin be able to link with iConomy or any other economy plugins so we could have multiple currencies with them?

    Great plugin :)
  20. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'll look into it. iConomy and the others use a sole currency. I could make it so you could change your iConomy into MultiCurrency, but i can't change iConomy to have multiple currencies. I'd basically have to change their entire plugin.
  21. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I've added a little section for plugin developers to develop plugins hooking into multicurrency.
  22. Offline

    WhosDaMan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I like this! Now you just have to contact a few of the other ECON devs and ask them to hook into this plugin! I will definately be using this once my server grows!
  23. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Better plugin support and such added.
  24. Offline

    kyuubireaper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I have a couple of questions and I hope you'll answer them.
    1. How do I spawn the money. Is it a crafting recipe?
    2. What is the Material you select when making a Currency?
    3. Is there a way to Edit or Delete a Currency?
    4. Do I need any other Plugins?
    I hope to get a reply.
  25. Offline

    kyuubireaper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey, I was wondering if you knew any Mods that supported MultiCurrency? if so please leave a link.
  26. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    1. How do I spawn the money. Is it a crafting recipe?
    you use the command /convert while having some of the material specified during creation.
    2. What is the Material you select when making a Currency?
    Its the item that converts into X currency, at the exchange rate
    3. Is there a way to Edit or Delete a Currency?
    Not right now, though you can "remove" a players account using /remove.
    4. Do I need any other Plugins?
    No, this works by itself, but it does support Permissions.
    Hey, I was wondering if you knew any Mods that supported MultiCurrency?
    Not at the moment, but Acrobot's iConomyChestShop Plugin will support it soon.

    Here's an example usage to perhaps clarify it a bit more:
    I'm the admin of a server, having all the permissions, and I want to create a currency based in iron ingots called Ironium. So I use the command: "/create Ironium IRON_INGOT" which then creates the currency. I spawn myself a stack of Iron Ingots to use. I then set the exchange rate using "/exchange Ironium 10" so that when I convert 1 iron ingot into money, it gives me 10 Ironium. I then use "/convert Ironium 64" to convert my stack of Iron Ingots into 640 Ironium. I then can go inform my players about the new currency and start using it. I come to a store that sells Lapis Lazuli for 20 Ironium each (Preposterous!) I agree and the shop owner gives me 2 Lapis. I then use the command "/pay <shop owner> 40 Ironium", and if i didn't have 40 ironium, it wouldn't do anything.
  27. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Released new build fixing many bugs and exploits. Please redownload. @Acrobot, you can publish it now.
  28. Offline

    kyuubireaper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks a lot. I was having a lot of trouble with it. Wonderful mod and I like it a lot. Also, Can you send money to people who are offline? and can money be re made into the material? I'm making a Hotel and I need some sort of paying system. I was considering using a coupon mod I got but I need a way to get my coins! Also, sorry that I'm asking a lot of questions. I'm new to Bukkit and still don't understand much.
  29. Offline

    ashtheking

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    No, and No. I will add the 1st one as a feature soon, because i just got an idea for it.
  30. Offline

    kyuubireaper

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well this is a wonderful mod and I will support it as much as I can without donating. I can't use my parents credit card sorry :\
    Either way I will spread the word and happily see if I can get people to make it compatible. I'm looking forward to seeing how this turns out.(^_^)
  31. Offline

    Acrobot

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @ashtheking
    It's in newest Register version.
    Expect it to be compatible with a lot of plugins soon :)

Share This Page