Added Role config

This commit is contained in:
Cooldude2606
2019-04-09 21:22:07 +01:00
parent 73a319b220
commit 0e18002375
3 changed files with 139 additions and 23 deletions

View File

@@ -299,6 +299,11 @@ function Roles._prototype:set_auto_promote_condition(callback)
return self
end
function Roles._prototype:set_block_auto_promote(state)
self.block_auto_promote = state
return self
end
function Roles._prototype:add_player(player,skip_check,skip_event)
player = Game.get_player_from_any(player)
-- Check the player is valid, can be skipped but a name must be given