Advertisement
The-FoundationSL

HD Admin Config

Nov 6th, 2024
1,708
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 10.66 KB | None | 0 0
  1. --[[
  2.  
  3. --------------| ABOUT RANKS |--------------
  4.  
  5. RANK    | DEFAULT NAME  | COMMANDS  | EXTRA DETAILS
  6. -------------------------------------------------------------------------------------------------------------------
  7. 10      | Owner         | All       | Is automtically set. The Owner has full access to commands and features.
  8. -------------------------------------------------------------------------------------------------------------------
  9. 4       | HeadAdmin     | 1,2,3,4   |
  10. 3       | Admin         | 1,2,3     |
  11. 2       | Mod           | 1,2       | Can only use commands on one person at a time.
  12. 1       | VIP           | 1         | Can only use commands on theirself.
  13. -------------------------------------------------------------------------------------------------------------------
  14. 0       | NonAdmin      | 0         | The default rank. Players are limited to basic features.
  15.  
  16.  
  17.  
  18.  
  19. --------------| SETUP RANKS |--------------                                                                                                                          ]] return{
  20.  
  21. -- RANK, RANK NAMES & SPECIFIC USERS
  22. Ranks = {
  23.     {999, "The Dark Matter Sourcerer", {"",148116779}, };
  24.     {10,    "Supreme-Owner",    {"",7108897985},    };
  25.     {9, "Co-Owner", {"",0}, };
  26.     {8, "Best Developer",   {"",0}, };
  27.     {7, "Developer",    {"",0}, };
  28.     {6, "Jr Developer", {"",0}, };
  29.     {5, "Hunting The Abuser",   {"",0}, };
  30.     {4.55,  "Ultimate Admin",   {"",0}, };
  31.     {4, "Best Friends", {"",0}, };
  32.     {3.99,  "Head Admin",   {"",0}, };
  33.     {3.6,   "Super Admin",  {"",0}, };
  34.     {3, "Admin",    {"",0}, };
  35.     {2.9,   "Super Mod",    {"",0}, };
  36.     {2.7,   "Mod",  {"",0}, };
  37.     {2.5,   "Jr Mod",       {"",0}, };
  38.     {2.3,   "Freddy Feeder",            {"",0}, };
  39.     {2.1,   "Friends", {"",0}, };
  40.     {2, "Lol",          {"",0}, };
  41.     {1, "Basic Commands",           {"",0}, };
  42.     {0, "User",     };
  43. };
  44.  
  45.  
  46.  
  47. -- GAMEPASSES
  48. Gamepasses = {
  49.         [896708241] = "Lol";
  50.         [896578467] = "Head Admin";
  51. };
  52.  
  53.  
  54. -- ASSETS
  55. Assets = {
  56.     [0] = "VIP";
  57. };
  58.  
  59.  
  60. -- GROUPS
  61. Groups = {
  62.         [34743382] = {
  63.         [255] = "Supreme-Owner";
  64.         [254] = "Admin";
  65.         [1] = "Basic_Commands";
  66.         };
  67. };
  68.  
  69.  
  70. -- FRIENDS
  71. Friends = "Friends";
  72.  
  73.  
  74. -- VIP SERVER OWNER
  75. VipServerOwner = "Admin";
  76.  
  77.  
  78. -- FREE ADMIN
  79. FreeAdmin = "NonAdmin";
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88. --------------| BANLAND |--------------
  89. Banned = {"",0};
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98. --------------| SYSTEM SETTINGS |--------------
  99. Prefix              = ";";          -- The character you use before every command (e.g. ';jump me').
  100. SplitKey            = " ";          -- The character inbetween command arguments (e.g. setting it to '/' would change ';jump me' to ';jump/me').
  101. BatchKey            = "";           -- The character inbetween batch commands (e.g. setting it to '|' would change ';jump me ;fire me ;smoke me' to ';jump me | ;fire me | ;smoke me'
  102. QualifierBatchKey   = ",";          -- The character used to split up qualifiers (e.g. ;jump player1,player2,player3)
  103.  
  104. Theme               = "Bean";       -- The default UI theme.
  105. NoticeSoundId       = 2865227271;   -- The SoundId for notices.
  106. NoticeVolume        = 0.1;          -- The Volume for notices.
  107. NoticePitch         = 1;            -- The Pitch/PlaybackSpeed for notices.
  108. ErrorSoundId        = 2865228021;   -- The SoundId for error notifications.
  109. ErrorVolume         = 0.1;          -- The Volume for error notifications.
  110. ErrorPitch          = 1;            -- The Pitch/PlaybackSpeed for error notifications.
  111. AlertSoundId        = 9161622880;   -- The SoundId for alerts.
  112. AlertVolume         = 0.5;          -- The Volume for alerts.
  113. AlertPitch          = 1;            -- The Pitch/PlaybackSpeed for alerts.
  114.  
  115. WelcomeBadgeId      = 0;            -- Award new players a badge, such as 'Welcome to the game!'. Set to 0 for no badge.
  116.  
  117. CommandDebounce     = true;         -- Wait until the command effect is over to use again. Helps to limit abuse & lag. Set to 'false' to disable.
  118. SaveRank            = true;         -- Saves a player's rank in the server they received it. (e.g. ;rank plrName rank). Use ';permRank plrName rank' to permanently save a rank. Set to 'false' to disable.
  119. LoopCommands        = 3;            -- The minimum rank required to use LoopCommands.
  120. MusicList           = {};   -- Songs which automatically appear in a user's radio. Type '!radio' to display the radio.
  121.  
  122. ThemeColors = {                     -- The colours players can set their HD Admin UI (in the 'Settings' menu). | Format: {ThemeName, ThemeColor3Value};
  123.     {"Red",     Color3.fromRGB(150, 0, 0),      };
  124.     {"Orange",  Color3.fromRGB(150, 75, 0),     };
  125.     {"Brown",   Color3.fromRGB(120, 80, 30),    };
  126.     {"Yellow",  Color3.fromRGB(130, 120, 0),    };
  127.     {"Green",   Color3.fromRGB(0, 120, 0),      };
  128.     {"Blue",    Color3.fromRGB(0, 100, 150),    };
  129.     {"Purple",  Color3.fromRGB(100, 0, 150),    };
  130.     {"Pink",    Color3.fromRGB(150, 0, 100),    };
  131.     {"Black",   Color3.fromRGB(60, 60, 60),     };
  132.     {"Bean", Color3.fromRGB(64,64,123), };
  133. };
  134.  
  135. Colors = {                          -- The colours for ChatColors and command arguments. | Format: {"ShortName", "FullName", Color3Value};
  136.     {"r",       "Red",              Color3.fromRGB(255, 0, 0)       };
  137.     {"o",       "Orange",           Color3.fromRGB(250, 100, 0)     };
  138.     {"y",       "Yellow",           Color3.fromRGB(255, 255, 0)     };
  139.     {"g",       "Green" ,           Color3.fromRGB(0, 255, 0)       };
  140.     {"dg",      "DarkGreen" ,       Color3.fromRGB(0, 125, 0)       };
  141.     {"b",       "Blue",             Color3.fromRGB(0, 255, 255)     };
  142.     {"db",      "DarkBlue",         Color3.fromRGB(0, 50, 255)      };
  143.     {"p",       "Purple",           Color3.fromRGB(150, 0, 255)     };
  144.     {"pk",      "Pink",             Color3.fromRGB(255, 85, 185)    };
  145.     {"bk",      "Black",            Color3.fromRGB(0, 0, 0)         };
  146.     {"w",       "White",            Color3.fromRGB(255, 255, 255)   };
  147.     {"bean",            "Bean",            Color3.fromRGB(64,64,123), };
  148. };
  149. ChatColors = {                      -- The colour a player's chat will appear depending on their rank. '["Owner"] = "Yellow";' makes the owner's chat yellow.
  150.     [10]        = "Yellow";
  151.     [9] = "Yellow";
  152.     [8] = "Orange";
  153.     [7] = "Orange";
  154.     [6] = "Orange";
  155.     [5] = "DarkBlue";
  156.     [4.5] = "DarkBlue";
  157.     [4] = "DarkBlue";
  158.     [3.99] = "Blue";
  159.     [3.6] = "Blue";
  160.     [3.3] = "Blue";
  161. };
  162.  
  163. Cmdbar                      = 1;            -- The minimum rank required to use the Cmdbar.
  164. Cmdbar2                     = 1;            -- The minimum rank required to use the Cmdbar2.
  165. ViewBanland                 = 4.8;          -- The minimum rank required to view the banland.
  166. OnlyShowUsableCommands      = true;     -- Only display commands equal to or below the user's rank on the Commands page.
  167. RankRequiredToViewPage      = {             -- || The pages on the main menu ||
  168.     ["Commands"]        = 1;
  169.     ["Admin"]           = 1;
  170.     ["Settings"]        = 1;
  171. };
  172. RankRequiredToViewRank      = {             -- || The rank categories on the 'Ranks' subPage under Admin ||
  173.     ["The Dark Matter Sourcerer"] = 999;
  174.     ["Owner"]           = 0;
  175.     ["HeadAdmin"]       = 0;
  176.     ["Admin"]           = 0;
  177.     ["Mod"]             = 0;
  178.     ["VIP"]             = 0;
  179. };
  180. RankRequiredToViewRankType  = {             -- || The collection of loader-rank-rewarders on the 'Ranks' subPage under Admin ||
  181.     ["Owner"]           = 0;
  182.     ["SpecificUsers"]   = 10;
  183.     ["Gamepasses"]      = 1;
  184.     ["Assets"]          = 0;
  185.     ["Groups"]          = 10;
  186.     ["Friends"]         = 5;
  187.     ["FreeAdmin"]       = 0;
  188.     ["VipServerOwner"]  = 0;
  189. };
  190. RankRequiredToViewIcon      = 1;
  191.  
  192. WelcomeRankNotice           = true;         -- The 'You're a [rankName]' notice that appears when you join the game. Set to false to disable.
  193. WelcomeDonorNotice          = false;            -- The 'You're a Donor' notice that appears when you join the game. Set to false to disable.
  194. WarnIncorrectPrefix         = true;         -- Warn the user if using the wrong prefix | "Invalid prefix! Try using [correctPrefix][commandName] instead!"
  195. DisableAllNotices           = false;        -- Set to true to disable all HD Admin notices.
  196.  
  197. ScaleLimit                  = 1.25;         -- The maximum size players with a rank lower than 'IgnoreScaleLimit' can scale theirself. For example, players will be limited to ;size me 4 (if limit is 4) - any number above is blocked.
  198. IgnoreScaleLimit            = 4.5;          -- Any ranks equal or above this value will ignore 'ScaleLimit'
  199. CommandLimits               = {             -- Enables you to set limits for commands which have a number argument. Ranks equal to or higher than 'IgnoreLimit' will not be affected by Limit.
  200.     ["fly"] = {
  201.         Limit               = 50;
  202.         IgnoreLimit         = 4.5;
  203.     };
  204.     ["fly2"]    = {
  205.         Limit               = 50;
  206.         IgnoreLimit         = 4.5;
  207.     };
  208.     ["noclip"]  = {
  209.         Limit               = 50;
  210.         IgnoreLimit         = 4.5;
  211.     };
  212.     ["noclip2"] = {
  213.         Limit               = 50;
  214.         IgnoreLimit         = 4.5;
  215.     };
  216.     ["speed"]   = {
  217.         Limit               = 100;
  218.         IgnoreLimit         = 4.5;
  219.     };
  220.     ["jumpPower"]   = {
  221.         Limit               = 120;
  222.         IgnoreLimit         = 4.5;
  223.     };
  224. };
  225.  
  226. VIPServerCommandBlacklist   = {"permRank", "permBan", "globalAnnouncement"};    -- Commands players are probihited from using in VIP Servers.
  227. GearBlacklist               = {67798397};   -- The IDs of gear items to block when using the ;gear command.
  228. IgnoreGearBlacklist         = 4;            -- The minimum rank required to ignore the gear blacklist.
  229.  
  230. PlayerDataStoreVersion      = "V1.0";       -- Data about the player (i.e. permRanks, custom settings, etc). Changing the Version name will reset all PlayerData.
  231. SystemDataStoreVersion      = "V1.0";       -- Data about the game (i.e. the banland, universal message system, etc). Changing the Version name will reset all SystemData.
  232.  
  233. CoreNotices                 = {             -- Modify core notices. You can find a table of all CoreNotices under [MainModule > Client > SharedModules > CoreNotices]
  234.     --NoticeName = NoticeDetails;
  235. };
  236.  
  237.  
  238.  
  239.  
  240. --------------| MODIFY COMMANDS |--------------
  241. SetCommandRankByName = {
  242.     ["jump"] = "Admin";
  243.     ["prank"] = "Best Developer";
  244.     ["shutdown"] = "Jr Developer";
  245.     ["serverlock"] = "Developer";
  246.     ["ban"] = "Jr Developer";
  247.     ["unrank"] = "Best Developer";
  248.     ["rank"] = "Best Friends";
  249.     ["temprank"] = "Best Friends";
  250.     ["btools"] = "Ultimate Admin";
  251.     ["savemap"] = "Ultimate Admin";
  252.     ["unlockmap"] = "Best Developer";
  253.     ["lockmap"] = "Ultimate Admin";
  254.     ["give"] = "Developer";
  255.     ["sword"] = "Head Admin";
  256.     ["ga"] = "Developer";
  257.     ["place"] = "Super Mod";
  258.     ["globalforceplace"] = "Supreme-Owner";
  259.     ["globalplace"] = "Best Developer";
  260.     ["Fly"] = "Jr Developer";
  261.     ["Fly2"] = "Developer";
  262.     ["Noclip"] = "Jr Developer";
  263.     ["Noclip2"] = "Developer";
  264.     ["Punish"] = "Developer";
  265.     ["Kill"] = "Best Friends";
  266.     ["Explode"] = "Best Friends";
  267.     ["Damage"] = "Head Admin";
  268.     ["forceplace"] = "Developer";
  269.     ["shint"] = "Basic Commands";
  270.     ["gear"] = "Best Friends";
  271.     ["clip"] = "Developer";
  272.     ["fling"] = "Best Friends";
  273.     ["health"] = "Admin";
  274.     ["Sell"] = "Developer";
  275.     ["Sell2"] = "Developer";
  276.     ["Add"] = "Co-Owner";
  277.     ["subtract"] = "Co-Owner";
  278.     ["resetstats"] = "Co-Owner";
  279.     ["change"] = "Developer";
  280.     ["mute"] = "Developer";
  281.     ["createteam"] = "Freddy Feeder";
  282.     ["team"] = "Freddy Feeder";
  283.     ["Jail"] = "Super Admin";
  284.     ["Spin"] = "Mod";
  285.     ["Morph"] = "Mod";
  286.     ["Volume"] = "Developer";
  287.     ["Pitch"] = "Developer";
  288.     ["poll"] = "Super Admin";
  289.     ["fogend"] = "Developer";
  290.     ["Fogstart"] = "Developer";
  291.     ["warn"] = "Developer";
  292.     ["n"] = "Developer";
  293.     ["Clone"] = "Jr Mod";
  294.     ["Clear"] = "Basic Commands";
  295.     ["tp"] = "Supreme-Owner";
  296.     ["bring"] = "Supreme-Owner";
  297.     ["control"] = "Super Admin";
  298.     ["bchat"] = "Supreme-Owner";
  299.     ["insert"] = "Supreme-Owner";
  300.     ["crash"] = "Supreme-Owner";
  301.     ["gat"] = "Supreme-Owner";
  302.     ["gv"] = "Supreme-Owner";
  303.     ["tban"] = "Hunting The Abuser";
  304.     ["dban"] = "Jr Developer";
  305.     ["Pban"] = "Jr Developer";
  306.     ["uncontrol"] = "User";
  307. }; 
  308. SetCommandRankByTag = {
  309.     --["abusive"] = "Admin";
  310. };
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement