🔑Configuration
database:
host: "" # Example: localhost
user: "" # Example: root
password: ""
database: "" # Example: s319_esx
discord:
token: ""
changelog_channel_id: # ID des Discord Channels für die Logs
embed:
title: "Neues Changelog" # Anpassbarer Titel
description: "Hier siehst du die neuesten Änderungen dieses Servers aufgelistet:\n" # Anpassbare Beschreibung
color: "0x3498db" # Anpassbare Farbe (Hex)
hinzugefügt_title: "__Hinzugefügt:__"
editiert_title: "__Bearbeitet:__"
entfernt_title: "__Entfernt:__"
footer_text: "Revolution Services" # Leer lassen, um es zu deaktivieren
footer_icon: "https://cdn.discordapp.com/attachments/1208052793240453283/1236762276779004074/ezgif-7-f059e35929.gif?ex=66dd52e0&is=66dc0160&hm=e3506e57ec6d43decb5ed8ff40c883ebc0c047d584da4dc20e6f4d6d056cc7cc&" # Leer lassen, um es zu deaktivieren
icon: "https://cdn.discordapp.com/attachments/1208052793240453283/1236762276779004074/ezgif-7-f059e35929.gif?ex=66dd52e0&is=66dc0160&hm=e3506e57ec6d43decb5ed8ff40c883ebc0c047d584da4dc20e6f4d6d056cc7cc&" # Leer lassen, um es zu deaktivieren
If your server hosting is located on a windows server, and you are hosting it on the same server where you host your fivem server, the host is localhost. If you host it on any other server, which has nothing to do with your gameserver, just insert the IP of your server.
For the user and the password just create a new Database user account. Just type in a username and generate a password. Copy the password and the username and type it into your config.yaml file! This only works for phpmyadmin, for other databases please ask us or use google!
For the database name just head into your database and look up on top, usually there will be your database name.
For the token, just paste in the token you have created and copied before Installation in Step 3.
To get the changelog_channel_id just go to your discord server and right click on the channel you want to send the changelogs in and click "copy channel id". The embed options, you can just customize as you like!
Now just click on the rs_loadingscreenbot.exe file in rs_loadingscreen-v2/bot and as you did everything correct your bot will start and will be ready to send Changelogs. If you still have to face errors, check the Steps before and all Installation Steps. (You can restart the Bot by closing the .exe file and reopening it!).
REVOLUTION = {}
REVOLUTION.urls = {
discord = 'https://discord.gg/revolution-services',
teamspeak = 'https://store.revolution-services.io',
}
REVOLUTION.discord = {
guildId = '1048899844179238932',
botToken = 'MTI4MTk5MDA5NjIwNzM0NzczMg.GsR_2u.9g7gBlmveuBBdsT8k2uW1F3j3TnB2OIeD1kmt4',
memberLimit = 1000,
refreshTime = 60000 * 5
}
REVOLUTION.locales = {
team = { prefix = 'OUR', suffix = 'TEAM' },
changelogs = { prefix = 'CHANGE', suffix = 'LOGS' },
main = { title = 'LOADING...', desc = 'Willkommen auf Revolution City! Ein noch nie da gewesenes Spielerlebnis ermöglicht durch einzigartige Systeme, sowie einem eigenen Regelwerk.Tauche ein in eine Erlebnisreiche Welt, wähle deinen Weg und schaffe es bis an die Spitze!' },
discordHeader = 'DISCORD',
teamspeakHeader = 'TEAMSPEAK',
discordDesc = 'REVOLUTION',
teamspeakDesc = 'REVOLUTION',
loadingLabel = 'LOADING...',
}
REVOLUTION.songs = {
{
title = 'Sweetheart',
artist = 'Pop Smoke ft. Fivio Foreign',
src = './assets/sounds/sweetheart.mp3',
},
{
title = 'Iced out Audemars',
artist = 'Pop Smoke',
src = './assets/sounds/icedoutaudemars.mp3',
}
}
REVOLUTION.teamRoles = {
['1048904169664286720'] = 'Founder',
['1049790254053347368'] = 'Entwickler'
}
For the guildId just copy the server id of your Discord Server. The token must be the same as you have created before.
For the teamRoles just copy the role ID of the Role on your Discord for the left part and paste in the name on the right part. Our Script will automatically recognize every discord members with these roles that should be displayed.
Last updated