HomeJavaModsAutoRank-up
AutoRank-up
[​IMG]

--------------------------------------
AutoRank is a plugin which allows to program some parameters (time,level-jobs,money,claimblocks) for pass of rank.
You can program all your groups with the times in minutes or/and others parameters!

-------------------------------

Required:
- Vault

Features:

Commands & Perms:


Config.yml:
Spoiler: Config.yml
Code (Text):

#------Config AutoRank plugin---------

#Database Settings
database:
  host: "host"
  database: "Database name"
  port: "3306"
  user: "user"
  password: "password"
  #Interval of updating data players (IN MINUTES)
  interval: 1

generalConfig:
  #Enable fireworks when player rank-up
  fireworks: true
  #Broadcast message when player rank-up
  globalmesssageUp: true
  #Enable Sound when player rank-up
  SoundUp: true
  #Change this sound: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
  Sound: "ENTITY_PLAYER_LEVELUP"
  #Exclude the AFK players of counted time
  #--DEPEND ESSENTIALS PLUGIN FOR USE THIS OPTION!--
  Anti-AFK: true
  #Enable/disable the top 5 of players the most connected with a scoreboard.
  Enable-Scoreboard: false
 
#Your default group (group of the new player)
defaultGroup: "default"


#Exemple of settings group
#NameRank1:
#  time: 30
#  jobslevel: 5
#  money: 500
#  claimblock: 2000
#  conditions:
#  - "time"
#  - "money"
#  - "jobslevel"
#  - "claimblock"
#  commands:
#    - "give {player} 50 1"
#    - "spawn {player}"



#Settings Groups
groups:
  #Put the rank name, with capital letters if need, ect...
  nameRank1:
    #Time for rank-up (IN MINUTES)
    #Set value -1 for disable
    time: 30
    #Levels jobs of player for rank-up (-1 for disable)
    #If player has many jobs, put the total of levels of his jobs.
    #--DEPEND JOBS REBORN PLUGIN FOR USE THIS OPTION!--
    jobslevel: -1
    #Money of player for rank-up (-1 for disable)
    #--DEPEND ESSENTIALS PLUGIN FOR USE THIS OPTION!--
    money: -1
    #Number of claims blocks of player for rank-up (-1 for disable)
    #--DEPEND GRIEFPREVENTION PLUGIN FOR USE THIS OPTION!--
    claimblock: -1
 
    #Choose conditions necessary who must be completed for rank-up.
    #CONDITIONS: "time" ; "money" ; "jobslevel" ; "claimblock".
    conditions: []
    #Commandes executed when player rank-up
    commands:
      - "give {player} 50 1"
 
  nameRank2:
    time: 60
    jobslevel: 10
    money: 100
    claimblock: -1
    conditions:
    - "time"
    - "money"
    commands:
      - "eco give {player} 10"


#PERMISSIONS PLUGIN:
#- autorank.exclued -> #Exclude player or groups of counted time
#- autorank.mytime -> Allow to command /autorank mytime
#- autorank.play -> Allow to command /autorank play
#- autorank.admin -> Allow to all autorank commands
 

Messages.yml:
Spoiler: Messages-EN.yml
Code (Text):
#------Messages AutoRank plugin---------

commands:
  play: "See the time played for a player"
  mytime: "See your time before rank"
  timeadd: "Add the minutes at player"
  timeremove: "Remove the minutes at player"
  reset: "Reset the data of player"
  reload: "Reload the config.yml and messages.yml"

#Variables: {rank} -> new rank player ; {player} -> player concerned ; {days} -> days played ; {hours} -> hours played; {minutes} minutes played.
success:
  Upgrade: "&aThe player {player} rank-up  &e{rank}."
  resetplayer: "&aThe data of player has been reset successfully, §cbut the player must disconnect and reconnect"
  timeplayed: "&aThe player &e {player} &ato have spend &f&l{days}d {hours}h {minutes}m &aon the server."
  mytime-rank: "&3It stays &e&l{days_stay}d {hours_stay}h {minutes_stay}m &3before rank-up !"

#Variable: {player} -> player concerned.
error:
  error: "Erreur"
  up-rank: "The upgrade of {player} doesn't work ! Verif the name of rank in config.yml !"
  notonline: "§cThe player {player} doesn't connected !"
  norank: "&cYou have no rank where you can rank-up"
  Noperms: "&cYou don't have permission !"
scoreboard:
  title: "&3&lTop &e&l5"
  1: "&c&l1-&a{player} &7&o{time}"
  2: "&c&l2-&a{player} &7&o{time}"
  3: "&c&l3-&a{player} &7&o{time}"
  4: "&c&l4-&a{player} &7&o{time}"
  5: "&c&l5-&a{player} &7&o{time}"
Spoiler: Messages-FR.yml
Code (Text):
commands:
  play: "Voir le temps de jeu d'un joueur"
  mytime: "Voir le temps restant avant le prochain grade"
  timeadd: "Ajouter des minutes dans le temps de jeu du joueur"
  timeremove: "Enlever des minutes dans le temps de jeu du joueur"
  reset: "Reset les données du joueur"
  reload: "Reload la config du plugin"

success:
  Upgrade: "&aLe joueur &e{player} &avient de passer &e{rank}."
  resetplayer: "&aLes données du joueur ont bien été reset, il faut cependant qu'il se déco/reco."
  timeplayed: "&aLe joueur &e{player} &aa passé &f&l{days}j {hours}h {minutes}m &asur le serveur."
  mytime-rank: "&3Il te reste &e&l{days_stay}d {hours_stay}h {minutes_stay}m &3avant de rank !"


error:
  error: "&cErreur"
  norank: "&cIl n'y a aucun grade que tu peux obtenir avec le temps !"
  notonline: "&cLe joueur {player} n'est pas en ligne !"
  Noperms: "&cTu n'as pas la permission"

scoreboard:
  title: "&3&lTop &e&l5"
  1: "&c&l1-&a{player} &7&o{time}"
  2: "&c&l2-&a{player} &7&o{time}"
  3: "&c&l3-&a{player} &7&o{time}"
  4: "&c&l4-&a{player} &7&o{time}"
  5: "&c&l5-&a{player} &7&o{time}"

---------------- Report Bugs ----------------
[​IMG]

Click Here


---------------- Support me ----------------

I spend a lot of time to develop and to make regular updates of plugin.
[​IMG]

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.

AutoRank-up is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 2,247 times (via Spigot). Download it and open it directly in the game.

Explore more