Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Lonestar config made easy.

  1. #1

    Lonestar config made easy.

    So I got to thinking, why don't we move certain constants into an .ini file of sorts.

    I'd be willing to write the code, and was thinking something along the lines of this:


    dod_extend_limit 3
    dod_map_vote_list file.txt
    dod_max_ping 300

    something like this, so it would be simple for admins to customize the lonestar portions of the server without having to read the code.

  2. #2

    Re: Lonestar config made easy.

    what's wrong with server cvars?

  3. #3

    Re: Lonestar config made easy.

    Nothing.

    It just kinda hit me that it might be easier to put them all in settings file (or have them be set in the settings file) so constants could be changed easily.
    Completely up to you.

  4. #4

    Re: Lonestar config made easy.

    I'd rather not. Most admins know cvars.

    What we could use though is a GUI editor for the json data config files though. Maybe make it a web one embedded in lonestar-admin....

  5. #5

    Re: Lonestar config made easy.

    Quote Originally Posted by Ewok View Post
    I'd rather not. Most admins know cvars.

    What we could use though is a GUI editor for the json data config files though. Maybe make it a web one embedded in lonestar-admin....
    Like, change cvars on the fly thru the web interface?

    And I was talking about moving all the cvars to an "ini" file, so that each option we create is easily accessable/changeable. Kinda like a server config.

  6. #6

    Re: Lonestar config made easy.

    Quote Originally Posted by Imisnew2 View Post
    Like, change cvars on the fly thru the web interface?

    And I was talking about moving all the cvars to an "ini" file, so that each option we create is easily accessable/changeable. Kinda like a server config.
    So you don't need to change configs in individual .py files, Just one central #noted LS config file.

  7. #7

    Re: Lonestar config made easy.

    I'm confused. Your asking for a "server config", which is exactly what cvars give you. Admins shouldn't have to edit .py files; they should setup lonestar cvars in their existing server configs....

  8. #8

    Re: Lonestar config made easy.

    Quote Originally Posted by Ewok View Post
    I'm confused. Your asking for a "server config", which is exactly what cvars give you. Admins shouldn't have to edit .py files; they should setup lonestar cvars in their existing server configs....
    Oh ok.
    So the constants declared in the .py files are just like "defaults"?

  9. #9

    Re: Lonestar config made easy.

    Is there a list of cvars somewhere? Tagged with that they do.

  10. #10

    Re: Lonestar config made easy.

    Quote Originally Posted by Imisnew2 View Post
    Oh ok.
    So the constants declared in the .py files are just like "defaults"?
    exactly. The first parameter to each of them is the cvar name that an admin can use to control it. The next parameter is the default value.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98