HomeJavaModsActiveRanks - Take away ranks for Inactivity
ActiveRanks - Take away ranks for Inactivity
ModsJava

ActiveRanks - Take away ranks for Inactivity

⬇ Download on Spigot
[​IMG]
[​IMG]
Welcome to ActiveRanks! ActiveRanks is a rank manager, not a rank system! To use ActiveRanks you must have a permissions plugin already installed as well as VAULT.
So what is ActiveRanks? ActiveRanks is built for your top ranks. The final, highest rank in your server should be the hardest to get but also the hardest to keep. ActiveRanks checks upon joining if the player has been inactive for x amount of days. If they were inactive then it will demote them! Once demoted they are given the chance to buy the rank back based on how many days they were inactive. Only active players can keep the highest rank!


[​IMG]

[​IMG]

Here is an example rank:
Code (Text):
buy-back-seconds: 180
ranks:
  diamond:
    auto-demote-days: 30
    min-days-to-keep-rank: 7
    base-price: 15000
    daily-increase: 2500
    demote-commands:
    - pex user %player% group add Iron
    - pex user %player% group remove Diamond
    promote-commands:
    - pex user %player% group add Diamond
    - pex user %player% group remove Iron
The rank name (In my example its called 'diamond' ) must be lowercase!


buy-back-seconds is 180 meaning that they have 3 minutes to issue command /buyback before they lose their rank forever!

The
base-price is the lowest cost the rank will be to buy it back. Each day after your min-day-to-keep-rank will add the daily-increase amount.

auto-demote-days will automatically demote player if they are inactive for x amount of days, no chance to buy back the rank.

demoteCmd & promoteCmd - No slash(/) needed for these commands, the command can be any command!



[​IMG]

Spoiler: settings.yml
Code (Text):
buy-back-seconds: 180
ranks:
  diamond:
    auto-demote-days: 30
    min-days-to-keep-rank: 7
    base-price: 15000
    daily-increase: 2500
    demote-commands:
    - pex user %player% group add Iron
    - pex user %player% group remove Diamond
    promote-commands:
    - pex user %player% group add Diamond
    - pex user %player% group remove Iron
  emerald:
    auto-demote-days: 30
    min-days-to-keep-rank: 7
    base-price: 15000
    daily-increase: 2500
    demote-commands:
    - pex user %player% group add Diamond
    - pex user %player% group remove Emerald
    promote-commands:
    - pex user %player% group add Emerald
    - pex user %player% group remove Diamond
messages:
  auto-demote:
  - '&4&lYou were demoted!'
  - '&bYou have been demoted for being inactive!'
  normal-demote:
  - '&4&lYou were demoted!'
  - Buy back your rank before it's too late!
  - '&7/&bbuyback'
  bought-back:
  - '&a&lWelcome back to the &6&l%rank%!'
  - '&c&l$%cost% &c- was withdrawn from your account.'
  cannot-run-command:
  - '&cYou cannot run this command!'
  ran-out-of-time:
  - '&cSorry, you ran out of time.'
  - '&c&oUnable to buy back rank.'
  cannot-afford:
  - '&cSorry, you cannot afford to buy your rank back.'
  - '&c&lCost: &c%cost%'
  confirm-command:
  - '&aType &l/buyback confirm &a- to confirm purchase!'
  - '&cNOTE: You were inactive for %days% days and owe $%cost% to buy %rank% back!'
  - '&c&oYou have 3 minutes to confirm!'
  no-permission: '&cYou do not have permission to run this command!'
 


[​IMG]
Code (Text):
Commands:
/buyback
/ar reload
/ar version
/ar debug

Permissions:
ar.admin
[​IMG]
[​IMG] [​IMG]

[​IMG]

ActiveRanks requires Vault !
You must have a plugin that deals with
permissions & economy to run ActiveRanks!
ActiveRanks is native for 1.13. Mostly tested on 1.12.2 but compatible for all versions.



[​IMG]

There are no known bugs right now!
Please report the bugs in a private message to me or on the discussion board! Do not leave a review with an error message! I am very active and will fix bugs ASAP! Many updates coming soon to bring new features and more!



Check out my other plugins!




Liked the plugin? Leave a review!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ActiveRanks - Take away ranks for Inactivity is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 797 times (via Spigot). Download it and open it directly in the game.

Explore more