VIP/Donator management plugin!

Discussion in 'Archived: Plugin Requests' started by Da5hdart, Jan 19, 2014.

  1. Offline

    Da5hdart

    Hi guys!

    I am wanting a plugin making (no really! ;) ) I am wanting a plugin that can manage my VIP's and Donator's. The problem is that my server has many ranks which can be bought eventually though buycraft, most of these ranks are permanent for the life time of the server which is no problem, this is easy to do via pex or groupmanager.

    For my VIP's & Donator's they buy the rank for an x amount of time after which they are then demoted back to their previous rank. This is where this plugin should come in, it should create a database for each individual player that look like something like this:

    Permanent Rank: STONE
    #this is the most RECENT PERMENANT rank the player has bought

    VIP or Donator or NONE: NONE
    #this is the most RECENT TEMPOLARY rank the player bought

    TEMPOLARY RANK expiry date: yyyy/mm/dd/hh/mm/ss
    #the date the player will be demoted to their permanent rank (year/month/day/hour/minute/second)

    Also if the player was to buy a VIP rank for 3 days then a day later they bought the rank again for another 3 days the plugin should tally up and because they have already used a day they should have 5 days remaining.

    Ideas for commands

    /vip status #tells you how long you have left of VIP/Donator in yyyy/mm/dd/hh/mm/ss
    /vip expiry #tells you the exact date and time of your expiry yyyy/mm/dd/hh/mm/ss
    /vip promote <player> <yyyy/mm/dd/hh/mm/ss> #promotes player to vip for x amount of time
    /vip demote <player> #demotes player to thier previous rank
    /vip set permrank <player> <rank>
    /vip info #plugin information
    /vip reload #do I need to explain this one?!
    /vip confirm #used to confirm the players promotion after they have entered a vaild code
    /vip deny #exact opposite of above
    /vip codegen #used to generate a 8 character code made of numbers and lowercase letters (this will be executed by buycraft or similar plugin to give the player the code to promote.
    /vip <code> #the code the player will input to promote to VIP/Donator, if the player puts in code to promote to VIP and if they are a Donator rank promotion will be denied and a message will be sent to the player explaining the reason and the time they have left as the rank in yyyy/mm/dd/hh/mm/ss

    Ummm think this is it for now!

    Please post your ideas and if this plugin is possible
    Dashdart
     
  2. Offline

    timtower Administrator Administrator Moderator

    Da5hdart Add a temporary rank with PEX, don't replace the old one.
    /pex user (username) group add (group)
     
  3. Offline

    TryB4

    Da5hdart
    I believe buycraft has this feature already.
    Add an "expiry" command or whatever they're called.
    make the command something like: /pex group <rank> remove user <user> or whatever the pex commands are.
     
  4. Offline

    Da5hdart

    TryB4 timtower

    Guys I know I could have done this already but the problem is on the 'expiry' command on buycraft is not as i would call 'intelligent' because it would be a set group that the player would be demoted to e.g.

    Player X has a permanent class of STONE and buys a VIP class for 3 days after 3 days the expiry command initiates to demote them

    Player Y has a permanent class of IRON and buys VIP class for 3 days after 3 days the expiry command initiates to demote them

    So as highlighted the demotion command would be different for each unique player as they would both end up being demoted into the same group, hence why a database is required to keep track of which each individual player is in. Sorry if I didn't make it clear in the first place
     
  5. Offline

    timtower Administrator Administrator Moderator

    Da5hdart Like I already said: PEX has a timer function, you can add a player to a group, gets auto removed when time is up
     
  6. Offline

    Da5hdart

    timtower Can you explain in abit more detail please?? =]
     
  7. Offline

    timtower Administrator Administrator Moderator

    Pex has timed commands. Check the wiki how to use them ( can't get link atm )
     
  8. Offline

    Da5hdart

    timtower Cannot seem to find/figure out how to do this?? Could make a basic basic config file and put it in pastebin or something like that so I can see how its done?? Also if a person was to buy VIP for 3 days and buy it again will it add it up and given them VIP for 6 days or is that not possible???
     
  9. Offline

    timtower Administrator Administrator Moderator

  10. Offline

    Da5hdart

    timtower So when the lifetime is over, do they get demoted back into their previous group, or do they get put in the default group?
     
  11. Offline

    tweker

    Da5hdart
    BuyCraft has a feature so then Player Y donates ? for "derp" rank for 3 days.
    After 3 days, buycraft demotes them. Lets say they buy a new rank. That's what your afraid of.
    i think in buycraft theres an option that you can't donate for Ranks/Catagory until your rank expires.
     
  12. Offline

    timtower Administrator Administrator Moderator

    If you add the group then the additional group will be removed, then you don't need to look at the other groups
     
  13. Okay so i would like to know that is this VIP/Donator Rank Going to Put On Server Webstore to purchase? Because if ur putting it on webstore, you can set a limited timing for a VIP rank like you can set the player to get derank in the expiry date if your using BuyCraft or DonationCraft
     
  14. Offline

    Da5hdart

    tweker timtower Jet Young (FlamingTownMc) Guys the main problem is the demotion as the expiry command will demote them to a set group let me explain, this is an example of how the classes would work:

    Default
    Stone
    Iron
    Diamond
    VIP
    Donator

    If a player in the default class wants to buy VIP for 3 days at the beginning it would be /pex promote Vip (or something like that) at the end of the period it would be /pex demote default.

    If a player in the Iron class wants to buy VIP for 3 days at the beginning it would be /pex promote Vip at the end of the period it would be /pex demote Iron.

    You see for the same thing to buy on buycraft you need a unique demotion command per player class hence why I wanted a plugin to handle this in the first place ;)

    Also before you say well just put a Default -> VIP for 3 days, and Stone -> VIP for 3 days e.t.c. it wouldn't work.
    a) it looks untidy and unprofessional
    b) People will be able to glitch the system e.g if they are in class default and buy the Diamond -> VIP for 3 days after 3 days they will essentially get a permanent Diamond rank.
     
  15. Offline

    Da5hdart

    bumpidy bump
     
  16. Offline

    Da5hdart

  17. Offline

    idontcare1025

    Use timed commands + PEX
     

Share This Page