forked from R4Z0R49/DayZAdmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.php-dist
58 lines (54 loc) · 2.9 KB
/
config.php-dist
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
<?php
$iid = "1"; //Instance ID
$serverip = "127.0.0.1"; //game-server host
$serverip_internal = "127.0.0.1"; //game-server host internal IP (for hosts behind NAT, set to same as $serverip if not behind NAT)
$rconpassword = "123456"; //rcon password
$serverport = 2302; //server port
$hostname = "127.0.0.1"; //Database host
$dbport = 3306; //database port (MySQL default is 3306)
$username = "dayz"; //database user
$password = "dayz"; //database password
$dbName = "dayz"; //database name
$sitename = "DayZ Administration"; //Admin panel name
$map = "chernarus"; // chernarus lingor takistan panthera2 fallujah namalsk tavi
$world = "1"; // 1=chernarus 2=lingor 4=takistan 5=panthera2 6=fallujah 8=namalsk 10=tavi
$enableclock = 0; // show game time clock in upper right corner
$timeoffset = 0; // game time offset from UTC for optional clock, should match HiveExt.ini
$enableTracking = 1; // show tracks of player/vehicle movement on the map, green dot = start of track, yellow dot = end
$maxTrackingPositions = 50; // how many positions to keep per player/vehicle when tracking
$keepTracksAfterLogout = 0; // 0 - remove player tracks after they logout, 1 - keep showing tracks
$refreshPlayersOnline = 60; // seconds, set to 0 to disable
$enableNameLog = 0; // optional player name log, requires sql/optional/namechange.sql
//FTP - Server chat (Does not need to be specified if hosted locally, only use $local_path if that's the case!)
$chat_enabled = 0; // 0(No), 1(Yes)
$ftp_host = ""; // FTP server hostname (IP)
$ftp_username = ""; // FTP username
$ftp_password = ""; // FTP password
//Paths, only use one of these.
$ftp_path = ""; // Path from FTP root to your BEC server dir (Example: Bec/Log/Server1 / Leave blank if root)
// Full path on your local machine to the Bec/Log/Server1 directory.
// Ex for windows: C:\\DayZServer\\dayz1.Chernarus\\Bec\\Log\\Server1
// Ex for Linux: /DayZServer/dayz1.Chernarus/Bec/Log/Server1
$local_path = "";
//security
$security = "admin"; // allows you to rename the admin.php file to secure your install **Not Active Yet**
//Social Media
$EnableSocialMedia = 1; //Enable social media section (1 yes, 0 no)
$socialheader = "Infecting Your Social Media"; // Social Media Header
$emailenabled = 1; //Enable media button (1 yes, 0 no)
$email = ""; //Contact email
$callenabled = 0; //Enable media button (1 yes, 0 no)
$call = ""; //Contact us
$facebookenabled = 0; //Enable media button (1 yes, 0 no)
$facebook = "www.facebook.com"; //Facebook Page
$flickrenabled = 0; //Enable media button (1 yes, 0 no)
$flickr = ""; //Flickr Page
$twitterenabled = 0; //Enable media button (1 yes, 0 no)
$twitter = ""; //Twitter Page
$vimeoenabled = 0; //Enable media button (1 yes, 0 no)
$vimeo = ""; //Vimeo Page
$youtubeenabled = 0; //Enable media button (1 yes, 0 no)
$youtube = ""; //YouTube
//Top Links
$ManuPanelLink = 1; // Enable the dashboard link? (1 yes, 0 no)
?>