Formated upto ExpGamingCore.Commands

This commit is contained in:
Cooldude2606
2018-09-17 21:36:29 +01:00
parent 4392671ce2
commit fcba578e83
23 changed files with 181 additions and 127 deletions

View File

@@ -1,9 +1,9 @@
--- A full ranking system for factorio.
-- @module ExpGamingCommands.kill
-- @module ExpGamingCommands.kill@4.0.0
-- @author Cooldude2606
-- @license https://github.com/explosivegaming/scenario/blob/master/LICENSE
local Game = require('FactorioStdLib.Game')
local Game = require('FactorioStdLib.Game@^4.0.0')
--- Kills a player of a lower rank
-- @command kill
@@ -15,4 +15,4 @@ commands.add_command('kill', 'Kills a player. No player name kills yourself.', {
local player = args.player
if player then player.character.die()
else _player.character.die() end
end)
end).default_admin_only = true