Added afk times to ranks

This commit is contained in:
Cooldude2606
2018-03-16 19:16:48 +00:00
parent c661245816
commit eb4db09071
2 changed files with 24 additions and 11 deletions

View File

@@ -48,21 +48,24 @@ groups['Root']:add_rank{
tag='[Owner]',
time=nil,
colour={r=170,g=0,b=0},
is_admin = true
is_admin = true,
max_afk_time=false
}
groups['Root']:add_rank{
name='Community Manager',
short_hand='Com Mngr',
tag='[Com Mngr]',
colour={r=150,g=68,b=161},
is_admin = true
is_admin = true,
max_afk_time=false
}
groups['Root']:add_rank{
name='Developer',
short_hand='Dev',
tag='[Dev]',
colour={r=179,g=125,b=46},
is_admin = true
is_admin = true,
max_afk_time=false
}
groups['Admin']:add_rank{
@@ -73,7 +76,8 @@ groups['Admin']:add_rank{
disallow={
'server_command'
},
is_admin = true
is_admin = true,
max_afk_time=false
}
groups['User']:add_rank{
@@ -81,7 +85,8 @@ groups['User']:add_rank{
short_hand='P2W',
tag='[P2W]',
colour={r=233,g=63,b=233},
power=0
power=0,
max_afk_time=120
}
groups['User']:add_rank{
name='Veteran',
@@ -89,7 +94,8 @@ groups['User']:add_rank{
tag='[Veteran]',
time=600,
colour={r=140,g=120,b=200},
power=1
power=1,
max_afk_time=60
}
groups['User']:add_rank{
name='Regular',
@@ -97,7 +103,8 @@ groups['User']:add_rank{
tag='[Regular]',
time=180,
colour={r=24,g=172,b=188},
power=4
power=4,
max_afk_time=30
}
local ranks = Ranking._ranks(true)