◾Settings
Last updated
Last updated
The settings file contains a wide variety of values that can be changed and deal with how the overall addon/module should perform. This file is typically where you will turn certain addon features on/off, change feature settings, modify the colors for any user-interface provided, or set the main language of the script.
Location
lua\modules\apollo\sh_apollo_config.lua
Outline
Language
These settings deal with the translation system of the script
determines the language that will run on the script
General
interface sizes and special settings
padding used for gap between total monitor size and how far in the dashboard shows.
height of dashboard header
height of submenu (contains nav buttons and toggle icons)
determines if animations run when actions are performed
Xtras
extra feature management (ulx note block, etc)
disables the ulx note feature on server startup; Apollo would take over this functionality
Backgrounds
background / live wallpapers
enables/disables static backgrounds
list of static backgrounds to use if bgs.enabled
set true
enables/disables live backgrounds
if this setting and bgs.enabled
are both enabled; it will override static background images and make live backgrounds display instead
list of live backgrounds to use if bgs.live.enabled
set true
Binds
key/chat binds & activation
enables/disables chat/key binds used to activate the addon / dashboard
key assigned to activate dashboard
delay to pass in-between key presses. keeps the dashboard from spamming open/closed if binds.key
held down.
chat command assigned to activate dashboard
Navigation Buttons
buttons to display in header of dashboard. these settings only deal with the url of the button, and if it will use the external or internal browser when clicked.
Navigation Menu
settings that include the Navigation Buttons above, as well as the ability to enable/disable each button, colorization settings, etc.
The first entry of this section is called 'general'
and should not be re-named under any circumstances. These settings deal with the overall visual appearance of each button.
whether or not each button will display both the icon AND text
set btn_use_icontext
and btn_use_icononly
to false to display TEXT only.
whether or not each button will display icon only
set btn_use_icontext
and btn_use_icononly
to false to display TEXT only.
the number of characters a button's text must be before it is truncated
truncated text will cut off characters after the limit, and add ...
to the end
table which consists of colors for each button
Sounds
sounds played for certain actions
enables/disables sounds from playing when certain actions occur
list of sounds assigned to their action ids
Notes
notes system
format of date displayed on notes created
These settings currently disabled until the quick-notes feature is completed: core.notes.binds.enabled core.notes.binds.key core.notes.binds.key_delay core.notes.binds.chatcmd
enables/disables chat/key binds used to activate the quick-notes interface
key assigned to activate quick-notes
delay to pass in-between key presses. keeps the quick-notes from spamming open/closed if core.notes.binds.key
held down.
chat command assigned to activate quick-notes
Notices
notices app
default for how long a notice will display. can be changed in-game per notice
how long staff must wait to send another notice
padding from far sides of monitor
Staff Chat
staff chat interface
determines how long the ui will fade for when an action occurs
determines how timestamps will appear for messages
prefix to start a command out with in order for it to detect it as a 'say' activity.
prefix to start a command out with in order for it to detect it as an actual console command which will utilize RunConsoleCommand
prefix to start a command out with in order for it to detect it as an an internal built-in command.
keys to press in order to activate staff chat interface
keys to press in order to activate staff chat interface
keys to press in order to shuffle through command history
chat command assigned to activate quick-notes
category
description
default addon language
interface sizes and special settings
extra feature management (ulx note block, etc)
background / live wallpapers
key/chat binds & activation
nav button urls and internal/external display
enable/disable, colors, name, icons, etc.
sounds
sounds played for certain actions
notes
notes system
notices
notices app
staff chat
staff chat interface
developer
internal settings that should not be modified
type
string
default
'en'
type
int
default
25
type
int
default
42
type
int
default
40
type
bool
default
true
type
bool
default
true
type
bool
default
true
type
table
type
bool
default
false
type
table
type
bool
default
true
type
enum
default
KEY_F2
type
float
default
0.5
type
string
default
'!dash'
button
default
Groups
navbtn.group_url
navbtn.group_intweb
false
Forums
navbtn.forums_url
navbtn.forums_intweb
false
Donate
navbtn.donate_url
navbtn.donate_intweb
false
Website
navbtn.website_url
navbtn.website_intweb
false
Workshop
navbtn.workshop_url
navbtn.workshop_intweb
false
Discord
navbtn.discord_url
navbtn.discord_intweb
false
Rules
navbtn.rules_url
navbtn.rules_intweb
false
type
bool
default
true
type
bool
default
false
type
int
default
15
id
desc
default
icon
icon color
Color( 168, 70, 70, 255 )
icon_hover
icon when hovered
Color( 255, 255, 255, 255 )
text
text color
Color( 255, 255, 255, 255 )
text_hover
text when hovered
Color( 255, 255, 255, 255 )
btn
button box color
Color( 15, 15, 15, 0 )
btn_hover
button when hovered
Color( 168, 70, 70, 255 )
uline
border line on bottom
Color( 255, 255, 255, 255 )
type
bool
default
true
type
table
type
string
default
'%d/%m/%y'
type
bool
default
true
type
enum
default
KEY_F6
type
float
default
0.5
type
string
default
'!notes'
type
int
default
8
type
int
default
30
type
int
default
15
type
int
default
8
type
string
default
'%I:%M:%S'
type
string
default
'!'
type
string
default
'#'
type
string
default
'/'
type
int
default
79
type
int
default
16
type
int
default
88
type
int
default
90