mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-28 12:05:21 +09:00
Formated upto ExpGamingCore.Commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user