Skip to content

Configuration

Tigerkev edited this page Mar 14, 2015 · 5 revisions

Table of Contents

MySQL

  • Custos.Config.MySQL = true
    • Disable MySQL if you're using SQLite which is in gmod by default

Load Plugin

  • Custos.Config.LoadPlugins = true
    • Load plugins (true/false)

Debug

  • Custos.Config.Debug = true
    • Activate debugging.

Colors

  • COLOR_TAG = Color(0, 74, 74, 255)
  • COLOR_TEXT = Color(255, 255, 255, 255)
  • COLOR_ERROR = Color(255, 0, 0, 255)
  • COLOR_REASON = Color(0, 0, 0, 255)
  • COLOR_ADMIN = Color(0, 0, 0, 255)
  • COLOR_TARGET = Color(0, 0, 0, 255)

Logging

  • Custos.Config.Log = true
    • Enable logging.
  • Custos.Config.LogChat = true
    • Log Chat
  • Custos.Config.LogEvents = true
    • Log server events ex. connections, disconnections, and server shutdowns.
  • Custos.Config.LogDateFormat = "%Y-%m-%d"
    • The type of date format the log files will be saved in. The american system is %m-%d-%y
    • Currently only %Y-%m-%d or %m-%d-%y any other format will prevent logs from deleting.
    • Default: %Y-%m-%d
  • Custos.Config.OldLogs = 2592000
    • Delete logs that are older than this many seconds because they're considered old.
    • Default: 2592000 (30 days)

Chat Prefixes

  • Custos.Config.ChatPrefixes = { "!", "/" }

Clone this wiki locally