Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Admin Levels: Every superior admin level can do everything
- * the level below can do.
- *
- * Level 1: Pug Admin
- * - Can set the server password so people can join pugs
- * - Can force players to switch teams
- * - Can change maps
- * Level 2: Moderator
- * - Can kick and ban people
- * Level 3: Admin
- * - Slash commands
- * Level 4: Super Admin
- * - Has Eval access
- * Level 5: Owner
- * - God
- */
- // This level can't do anything
- $Host::Admins::Name[0] = "Player";
- $Host::Admins::Level[0] = 0;
- $Host::Admins::Password[0] = "";
- $Host::Admins::Name[1] = "PUG";
- $Host::Admins::Level[1] = 1;
- $Host::Admins::Password[1] = "change_me1";
- $Host::Admins::Name[2] = "Moderator";
- $Host::Admins::Level[2] = 2;
- $Host::Admins::Password[2] = "change_me2";
- $Host::Admins::Name[3] = "Admin";
- $Host::Admins::Level[3] = 3;
- $Host::Admins::Password[3] = "change_me3";
- $Host::Admins::Name[4] = "Super Admin";
- $Host::Admins::Level[4] = 4;
- $Host::Admins::Password[4] = "change_me4";
- $Host::Admins::Name[5] = "Owner";
- $Host::Admins::Level[5] = 5;
- $Host::Admins::Password[5] = "change_me5";
- $Host::AutoResetPassword = false;
- $Host::AutoResetPasswordTime = 600000; // Default of 600,000 milliseconds = 10 minutes after all players have left
- $Host::DefaultPassword = "";
- // A lot of these will be overrided by Server::create() in server.cs
- // if the options are selected using the GUI page gameMenu.cs
- $Host::Name = "A Dedicated Server";
- $Host::GameType = "CTF";
- $Host::MaxPlayers = 32;
- $Host::MaxObservers = 10;
- $Host::Type = "Multiplayer Web";
- $Host::MinimumStartPlayers = 1;
- $Host::BroadcastMaster = false;
- // The mission path, $MissionPath, can be found in legions/scripts/legionsCore.cs
- // The default for $MissionPath is "legions/data/missions/"
- $Host::GameTypeWeight["CTF"] = 1;
- $Host::GameTypeWeight["TDM"] = 0;
- $Host::GameTypeWeight["Rabbit"] = 0;
- $Host::GameTypeWeight["Hunters"] = 0;
- $Host::GameTypeWeight["TeamRabbit"] = 0;
- $Host::GameTypeWeight["ChallengeMap"] = 0;
- // Below, each should have the same name as the mission - ie. Frostbyte, not [FCNC]_Frostbyte
- // CTF
- $Host::Mission["CTF", "BladeRun"] = 0;
- $Host::Mission["CTF", "ZenithCauldron"] = 1;
- $Host::Mission["CTF", "Elegiac"] = 2;
- $Host::Mission["CTF", "Fallout"] = 3;
- $Host::Mission["CTF", "Forgotten"] = 4;
- $Host::Mission["CTF", "Gorge"] = 5;
- $Host::Mission["CTF", "Moonshine"] = 6;
- $Host::Mission["CTF", "Mirage"] = 7;
- $Host::Mission["CTF", "Sleepwalker"] = 8;
- $Host::Mission["CTF", "Nivosus"] = 9;
- $Host::Mission["CTF", "Frostbyte"] = 10;
- $Host::Mission["CTF", "Stygian"] = 11;
- $Host::Mission["CTF", "TheCore"] = 12;
- $Host::Mission["CTF", "Genesis"] = 13;
- $Host::Mission["CTF", "Reactor"] = 14;
- $Host::Mission["CTF", "OTtN"] = 15;
- $Host::Mission["CTF", "Grassy"] = 16;
- $Host::Mission["CTF", "Whiteout"] = 17;
- $Host::Mission["CTF", "AlderannCatwalks"] = 18;
- $Host::Mission["CTF", "Outcast"] = 19;
- $Host::Mission["CTF", "WinterMelt"] = 20;
- $Host::Mission["CTF", "Qualm"] = 21;
- $Host::Mission["CTF", "Shoreline"] = 22;
- $Host::Mission["CTF", "Ravine"] = 23;
- $Host::Mission["CTF", "FrostbytePUG"] = 24;
- $Host::Mission["CTF", "Diabolus"] = 25;
- // CNC
- // TDM
- $Host::Mission["TDM", "Frostbyte"] = 26;
- $Host::Mission["TDM", "Nebula_Station"] = 27;
- $Host::Mission["TDM", "AlderannCatwalks"] = 28;
- $Host::Mission["TDM", "SandBox"] = 29;
- //Rabbit
- $Host::Mission["Rabbit", "Frostbyte"] = 30;
- $Host::Mission["Rabbit", "ZenithCauldron"] = 31;
- $Host::Mission["Rabbit", "Elegiac"] = 32;
- $Host::Mission["Rabbit", "Fallout"] = 33;
- $Host::Mission["Rabbit", "Genesis"] = 34;
- $Host::Mission["Rabbit", "Reactor"] = 35;
- $Host::Mission["Rabbit", "Diabolus"] = 36;
- // Hunters
- $Host::Mission["Hunters", "Frostbyte"] = 37;
- $Host::Mission["Hunters", "AlderannCatwalks"] = 38;
- // TeamRabbit
- $Host::Mission["TeamRabbit", "Fallout"] = 39;
- $Host::Mission["TeamRabbit", "Elegiac"] = 40;
- $Host::Mission["TeamRabbit", "Genesis"] = 41;
- $Host::Mission["TeamRabbit", "Diabolus"] = 42;
- $Host::Mission["ChallengeMap", "pipeChallenge"] = 43;
- //DM
- //=================================================================================
- // CTF
- $Host::Maps::MissionFile[0] = $MissionPath @ "BladeRun.mis";
- $Host::Maps::Weight[0] = 0.0;
- $Host::Maps::MinPlayers[0] = 15;
- $Host::Maps::MaxPlayers[0] = 24;
- $Host::Maps::MissionFile[1] = $MissionPath @ "ZenithCauldron.mis";
- $Host::Maps::Weight[1] = 0.8;
- $Host::Maps::MinPlayers[1] = 16;
- $Host::Maps::MaxPlayers[1] = 24;
- $Host::Maps::MissionFile[2] = $MissionPath @ "Elegiac.mis";
- $Host::Maps::Weight[2] = 0.8;
- $Host::Maps::MinPlayers[2] = 0;
- $Host::Maps::MaxPlayers[2] = 24;
- $Host::Maps::MissionFile[3] = $MissionPath @ "Fallout.mis";
- $Host::Maps::Weight[3] = 0.7;
- $Host::Maps::MinPlayers[3] = 14;
- $Host::Maps::MaxPlayers[3] = 24;
- $Host::Maps::MissionFile[4] = $MissionPath @ "Forgotten.mis";
- $Host::Maps::Weight[4] = 0.6;
- $Host::Maps::MinPlayers[4] = 12;
- $Host::Maps::MaxPlayers[4] = 24;
- $Host::Maps::MissionFile[5] = $MissionPath @ "Gorge.mis";
- $Host::Maps::Weight[5] = 0.0;
- $Host::Maps::MinPlayers[5] = 12;
- $Host::Maps::MaxPlayers[5] = 24;
- $Host::Maps::MissionFile[6] = $MissionPath @ "Moonshine.mis";
- $Host::Maps::Weight[6] = 0.5;
- $Host::Maps::MinPlayers[6] = 0;
- $Host::Maps::MaxPlayers[6] = 12;
- $Host::Maps::MissionFile[7] = $MissionPath @ "Mirage.mis";
- $Host::Maps::Weight[7] = 0.0;
- $Host::Maps::MinPlayers[7] = 15;
- $Host::Maps::MaxPlayers[7] = 24;
- $Host::Maps::MissionFile[8] = $MissionPath @ "Sleepwalker.mis";
- $Host::Maps::Weight[8] = 0.0;
- $Host::Maps::MinPlayers[8] = 0;
- $Host::Maps::MaxPlayers[8] = 24;
- $Host::Maps::MissionFile[9] = $MissionPath @ "Nivosus.mis";
- $Host::Maps::Weight[9] = 0.8;
- $Host::Maps::MinPlayers[9] = 0;
- $Host::Maps::MaxPlayers[9] = 12;
- $Host::Maps::MissionFile[10] = $MissionPath @ "Frostbyte.mis";
- $Host::Maps::Weight[10] = 0.8;
- $Host::Maps::MinPlayers[10] = 0;
- $Host::Maps::MaxPlayers[10] = 24;
- $Host::Maps::MissionFile[11] = $MissionPath @ "Stygian.mis";
- $Host::Maps::Weight[11] = 0.5;
- $Host::Maps::MinPlayers[11] = 0;
- $Host::Maps::MaxPlayers[11] = 12;
- $Host::Maps::MissionFile[12] = $MissionPath @ "TheCore.mis";
- $Host::Maps::Weight[12] = 0.0;
- $Host::Maps::MinPlayers[12] = 15;
- $Host::Maps::MaxPlayers[12] = 24;
- $Host::Maps::MissionFile[13] = $MissionPath @ "Genesis.mis";
- $Host::Maps::Weight[13] = 0.0;
- $Host::Maps::MinPlayers[13] = 0;
- $Host::Maps::MaxPlayers[13] = 24;
- $Host::Maps::MissionFile[14] = $MissionPath @ "Reactor.mis";
- $Host::Maps::Weight[14] = 0.6;
- $Host::Maps::MinPlayers[14] = 0;
- $Host::Maps::MaxPlayers[14] = 16;
- $Host::Maps::MissionFile[15] = $MissionPath @ "OTtN.mis";
- $Host::Maps::Weight[15] = 0.5;
- $Host::Maps::MinPlayers[15] = 12;
- $Host::Maps::MaxPlayers[15] = 24;
- $Host::Maps::MissionFile[16] = $MissionPath @ "Grassy.mis";
- $Host::Maps::Weight[16] = 0.0;
- $Host::Maps::MinPlayers[16] = 0;
- $Host::Maps::MaxPlayers[16] = 24;
- $Host::Maps::MissionFile[17] = $MissionPath @ "Whiteout.mis";
- $Host::Maps::Weight[17] = 0.0;
- $Host::Maps::MinPlayers[17] = 0;
- $Host::Maps::MaxPlayers[17] = 24;
- $Host::Maps::MissionFile[18] = $MissionPath @ "AlderannCatwalks.mis";
- $Host::Maps::Weight[18] = 0.0;
- $Host::Maps::MinPlayers[18] = 0;
- $Host::Maps::MaxPlayers[18] = 24;
- $Host::Maps::MissionFile[19] = $MissionPath @ "Outcast.mis";
- $Host::Maps::Weight[19] = 0.0;
- $Host::Maps::MinPlayers[19] = 0;
- $Host::Maps::MaxPlayers[19] = 24;
- $Host::Maps::MissionFile[20] = $MissionPath @ "WinterMelt.mis";
- $Host::Maps::Weight[20] = 0.0;
- $Host::Maps::MinPlayers[20] = 0;
- $Host::Maps::MaxPlayers[20] = 24;
- $Host::Maps::MissionFile[21] = $MissionPath @ "Qualm.mis";
- $Host::Maps::Weight[21] = 0.0;
- $Host::Maps::MinPlayers[21] = 0;
- $Host::Maps::MaxPlayers[21] = 24;
- $Host::Maps::MissionFile[22] = $MissionPath @ "Shoreline.mis";
- $Host::Maps::Weight[22] = 0.0;
- $Host::Maps::MinPlayers[22] = 0;
- $Host::Maps::MaxPlayers[22] = 24;
- $Host::Maps::MissionFile[23] = $MissionPath @ "Ravine.mis";
- $Host::Maps::Weight[23] = 0.0;
- $Host::Maps::MinPlayers[23] = 0;
- $Host::Maps::MaxPlayers[23] = 24;
- $Host::Maps::MissionFile[24] = $MissionPath @ "FrostBytePUG.mis";
- $Host::Maps::Weight[24] = 0.0;
- $Host::Maps::MinPlayers[24] = 0;
- $Host::Maps::MaxPlayers[24] = 24;
- $Host::Maps::MissionFile[25] = $MissionPath @ "Diabolus.mis";
- $Host::Maps::Weight[25] = 0.0;
- $Host::Maps::MinPlayers[25] = 0;
- $Host::Maps::MaxPlayers[25] = 24;
- // TDM
- $Host::Maps::MissionFile[26] = $MissionPath @ "Frostbyte.mis";
- $Host::Maps::Weight[26] = 0.0;
- $Host::Maps::MinPlayers[26] = 0;
- $Host::Maps::MaxPlayers[26] = 24;
- $Host::Maps::MissionFile[27] = $MissionPath @ "Nebula_Station.mis";
- $Host::Maps::Weight[27] = 0.0;
- $Host::Maps::MinPlayers[27] = 0;
- $Host::Maps::MaxPlayers[27] = 24;
- $Host::Maps::MissionFile[28] = $MissionPath @ "AlderannCatwalks.mis";
- $Host::Maps::Weight[28] = 0.0;
- $Host::Maps::MinPlayers[28] = 0;
- $Host::Maps::MaxPlayers[28] = 24;
- $Host::Maps::MissionFile[29] = $MissionPath @ "SandBox.mis";
- $Host::Maps::Weight[29] = 0.0;
- $Host::Maps::MinPlayers[29] = 0;
- $Host::Maps::MaxPlayers[29] = 24;
- //RABBIT
- $Host::Maps::MissionFile[30] = $MissionPath @ "Frostbyte.mis";
- $Host::Maps::Weight[30] = 0.0;
- $Host::Maps::MinPlayers[30] = 0;
- $Host::Maps::MaxPlayers[30] = 24;
- $Host::Maps::MissionFile[31] = $MissionPath @ "ZenithCauldron.mis";
- $Host::Maps::Weight[31] = 0.0;
- $Host::Maps::MinPlayers[31] = 15;
- $Host::Maps::MaxPlayers[31] = 24;
- $Host::Maps::MissionFile[32] = $MissionPath @ "Elegiac.mis";
- $Host::Maps::Weight[32] = 0.0;
- $Host::Maps::MinPlayers[32] = 0;
- $Host::Maps::MaxPlayers[32] = 24;
- $Host::Maps::MissionFile[33] = $MissionPath @ "Fallout.mis";
- $Host::Maps::Weight[33] = 0.0;
- $Host::Maps::MinPlayers[33] = 0;
- $Host::Maps::MaxPlayers[33] = 24;
- $Host::Maps::MissionFile[34] = $MissionPath @ "Genesis.mis";
- $Host::Maps::Weight[34] = 0.0;
- $Host::Maps::MinPlayers[34] = 0;
- $Host::Maps::MaxPlayers[34] = 24;
- $Host::Maps::MissionFile[35] = $MissionPath @ "Reactor.mis";
- $Host::Maps::Weight[35] = 0.0;
- $Host::Maps::MinPlayers[35] = 0;
- $Host::Maps::MaxPlayers[35] = 24;
- $Host::Maps::MissionFile[36] = $MissionPath @ "Diabolus.mis";
- $Host::Maps::Weight[36] = 0.0;
- $Host::Maps::MinPlayers[36] = 0;
- $Host::Maps::MaxPlayers[36] = 24;
- // Hunters
- $Host::Maps::MissionFile[37] = $MissionPath @ "Frostbyte.mis";
- $Host::Maps::Weight[37] = 0.0;
- $Host::Maps::MinPlayers[37] = 0;
- $Host::Maps::MaxPlayers[37] = 24;
- $Host::Maps::MissionFile[38] = $MissionPath @ "AlderannCatwalks.mis";
- $Host::Maps::Weight[38] = 0.0;
- $Host::Maps::MinPlayers[38] = 0;
- $Host::Maps::MaxPlayers[38] = 24;
- // TeamRabbit
- $Host::Maps::MissionFile[39] = $MissionPath @ "Fallout.mis";
- $Host::Maps::Weight[39] = 0.0;
- $Host::Maps::MinPlayers[39] = 0;
- $Host::Maps::MaxPlayers[39] = 24;
- $Host::Maps::MissionFile[40] = $MissionPath @ "Elegiac.mis";
- $Host::Maps::Weight[40] = 0.0;
- $Host::Maps::MinPlayers[40] = 0;
- $Host::Maps::MaxPlayers[40] = 24;
- $Host::Maps::MissionFile[41] = $MissionPath @ "Genesis.mis";
- $Host::Maps::Weight[41] = 0.0;
- $Host::Maps::MinPlayers[41] = 0;
- $Host::Maps::MaxPlayers[41] = 24;
- $Host::Maps::MissionFile[42] = $MissionPath @ "Diabolus.mis";
- $Host::Maps::Weight[42] = 0.0;
- $Host::Maps::MinPlayers[42] = 0;
- $Host::Maps::MaxPlayers[42] = 24;
- $Host::Maps::MissionFile[43] = $MissionPath @ "pipeChallenge.mis";
- $Host::Maps::Weight[43] = 0.0;
- $Host::Maps::MinPlayers[43] = 0;
- $Host::Maps::MaxPlayers[43] = 24;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement