rageserver
Open source rage mp role play server
Hello! All about this server you can read at: https://rage.mp/forums/topic/1559-open-source-role-play-server/
NOTE! all mysql queries here is unsecure! Read sMailer.js for more info
Installation guide:
- Install Ragemp server.
- Put all files in your project.
- Run
npm i
by cmd in main directory with "server.exe" excutable script. - Server using MySQL as a database. So you have to import sql file in to your database. In database management make one like "ragerp". Import sql structure file (rpserver.sql) into it.
- Rename sMailer.js.example and sMysql.js.example to sMailer.js and sMysql.js in ./app/server/,then modify the settings.(More sMailer instructions see https://nodemailer.com/usage/)
- Modify files in
app
directory (if you need). - Do
npm run build
by cmd in main directory (BESURE DO THIS every time after some improvements in 'app' directory). ornpm run watch
for watching for changes and autorebuild - Start a server
THEN ENJOY.
Command list (21st of March, 2019)
/do
Basic - Chat: For more information view source code.
/g
Basic - Chat: For more information view source code.
/me
Basic - Chat: For more information view source code.
/pos
Basic - Player: For more information view source code.
/save
Basic - Player: For more information view source code.
/w
Basic - Weather: For more information view source code.
/tp
Basic - Vehicles: For more information view source code.
/v
Basic - Vehicles: For more information view source code.
/veh
Basic - Vehicles: For more information view source code.
/createbarbershop
Business - BarberShop: For more information view source code.
/setbscamdata
Business - BarberShop: For more information view source code.
/setbusbuyermenu
Business - Business: For more information view source code.
/createcheapcardealership
Business - CheapCarDealership: For more information view source code.
/setccardealernewcarcoord
Business - CheapCarDealership: For more information view source code.
/createclothingshop
Business - ClothingShop: For more information view source code.
/setchbuyerstandcoord
Business - ClothingShop: For more information view source code.
/setchcamdata
Business - ClothingShop: For more information view source code.
/createcommercialcardealership
Business - CommercialCarDealership: For more information view source code.
/setcommercialcardealernewcarcoord
Business - CommercialCarDealership: For more information view source code.
/creategasstation
Business - GasStation: For more information view source code.
/setgasstationcamdata
Business - GasStation: For more information view source code.
/setgasstationfillingpos
Business - GasStation: For more information view source code.
/sethospitalleader
Factions - Hospital: For more information view source code.
/invite
Factions - Faction: For more information view source code.
/setrank
Factions - Faction: For more information view source code.
/uninvite
Factions - Faction: For more information view source code.