Debian Codegraph @

lua/config.lua

raw symbols SCIP
1 --[[
2 Copyright (C) 2014 HarpyWar ([email protected])
3
4 This file is a part of the PvPGN Project http://pvpgn.pro
5 Licensed under the same terms as Lua itself.
6 ]]--
7
8
9 -- Config table can be extended here with your own variables
10 -- values are preloaded from bnetd.conf
11 config = {
12 -- Path to "var" directory (with slash at the end)
13 -- Usage: config.vardir()
14 vardir = function()
15 return string.replace(config.statusdir, "status", "")
16 end,
17
18 flood_immunity_users = { "admin", "" }, -- ignore flood protection for these users
19
20 -- Quiz settings
21 quiz = true,
22 quiz_filelist = "misc, dota, warcraft", -- display available files in "/quiz start"
23 quiz_competitive_mode = true, -- top players loses half of points which last player received; at the end top of records loses half of points which players received in current game
24 quiz_max_questions = 100, -- from start to end
25 quiz_question_delay = 5, -- delay before send next question
26 quiz_hint_delay = 20, -- delay between prompts
27 quiz_users_in_top = 15, -- how many users display in TOP list
28 quiz_channel = nil, -- (do not modify!) channel when quiz has started (it assigned with start)
29
30 -- AntiHack (Starcraft)
31 ah = true,
32 ah_interval = 60, -- interval for send memory request to all players in games
33
34 -- GHost++ (https://github.com/OHSystem/ohsystem)
35 ghost = false, -- enable GHost commands
36 ghost_bots = { "hostbot1", "hostbot2" }, -- list of authorized bots
37 ghost_dota_server = true, -- replace normal Warcraft 3 stats with DotA
38 ghost_ping_expire = 90, -- interval when outdated botpings should be removed (bot ping updates for each user when he join a game hosted by ghost); game list shows to user depending on the best ping to host bot
39
40 }
41