Advertisement
Guest User

ADONIS ADMIN - GLOBAL

a guest
Apr 14th, 2023
1,351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 35.43 KB | Source Code | 0 0
  1. ----------------------------------------------
  2. ---     Scroll down for settings           ---
  3. --- Do not alter the three variables below ---
  4. ----------------------------------------------
  5. local settings = {};        --// The settings table which contains all settings
  6. local Settings = settings;  --// For custom commands that use 'Settings' rather than the lowercase 'settings'
  7. local descs = {};           --// Contains settings descriptions
  8. ----------------------------------------------
  9.  
  10. --------------
  11. -- SETTINGS --
  12. --------------
  13.                                                                                                                                                                                                                                                                                 --[[
  14.  
  15.     --// Basic Luau Info
  16.  
  17.         This is only here to help you when editing settings so you understand how they work
  18.         and don't break something.
  19.  
  20.         Incase you don't know what Luau is; Luau is the scripting language Roblox uses...
  21.         so every script you see (such as this one) and pretty much any code on Roblox is
  22.         written in Luau.
  23.  
  24.         Anything that looks like {} is known as a table.
  25.         Tables contain things, like the Luau version of a box.
  26.         An example of a table would be setting = {"John", "Mary", "Bill"}
  27.         You can have tables inside of tables, such in the case of setting = {{Group = 1234, Rank = 123, Type = "Admin"}}
  28.         Just like real boxes, tables can contain pretty much anything including other tables.
  29.  
  30.         Note: Commas (,) as well as semicolons (;) can both be used to separate things inside a table.
  31.  
  32.         Anything that looks like "Bob" is what's known as a string. Strings
  33.         are basically plain text; setting = "Bob" would be correct however
  34.         setting = Bob would not; because if it's not surrounded by quotes Luau will think
  35.         that Bob is a variable; Quotes indicate something is a string and therefor not a variable/number/code
  36.  
  37.         Numbers do not use quotes. setting = 56
  38.  
  39.         This green block of text you are reading is called a comment. It's like a message
  40.         from the programmer to anyone who reads their stuff. Anything in a comment will
  41.         not be seen by Luau when the script is run.
  42.  
  43.  
  44.  
  45.         --// Settings [READ IF CONFUSED]
  46.  
  47.         If you see something like "Format: 'Username:UserId'" it means that anything you put
  48.         in that table must follow one of the formats next to Format:
  49.  
  50.         For instance if I wanted to give admin to a player using their username, userId, a group they are in
  51.         or an item they own I would do the following with the settings.Admins table:
  52.  
  53.         The format for the Admins' table's entries is "Username"; or "Username:UserId"; or UserId; or "Group:GroupId:GroupRank" or "Item:ItemID"
  54.         This means that if I want to admin Bobjenkins123 who has a userId of 1234567, is in
  55.         group "BobFans" (group ID 7463213) under the rank number 234, or owns the item belonging to ID 1237465
  56.         I can do any of the following:
  57.  
  58.         settings.Admins = {"Bobjenkins123", "Bobjenkins123:1234567", 1234567, "Group:BobFans:7463213:234", "Item:1237465"}
  59.  
  60.  
  61.         If I wanted to make it so rank 134 in group 1029934 and BobJenkins123 had mod admin I would do
  62.         settings.Moderators = {"Group:1029943:134", "BobJenkins123"}
  63.  
  64.  
  65.         I was going to change the admin rank stuff but I figured it would confuse people too much, so I left it as mods/admins/HeadAdmins ;p
  66.  
  67.  
  68.         --// Admins
  69.  
  70.             settings.Moderators = {"Sceleratis"; "BobJenkins:1237123"; 1237666; "Group:181:255"; "Item:1234567"}
  71.                 This will make the person with the username Sceleratis, or the name BobJenkins, or the ID 1237123 OR 123766,
  72.                    or is in group 181 in the rank 255, or owns the item belonging to the ID 1234567 a moderator
  73.  
  74.                 If I wanted to give the rank 121 in group 181 Owner admin I would do:
  75.                    settings.HeadAdmins = {"Group:181:121"}
  76.                    See? Not so hard is it?
  77.  
  78.                 If I wanted to add group 181 and all ranks in it to the :slock whitelist I would do;
  79.                     settings.Whitelist = {"Group:181";}
  80.  
  81.                 I can do the above if I wanted to give everyone in a group admin for any of the other admin tables
  82.  
  83.  
  84.  
  85.         --// Command Permissions
  86.  
  87.             You can set the permission level for specific commands using setting.Permissions
  88.             If I wanted to make it so only HeadAdmins+ can use :ff player then I would do:
  89.  
  90.                 settings.Permissions = {"ff:HeadAdmins"}
  91.  
  92.                 ff is the Command ":ff scel" and HeadAdmins is the NewLevel
  93.  
  94.                 Built-In Permissions Levels:
  95.                     Players - 0
  96.                     Moderators - 100
  97.                     Admins - 200
  98.                     HeadAdmins - 300
  99.                     Creators - 900
  100.  
  101.                 Note that when changing command permissions you MUST include the prefix;
  102.                 So if you change the prefix to $ you would need to do $ff instead of :ff
  103.  
  104.  
  105.         --// Trello
  106.  
  107.             The Trello abilities of the script allow you to manage lists and permissions via
  108.             a Trello board; The following will guide you through the process of setting up a board;
  109.  
  110.                 1. Sign up for an account at http://trello.com
  111.                 2. Create a new board
  112.                     http://prntscr.com/b9xljn
  113.                     http://prntscr.com/b9xm53
  114.                 3. Get the board ID;
  115.                     http://prntscr.com/b9xngo
  116.                 4. Set settings.Trello_Primary to your board ID
  117.                 5. Set settings.Trello.Enabled to true
  118.                 6. Congrats! The board is ready to be used;
  119.                 7. Create a list and add cards to it;
  120.                     http://prntscr.com/b9xswk
  121.  
  122.                 - You can view lists in-game using :viewlist ListNameHere
  123.  
  124.             Lists:
  125.                 Moderators          - Card Format: Same as settings.Moderators
  126.                 Admins              - Card Format: Same as settings.Admins
  127.                 HeadAdmins              - Card Format: Same as settings.HeadAdmins
  128.                 Creators            - Card Format: Same as settings.Creators
  129.                 Banlist             - Card Format: Same as settings.Banned
  130.                 Mutelist            - Card Format: Same as settings.Muted
  131.                 Blacklist           - Card Format: Same as settings.Blacklist
  132.                 Whitelist           - Card Format: Same as settings.Whitelist
  133.                 Permissions         - Card Format: Same as settings.Permissions
  134.                 Music               - Card Format: SongName:AudioID
  135.                 Commands            - Card Format: Command  (eg. :ff bob)
  136.  
  137.             Card format refers to how card names should look
  138.  
  139.  
  140.             MAKE SURE YOU SET settings.DataStoreKey TO SOMETHING ABSOLUTELY RANDOM.
  141.                                                                                                                                                                                                                                                                                                     --]]
  142.  
  143. settings.HideScript = true                       -- When the game starts the Adonis_Loader model will be hidden so other scripts cannot access the settings module; Disable if your game uses AssetService:SavePlaceAsync()
  144. settings.DataStore = "HORIZON_NEW1"                  -- DataStore the script will use for saving data; Changing this will lose any saved data
  145. settings.DataStoreKey = "CHANGE_THIS"            -- CHANGE THIS TO SOMETHING RANDOM! Key used to encrypt all datastore entries; Changing this will lose any saved data
  146. settings.DataStoreEnabled = true                 -- Disable if you don't want to load settings and admins from the datastore; PlayerData will still save
  147. settings.LocalDatastore = false              -- If this is turned on, a mock DataStore will forcibly be used instead and shall never save across servers
  148.  
  149. settings.Storage = game:GetService("ServerStorage") -- Where things like tools are stored
  150. settings.RecursiveTools = false                  -- Whether tools included in subcontainers within settings.Storage are available via the :give command (useful if your tools are organized into multiple folders)
  151.  
  152. settings.Theme = "Rounded"              -- UI theme;
  153. settings.MobileTheme = "Mobilius"       -- Theme to use on mobile devices; Some UI elements are disabled
  154. settings.DefaultTheme = "Default" -- Theme to be used as a replacement for "Default". The new replacement theme can still use "Default" as its Base_Theme however any other theme which references "Default" as its redirects to this theme.
  155.  
  156.                                                                                                                                                                                                                                                                                                                                                 --[[
  157.     **HOW TO ADD ADMINISTRATORS:**
  158.         Below are the administrator permission levels/ranks (Mods, Admins, HeadAdmins, Creators, StuffYouAdd, etc)
  159.         Simply place users into the respective "Users" table for whatever level/rank you want to give them.
  160.  
  161.         Format Example:
  162.             settings.Ranks = {
  163.                 ["Moderators"] = {
  164.                     Level = 100;
  165.                     Users = {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";}
  166.                 }
  167.             }
  168.  
  169.         If you use custom ranks, existing custom ranks will be imported with a level of 1.
  170.         Add all new CustomRanks to the table below with the respective level you want them to be.
  171.  
  172.     NOTE: Changing the level of built in ranks (Moderators, Admins, HeadAdmins, Creators)
  173.                 will also change the permission level for any built-in commands associated with that rank.                                                                                                                                              -           -]]
  174.  
  175. settings.Ranks = {
  176.     ["Low-Rank"] = {
  177.         Level = 100;
  178.         Users = {
  179.             "Group:14196219:100";
  180.             "Group:14196219:101";  
  181.         };
  182.     };
  183.  
  184.     ["Senior Staff"] = {
  185.         Level = 200;
  186.         Users = {
  187.            
  188.             "Group:14196219:110";
  189.         };
  190.     };
  191.  
  192.     ["Managers"] = {
  193.         Level = 300;
  194.         Users = {
  195.             "Group:14196219:140";
  196.             "Group:14196219:150";
  197.             "Group:14196219:154";
  198.             "Group:14196219:155";
  199.             --// Add users here
  200.         };
  201.     };
  202.    
  203.     ["Human Resources Managers"] = {
  204.         Level = 400;
  205.         Users = {
  206.             "Group:14196219:170";
  207.             --// Add users here
  208.         };
  209.     };
  210.    
  211.     ["Senior High Rank"] = {
  212.         Level = 700;
  213.         Users = {
  214.             "Group:14196219:250";
  215.             "Group:14196219:251";
  216.             "Group:14196219:252";
  217.             "Group:14196219:253";
  218.             --// Add users here
  219.         };
  220.     };
  221.    
  222.     ["Senior Leadership Team"] = {
  223.         Level = 900; --// Anything 900 or higher will be considered a creator and will bypass all perms & be allowed to edit settings in-game.
  224.         Users = {
  225.             "Group:14196219:253";
  226.             --// Add users here (Also, don't forget quotations and all that)
  227.         };
  228.     };
  229.    
  230.     ["Chairmen"] = {
  231.         Level = 1000; --// Anything 900 or higher will be considered a creator and will bypass all perms & be allowed to edit settings in-game.
  232.         Users = {
  233.             "Group:14196219:254";
  234.             "Group:14196219:255";
  235.             --// Add users here (Also, don't forget quotations and all that)
  236.         };
  237.     };
  238. };
  239.  
  240. --// Use the below table to set command permissions; Commented commands are included for example purposes
  241. settings.Permissions = {
  242.     -- "ff:HeadAdmins"; --// Changes :ff to HeadAdmins and higher (HeadAdmins = Level 300 by default)
  243.     -- "kill:300"; --// Changes :kill to level 300 and higher (Level 300 = HeadAdmins by default)
  244.     -- "ban:200,300" --// Makes it so :ban is only usable by levels 200 and 300 specifically (nothing higher or lower or in between)
  245. };  -- Format: {"Command:NewLevel"; "Command:Customrank1,Customrank2,Customrank3";}
  246.  
  247. --// Use the below table to define "pre-set" command aliases
  248. --// Command aliases; Format: {[":alias <arg1> <arg2> ..."] = ":command <arg1> <arg2> ..."}
  249. settings.Aliases = {
  250.     [":examplealias <player> <fireColor>"] = ":ff <player> | :fling <player> | :fire <player> <fireColor>" --// Order arguments appear in alias string determines their required order in the command message when ran later
  251. };
  252.  
  253. settings.Banned = {}        -- List of people banned from the game        Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";}
  254. settings.Muted = {}         -- List of people muted (cannot send chat messages)                       Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";}
  255. settings.Blacklist = {}     -- List of people banned from running commands    Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";}
  256. settings.Whitelist = {}     -- People who can join if whitelist enabled   Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID"; "GamePass:GamePassID";}
  257.  
  258. settings.MusicList = {}     -- List of songs to appear in the :musiclist      Format: {{Name = "somesong", ID = 1234567}, {Name = "anotherone", ID = 1243562}}
  259. settings.CapeList = {}      -- List of capes                              Format: {{Name = "somecape", Material = "Fabric", Color = "Bright yellow", ID = 12345567, Reflectance = 1}; {etc more stuff here}}
  260. settings.InsertList = {}    -- List of models to appear in the :insertlist and can be inserted using ':insert <name>'     Format: {{Name = "somemodel", ID = 1234567}; {Name = "anotherone", ID = 1243562}}
  261.  
  262. settings.OnStartup = {}     -- List of commands ran at server start                             Format: {":notif TestNotif"}
  263. settings.OnJoin = {}        -- List of commands ran as player on join (ignores adminlevel)      Format: {":cmds"}
  264. settings.OnSpawn = {}       -- List off commands ran as player on spawn (ignores adminlevel)    Format: {"!fire Really red",":ff me"}
  265.  
  266. settings.SaveAdmins = true        -- If true anyone you :admin or :headadmin in-game will save
  267. settings.LoadAdminsFromDS = true  -- If false, any admins saved in your DataStores will not load
  268. settings.WhitelistEnabled = false -- If true enables the whitelist/server lock; Only lets admins & whitelisted users join
  269.  
  270. settings.Prefix = ":"               -- The : in :kill me
  271. settings.PlayerPrefix = "!"         -- The ! in !donate; Mainly used for commands that any player can run; Do not make it the same as settings.Prefix
  272. settings.SpecialPrefix = ""         -- Used for things like "all", "me" and "others" (If changed to ! you would do :kill !me)
  273. settings.SplitKey = " "             -- The space in :kill me (eg if you change it to / :kill me would be :kill/me)
  274. settings.BatchKey = "|"             -- :kill me | :ff bob | :explode scel
  275. settings.ConsoleKeyCode = "Quote"   -- Keybind to open the console; Rebindable per player in userpanel; KeyCodes: https://developer.roblox.com/en-us/api-reference/enum/KeyCode
  276.  
  277. --// Easily add new custom commands below (without needing to create a plugin module)
  278. --// You can also use this to overwrite existing commands if you know the command's index (found in the command's respective module within the Adonis MainModule)
  279. settings.Commands = {
  280.     ExampleCommand1 = {                             --// The index & table of the command
  281.         Prefix = Settings.Prefix;               --// The prefix the command will use, this is the ':' in ':ff me'
  282.         Commands = {"examplecommand1", "examplealias1", "examplealias2"};   --// A table containing the command strings (the things you chat in-game to run the command, the 'ff' in ':ff me')
  283.         Args = {"arg1", "arg2", "etc"}; --// Command arguments, these will be available in order as args[1], args[2], args[3], etc; This is the 'me' in ':ff me'
  284.         Description = "Example command";--// The description of the command
  285.         AdminLevel = 100; -- Moderators --// The commands minimum admin level; This can also be a table containing specific levels rather than a minimum level: {124, 152, "HeadAdmins", etc};
  286.         -- Alternative option: AdminLevel = "Moderators"
  287.         Filter = true;                                  --// Should user supplied text passed to this command be filtered automatically? Use this if you plan to display a user-defined message to other players
  288.         Hidden = true;                                  --// Should this command be hidden from the command list?
  289.         Disabled = true;                                --// If set to true this command won't be usable.
  290.         Function = function(plr: Player, args: {string}, data)  --// The command's function; This is the actual code of the command which runs when you run the command
  291.             --// "plr" is the player running the command
  292.             --// "args" is an array of strings containing command arguments supplied by the user
  293.             --// "data" is a table containing information related to the command and the player running it, such as data.PlayerData.Level (the player's admin level) [Refer to API docs]
  294.             print("This is 'arg1':", tostring(args[1]))
  295.             print("This is 'arg2':", tostring(args[2]))
  296.             print("This is 'etc'(arg 3):", tostring(args[3]))
  297.             error("this is an example error :o !") --// Errors raised in the function during command execution will be displayed to the user.
  298.         end
  299.     };
  300. }
  301.  
  302. settings.CommandCooldowns = {
  303. --[[
  304.     REFERENCE:
  305.         command_full_name: The name of a command (e.g. :cmds)
  306.  
  307.     [command_full_name] = {
  308.         Player = 0;
  309.         Server = 0;
  310.         Cross = 0;
  311.     }
  312. ]] 
  313. }
  314.  
  315. settings.HttpWait = 60                  -- How long things that use the HttpService will wait before updating again
  316. settings.Trello_Enabled = false         -- Are the Trello features enabled?
  317. settings.Trello_Primary = ""            -- Primary Trello board
  318. settings.Trello_Secondary = {}          -- Secondary Trello boards (read-only)      Format: {"BoardID";"BoardID2","etc"}
  319. settings.Trello_AppKey = ""             -- Your Trello AppKey                           Link: https://trello.com/app-key
  320. settings.Trello_Token = ""              -- Trello token (DON'T SHARE WITH ANYONE!)    Link: https://trello.com/1/connect?name=Trello_API_Module&response_type=token&expires=never&scope=read,write&key=YOUR_APP_KEY_HERE
  321. settings.Trello_HideRanks = false       -- If true, Trello-assigned ranks won't be shown in the admins list UI (accessed via :admins)
  322.  
  323. settings.G_API = true                   -- If true allows other server scripts to access certain functions described in the API module through _G.Adonis
  324. settings.G_Access = false               -- If enabled allows other scripts to access Adonis using _G.Adonis.Access; Scripts will still be able to do things like _G.Adonis.CheckAdmin(player)
  325. settings.G_Access_Key = "Example_Key"   -- Key required to use the _G access API; Example_Key will not work for obvious reasons
  326. settings.G_Access_Perms = "Read"        -- Access perms
  327. settings.Allowed_API_Calls = {
  328.     Client = false;             -- Allow access to the Client (not recommended)
  329.     Settings = false;           -- Allow access to settings (not recommended)
  330.     DataStore = false;          -- Allow access to the DataStore (not recommended)
  331.     Core = false;               -- Allow access to the script's core table (REALLY not recommended)
  332.     Service = false;            -- Allow access to the script's service metatable
  333.     Remote = false;             -- Communication table
  334.     HTTP = false;               -- HTTP related things like Trello functions
  335.     Anti = false;               -- Anti-Exploit table
  336.     Logs = false;
  337.     UI = false;                 -- Client UI table
  338.     Admin = false;              -- Admin related functions
  339.     Functions = false;          -- Functions table (contains functions used by the script that don't have a subcategory)
  340.     Variables = true;           -- Variables table
  341.     API_Specific = true;        -- API Specific functions
  342. }
  343.  
  344. settings.FunCommands = true             -- Are fun commands enabled?
  345. settings.PlayerCommands = false         -- Are player-level utility commands enabled?
  346. settings.CommandFeedback = false        -- Should players be notified when commands with non-obvious effects are run on them?
  347. settings.CrossServerCommands = true     -- Are commands which affect more than one server enabled?
  348. settings.ChatCommands = true            -- If false you will not be able to run commands via the chat; Instead you MUST use the console or you will be unable to run commands
  349. settings.CreatorPowers = true           -- Gives me creator level admin; This is strictly used for debugging; I can't debug without full access to the script
  350. settings.CodeExecution = true           -- Enables the use of code execution in Adonis; Scripting related (such as :s) and a few other commands require this
  351. settings.SilentCommandDenials = false   -- If true, there will be no differences between the error messages shown when a user enters an invalid command and when they have insufficient permissions for the command
  352.  
  353. settings.BanMessage = "Banned"              -- Message shown to banned users upon kick
  354. settings.LockMessage = "Not Whitelisted"    -- Message shown to people when they are kicked while the game is :slocked
  355. settings.SystemTitle = "System Message"     -- Title to display in :sm and :bc
  356.  
  357. settings.MaxLogs = 5000         -- Maximum logs to save before deleting the oldest
  358. settings.SaveCommandLogs = true -- If command logs are saved to the datastores
  359. settings.Notification = true    -- Whether or not to show the "You're an admin" and "Updated" notifications
  360. settings.SongHint = true        -- Display a hint with the current song name and ID when a song is played via :music
  361. settings.TopBarShift = false    -- By default hints and notifs will appear from the top edge of the window, this is acheived by offsetting them by -35 into the transparent region where roblox buttons menu/chat/leaderstat buttons are. Set this to true if you don't want hints/notifs to appear in that region.
  362. settings.Messages = {}          -- A list of notification messages to show HeadAdmins and above on join
  363. settings.AutoClean = false      -- Will auto clean workspace of things like hats and tools
  364. settings.AutoCleanDelay = 60    -- Time between auto cleans
  365. settings.AutoBackup = false     -- Run :backupmap automatically when the server starts. To restore the map, run :restoremap
  366.  
  367. settings.Console = true             -- Whether the command console is enabled
  368. settings.Console_AdminsOnly = false -- If true, only admins will be able to access the console
  369.  
  370. settings.HelpSystem = false     -- Allows players to call admins for help using !help
  371. settings.HelpButton = false     -- Shows a little help button in the bottom right corner.
  372. settings.HelpButtonImage = "rbxassetid://357249130" -- Sets the image used for the Adonis help button above.
  373.  
  374. settings.DonorCapes = false         -- Donors get to show off their capes; Not disruptive :)
  375. settings.DonorCommands = false  -- Show your support for the script and let donors use harmless commands like !sparkles
  376. settings.LocalCapes = false     -- Makes Donor capes local so only the donors see their cape [All players can still disable capes locally]
  377.  
  378. settings.Detection = true           -- Attempts to detect certain known exploits
  379. settings.CheckClients = true        -- Checks clients every minute or two to make sure they are still active
  380.  
  381. settings.ExploitNotifications = true        -- Notify all moderators and higher ups when a player is kicked or crashed from the AntiExploit
  382. settings.CharacterCheckLogs = false     -- If the character checks appear in exploit logs and exploit notifications
  383. settings.AntiNoclip = false         -- Attempts to detect noclipping and kills the player if found
  384. settings.AntiRootJointDeletion = false      -- Attempts to detect paranoid and kills the player if found
  385. settings.AntiHumanoidDeletion = false -- (Very important) Prevents invalid humanoid deletion. Un-does the deletion and kills the player
  386. settings.AntiMultiTool = false -- Prevents multitooling and because of that many other exploits
  387. settings.AntiGod = false -- If a player does not respawn when they should have they get respawned
  388. settings.AntiSpeed = true           -- (Client-Sided) Attempts to detect speed exploits
  389. settings.AntiBuildingTools = false  -- (Client-Sided) Attempts to detect any HopperBin(s)/Building Tools added to the client
  390. settings.AntiClientIdle = false         -- (Client-Sided) Kick the player if they are using an anti-idle exploit
  391. settings.ProtectHats = false                -- Prevents hats from being un-welded from their characters through unnormal means
  392.  
  393. ---------------------
  394. -- END OF SETTINGS --
  395. ---------------------
  396.  
  397. --// Setting descriptions used for the in-game settings editor;
  398.  
  399. descs.HideScript = [[ Disable if your game saves; When the game starts the Adonis_Loader model will be hidden so other scripts cannot access the settings module ]]
  400. descs.DataStore = [[ DataStore the script will use for saving data; Changing this will lose any saved data ]]
  401. descs.DataStoreKey = [[ Key used to encode all datastore entries; Changing this will lose any saved data ]]
  402. descs.DataStoreEnabled = [[ Disable if you don't want settings and admins to be saveable in-game; PlayerData will still save ]]
  403. descs.LocalDatastore = [[ If this is turned on, a mock DataStore will forcibly be used instead and shall never save across servers ]]
  404.  
  405. descs.Storage = [[ Where things like tools are stored ]]
  406. descs.RecursiveTools = [[ Whether tools included in subcontainers within settings.Storage are available via the :give command (useful if your tools are organized into multiple folders) ]]
  407.  
  408. descs.Theme = [[ UI theme; ]]
  409. descs.MobileTheme = [[ Theme to use on mobile devices; Mobile themes are optimized for smaller screens; Some GUIs are disabled ]]
  410. descs.DefaultTheme = [[ Theme to be used as a replacement for "Default". The new replacement theme can still use "Default" as its Base_Theme however any other theme which references "Default" as its redirects to this theme. ]]
  411.  
  412. descs.Ranks = [[ All admin permission level ranks; ]];
  413. descs.Moderators = [[ Mods; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  414. descs.Admins = [[ Admins; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  415. descs.HeadAdmins = [[ Head Admins; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  416. descs.Creators = [[ Anyone to be identified as a place owner; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  417.  
  418. descs.Permissions = [[ Command permissions; Format: {"Command:NewLevel";} ]]
  419. descs.Aliases = [[ Command aliases; Format: {[":alias <arg1> <arg2> ..."] = ":command <arg1> <arg2> ..."} ]]
  420.  
  421. descs.Commands = [[ Custom commands ]]
  422. descs.Banned = [[ List of people banned from the game; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  423. descs.Muted = [[ List of people muted; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  424. descs.Blacklist = [[ List of people banned from using admin; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}    ]]
  425. descs.Whitelist = [[ People who can join if whitelist enabled; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  426. descs.MusicList = [[ List of songs to appear in the script; Format: {{Name = "somesong",ID = 1234567},{Name = "anotherone",ID = 1243562}} ]]
  427. descs.CapeList = [[ List of capes; Format: {{Name = "somecape",Material = "Fabric",Color = "Bright yellow",ID = 12345567,Reflectance = 1},{etc more stuff here}} ]]
  428. descs.InsertList = [[ List of models to appear in the script; Format: {{Name = "somemodel",ID = 1234567},{Name = "anotherone",ID = 1243562}} ]]
  429. descs.CustomRanks = [[ List of custom AdminLevel ranks            Format: {RankName = {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";};} ]]
  430.  
  431. descs.OnStartup = [[ List of commands ran at server start                               Format: {":notif TestNotif"} ]]
  432. descs.OnJoin = [[ List of commands ran as player on join (ignores adminlevel)       Format: {":cmds"} ]]
  433. descs.OnSpawn = [[ List off commands ran as player on spawn (ignores adminlevel)    Format: {"!fire Really red",":ff me"} ]]
  434.  
  435. descs.SaveAdmins = [[ If true anyone you :mod, :admin, or :headadmin in-game will save]]
  436. descs.LoadAdminsFromDS = [[ If false, any admins saved in your DataStores will not load ]]
  437. descs.WhitelistEnabled = [[ If true enables the whitelist/server lock; Only lets admins & whitelisted users join ]]
  438.  
  439. descs.Prefix = [[ The : in :kill me ]]
  440. descs.PlayerPrefix = [[ The ! in !donate; Mainly used for commands that any player can run ]]
  441. descs.SpecialPrefix = [[ Used for things like "all", "me" and "others" (If changed to ! you would do :kill !me) ]]
  442. descs.SplitKey = [[ The space in :kill me (eg if you change it to / :kill me would be :kill/me) ]]
  443. descs.BatchKey = [[ :kill me | :ff bob | :explode scel ]]
  444. descs.ConsoleKeyCode = [[ Keybind to open the console ]]
  445.  
  446. descs.HttpWait = [[ How long things that use the HttpService will wait before updating again ]]
  447. descs.Trello_Enabled = [[ Are the Trello features enabled? ]]
  448. descs.Trello_Primary = [[ Primary Trello board ]]
  449. descs.Trello_Secondary = [[ Secondary Trello boards; Format: {"BoardID";"BoardID2","etc"} ]]
  450. descs.Trello_AppKey = [[ Your Trello AppKey; Link: https://trello.com/app-key ]]
  451. descs.Trello_Token = [[ Trello token (DON'T SHARE WITH ANYONE!); Link: https://trello.com/1/connect?name=Trello_API_Module&response_type=token&expires=never&scope=read,write&key=YOUR_APP_KEY_HERE ]]
  452. descs.Trello_HideRanks = [[ If true, Trello-assigned ranks won't be shown in the admins list UI (accessed via :admins) ]]
  453.  
  454. descs.G_API = [[ If true allows other server scripts to access certain functions described in the API module through _G.Adonis ]]
  455. descs.G_Access = [[ If enabled allows other scripts to access Adonis using _G.Adonis.Access; Scripts will still be able to do things like _G.Adonis.CheckAdmin(player) ]]
  456. descs.G_Access_Key = [[ Key required to use the _G access API; Example_Key will not work for obvious reasons ]]
  457. descs.G_Access_Perms = [[ Access perms level ]]
  458. descs.Allowed_API_Calls = [[ Allowed calls ]]
  459.  
  460. descs.FunCommands = [[ Are fun commands enabled? ]]
  461. descs.PlayerCommands = [[ Are players commands enabled? ]]
  462. descs.CommandFeedback = [[ Should players be notified when commands with non-obvious effects are run on them? ]]
  463. descs.CrossServerCommands = [[ Are commands which affect more than one server enabled? ]]
  464. descs.ChatCommands = [[ If false you will not be able to run commands via the chat; Instead you MUST use the console or you will be unable to run commands ]]
  465. descs.SilentCommandDenials = [[ If true, there will be no differences between the error messages shown when a user enters an invalid command and when they have insufficient permissions for the command ]]
  466.  
  467. descs.BanMessage = [[ Message shown to banned users ]]
  468. descs.LockMessage = [[ Message shown to people when they are kicked while the game is :slocked ]]
  469. descs.SystemTitle = [[ Title to display in :sm ]]
  470.  
  471. descs.CreatorPowers = [[ When true gives me place owner admin; This is strictly used for debugging; I can't debug without access to the script and specific owner commands ]]
  472. descs.MaxLogs = [[ Maximum logs to save before deleting the oldest; Too high can lag the game ]]
  473. descs.SaveCommandLogs = [[ If command logs are saved to the datastores ]]
  474. descs.Notification = [[ Whether or not to show the "You're an admin" and "Updated" notifications ]]
  475. descs.CodeExecution = [[ Enables the use of code execution in Adonis; Scripting related and a few other commands require this ]]
  476. descs.SongHint = [[ Display a hint with the current song name and ID when a song is played via :music ]]
  477. descs.TopBarShift = [[ By default hints and notifs will appear from the top edge of the window, this is acheived by offsetting them by -35 into the transparent region where roblox buttons menu/chat/leaderstat buttons are. Set this to true if you don't want hints/notifs to appear in that region. ]]
  478.  
  479. descs.Messages = [[ A list of notification messages to show HeadAdmins and above on join ]]
  480.  
  481. descs.AutoClean = [[ Will auto clean workspace of things like hats and tools ]]
  482. descs.AutoBackup = [[ (not recommended) Run a map backup command when the server starts, this is mostly useless as clients cannot modify the server. To restore the map run :restoremap ]]
  483. descs.AutoCleanDelay = [[ Time between auto cleans ]]
  484.  
  485. descs.CustomChat = [[ Custom chat ]]
  486. descs.PlayerList = [[ Custom playerlist ]]
  487.  
  488. descs.Console = [[ Command console ]]
  489. descs.Console_AdminsOnly = [[ Makes it so if the console is enabled, only admins will see it ]]
  490.  
  491. descs.DonorCommands = [[ Show your support for the script and let donors use commands like !sparkles ]]
  492. descs.DonorCapes = [[ Determines if donors have capes ]]
  493. descs.LocalCapes = [[ Makes Donor capes local instead of removing them ]]
  494.  
  495. descs.HelpSystem = [[ Allows players to call admins for help using !help ]]
  496. descs.HelpButton = [[ Shows a little help button in the bottom right corner ]]
  497. descs.HelpButtonImage = [[ Change this to change the help button's image ]]
  498.  
  499. descs.Detection = [[ Attempts to detect certain known exploits ]]
  500. descs.CheckClients = [[ Checks clients every minute or two to make sure they are still active ]]
  501.  
  502. descs.SongHint = [[ Display a hint with the current song name and ID when a song is played via :music ]]
  503. descs.TopBarShift = [[ By default hints and notifs will appear from the top edge of the window, this is acheived by offsetting them by -35 into the transparent region where roblox buttons menu/chat/leaderstat buttons are. Set this to true if you don't want hints/notifs to appear in that region. ]]
  504.  
  505. descs.Messages = [[ A list of notification messages to show HeadAdmins and above on join ]]
  506.  
  507. descs.AutoClean = [[ Will auto clean workspace of things like hats and tools ]]
  508. descs.AutoBackup = [[ (not recommended) Run a map backup command when the server starts, this is mostly useless as clients cannot modify the server. To restore the map run :restoremap ]]
  509. descs.AutoCleanDelay = [[ Time between auto cleans ]]
  510.  
  511. descs.CustomChat = [[ Custom chat ]]
  512. descs.PlayerList = [[ Custom playerlist ]]
  513.  
  514. descs.Console = [[ Command console ]]
  515. descs.Console_AdminsOnly = [[ Makes it so if the console is enabled, only admins will see it ]]
  516.  
  517. descs.DonorCommands = [[ Show your support for the script and let donors use commands like !sparkles ]]
  518. descs.DonorCapes = [[ Determines if donors have capes ]]
  519. descs.LocalCapes = [[ Makes Donor capes local instead of removing them ]]
  520.  
  521. descs.HelpSystem = [[ Allows players to call admins for help using !help ]]
  522. descs.HelpButton = [[ Shows a little help button in the bottom right corner ]]
  523. descs.HelpButtonImage = [[ Sets the image used for the Adonis help button above. ]]
  524.  
  525. descs.Detection = [[ Attempts to detect certain known exploits ]]
  526. descs.CheckClients = [[ Checks clients every minute or two to make sure they are still active ]]
  527.  
  528. descs.ExploitNotifications = [[ Notify all moderators and higher ups when a player is kicked or crashed from the AntiExploit ]]
  529. descs.CharacterCheckLogs = [[If the character checks appear in exploit logs and exploit notifications]]
  530. descs.AntiNoclip = [[ Attempts to detect noclipping and kills the player if found ]]
  531. descs.AntiRootJointDeletion = [[ Attempts to detect paranoid and kills the player if found ]]
  532. descs.AntiHumanoidDeletion = [[ (Very important) Prevents invalid humanoid deletion. Un-does the deletion and kills the player ]]
  533. descs.AntiMultiTool = [[ Prevents multitooling and because of that many other exploits ]]
  534. descs.AntiGod = [[ If a player does not respawn when they should have they get respawned ]]
  535. descs.AntiSpeed = [[ (Client-Sided) Attempts to detect speed exploits ]]
  536. descs.AntiBuildingTools = [[ (Client-Sided) Attempts to detect any HopperBin(s)/Building Tools added to the client ]]
  537. descs.AntiClientIdle = [[ (Client-Sided) Kick the player if they are using an anti-idle exploit ]]
  538. descs.ProtectHats = [[ Prevents hats from being un-welded from their characters through unnormal means. ]]
  539.  
  540. order = {
  541.     "HideScript";
  542.     "DataStore";
  543.     "DataStoreKey";
  544.     "DataStoreEnabled";
  545.     "LocalDatastore";
  546.     " ";
  547.     "Storage";
  548.     "RecursiveTools";
  549.     " ";
  550.     "Theme";
  551.     "MobileTheme";
  552.     "DefaultTheme";
  553.     " ";
  554.     "Ranks";
  555.     " ";
  556.     "Permissions";
  557.     "Aliases";
  558.     " ";
  559.     "Commands";
  560.     "Banned";
  561.     "Muted";
  562.     "Blacklist";
  563.     "Whitelist";
  564.     "MusicList";
  565.     "CapeList";
  566.     "InsertList";
  567.     "CustomRanks";
  568.     " ";
  569.     "OnStartup";
  570.     "OnJoin";
  571.     "OnSpawn";
  572.     " ";
  573.     "SaveAdmins";
  574.     "WhitelistEnabled";
  575.     " ";
  576.     "Prefix";
  577.     "PlayerPrefix";
  578.     "SpecialPrefix";
  579.     "SplitKey";
  580.     "BatchKey";
  581.     "ConsoleKeyCode";
  582.     " ";
  583.     "HttpWait";
  584.     "Trello_Enabled";
  585.     "Trello_Primary";
  586.     "Trello_Secondary";
  587.     "Trello_AppKey";
  588.     "Trello_Token";
  589.     "Trello_HideRanks";
  590.     " ";
  591.     "G_API";
  592.     "G_Access";
  593.     "G_Access_Key";
  594.     "G_Access_Perms";
  595.     "Allowed_API_Calls";
  596.     " ";
  597.     "FunCommands";
  598.     "PlayerCommands";
  599.     "CommandFeedback";
  600.     "CrossServerCommands";
  601.     "ChatCommands";
  602.     "CreatorPowers";
  603.     "CodeExecution";
  604.     "SilentCommandDenials";
  605.     " ";
  606.     "BanMessage";
  607.     "LockMessage";
  608.     "SystemTitle";
  609.     " ";
  610.     "MaxLogs";
  611.     "SaveCommandLogs";
  612.     "Notification";
  613.     "SongHint";
  614.     "TopBarShift";
  615.     "";
  616.     "AutoClean";
  617.     "AutoCleanDelay";
  618.     "AutoBackup";
  619.     " ";
  620.     "CustomChat";
  621.     "PlayerList";
  622.     " ";
  623.     "Console";
  624.     "Console_AdminsOnly";
  625.     " ";
  626.     "HelpSystem";
  627.     "HelpButton";
  628.     "HelpButtonImage";
  629.     " ";
  630.     "DonorCommands";
  631.     "DonorCapes";
  632.     "LocalCapes";
  633.     " ";
  634.     "Detection";
  635.     "CheckClients";
  636.     " ";
  637.     "ExploitNotifications";
  638.     "CharacterCheckLogs";
  639.     "AntiNoclip";
  640.     "AntiRootJointDeletion";
  641.     "AntiHumanoidDeletion";
  642.     "AntiMultiTool";
  643.     "AntiGod";
  644.     "AntiSpeed";
  645.     "AntiBuildingTools";
  646.     "AntiClientIdle";
  647.     "ProtectHats";
  648. }
  649.  
  650. return {Settings = settings, Descriptions = descs, Order = order}
  651.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement