Advertisement
Guest User

Untitled

a guest
Jan 9th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.29 KB | None | 0 0
  1. extdb-conf
  2. |
  3. V
  4.  
  5.  
  6.  
  7.  
  8.  
  9. [Main]
  10. Version = 5
  11.  
  12. ;Threads = 0
  13. ; Default Value is the number of CPU Cores Detected (max value is 6, min value is 2)
  14.  
  15. Randomize Config File = false
  16. ;This is a legacy option to randomize config file for Arma2 Servers. Only for Windows Builds
  17.  
  18.  
  19. [Rcon]
  20. ;; This is functional, should be working fine. Just needs abit of testing on a $
  21. ;; Allow for changing Address for those running server in a VM environment.
  22. IP = 127.0.0.1
  23. Port = 2302
  24.  
  25. ;; Rcon Password i.e Battleye/beserver.cfg
  26. Password = password
  27.  
  28. ;; Bad Player Name Checks
  29. ;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
  30. Bad Playername Enable = false
  31. Bad Playername Kick Message = Bad Player Name
  32.  
  33. ;; By default : is a bad character (used as seperator for extDB2 Calls (this is hardcoded in)
  34. ;;Bad Playername Strings = (:):{:}
  35. ;;Bad Playername Regex_1 = [:alnum:]
  36. ;;Bad Playername Regex_2 = [:alnum:]
  37. ;;Bad Playername Regex_3 = [:alnum:]
  38.  
  39.  
  40. ;; Whitelisting / Reserve Slots
  41. ;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
  42. Whitelist Enable = false
  43. Whitelist Kick Message = Only Reserved Slots Left
  44.  
  45. Whitelist Public Slots = 999
  46.  
  47. ;; Database settings to use (Optional)
  48. Whitelist Database = MySQL_Example
  49. Whitelist SQL Prepared Statement = SELECT CASE WHEN EXISTS(SELECT UID FROM PlayerInfo WHERE BattlEyeGUID=? AND Whitelisted=1) THEN 1 ELSE 0 END
  50. Whitelist Kick on SQL Query Failed = false
  51.  
  52. ;; Hardcoded BEGuids for whitelisted players
  53. ;Whitelist BEGuids = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx : yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
  54.  
  55.  
  56. [Steam]
  57. ;; This is for VAC Protocol for VAC Bans + Steam Friends.
  58. ;; https://steamcommunity.com/dev/apikey
  59. API Key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  60.  
  61.  
  62. [VAC]
  63. ;; This feature requires Steam + Rcon to be enabled.
  64. ;; Also this feature is called via SQF Code atm, i.e it doesn't auto detect players joining server yet....
  65. Auto Ban = true
  66.  
  67. ;; For Player to get banned ( their total VAC Bans => NumberOfVACBans) AND ( Days Since their Last Ban was <= DaysSinceLastBan)
  68. ;; This is also used extDB Protocol VAC:VACBanned returned results
  69.  
  70. NumberOfVACBans = 1
  71. DaysSinceLastBan = 999999999
  72. BanDuration = 0
  73. ;; 0 = Forever, otherwise its x Minutes
  74. BanMessage = Steam VAC Banned
  75.  
  76.  
  77. [Log]
  78. ;; Flush Logs after each write, more work on Harddrive
  79. Flush = true
  80.  
  81.  
  82. [altislife]
  83. Type = MySQL
  84. Name = AltisLife
  85.  
  86. Username = root
  87. Password =
  88.  
  89. IP = 127.0.0.1
  90. Port = 3306
  91.  
  92. ;minSessions = 2
  93. idleTime = 60
  94.  
  95. compress = false
  96. ; Really should only use this if MySQL server is external. Also only for MySQL
  97.  
  98. Secure Auth = true
  99. ; Recommend you turn this on http://dev.mysql.com/doc/refman/5.6/en/mysql-command-options.html#option_mysql_secure-auth
  100.  
  101.  
  102. [SQLite_Example]
  103. Type = SQLite
  104. Name = sqlite.db
  105.  
  106. minSessions = 1
  107. ; minSession Default Value = 1
  108.  
  109. ;maxSessions = 4
  110. ; maxSession Default Value = number of Main->Threads
  111. ; You really should leave this value alone
  112. idleTime = 60
  113. ; idleTime no Default Value yet, needs to be defined.
  114. ; idleTime is the time before a database session is stopped if not used.
  115. ; If Database Sessions are greater than minSessions
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. Config Master
  132. |
  133. V
  134.  
  135.  
  136.  
  137.  
  138. #define true 1
  139. #define false 0
  140.  
  141. /*
  142. Master settings for various features and functionality
  143. */
  144. class Life_Settings {
  145. /* Persistent Settings */
  146. save_civ_weapons = false; //Allow civilians to save weapons on them?
  147. save_virtualItems = true; //Save Virtual items (all sides)?
  148. save_playerStats = false; //Save food & water (all sides)?
  149. save_veh_virtualItems = false; //Save Virtual items for vehicles (all sides)?
  150. save_veh_gear = false; //Save Gear for vehicles (all sides)?
  151.  
  152. /* Clothing related settings */
  153. clothing_box = true; //true = preview inside a black box. false = preview on map.
  154. clothing_masks[] = { "H_Shemag_olive", "H_Shemag_khk", "H_Shemag_tan", "H_Shemag_olive_hs", "H_ShemagOpen_khk", "H_ShemagOpen_tan", "G_Balaclava_blk", "G_Balaclava_combat", "G_Balaclava_lowprofile", "G_Balaclava_oli", "G_Bandanna_aviator", "G_Bandanna_beast", "G_Bandanna_blk", "G_Bandanna_khk", "G_Bandanna_oli", "G_Bandanna_shades", "G_Bandanna_sport", "G_Bandanna_tan", "U_O_GhillieSuit", "U_I_GhillieSuit", "U_B_GhillieSuit", "H_RacingHelmet_1_black_F", "H_RacingHelmet_1_red_F", "H_RacingHelmet_1_white_F", "H_RacingHelmet_1_blue_F", "H_RacingHelmet_1_yellow_F", "H_RacingHelmet_1_green_F", "H_RacingHelmet_1_F", "H_RacingHelmet_2_F", "H_RacingHelmet_3_F", "H_RacingHelmet_4_F" };
  155.  
  156. /* Cop related settings */
  157. cops_online_min = 5; //minimum cops online for robbing a bank
  158.  
  159. /* Medic related settings*/
  160. allow_medic_weapons = true; // true allows medics to hold/use weapons - false disallows
  161.  
  162. /* Revive system settings */
  163. revive_cops = true; //true to enable cops the ability to revive everyone or false for only medics/ems.
  164. revive_fee = 1500; //Revive fee that players have to pay and medics / EMS are rewarded
  165.  
  166. /* House related settings */
  167. house_limit = 5; //Maximum amount of houses a player can own.
  168.  
  169. /* Gang related settings */
  170. gang_price = 75000; //Price for creating a gang, remember they are persistent so keep it reasonable to avoid millions of gangs.
  171. gang_upgradeBase = 10000; //The base cost for upgrading slots in a gang
  172. gang_upgradeMultiplier = 2.5; //Not sure if in use?
  173.  
  174. /* Player-related systems */
  175. enable_fatigue = true; //Set to false to disable the ARMA 3 false system.
  176. total_maxWeight = 24; //Static variable for the maximum weight allowed without having a backpack
  177. paycheck_period = 5; //Scaled in minutes
  178.  
  179. /* Impound Variables */
  180. impound_car = 350; //Price for impounding cars
  181. impound_boat = 250; //Price for impounding boats
  182. impound_air = 850; //Price for impounding helicopters / planes
  183.  
  184. /* Initial Bank Amount */
  185. bank_cop = 100000; //Amount of cash on bank for new cops
  186. bank_civ = 100000; //Amount of cash on bank for new civillians
  187. bank_med = 100000; //Amount of cash on bank for new medics
  188.  
  189. /* Paycheck Amount */
  190. paycheck_cop = 1000; //Payment for cops
  191. paycheck_civ = 500; //Payment for civillians
  192. paycheck_med = 1250; //Payment for medics
  193.  
  194. /* Federal Reserve settings */
  195. noatm_timer = 10; //Time in minutes that players won't be able to deposit his money after selling stolen gold
  196.  
  197. /* Spyglass settings */
  198. spyglass_init = false; //Enable or disable spyglass
  199.  
  200. /* ATM settings */
  201. global_ATM = true; //Allow users to access any ATM on the map.
  202.  
  203. /* Pump settings */
  204. Pump_service = false; //Allow users to use pump service on the map. Default = false
  205.  
  206. /* Skins settings */
  207. civ_skins = false; //Enable or disable civilian skins. Before enabling, you must add all the SEVEN files to textures folder. (It must be named as: civilian_uniform_1.jpg, civilian_uniform_2.jpg...civilian_uniform_6.jpg, civilian_uniform_7.jpg)
  208.  
  209. /* Car-shop Settings */
  210. vehicleShop_rentalOnly[] = { "B_MRAP_01_hmg_F", "B_G_Offroad_01_armed_F", "B_Boat_Armed_01_minigun_F" };
  211.  
  212. /* Job-related stuff */
  213. delivery_points[] = { "dp_1", "dp_2", "dp_3", "dp_4", "dp_5", "dp_6", "dp_7", "dp_8", "dp_9", "dp_10", "dp_11", "dp_12", "dp_13", "dp_14", "dp_15", "dp_15", "dp_16", "dp_17", "dp_18", "dp_19", "dp_20", "dp_21", "dp_22", "dp_23", "dp_24", "dp_25" };
  214.  
  215. /* Wanted System related settings */
  216. /* crimes[] = {String, Bounty, Code} */
  217. crimes[] = {
  218. {"STR_Crime_187V","650","187V"},
  219. {"STR_Crime_187","2000","187"},
  220. {"STR_Crime_901","450","901"},
  221. {"STR_Crime_215","200","215"},
  222. {"STR_Crime_213","1000","213"},
  223. {"STR_Crime_211","100","211"},
  224. {"STR_Crime_207","350","207"},
  225. {"STR_Crime_207A","200","207A"},
  226. {"STR_Crime_390","1500","390"},
  227. {"STR_Crime_487","150","487"},
  228. {"STR_Crime_488","70","488"},
  229. {"STR_Crime_480","100","480"},
  230. {"STR_Crime_481","100","481"},
  231. {"STR_Crime_482","500","482"},
  232. {"STR_Crime_483","950","483"},
  233. {"STR_Crime_459","650","459"},
  234. {"STR_Crime_666","200","666"},
  235. {"STR_Crime_667","4500","667"},
  236. {"STR_Crime_668","1500","668"},
  237. {"STR_Crime_1","250","1"},
  238. {"STR_Crime_2","200","2"},
  239. {"STR_Crime_3","150","3"},
  240. {"STR_Crime_4","250","4"},
  241. {"STR_Crime_5","100","5"},
  242. {"STR_Crime_6","80","6"},
  243. {"STR_Crime_7","150","7"},
  244. {"STR_Crime_8","5000","8"},
  245. {"STR_Crime_9","5000","9"},
  246. {"STR_Crime_10","15000","10"},
  247. {"STR_Crime_11","10000","11"},
  248. {"STR_Crime_12","2500","12"},
  249. {"STR_Crime_13","1500","13"},
  250. {"STR_Crime_14","500","14"},
  251. {"STR_Crime_15","2500","15"},
  252. {"STR_Crime_16","1500","16"},
  253. {"STR_Crime_17","100","17"},
  254. {"STR_Crime_18","1500","18"},
  255. {"STR_Crime_19","2500","19"},
  256. {"STR_Crime_20","500","20"},
  257. {"STR_Crime_21","500","21"},
  258. {"STR_Crime_22","2000","22"},
  259. {"STR_Crime_23","5000","23"},
  260. {"STR_Crime_24","10000","24"},
  261. {"STR_Crime_25","20000","25"}
  262. };
  263. };
  264.  
  265. #include "Config_Clothing.hpp"
  266. #include "Config_Licenses.hpp"
  267. #include "Config_Vehicles.hpp"
  268. #include "Config_vItems.hpp"
  269. #include "Config_Weapons.hpp"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement