GemShop Help

Discussion in 'Plugin Development' started by Felixbakkum, Jan 29, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    Felixbakkum

    I have a, probably simple, problem -

    I'm working at my GemShop plugin where you should be able to buy mcmmo credits with my custom currency. But I do not know the "code input" I should use to be able to do that. Can anyone please explain. If I need to add mcmmoredeems to my Extrernal Jars, if then, please tell me how to make it work...
     
  2. Offline

    timtower Administrator Administrator Moderator

    Moved to plugin development
     
  3. Offline

    ColonelHedgehog

    Can you please explain your question?
     
  4. Offline

    Felixbakkum

    Explanation to my Question:

    I want so when someone write the command (/buy <amount> mcmmo) which I made work with args and integers of course. But I want when they type the command, <amount> mcmmo credits will be added to their account.
     
  5. Offline

    ColonelHedgehog

    So in other words, you're asking: "How do I add a certain amount of MCMMO to someone's account?"
     
  6. Offline

    Felixbakkum

    Yeee
     
  7. Offline

    Synic

    You could either hook onto mcMMO within your plugin or use this:

    Bukkit.dispatchCommand(Bukkit.getConsoleSender(), "mcmmo give " + p.getName() + " " + skillType + " " + amount);
     
Thread Status:
Not open for further replies.

Share This Page