pastebin - collaborative debugging tool
kpaste.net RSS


sauerbraten
Posted by z0TK on Tue 14th Feb 2012 01:10
raw | new post

  1. // DONT FORGET TO EDIT scripts/permissions.cfg !!!
  2.  
  3. // log output to file, if empty logout to console
  4. //setlogfile "server.log"
  5.  
  6. // Put visual separator
  7. echo "*********************************************"
  8. echo (format "Start server %1" (systimef "%c"))
  9. // -------------------------------------
  10. // SERVER SCRIPTS
  11. // -------------------------------------
  12.  
  13. // Core scripts
  14. exec "scripts/stdlib.cfg"
  15. exec "scripts/messages.cfg"
  16. exec "scripts/permissions.cfg"
  17. exec "scripts/db.cfg"
  18.  
  19. // -------------------------------------
  20. // DATABASES CONFIGURATION
  21. // -------------------------------------
  22.  
  23. db_register "sqlite3" "remod_sqlite3.db"  // register default database
  24. db_init
  25.  
  26. //db_register "mysql" "remod:password@127.0.0.1:3306/remod" // register mysql database
  27. //db_init
  28.  
  29. // db_register "sqlite3" "second.db" "seconddb_name"
  30. // db_init "seconddb_name" 0
  31.  
  32. // -------------------------------------
  33. // SERVER CONFIGURATION
  34. // -------------------------------------
  35. serverdesc SG
  36. servermotd  "SyntheticGeeks"
  37. maxclients 24
  38. serverbotlimit 8
  39. publicserver 3  // 3 - auth server, mastermode 3 disabled for non admins (look docs/guide.html)
  40. updatemaster 1
  41. serverport 28785
  42. adminpass poppoppopwatchinniggazdrop
  43. masterpass poppoppopwatchinniggazdrop   // password for gain master
  44.  
  45. // save and load permanent bans here
  46. banfile "permbans.cfg"
  47.  
  48. // Rcon configuration
  49. rconenable 0
  50. rconport 27070
  51. rconpass yougotknockedthefuckout
  52.  
  53. // GeoIp database
  54. geodb "GeoIP.dat"
  55.  
  56. // record demos after every game
  57. autodemo 0
  58.  
  59. // save demos to disc
  60. savedemo 1
  61.  
  62. // folder for save demos
  63. demodir "demos"
  64.  
  65. // folder for save and load maps (coopedit mode via #savemap)
  66. mapdir "maps"
  67.  
  68. // intermission time 10 sec
  69. imissiontime 10000
  70.  
  71. // time limit for every round (0 - dont change, ingame #gtime)
  72. roundtime 0
  73.  
  74. // shuffle teams
  75. persist 1
  76.  
  77. // character before player command
  78. commandchar "#"
  79.  
  80. // IRC bot configuration
  81. verbose 1
  82. ircfilter 1
  83. //ircaddrelay gamesurge irc.gamesurge.net 6667 rb10
  84. //ircaddchan gamesurge "#rb-servers"
  85. // other irc commands: ircaddclient ircserv ircport ircnick ircbind ircpass ircauth ircconnect ircjoinchan ircpasschan ircconnect ircrelaychan ircfriendlychan
  86.  
  87. // -------------------------------------
  88. // SCRIPTS CONFIGS BELLOW
  89. // -------------------------------------
  90.  
  91. // List of forbiden modes (example: disalowmodes = "0 1 2 10 13", empty string is allow all modes)
  92. disalowmodes = "0 1 2 3 4 5 6 7 8 9 11 12"
  93.  
  94. // Default mode and map, server set to this when empty
  95. defmode = 10
  96. defmap = "infamy"
  97.  
  98. // Spectate player if he has modified map
  99. modmap_spec = 1
  100.  
  101. // Flagrun configuration
  102. flagrun_minmillis = 3000        // detect cheaters who score flags too fast
  103. flagrun_show_messages = 1       // show flagrun messages
  104. flagrun_db = "default"  // which database should we use for flagrun results. no value = no database use
  105.  
  106. // Anti teamkilling mod
  107. tk_limit_teamplay = 5
  108. tk_limit_instateam = 10
  109. tk_limit_efficteam = 5
  110. tk_limit_tacteam = 5
  111. tk_limit_capture = 5
  112. tk_limit_regencapture = 10
  113. tk_limit_ctf = 5
  114. tk_limit_instactf = 10
  115. tk_limit_efficctf = 5
  116. tk_limit_protect = 5
  117. tk_limit_instaprotect = 10
  118. tk_limit_efficprotect = 5
  119. tk_limit_hold = 5
  120. tk_limit_instahold = 10
  121. tk_limit_effichold = 5
  122. tk_ban_length = 30 //30 minutes ban for teamkilling
  123.  
  124. //Spy module
  125. spy_db = "default"
  126.  
  127. execdir "scripts/commands"
  128. execdir "scripts/irccommands"
  129. execdir "scripts/other"

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at