mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 04:21:41 +09:00
No Errors on startup of modules
This commit is contained in:
@@ -28,13 +28,13 @@ function Admin.temp_ban(player,by_player,reason)
|
||||
Admin.set_banned(player,'temp')
|
||||
if Sync then Sync.emit_embeded{
|
||||
title='Player Temp-Ban',
|
||||
color=Color.to_hex(defines.text_color.high),
|
||||
color=Color.to_hex(defines.textcolor.high),
|
||||
description='A player was jailed.',
|
||||
['Player:']='<<inline>>'..player.name,
|
||||
['By:']='<<inline>>'..by_player_name,
|
||||
['Reason:']=Admin.create_reason(reason,by_player_name)
|
||||
} end
|
||||
game.print({'ExpGamingAdmin@4-0-0.temp-ban',player.name,by_player_name,reason},defines.text_color.info)
|
||||
game.print({'ExpGamingAdmin@4-0-0.temp-ban',player.name,by_player_name,reason},defines.textcolor.info)
|
||||
if Admin.move_inventory then Admin.move_inventory(player) end
|
||||
Ranking.meta.last_jail = player.name
|
||||
Server.interface(Ranking.give_rank,true,player,'Jail',by_player_name)
|
||||
|
||||
@@ -11,9 +11,6 @@
|
||||
"ExpGaming",
|
||||
"Ranking"
|
||||
],
|
||||
"author": "<blank>",
|
||||
"contact": "<blank>",
|
||||
"license": "<blank>",
|
||||
"dependencies": {
|
||||
"ExpGamingAdmin.AdminLib": "^4.0.0",
|
||||
"ExpGamingCore.Server": "^4.0.0",
|
||||
@@ -22,5 +19,6 @@
|
||||
"FactorioStdLib.Color": "^0.8.0",
|
||||
"ExpGamingCore.Sync": "?^4.0.0",
|
||||
"ExpGamingAdmin.ClearInventory": "?^4.0.0"
|
||||
}
|
||||
},
|
||||
"collection": "ExpGamingAdmin_4.0.0"
|
||||
}
|
||||
Reference in New Issue
Block a user