Hi,
I would like switch between PVE & PVP in my server. server.pve "true" command is great for me.
I would create a configurations file (example : PVEserver.cfg). Like that when i will lauch this file, 10 commands launched and the server going to PVE.
Where I put this file in my FTP ? What's the path ?
Thank you.
Regards,
Florian
Solved Switching config files?
Discussion in 'Rust Discussion' started by A F L C, Jun 15, 2016.
-
There's no easy way to switch configurations when a certain command is used.
You'd have to use a custom plugin or some RCON hackery to achieve this. -
It's amazing ... :O
How do admins who don't install oxide ? They enter commands one per one in the console ?
server.pve "true"
ENTER
env.time 9
ENTER
Are you sure that I don't create a .cfg file for execute, there commands together ?
Same Counter Strike 1.5 in 1998 doing that ! -
You only want that a certain set of commands is loaded after starting the server, right?
In that case, create server.cfg in the server/<identity>/cfg directory and just add your commands to that file.
If you wish to switch to PvE while the server is running, though, I don't think there's an easy way to switch between two seperate server.cfg files. -
I explain me :
server.pve "true" is a great command. I don't use a plugin for that, is simple and rust manage it.
But I have at least one plugin which is disable in PVP (night lantern). The command for switch on is in chat : /lant ON, I tried in console say /lant ON => it's ok
So, instead of enter each command manuelly i want create launchPVE.cfg which contain server.pve "true" & say /lant ON
And write in console : exec launchPVE.cfg or lauch launchPVE.cfg or launchPVE.cfg for execute it.
I hope to be clear -
Wulf Community Admin
-
Thank you Wulf & sqroot