A simple Discord Sit Counter bot!
Preview
Have other ideas of scripts for me to realese? Let me know in the comments!
Stay tuned, This script going to update soon to have more FiveM features in it
Other scripts that i have made:
[PAID] [QB / ESX] Best Drug Dealer Script - 2023
[PAID] [QB / ESX] LA / NYC Realistic IDs - 2023
[FREE] [ESX] Add Clock In/Out for every Job!
[FREE] [STANDALONE] Discord Presence - 2023
Can you tell me briefly about this resource?
Using this resource, youβll be able to keep track of your staff team and their sit counters!
DISCLAIMER: THIS RESOURCE MEANT TO WORK WITH EasyAdmin BUT WILL WORK WITH ANY OTHER RESOURCE THAT PROVIDES THE SITS THROUGH A DISCORD WEBHOOK!
Great! What dependencies do i need?
In order to use this resource, youβll need:
- A running server.
- EasyAdmin / every other resource that provides the sits through a Discord webhook.
Ok⦠but how do i use it?
- Download the resource and put it inside of your resources list.
- Go to Discord Developers Portal
- Create a new application.
- Copy the application ID. (under TAGS in General Information tab), and paste it inside
client_id
value inserver/config.json
- Create a bot within your new application.
- Untick the Public Bot option and tick the 3 intents under Privileged Gateway Intents.
- Scroll back up to the Bot page, copy the Bot Token, and paste it inside
client_token
value inserver/config.json
. - At the left-sided menu click on OAuth2 > URL Generator
- Tick the bot & application.commands options under Scopes and tick the Administrator option under Bot Permissions.
- Copy the generated URL at the bottom of the page, paste it in your browser and invite the bot to your server.
- Go into the config of the resource and edit the information below.
guild_id
- Your Discord server id.
reports_channel_id
- The channel id of where sits are recieved at by a Discord webhook.
logs_channel_id
- The channel id that the bot will use to log the reactions to sits and total counter for everyone. - Edit the other information at the config as you wish.
- Simply add
ensure fs_sitcounter
inside yourserver.cfg
If you have done that correctly - Congratulations! You got the resource working properly!
NOTE: The data is stored under server/data/data.json
and will update itself every 1 minute!