Simplify Starting Resources

Tutoriale, ghiduri de optimizare si suport pentru crearea serverelor.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2596
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

Simplify Starting Resources

Post by greenie »

Here is a guide on how to simplify starting resources in server.cfg!

Not everyone enjoys typing over and over ensure Resource_Name, So here is a simple way to lay it out

When putting resources like cars, maps, scripts etc in your Resources, Instead of doing it 1 by 1 create a folder like this instead [cars]

Then put all your Cars within the [cars] folder. (Same with scripts, maps etc)

Finally add to your server.cfg Ensure [cars]

This will make the server start ALL Resources within the folder [cars] and it makes your server.cfg look much cleaner!

Complex Server.cfg Example
ensure car1
ensure car2
ensure car3
ensure map2
ensure map1
ensure script1
ensure script3
Simplified Server.cfg Example
ensure [cars]
ensure [scripts]
ensure [maps]
π‘΄π’‚π’šπ’ƒπ’† 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 π’Šπ’” 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☒️

βœ… GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to β€œServer Development”