Naja ohne Code geht da nix.
<?php
/*$dbHost[1] = 'samprl.net.mysql';
$dbUser[1] = 'samprl_net';
$dbPass[1] = 'ZENSIERT';
$dbName[1] = 'samprl_net';*/
$dbHost[1] = 'samprl.net.mysql';
$dbUser[1] = 'samprl_net';
$dbPass[1] = 'ZENSIERT';
$dbName[1] = 'samprl_net';
/*$dbHost[1] = 'samprl.net.mysql';
$dbUser[1] = 'samprl_net';
$dbPass[1] = 'ZENSIERT';
$dbName[1] = 'samprl_net';*/
$dbHost[2] = 'samprl.net.mysql';
$dbUser[2] = 'samprl_net';
$dbPass[2] = 'ZENSIERT'; //AKV75FXDeuXa
$dbName[2] = 'samprl_net';
$_PUBLIC['TS'] = array(
'HOST' => 'samprl.net.mysql',
'USER' => 'serveradmin',
'PASS' => 'ZENSIERT',
'PORT' => 9987,
'SNUM' => 1,
'SERVER_GROUPS' => array(
'REG' => 7,
'BAN' => 18
),
'CHANNEL_GROUPS' => array(
'CA' => 5,
'CM' => 6,
'CG' => 8
)
);
$_PUBLIC['SMTP'] = array(
'HOST' => 'samprl.net.mysql',
'PORT' => 25,
'USER' => 'samprl_net',
'PASS' => 'ZENSIERT'
);
$_PUBLIC['DB']['TABLES'] = array(
'USER'=>'users',
'BAN'=>'bannedplayers'
);
$_PUBLIC['DB']['STRUCTURE'] = array(
'USER'=>array(
// 'ID'=>'SQLid',
// 'NAME'=>'Name',
// 'PASSWORD'=>'Key'
'ID'=>'id',
'NAME'=>'Name',
'PASSWORD'=>'Passwort'
));
$_PUBLIC['systemHost'] = 'Real Roleplay';
$_PUBLIC['defaultPage'] = 'Default';
$_PUBLIC['authPage'] = 'Auth';
$_PUBLIC['API']['requestHandler']['wanted'] = array(
'hostWhitelist' => 'samprl.net.mysql'
);
$_PUBLIC['pageTitles'] = array(
'Auth' => 'Autorisierung',
'Index' => 'Hauptseite',
'Default' => 'Standart',
'Profile' => 'Profilübersicht',
'Options' => 'Einstellungen',
'VerifyTeamspeak' => 'Teamspeakregistrierung',
'Logout' => 'Abmeldung',
'VerifyForum' => 'Forumaktivierung',
'MultiaccountCheck' => 'Multiaccountüberprüfung',
'BackupDatabase' => 'Datenbank sichern',
'Faction' => 'Fraktionen',
'Complain' => 'Beschwerden',
'ManageComplains' => 'Beschwerden bearbeiten',
'UserActivation' => 'Account verifizieren',
'Notification' => 'Benachrichtigung',
'Team' => 'Teamliste'
);
$_PUBLIC['whitelistedPages'] = array(
'Auth'
);
$_PUBLIC['userActivationPage'] = 'UserActivation';
$_PUBLIC['backgrounds'] = array(
//'bsnwp.jpg',
'wp1.jpg',
'wp2.jpg',
'wp3.jpg',
'wp4.jpg',
'wp5.jpg'
//'rgrdesign1.jpg',
//'rgrdesign2.jpg',
//'rgrdesign3.jpg',
//'rpy-wp1.png'
);
$_PUBLIC['usernameFormatOptions'] = array(
'FIND'=>array(
'_',
'.'
),
'REPLACE'=>array(
' ',
' '
)
);
$_PUBLIC['notification']['types'] = array(
0 => 'Systembenachrichtigung',
1 => 'Beschwerdebenachrichtung',
2 => 'Fraktionsbenachrichtigung'
);
$_PUBLIC['administrationRanks'] = array(
'ROOT' => 2000,
'MIN' => 2000,
'FACTION' => 6,
'COMPLAIN' => array(
'MIN' => -1,
'ROOT' => 2000
)
);
$_PUBLIC['boardPrivileges'] = array(
'canDeleteThread'=>1,
'canReadDeletedThread'=>1,
'canDeleteThreadCompletely'=>0,
'canCloseThread'=>1,
'canEnableThread'=>0,
'canMoveThread'=>1,
'canCopyThread'=>1,
'canMergeThread'=>1,
'canEditPost'=>1,
'canDeletePost'=>1,
'canReadDeletedPost'=>1,
'canDeletePostCompletely'=>0,
'canClosePost'=>1,
'canEnablePost'=>0,
'canMovePost'=>1,
'canCopyPost'=>1,
'canMergePost'=>1,
'canReplyClosedThread'=>1,
'canPinThread'=>1,
'canStartAnnouncement'=>1,
'canMarkAsDoneThread'=>1
);
$_PUBLIC['WCF'] = array(
'activatedGroupID' => 95
);
$_PUBLIC['FACTIONS'] = array(
1 => array(
'factionName' => 'LVPD', //Unkonfiguriert
'channelID' => 0,
'boardID' => 0,
'groupID' => 0
),
2 => array(
'factionName' => 'Parkhouse Drifter',
'channelID' => 0,
'boardID' => 505,
'groupID' => 99
),
3 => array(
'factionName' => 'Feuerwehr', //Yk4DNXj6fA
'channelID' => 39,
'boardID' => 234,
'groupID' => 35
),
4 => array(
'factionName' => 'Rettungsdienst',
'channelID' => 39,
'boardID' => 27,
'groupID' => 13
),
5 => array(
'factionName' => 'La Cosa Nostra',
'channelID' => 61,
'boardID' => 39,
'groupID' => 17
),
6 => array(
'factionName' => 'Yakuza',
'channelID' => 58,
'boardID' => 40,
'groupID' => 28 //Gruppe Unkonfiguriert
),
7 => array(
'factionName' => 'FBI',
'channelID' => 36,
'boardID' => 26,
'groupID' => 11
),
8 => array(
'factionName' => 'Hitman Agency',
'channelID' => 45,
'boardID' => 43,
'groupID' => 23,
'invisible' => true
),
9 => array(
'factionName' => 'San Andreas Times',
'channelID' => 38,
'boardID' => 29,
'groupID' => 14
),
10 => array(
'factionName' => 'Wheelman Agency',
'channelID' => 46,
'boardID' => 288,
'groupID' => 24
),
11 => array(
'factionName' => 'Fahrschule',
'channelID' => 47,
'boardID' => 178,
'groupID' => 15
),
12 => array(
'factionName' => 'Regierung',
'channelID' => 33,
'boardID' => 23,
'groupID' => 8
),
13 => array(
'factionName' => 'Ordnungsamt',
'channelID' => 37,
'boardID' => 28,
'groupID' => 12
),
14 => array(
'factionName' => 'LSPD',
'channelID' => 35,
'boardID' => 24,
'groupID' => 9
),
15 => array(
'factionName' => 'BikerBoyZ',
'channelID' => 62,
'boardID' => 486,
'groupID' => 29
),
16 => array(
'factionName' => 'SFPD',
'channelID' => 429,
'boardID' => 372,
'groupID' => 10
),
17 => array(
'factionName' => 'Camorra', // 'r' entfernt
'channelID' => 60,
'boardID' => 447,
'groupID' => 18
),
18 => array(
'factionName' => 'Aztecas',
'channelID' => 59,
'boardID' => 35,
'groupID' => 30
),
19 => array(
'factionName' => 'Grove Street Families',
'channelID' => 56,
'boardID' => 33,
'groupID' => 20
),
20 => array(
'factionName' => 'Ballas',
'channelID' => 57,
'boardID' => 32,
'groupID' => 16
),
21 => array(
'factionName' => 'West Coast Custom',
'channelID' => 63,
'boardID' => 273,
'groupID' => 22
),
22 => array(
'factionName' => 'Triaden',
'channelID' => 65,
'boardID' => 41,
'groupID' => 31
),
23 => array(
'factionName' => 'Red Soldiers',
'channelID' => 68,
'boardID' => 37,
'groupID' => 80
),
24 => array(
'factionName' => 'L.S. Vagos',
'channelID' => 64,
'boardID' => 34,
'groupID' => 63
),
25 => array(
'factionName' => 'Guerilla',
'channelID' => 66,
'boardID' => 418,
'groupID' => 84
),
26 => array(
'factionName' => 'Cali Cartell',
'channelID' => 67,
'boardID' => 399,
'groupID' => 70
)
);
$_PUBLIC['SKILLS'] = array(
0 => array(
'skillName' => 'Arbeitslos',
'skillMax' => 0
),
1 => array(
'skillName' => 'Detektiv',
'skillMax' => 0
),
2 => array(
'skillName' => 'Anwalt',
'skillMax' => 0
),
3 => array(
'skillName' => 'Hure',
'skillMax' => 0
),
4 => array(
'skillName' => 'Drogendealer',
'skillMax' => 0
),
5 => array(
'skillName' => 'Autodieb',
'skillMax' => 0
),
6 => array(
'skillName' => 'Newsreporter',
'skillMax' => 0
),
7 => array(
'skillName' => 'Mechaniker',
'skillMax' => 0
),
8 => array(
'skillName' => 'Fischer',
'skillMax' => 0
)
);