mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 12:16:37 +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
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"version": "4.0.0",
|
||||
"type": "Submodule",
|
||||
"description": "Adds a command which can be used to kill a player or yourself.",
|
||||
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingCommands.kill_4.0.0.zip",
|
||||
"location": "https://github.com/explosivegaming/scenario/releases/download/v4.0-core/ExpGamingAdmin.Commands_4.0.0.zip",
|
||||
"keywords": [
|
||||
"Command",
|
||||
"ExpGaming",
|
||||
|
||||
Reference in New Issue
Block a user