Guardian Ban Sync - Installation
Below is a detailed Step By Step Installation Guide for the Guardian Ban Sync for your FiveM Community/Server
Installation
Extract it to your
resources
folder.Add this resource to your
server.cfg
:Copy
ensure GuardianBanSync
Configuration
The configuration for this script is located in the config/config.lua file. Modify the following parameters based on your server's settings:
-- Your Discord Bot Token. This is required for accessing the Discord API. Config.BotToken = your-bot-token-here
-- The ID of your Discord Server (Guild). This is required for checking if users are in your server and checking bans. Config.GuildID = your-guild-id-here
-- The ID of the Discord channel where ban attempts will be logged. Config.LogChannelID = your-log-channel-id-here'
-- The Discord invite URL for your server. Used when a player needs to join your Discord. Config.DiscordInvite = https://discord.gg/your-invite-link-here
Last updated