Startscript?

Discussion in 'Rust Discussion' started by Entryx, Aug 7, 2015.

  1. Hello,

    I've searched a long time about google, but I only find old threads.

    Maybe my request is really simple:

    How can i set an startscript on my server? Are there an plugin available?
    I need it, because the entries in the server.cfg will not loaded after restart.

    I must define it manually after every restart :(
     
  2. Did u do server.writecfg after adding each admin...
     
  3. Wulf

    Wulf Community Admin

    The server.cfg you are likely using never gets used by Rust. You'd need to manually create a cfg folder in your server root directory, then create a server.cfg file inside that to place your commands in.
     
  4. This is the current Server.cfg:

    Code:
    #Server Config#
    ###############
    rcon.password "xxxx"
    server.hostname "[GER][PVP] Rust 4 Raid - New Beginning 06.08.15"
    server.pvp "true"
    sleepers.on "true"
    truth.enforce "true"
    airdrop.min_players "1"
    server.port "10500"
    server.maxplayers "16"
    spawn.min_rate "0.8"
    spawn.max_rate "1.5"
    decay.scale "0.8"
    But the last 3 entries were not loaded after restart. Thats the reason for my question.
     
  5. Wulf

    Wulf Community Admin

    Okay, but where is that server.cfg located?
     
  6. /RustExp/Server/serverdata/cfg
     
  7. Wulf

    Wulf Community Admin

    If you are running an Experimental server, that should not exist. The commands you are using are Rust Legacy commands as well.

    For Rust Experimental, create a /RustExp/Server/cfg/server.cfg.
     
  8. I've saved the config file in the path. But the Server don't load the config again. I use the same commands about RCON and they working. Must I use other command in the Server.cfg?
     
  9. Wulf

    Wulf Community Admin

    Are you using a Rust Experimental or Rust Legacy server? The commands you listed are only good for Rust Legacy.
     
  10. if he is running legacy I gave him the wrong white list plugin lol...
     
  11. Sorry for my late answer. We have an Rust Experimental server.
     
  12. Well as Wulf said... some of the commands that you showed us are for Rust Legacy.
     
  13. So what can I do? I didn't find commands for experimental. Only for legacy.
     
  14. Type in your console "find ." it will print all the available commands.
     
  15. If I type "find spawn", I become following list:

    Code:
    find spawn
    Variables:
    server.itemdespawn no description (120)
    spawn.min_rate no description (1)
    spawn.max_rate no description (1.5)
    spawn.min_density no description (1)
    spawn.max_density no description (1.5)
    Are the same commands as in the server.cfg file.
     
  16. Wulf

    Wulf Community Admin

    Those are fine, but half of your commands are not for Experimental. ;)
     
  17. OK, but what can I do, when the commands are for Experimental and the "find" command gives me commands for Legacy? I've only found some commands for Experimental at this Forum and Rustafied. Other sites/wikis have only Legacy commands.