In-Game Configuration - Report Menu
If you are stuck, or run into problems. Just go over this and make sure you didn't do anything wrong.
Example Config:
minutes = 60000 -- DO NOT CHANGE THIS VALUE
--[[
To open the menu, use /reports.
To create a report, use /report
]]
CONFIG = {
DEBUG = false, -- If you want to see debug messages, set this to true.
URL = 'https://store.hamz.dev/', -- Panel Link, with a "/" at the end of the link
SERVER = 'YOUR SERVER NAME', -- Server name, this is the same name you entered on the panel
TOKEN = 'YOUR SECRET KEY', -- Same token/secretkey from the config.php
DISCORD_IMAGE = '', -- Discord image
LOGS = {
WEBHOOK = 'https://discord.com/api/webhooks/1234567890/abcdefghijklmnopqrstuvwxyz1234567890' -- Log for actions within the report menu
},
REPORT_COOLDOWN = 2 * minutes, -- How long till a player can create another report
PERMISSIONS = {
TYPE = 'DISCORD', -- 'DISCORD' or 'ACE'
ACE = {
VIEW_REPORTS = 'hamzstaff.viewreports',
USE_PLAYER_ACTIONS = 'hamzstaff.useplayeractions',
USE_REPORT_ACTIONS = 'hamzstaff.usereportactions'
},
DISCORD = {
DISCORD_RESOURCE_NAME = 'Badger_Discord_API',
VIEW_REPORTS = {
'1125449225069666377'
},
USE_PLAYER_ACTIONS = {
'1125449225069666377'
},
USE_REPORT_ACTIONS = {
'1125449225069666377'
}
}
}
}Things to be aware of
Debug
URL
Server Name
Report Cooldown
Permissions
Discord Resource Name
Last updated