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