-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
altV-Server version >= 13.37
NodeJS
mysql-server (e.g. MariaDB)
The easiest way to get a mysql-server is, you install xampp.
I'm not part of the xampp development team, so please check: https://www.apachefriends.org/
I'm not part of the altV development team, so please check: https://altv.mp/
if you have plesk at debian-distribution:
/opt/plesk/node/18/bin/nmp install axios
/opt/plesk/node/18/bin/nmp install discord.js
/opt/plesk/node/18/bin/nmp install discord-rpc
/opt/plesk/node/18/bin/nmp install dotenv
/opt/plesk/node/18/bin/nmp install fs
/opt/plesk/node/18/bin/nmp install mysql
if you haven't plesk at debian-distribution:
nmp install axios
nmp install discord.js
nmp install discord-rpc
nmp install dotenv
nmp install fs
nmp install mysql
1.
you need to setup a bot at: https://discord.com/developers/applications
look at https://gfycat.com/ancientpositivebobcat to know what is todo
you need to add redirect at OAuth2/General: http://127.0.0.1
at Bot, activate PRESENCE INTENT
SERVER MEMBERS INTENT
MESSAGE CONTENT INTENT
now, you have to invite your bot to your discord:
click OAuth2-->URL Generator
check at SCOPES: bot
check at BOT PERMISSIONS: Administrator
copy the URL is generated at bottom
open a new windows or tab and paste&open the url
accept the bot
2.
copy this resoures to your resource-folder
git clone https://github.com/k37z3r/myroleplay.git
or
wget https://github.com/k37z3r/myroleplay/archive/refs/heads/main.zip
open ./mr-functions/config/config.js
and setup every option
3.
execute the sql-file
4.
login at https://gta-spot.com/ and get secretSID and secretPID
5.
open your server.cfg (if you have toml, then open server.toml)
find resources and put into the brackets: 'mr-functions', 'mr-discord', 'mr-phone', 'mr-casino', 'mr-pillbox', 'mr-iplloader', 'mr-dancinginnightclub', 'mr-toplist-updater'
put at the end of server.cfg: secretSID: 'irgfsehiurgs'
(here comes your SID in, to get your SID login at https://gta-spot.com)
setup every settings, save and move it to the root of your altv
this is due to discord, because sometimes it happens that alt:V is forbidden to connect to discord. Just restart your alt:V-Client, then it works again
i,ve an error: Using .cfg files is discouraged, consider using the '--convert-config-format' commandline argument
start your server with argument --convert-config-format
example: ./altv-server --convert-config-format