Code problems

Discussion in 'Plugin Development' started by Felixbakkum, Jan 30, 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... 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.
     
  2. Offline

    TGRHavoc

  3. Offline

    Felixbakkum

  4. Offline

    Skionz

    @Felixbakkum Add credits however you like. We don't know how your custom currency functions.
     
  5. Offline

    SuperOriginal

  6. Offline

    DoggyCode™

    @Skionz @SuperOriginal

    Not exactly the answer we're looking for. We want to know how we should do it, I mean, simply the code to add it (the mcmmo credits to one's account). We've done a lot of research, but yet not found it out. We see other plugins who does what we want, so it's not impossible.
     
  7. Offline

    Experminator

    @DoggyCode™ I think your own plugin, with MCMMO and Vault intergration.
     
  8. Offline

    DoggyCode™

    @Experminator, Yes, I know that, but now keep in mind: It's not MCMMO, it's redeemMCMMO, two completely different plugins.

    So now, as I stated:

    We just want to know simply the code to add it (the MCMMO credits to one's account).
     
  9. Offline

    WinX64

    I've taken a quick look at redeemMCMMO but found nothing similar to an api of sorts to make it easier for you. One work around would be manually calling redeemMCMMO's command to add the credits to your specified player, from within your plugin.
     
Thread Status:
Not open for further replies.

Share This Page