BuyCraft Ranking Issue

Discussion in 'Bukkit Help' started by Cookiezzxx, Dec 7, 2013.

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

    Cookiezzxx

    Hello!
    I'll first start out by explaining what the issue is and how it is used. I have multiple ranks setup on my buycraft that each give a certain amount of money and McMMO points. The more expensive the rank, the more money and McMMO points you get. When you buy a rank, you get that ranks amount of money/mcmmo points. I have my packages on cumulative so they can upgrade their ranks. When they do so, they get all the money/mcmmo from the rank they bought. My ranks in the amount of money and mcmmo for the higher expense.
    Example;
    $10 - Rank 1 - 100 McMMO and 100 Money
    $20 - Rank 2 - 200 McMMO and 200 Money
    $30 - Rank 3 - 300 McMMO and 300 Money
    $40 - Rank 4 - 400 McMMO and 400 Money

    If you buy Rank 3 for $30, you get 300 McMMO and 300 Money. If you buy Rank 1 for $10 and get 100 McMMO and 100 Money, and then upgrade to Rank 2, getting 200 McMMO and 200 Money. Then you have a total of 300 McMMO and 300 Money and you only have Rank 2. So you have the items of Rank 3, just because you made separate purchases.
    See where I'm getting at?
    I know there is a way to make it so they only get 100 McMMO and 100 Money if they already have Rank 1. I just don't know what way that is. I've seen many servers do it, but I can't get my hands on how.
    Does anyone have an idea how, or know how to?
    Thanks!
     
  2. Offline

    Niknea

    I'm not too sure if this would work but. For the cumulative have the commands set like this. If your upgrading for rank 1 to 2 in the upgrade it will only give 100 more not 200. See if this will work if not I will research a fix for you.
     
  3. Offline

    Zittla

    If you could people mcmmo xp i think this would be possible but giving 100 extra lvls from the existing ones you have arent possible without knowing the levels wich each player have unless you do it manually.
     
  4. Offline

    Cookiezzxx

    Niknea I've tried that and players need to wait awhile before they can upgrade. Then they also have to make multiple separate purchases if going from rank 2 to 7 or whatever. I know this is possible, I just don't know how D:
     
  5. Offline

    Niknea

    I'm a bit confused on what you are saying now.
     
  6. Offline

    Iroh

    Buycraft does not support modifying commands run on purchase if their has been a cumulative discount. (pretty sure xD)
     
  7. Offline

    Cookiezzxx

    Iroh Niknea Alright, is there a way to do it without cumulative? Like if you buy Rank 1. Then buy Rank 1 AGAIN, you get Rank 2. I've also seen this done before. I'm pretty sure this is the best way to do it. Due to the fact that if you buy Rank 1 twice, you have the double the items of Rank 1 (which are the items of rank 2) and therefore there is no issue.

    Iroh I was thinking of a possible way, maybe by credits or something similiar. Have Rank 1 give 1 credit, once the plugin recognizes the player has 1 credit, it will run the command set for 1 credit which would be to move them to rank 1. It continues with Rank 2 giving 2 credits.
    Rank 1 Commands Examples
    - give 1 credit
    - give mcmmo 100
    - give money 100

    If you buy Rank 1 AGAIN, you get another 100 mcmmo, another 100 money, and 1 more credit. The plugin realizes that player has 2 credits so it runs the command to move that player to rank 2.
    I'm not sure if this is made, but this is an idea I thought of.
    Any suggestions?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  8. Offline

    Iroh

    So you are trying to make it so that buying ranks 1-4 is the same as buying rank 4? And you get the same reward both ways (same price 2)?
     
  9. Offline

    Cookiezzxx

  10. Offline

    Iroh

    Okay so the only way I see this being possible is make it so that they need to buy everything in order, or give it to them in the form of a command that both ranks give, eg. You buy rank and get access to a command that is one-time use for that rank that gives you the commands. So if you buy rank one you get /redeem-rank1, and if you buy rank 2 you get /redeem-rank2 and /redeem-rank1 that way buying the rank would not give you the mcmmo credits twice, just give you the permission node twice, and then have another plugin manage the aliased command and give it a infinite cooldown. If you don't understand what I mean I can explained the idea of aliasing in more depth. Also the command /redeem-rank1 could also give you $ or whatever. That way rank4's would get access to /redeem-rank(1/2/3/4)
     
  11. Offline

    Cookiezzxx

    Iroh I don't want players to have to run a command when they donate. Thats the point of buycraft. Also, this wouldn't work because when buying rank 1 and running the command /redeem-rank1 and then getting the items, when they upgrade and run /redeem-rank2 they'd get rank 2's items.

    Iroh I'm looking for something on the lines of the whole credit/token system now with the whole idea. It all makes sense. Or maybe more of a balance system connecting to BuyCraft. Get moved to rank 1 if you have a $10 buycraft balance. Buying rank 1 again adds $10 more balance. $20 balance moves you to rank 2 and it continues.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  12. Offline

    Niknea

    I have no clue and I doubt this is even possible. Have you contacted buycraft and asked them? It's worth a shot
     
  13. Offline

    Iroh

    Okay so I get not wanting to run a command but how about my first idea? Making them buy them in order, and just making the rewards cumulative.
     
Thread Status:
Not open for further replies.

Share This Page