Rcon admin management aliases

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Mon Dec 01, 2008 10:19 pm

  • Hi!

    I've got fed up with that I have to always type in rcon_password and rcon_address every time I'd like to manage the RBI server, so I've made some aliases for it. I think other can use it too, so I paste here the template.
    Basically, what the aliases do: you bind it to a key (I've bund it to F6), and it cicles through the three RBI servers, and giving an echo message about it.

    Code: Select all
    //Aliases
    //RCON aliases
    //First, we'll define rebinds
    alias rebind_rcon_rbi_key "bind F6 rcon_rbi_key"
    alias rebind_rcon_rbi_ctf "bind F6 rcon_rbi_ctf"
    alias rebind_rcon_rbi_race "bind F6 rcon_rbi_race"

    //Now the rcon manager aliases,on we're refering in the previous ones
    //CTF -> KEYHUNT
    alias rcon_rbi_ctf "echo Connected to ^1RBI CTF server^7 . Pressing ^2F6 ^7next time, you'll manage the ^1KEYHUNT server^7; rcon_password wtfomglolbbq ; rcon_address 141.2.16.23:26000 ; rebind_rcon_rbi_key"
    //KEYHUNT -> RACE
    alias rcon_rbi_key "echo Connected to ^1RBI KEYHUNT server ^7. Pressing ^2F6 ^7next time, you'll manage the ^1RACE server^7; rcon_password wtfomglolbbq ; rcon_address 141.2.16.23:26001 ; rebind_rcon_rbi_race"
    //RACE -> CTF
    alias rcon_rbi_race "echo Connected to ^1RBI RACE server ^7. Pressing ^2F6 ^7next time, you'll manage the ^1CTF server^7; rcon_password wtfomglolbbq ; rcon_address 141.2.16.23:26002 ; rebind_rcon_rbi_ctf"

    //Finally, we bind it to F6
    bind "F6" "rcon_rbi_ctf"


    Save this as a config file, invoke it in starting Nexuiz, and you'll have a quick rcon connection to all the servers you'd like to manage.
    Have fun using it :)
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge

Tue Dec 02, 2008 12:39 am

Wed Dec 03, 2008 9:55 am

  • cheers, mate. laziness ftw!
    The road of excess leads to the palace of wisdom.
    - W.Blake
    User avatar
    Daedalus
    Alien trapper
     
    Posts: 311
    Joined: Tue Feb 28, 2006 9:29 pm
    Location: Interzone

Mon May 11, 2009 8:18 pm

  • <esleep> alias rcon_bind_1 "rcon_address server1; rcon_password; alias rcon_bind rcon_bind_2"
    <esleep> alias rcon_bind_2 "rcon_address server2; rcon_password pwd2; alias rcon_bind rcon_bind_3"
    <esleep> alias rcon_bind_9 "rcon_address server9; rcon_password pwd9; alias rcon_bind rcon_bind_1" // wrap around
    <esleep> alias rcon_bind rcon_bind_1 // start
    <esleep> then you just need to change the ONE bind line if you wanna change the key


    esteel's comments today on irc. Gotta admit, it's much more easier than mine.
    "One should strive to achieve; not sit in bitter regret."
    WE ARE NEXUIZ.
    Image
    Image
    User avatar
    C.Brutail
    Laidback mapper
     
    Posts: 2357
    Joined: Tue Feb 28, 2006 7:26 pm
    Location: Ironforge



Return to Nexuiz - General Discussion




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest