Advertisement
Guest User

Untitled

a guest
Aug 18th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.97 KB | None | 0 0
  1. public static class ServerSettings
  2.     {  
  3.         public static string Password = "";
  4.         public static string UserFile = "users.dat";
  5.         public static string ConsoleNickname = "Server";
  6.         public static string DefaultShutdownMessage = "Server is shutting down.";
  7.         public static string TrollPhrase = "Meow!";
  8.         public static bool ViewMutedMessages = false;
  9.         public static bool ViewTrollMessages = false;
  10.         public static bool KickRepeaters = false;
  11.         public static bool BlockLinks = true;
  12.         public static int MaxMessageRepeats = 0;
  13.         public static bool AcknowledgeInvalidCommands = true;
  14.         public static bool ShowRankSymbols = true;
  15.         public static string GetRankSymbol(Rank rank)
  16.         {
  17.             switch(rank)
  18.             {
  19.                 case Rank.Banned:
  20.                     return "";
  21.                 case Rank.Troll:
  22.                     return "*";
  23.                 case Rank.User:
  24.                     return "";
  25.                 case Rank.VIP:
  26.                     return "+";
  27.                 case Rank.Mod:
  28.                     return "@";
  29.                 case Rank.Master:
  30.                     return "~";
  31.                 default:
  32.                     return "";
  33.             }
  34.         }
  35.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement