New Website Sale - 15% OFF everything

server.lua


Main Configuration Table

  • The Config table holds all key configuration settings. Below is an explanation of each parameter and its purpose.

Parameters

ParameterTypeDefault ValueDescription
ItemEnabledbooleantrueDetermines if the item functionality is enabled.
Itemstring"whoami"The name of the item. Used only if ItemEnabled is set to true.
CommandEnabledbooleanfalseDetermines if the command functionality is enabled.
Commandstring"whoami"The name of the command. Used only if CommandEnabled is set to true.

Example Configuration

  • Below is an example of how the configuration may look in your server.lua file:
Lua
Config = {}
 
-- Enable or disable item functionality
Config.ItemEnabled = true -- Set to false to disable item functionality
 
-- Name of the item (used only if ItemEnabled is true)
Config.Item = "whoami"
 
-- Enable or disable command functionality
Config.CommandEnabled = false -- Set to true to enable the command functionality
 
-- Name of the command (used only if CommandEnabled is true)
Config.Command = "whoami"