Cleaned Config Files

This commit is contained in:
Cooldude2606
2019-03-22 21:56:34 +00:00
parent ad97fafa97
commit 5d163ceeeb
11 changed files with 57 additions and 25 deletions

View File

@@ -1,6 +1,5 @@
local Commands = require 'expcore.commands'
require 'config.command_parse_general'
require 'config.command_auth_admin'
Commands.new_command('admin-chat','Sends a message in chat that only admins can see.')
:add_param('message',false) -- the message to send in the admin chat

View File

@@ -1,6 +1,5 @@
local Commands = require 'expcore.commands'
require 'config.command_parse_general'
require 'config.command_auth_admin'
Commands.new_command('toggle-cheat-mode','Toggles cheat mode for your player, or another player.')
:add_param('player',true,'player') -- player to toggle chest mode of, can be nil for self

View File

@@ -1,7 +1,6 @@
local Commands = require 'expcore.commands'
local Global = require 'utils.global'
local Common = require 'expcore.common'
require 'config.command_auth_admin'
-- modules that are loaded into the interface env to be accessed
local interface_modules = {

View File

@@ -1,6 +1,5 @@
local Commands = require 'expcore.commands'
require 'config.command_parse_general'
require 'config.command_auth_admin'
Commands.new_command('kill','Kills yourself or another player.')
:add_param('player',true,'player-alive') -- the player to kill, must be alive to be valid

View File

@@ -1,6 +1,5 @@
local Commands = require 'expcore.commands'
require 'config.command_parse_general'
require 'config.command_auth_admin'
local function teleport(from_player,to_player)
local surface = to_player.surface