View difference between Paste ID: LdVtWzKA and anJ7wxuP
SHOW: | | - or go back to the newest paste.
1
#############################################################################
2
#                                                                           #
3
#                   Autorank 2 Advanced Config                              #
4
#                                                                           #
5
#   Please use the SimpleConfig unless you know what you are doing and      #
6
#   need functionality that the SimpleConfig doesn't provide.               #
7
#                                                                           #
8
#############################################################################
9
10
use advanced config: true
11
# all other advanced settings are ignored if this is set to false
12
13
afk integration: true
14
# If a compatible AFK plugin is found autorank will not count online time for AFK players
15
# This option is always on when using the SimpleConfig
16
# Currently supports: Essentials
17
18
use partial completion: true
19
# When this is true, players can use /ar complete # to complete a requirement at any moment they like.
20
# When this is false, players will only be able to /ar check and check for all requirements at one time. They would need to have all requirements at that moment.
21
22
interval check: 2
23
# This is the interval between checks of Autorank (in minutes).
24
# Lowering this number will increase accuracy but will also increase server lag.
25
26
leaderboard layout: '&6&r | &b&p - &7&d day(s), &h hour(s) and &m minute(s).'
27
leaderboard length: 5
28
# changes the appearance of the /ar leaderboard command
29
# &r : Ranking in the leaderboard
30
# &p : Player name
31
# &m : Minutes (with full days and full hours not counted)
32
# &h : Hours (with full days not counted)
33
# &d : Days
34
# &tm : Total amount of minutes
35
# &th : Total amount of hours
36
37
ranks:
38
    Tribute:
39
        requirements:
40
            time:
41
                value: 2h
42
        results:
43
            rank change: default;Tribute
44
            command: ''
45
            message: 'Congratulations, you are now the rank Tribute!'
46
    Citizen:
47
        requirements:
48
            time:
49
                value: 24h
50
        results:
51
            rank change: Tribute;Citizen
52
            command: ''
53
            message: 'Congratulations, you are now the rank Citizen!'
54
    Fighter:
55
        requirements:
56
            time:
57
                value: 48h
58
        results:
59
            rank change: Citizen;Fighter
60
            command: ''
61
            message: 'Congratulations, you are now the rank Fighter!'
62
    Gladiator:
63
        requirements:
64
            time:
65
                value: 60h
66
        results:
67
            rank change: Fighter;Gladiator
68
            command: ''
69
            message: 'Congratulations, you are now the rank Gladiator!'
70
    Champion:
71
        requirements:
72
            time:
73
                value: 100h
74
        results:
75
            rank change: Gladiator;Champion
76
            command: ''
77
            message: 'Congratulations, you are now the rank Champion!'
78
    Elite:
79
        requirements:
80
            time:
81
                value: 150h
82
        results:
83
            rank change: Champion;Elite
84
            command: ''
85
            message: 'Congratulations, you are now the rank Elite!'
86
    Elder:
87
        requirements:
88
            time:
89
                value: 200h
90
        results:
91
            rank change: Elite;Elder
92
            command: ''
93
            message: 'Congratulations, you are now the rank Elder!'
94
    Legend:
95
        requirements:
96
            time:
97
                value: 750h
98
        results:
99
            rank change: Elder;Legend
100
            command: ''
101
            message: 'Congratulations, you are now the rank Legend!'
102
            
103
            
104
# new requirements and results can be added by other plugins that hook into the Autorank API
105
# these are the ones that are included in the main plugin:
106
# 
107
#   requirements:
108
#       time: 1d 1h 1m
109
#       exp: 20 (level)
110
#       money: 2000 (requires vault ! Player has to have at least this amount of money)
111
#       world: world_nether (player has to be in this world to get ranked)
112
#       gamemode: 1 (player has to have a certain gamemode, 0 = Survival mode, 1 = Creative mode, 2 = Adventure mode)
113
#       has item: id(;amount;data) (checks the players inventory for the item)
114
#       blocks broken: id(;amount;data) (a player has to have broken x amount blocks of item id and data) (Requires Stats) (when no data or amount is given, it will check total blocks)
115
#       Example: break 10 magenta wool would be: 'blocks broken: 35;10;2' 35 = itemid, 10 = amount, 2 = damagevalue
116
#       blocks placed: id(;amount;data) (a player has to have placed x amount blocks of item id and data) (Requires Stats) (when no data or amount is given, it will check total blocks)
117
#       votes: 10 (player has to have voted at least 10 times) (Requires Stats and Votifier)
118
#       damage taken: 10 (player has to have taken 10 damage) (damage is not counted in hearts) (Requires Stats)
119
#       mobs killed: 5;spider (player has to have killed 5 spiders) (if no entity is specified, then any kill counts) (Requires Stats) (for a list of entities: http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/EntityType.html)
120
#       location: x;y;z;world;radius (player has to be in a location or within its radius)
121
#
122
#   results:
123
#       rank change: new-rank
124
#       rank change: old-rank; new-rank
125
#       rank change: old-rank; new-rank; world (only works for permissions plugins that support this)
126
#       message: 'You got ranked up'
127
#       command: 'say &p hi; give &p 1 100'(executes a console command. &p will be replaced by the player name) You can perform more commands with the ';' sign.
128
#       effect: STEP_SOUND;8 (first argument is the effect name, second is the effect data. For a list of possible effects go to http://jd.bukkit.org/rb/doxygen/d8/db9/enumorg_1_1bukkit_1_1Effect.html)
129
#       tp: x;y;z;world;yaw;pitch (tp: 0;0;0;world_nether;1.0;2.0)
130
131
sql:
132
    enabled: true
133-
    hostname: 198.27.67.164:3306
133+
    hostname: Private
134-
    username: mc434
134+
    username: Private
135-
    password: 'da186fb521'
135+
    password: ''
136-
    database: mc434
136+
    database: 
137
    table: autorank
138
#   
139
#   
140
141
auto-updater:
142
143
#   When check-for-new-versions is true, Autorank will tell you when a new version is available.
144
    check-for-new-versions: true
145
    
146
#   When auto-download is true, Autorank will automatically download the most recent version    
147
    auto-download: false    
148
149
#