Config
Config.Notifications
--[[
All possible notification systems, choose the one you want:
esx
okokNotify
renzu_notify
mythic_notify
custom -- for your custom notification system put it at rbStaff/shared/notifications.lua
]]
Config.Notifications = "esx"
Config.Aduty
-- Built in Command (Admin Duty)
-- You can disable this at Config.BuiltInCommands
Config.Aduty = {
group = "mod",
command = "aduty",
clothes = { -- if remove the table and set to false disables cloth change
male = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 274, ['torso_2'] = 0,
['arms'] = 9,
['pants_1'] = 106, ['pants_2'] = 0,
['shoes_1'] = 2, ['shoes_2'] = 0,
['armor_1'] = 0,
},
female = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 274, ['torso_2'] = 0,
['arms'] = 9,
['pants_1'] = 106, ['pants_2'] = 0,
['shoes_1'] = 2, ['shoes_2'] = 0,
},
},
runSprintMultiplier = 1.49, -- 1.0 or false it doesnt change the player speed
unlimitedStamina = true,
invencible = true,
ids = true,
--[[
In admin mode, when you hover over a player or vehicle and press "E," an additional menu opens showing info about that entity.
If you press "E" while pointing at a player and then open the staff menu it will open focused on that player’s profile.
]]
superpowers = true,
}
Config.Chat
-- Chat
Config.Chat = {
command = "a", -- command to send messages to the admin chat without being in the menu
cooldown = 3, -- cooldown to send messages in seconds
maxMessages = 50, -- will only show the last X messages when loading the admin chat after entering the server
}
Config.Spectate
-- Spectate
Config.Spectate = {
enabled = true,
group = "mod", -- minimum group allowed
command = "spectate",
commandStop = "spectateoff",
}
Config.Reports
-- Reports
Config.Reports = {
enabled = true,
group = "mod",
command = "report", -- /report i need help | to make a report
commandAccept = "raccept", -- /raccept id | to accept the report
commandFinish = "rfinish", -- /rfinish | to finish the report
-- Time it takes for the report to expire
timeToExpire = 120,
-- How much time the player will need to wait to create another report (WIP)
cooldown = 60,
}
Config.BuiltInCommands
--[[
This is the Built in Commands section!
If you want to disable a command you can simply comment it like:
-- aduty = "mod",
Command code is at rbStaff/server/commands.lua and rbStaff/client/commands.lua
]]
Config.LogBuiltInCommands = true
Config.BuiltInCommands = {
aduty = "mod",
nc = "mod", -- noclip
tp = "mod",
tpm = "mod",
setjob = "mod",
setgroup = "mod",
car = "mod",
dv = "mod",
fix = "mod",
giveitem = "mod",
removeitem = "mod",
setaccountmoney = "mod",
giveaccountmoney = "mod",
removeaccountmoney = "mod",
bring = "mod",
slay = "mod",
freeze = "mod",
["goto"] = "mod", -- goto is a reserved lua word :D
}
Config.Menu.Settings
Config.Menu.Settings = {
openMenuCommand = "staffmenu",
closeMenuCommand = "closestaffmenu", -- if it bugs for some reason
openMenuKeybind = "m", -- if false it doesnt create keybing
blockedIdentifiers = { "ip", "license2" }, -- identifiers that will not appear on the player information
staffHierarchy = {
mod = 1,
admin = 2,
superadmin = 3,
},
}
Config.Menu.PlayerList
--[[
Player List
Choose what information it will be displayed when choosing a player from the player list
]]
Config.Menu.PlayerList = {
vehicles = true,
houses = true, -- if you use different from allhousing_v1 you need to configure it at rbStaff/server/customize_me.lua
playerIdentifiers = true,
billing = true, -- if you use different from esx_billing you need to configure it at rbStaff/server/customize_me.lua
licenses = true,
notes = true,
}
Config.Menu.QuickActions
--[[
This quick actions are based on the Config.Menu.AdditionalCommands
]]
Config.Menu.QuickActions = {
selectedPlayer = { "ban", "kick", "freeze", "setjob", "setgroup", "slay", "revive", "bring", "goto" },
spectate = { "ban", "kick", "freeze", "setjob", "setgroup", "slay", "revive"},
-- https://boxicons.com/ |
images = {
["ban"] = 'bx bxs-paper-plane',
["kick"] = 'bx bxs-hand',
["freeze"] = 'bx bx-cloud-snow',
["bring"] = 'bx bxs-down-arrow-alt',
["goto"] = 'bx bxs-up-arrow-alt',
["setjob"] = 'bx bxs-hard-hat',
["setgroup"] = 'bx bxs-group',
["slay"] = 'bx bxs-skull',
["revive"] = 'bx bxs-heart',
},
}
Config.Comserv
Config.Comserv = {
enabled = true,
group = "mod", -- minimum group allowed
commandStart = "comserv", -- comserv playerId/identifier quantity reason
commandStop = "endcomserv", -- endcomserv playerId/identifier
clothes = {
male = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 2, ['torso_2'] = 0,
['arms'] = 2,
['pants_1'] = 2, ['pants_2'] = 0,
['shoes_1'] = 2, ['shoes_2'] = 0,
},
female = {
['tshirt_1'] = 15, ['tshirt_2'] = 0,
['torso_1'] = 2, ['torso_2'] = 0,
['arms'] = 2,
['pants_1'] = 2, ['pants_2'] = 0,
['shoes_1'] = 2, ['shoes_2'] = 0,
}
},
serviceExtensionOnEscape = 8,
locations = {
service = vector3(1724.0, 2535.27, 45.56),
release = vector3(427.33, -979.51, 30.2),
},
work = {
vector3(1714.33056640625, 2536.242431640625, 44.598),
vector3(1745.33056640625, 2557.242431640625, 44.598),
vector3(1703.33056640625, 2531.242431640625, 44.598),
vector3(1683.33056640625, 2549.242431640625, 44.598),
vector3(1658.33056640625, 2542.242431640625, 44.598),
vector3(1681.33056640625, 2547.242431640625, 44.598),
vector3(1734.33056640625, 2544.242431640625, 44.598),
vector3(1744.33056640625, 2540.242431640625, 44.598),
vector3(1665.33056640625, 2498.242431640625, 44.598),
vector3(1736.33056640625, 2543.242431640625, 44.598),
vector3(1729.33056640625, 2540.242431640625, 44.598),
vector3(1709.33056640625, 2512.242431640625, 44.598),
vector3(1733.33056640625, 2541.242431640625, 44.598),
vector3(1731.33056640625, 2542.242431640625, 44.598),
vector3(1683.33056640625, 2505.242431640625, 44.598),
vector3(1671.33056640625, 2506.242431640625, 44.598),
vector3(1665.33056640625, 2545.242431640625, 44.598),
vector3(1721.33056640625, 2545.242431640625, 44.598),
vector3(1735.33056640625, 2531.242431640625, 44.598),
vector3(1659.33056640625, 2549.242431640625, 44.598),
vector3(1697.33056640625, 2512.242431640625, 44.598),
vector3(1703.33056640625, 2553.242431640625, 44.598),
vector3(1708.33056640625, 2541.242431640625, 44.598),
vector3(1717.33056640625, 2530.242431640625, 44.598),
vector3(1749.33056640625, 2558.242431640625, 44.598),
vector3(1703.33056640625, 2516.242431640625, 44.598),
vector3(1664.33056640625, 2554.242431640625, 44.598),
vector3(1753.33056640625, 2530.242431640625, 44.598),
vector3(1660.33056640625, 2557.242431640625, 44.598),
vector3(1753.33056640625, 2541.242431640625, 44.598),
vector3(1737.33056640625, 2546.242431640625, 44.598),
vector3(1703.33056640625, 2552.242431640625, 44.598),
vector3(1663.33056640625, 2563.242431640625, 44.598),
vector3(1726.33056640625, 2525.242431640625, 44.598),
vector3(1694.33056640625, 2524.242431640625, 44.598),
vector3(1670.33056640625, 2514.242431640625, 44.598),
vector3(1681.33056640625, 2509.242431640625, 44.598),
vector3(1700.33056640625, 2544.242431640625, 44.598),
vector3(1745.33056640625, 2517.242431640625, 44.598),
vector3(1683.33056640625, 2540.242431640625, 44.598),
vector3(1684.33056640625, 2552.242431640625, 44.598),
vector3(1658.33056640625, 2541.242431640625, 44.598),
vector3(1747.33056640625, 2556.242431640625, 44.598),
vector3(1675.33056640625, 2515.242431640625, 44.598),
vector3(1753.33056640625, 2564.242431640625, 44.598),
vector3(1702.33056640625, 2543.242431640625, 44.598),
vector3(1662.33056640625, 2530.242431640625, 44.598),
vector3(1680.33056640625, 2540.242431640625, 44.598),
vector3(1749.33056640625, 2516.242431640625, 44.598),
vector3(1717.33056640625, 2536.242431640625, 44.598),
vector3(1747.33056640625, 2552.242431640625, 44.598),
vector3(1685.33056640625, 2503.242431640625, 44.598),
vector3(1756.33056640625, 2521.242431640625, 44.598),
}
}
Last updated