mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-28 03:55:23 +09:00
Merge branch 'core'
This commit is contained in:
@@ -98,6 +98,7 @@ groups['Root']:add_rank{
|
||||
time=nil,
|
||||
colour={r=170,g=0,b=0},
|
||||
is_admin = true,
|
||||
is_spectator=true,
|
||||
base_afk_time=false
|
||||
}
|
||||
groups['Root']:add_rank{
|
||||
@@ -106,6 +107,7 @@ groups['Root']:add_rank{
|
||||
tag='[Com Mngr]',
|
||||
colour={r=150,g=68,b=161},
|
||||
is_admin = true,
|
||||
is_spectator=true,
|
||||
base_afk_time=false
|
||||
}
|
||||
groups['Root']:add_rank{
|
||||
@@ -114,6 +116,7 @@ groups['Root']:add_rank{
|
||||
tag='[Dev]',
|
||||
colour={r=179,g=125,b=46},
|
||||
is_admin = true,
|
||||
is_spectator=true,
|
||||
base_afk_time=false
|
||||
}
|
||||
|
||||
@@ -126,6 +129,7 @@ groups['Admin']:add_rank{
|
||||
'server_command'
|
||||
},
|
||||
is_admin = true,
|
||||
is_spectator=true,
|
||||
base_afk_time=false
|
||||
}
|
||||
|
||||
@@ -135,6 +139,7 @@ groups['User']:add_rank{
|
||||
tag='[P2W]',
|
||||
colour={r=233,g=63,b=233},
|
||||
power=0,
|
||||
is_spectator=true,
|
||||
base_afk_time=120
|
||||
}
|
||||
groups['User']:add_rank{
|
||||
|
||||
@@ -139,6 +139,7 @@ function Ranking.give_rank(player,rank,by_player,tick)
|
||||
player.tag = rank.tag
|
||||
if not old_rank.group.name == 'Jail' then Ranking._presets().old[player.index] = rank.name end
|
||||
player.admin = rank.is_admin or false
|
||||
player.spectator = rank.is_spectator or false
|
||||
if defines.events.rank_change then
|
||||
script.raise_event(defines.events.rank_change,{
|
||||
name=defines.events.rank_change,
|
||||
|
||||
@@ -108,7 +108,8 @@ root:add_rank{
|
||||
tag='[Root]',
|
||||
colour=defines.color.white,
|
||||
is_root=true,
|
||||
is_admin = true,
|
||||
is_admin=true,
|
||||
is_spectator=true,
|
||||
base_afk_time=false
|
||||
}
|
||||
|
||||
@@ -117,8 +118,8 @@ admin:add_rank{
|
||||
short_hand='Admin',
|
||||
tag='[Admin]',
|
||||
colour={r=233,g=63,b=233},
|
||||
is_admin = true
|
||||
,
|
||||
is_admin=true,
|
||||
is_spectator=true,
|
||||
base_afk_time=false
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user