War

LONGPanel.lua

War
Mar 16th, 2017
754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 20.61 KB | None | 0 0
  1. local settings = {}
  2. local descs = {}
  3.                                                                                                                                                                                                                             --]]
  4.    
  5.    
  6.     settings.HideScript = true                       -- Disable if your game saves; When the game starts the Adonis_Loader model will be hidden so other scripts cannot access the settings module
  7.     settings.DataStore = "Adonis_1"                  -- CHANGE THIS TO SOMETHING RANDOM! DataStore the script will use for saving data; Changing this will lose any saved data
  8.     settings.DataStoreEnabled = true                 -- Disable if you don't want to load settings and admins from the datastore; PlayerData will still save
  9.     settings.Storage = game:service("ServerStorage") -- Where things like tools are stored
  10.    
  11.     settings.Theme = "Hybrid"               -- UI theme;
  12.     settings.MobileTheme = "Mobilius"       -- Theme to use on mobile devices; Mobile themes are optimized for smaller screens; Some GUIs are disabled
  13.    
  14.     settings.Moderators = {"Group:2560312:247","Group:2560312:248"} -- Mods;                                      Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
  15.     settings.Admins = {"Group:2560312:249","Group:2560312:250","Group:2560312:252"}         -- Admins;                                    Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
  16.     settings.Owners = {"Group:2560312:253","Group:2560312:254"}         -- Head Admins;                               Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
  17.     settings.Creators = {}      -- Place Owner;                               Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
  18.     settings.Banned = {}        -- List of people banned from the game        Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
  19.     settings.Muted = {}         -- List of people muted                       Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
  20.     settings.Blacklist = {}     -- List of people banned from using admin     Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}  
  21.     settings.Whitelist = {}     -- People who can join if whitelist enabled   Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
  22.     settings.Permissions = {}   -- Command permissions;                       Format: {"Command:NewLevel";}
  23.     settings.MusicList = {};    -- List of songs to appear in the script      Format: {{Name = "somesong",ID = 1234567},{Name = "anotherone",ID = 1243562}}
  24.     settings.CapeList = {};     -- List of capes                              Format: {{Name = "somecape",Material = "Fabric",Color = "Bright yellow",ID = 12345567,Reflectance = 1},{etc more stuff here}}
  25.     settings.CustomRanks = {};  -- List of custom AdminLevel ranks            Format: {RankName = {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";};}
  26.    
  27.     settings.OnStartup = {};    -- List of commands ran at server start                             Format: {":notif TestNotif"}
  28.     settings.OnJoin = {};       -- List of commands ran as player on join (ignores adminlevel)      Format: {":cmds"}
  29.     settings.OnSpawn = {};      -- List off commands ran as player on spawn (ignores adminlevel)    Format: {"!fire Really red",":ff me"}
  30.    
  31.     settings.SaveAdmins = false       -- If true anyone you :admin or :owner in-game will save; Does not apply to mods as mods are considered temporary
  32.     settings.WhitelistEnabled = false -- If true enables the whitelist/server lock; Only lets admins & whitelisted users join  
  33.    
  34.     settings.Prefix = ""                -- The : in :kill me
  35.     settings.PlayerPrefix = "!"         -- The ! in !donate; Mainly used for commands that any player can run
  36.     settings.SpecialPrefix = ""         -- Used for things like "all", "me" and "others" (If changed to ! you would do :kill !me)
  37.     settings.SplitKey = " "             -- The space in :kill me (eg if you change it to / :kill me would be :kill/me)
  38.     settings.BatchKey = "|"             -- :kill me | :ff bob | :explode scel
  39.     settings.ConsoleKeyCode = "Quote"   -- Keybind to open the console; KeyCodes: http://wiki.roblox.com/index.php?title=API:Enum/KeyCode
  40.    
  41.     settings.HttpWait = 30;                   -- How long things that use the HttpService will wait before updating again
  42.     settings.Trello_Enabled = true;       -- Are the Trello features enabled?
  43.     settings.Trello_Primary = "bSdExMM5";             -- Primary Trello board
  44.     settings.Trello_Secondary = {""}; -- Secondary Trello boards                    Format: {"BoardID";"BoardID2","etc"}
  45.     settings.Trello_AppKey = "ba3e07bbe5f27727273c230862fa04d2";              -- Your Trello AppKey                         Link: https://trello.com/app-key   
  46.     settings.Trello_Token = "fd34f06f7008c64f8e470993ee3ad247f554f9f068e907bb9cb40812bf3e234b";               -- 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
  47.    
  48.     settings.G_API = true                   -- If true allows other server scripts to access certain functions described in the API module through _G.Adonis
  49.     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)
  50.     settings.G_Access_Key = "Example_Key"   -- Key required to use the _G access API; Example_Key will not work for obvious reasons
  51.     settings.G_Access_Perms = "Read"        -- Access perms    
  52.     settings.Allowed_API_Calls = {
  53.         Client = false;             -- Allow access to the Client (not recommended)
  54.         Settings = false;           -- Allow access to settings (not recommended)
  55.         DataStore = false;          -- Allow access to the DataStore (not recommended)
  56.         Core = false;               -- Allow access to the script's core table (REALLY not recommended)
  57.         Service = false;            -- Allow access to the script's service metatable
  58.         Remote = false;             -- Communication table
  59.         HTTP = false;               -- HTTP related things like Trello functions
  60.         Anti = false;               -- Anti-Exploit table
  61.         UI = true;                  -- Client UI table
  62.         Admin = true;               -- Admin related functions
  63.         Functions = true;           -- Functions table (contains functions used by the script that don't have a subcategory)
  64.         Variables = true;           -- Variables table
  65.         API_Specific = true;        -- API Specific functions
  66.     }
  67.    
  68.     settings.FunCommands = true             -- Are fun commands enabled?
  69.     settings.PlayerCommands = true          -- Are players commands enabled?
  70.     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
  71.     settings.CreatorPowers = true           -- Gives me creator level admin; This is strictly used for debugging; I can't debug without full access to the script
  72.    
  73.     settings.BanMessage = "~ Barcelo Hotels and Resorts ~\n\nYou are currently banned. Please message httpJoseph (President) to appeal."            -- Message shown to banned users
  74.     settings.LockMessage = "~ Barcelo Hotels and Resorts ~\n\nThe server is currently locked."-- Message shown to people when they are kicked while the game is :slocked
  75.     settings.SystemTitle = "System Message" -- Title to display in :sm
  76.    
  77.     settings.MaxLogs = 500                  -- Maximum logs to save before deleting the oldest; Too high can lag the game
  78.     settings.Notification = true            -- Whether or not to show the "You're an admin" and "Updated" notifications
  79.    
  80.     settings.AutoClean = false      -- Will auto clean service.Workspace of things like hats and tools  
  81.     settings.AutoCleanDelay = 60    -- Time between auto cleans
  82.    
  83.     settings.CustomChat = false     -- Custom chat
  84.     settings.PlayerList = false     -- Custom playerlist
  85.     settings.Console = true         -- Command console
  86.    
  87.     settings.HelpSystem = false     -- Allows players to call admins for help using !help
  88.     settings.HelpButton = false -- Shows a little help button in the bottom right corner
  89.    
  90.     settings.DonorCapes = false         -- Donors get to show off their capes; Not disruptive :)
  91.     settings.DonorCommands = false  -- Show your support for the script and let donors use harmless commands like !sparkles
  92.     settings.LocalCapes = false     -- Makes Donor capes local so only the donors see their cape
  93.    
  94.     settings.LocalLighting = true       -- Enables local lighting; Prevents changes to Lighting and enables the ability for player specific lighting changes; Server scripts can set lighting for the server or specific players using _G.Adonis.SetLighting(property,value) or for players _G.Adonis.SetPlayerLighting(player,property,value)     
  95.     settings.ReplicationLogs = false    -- Attempts to log who makes and deletes objects in the game
  96.     settings.NetworkOwners = true       -- Logs the first network owners of parts created in workspace; Can be used to see who made parts (only parts) in workspace
  97.     settings.Detection = true           -- Attempts to detect certain known exploits
  98.     settings.CheckClients = true        -- Checks clients every minute or two to make sure they are still active   
  99.    
  100.     settings.AntiNil = true             -- Try's to prevent non-admins from hiding in "nil"
  101.     settings.AntiSpeed = true           -- Attempts to detect speed exploits
  102.     settings.AntiNoclip = true          -- Attempts to detect noclipping and kills the player if found
  103.     settings.AntiParanoid = false       -- Attempts to detect paranoid and kills the player if found
  104.     settings.AntiDeleteTool = false     -- Attempts to block use of the delete tool and other building tools; WARNING: CAN MESS WITH GUNS
  105.     settings.AntiDelete = false         -- Can cause lag; You should enabled Filtering instead! Attempts to prevent deleting of objects in the game (may cause lag; Not recommended for complex games that constantly make/remove things; Should use Filtering instead...)
  106.     settings.AntiUnAnchor = false       -- Attempts to prevent the unanchoring of parts
  107.     settings.AntiLeak = false           -- Attempts to prevent place downloading/saving; Do not use if game saves
  108.     settings.AntiBillboardImage = false -- Attempts to find billboard images and remove them; These are usually used to insert inappropriate images into the game
  109.     settings.AntiInsert = {             -- Can cause lag; You should enabled Filtering instead! Class names blocked from being added to the game or new properties to set for them; Will alter properties if Action = "Change" or delete the object if Action = "Delete"; Add classes to alter/block
  110.         Enabled = false;                -- If AntiInsert is enabled or not
  111.         Explosion = {                   -- The ClassName to look for; You can add new ClassNames by following the Format provided
  112.             Action = "None";            -- Can be set to "Change" to use the set properties or "Delete" to delete the object if it's added; Set to "None" to disable
  113.             Properties = {              -- Properties to use if change is true; The default properties will basically nerf any explosions
  114.                 BlastPressure = 0;
  115.                 BlastRadius = 0;
  116.                 DestroyJoinRadiusPercent = 0;
  117.                 ExplosionType = "NoCraters";
  118.             }
  119.         };
  120.         Decal = {               -- I included some common classnames to replace settings like AntiDecal, NerfExplosions, and AntiSound
  121.             Action = "None";    -- Set to "Delete" to prevent decals from being added
  122.         };
  123.         Sound = {
  124.             Action = "None";    -- Set to "Delete" to prevent new sounds from being added (WARNING THIS IS ALL SOUNDS INCLDING SCRIPT MADE ONES)
  125.         };
  126.     }                          
  127.    
  128.     ---------------------
  129.     -- END OF SETTINGS --
  130.     ---------------------
  131.    
  132.     --// Setting descriptions used for the in-game settings editor;
  133.    
  134.     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 ]]
  135.     descs.DataStore = [[ DataStore the script will use for saving data; Changing this will lose any saved data ]]
  136.     descs.DataStoreEnabled = [[ Disable if you don't want settings and admins to be saveable in-game; PlayerData will still save ]]
  137.     descs.Storage = [[ Where things like tools are stored ]]
  138.    
  139.     descs.Theme = [[ UI theme; ]]
  140.     descs.MobileTheme = [[ Theme to use on mobile devices; Mobile themes are optimized for smaller screens; Some GUIs are disabled ]]
  141.    
  142.     descs.Moderators = [[ Mods; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  143.     descs.Admins = [[ Admins; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  144.     descs.Owners = [[ Head Admins; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  145.     descs.Creators = [[ Anyone to be identified as a place owner; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  146.     descs.Banned = [[ List of people banned from the game; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  147.     descs.Muted = [[ List of people muted; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  148.     descs.Blacklist = [[ List of people banned from using admin; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}    ]]
  149.     descs.Whitelist = [[ People who can join if whitelist enabled; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
  150.     descs.Permissions = [[ Command permissions; Format: {"Command:NewLevel";} ]]
  151.     descs.MusicList = [[ List of songs to appear in the script; Format: {{Name = "somesong",ID = 1234567},{Name = "anotherone",ID = 1243562}} ]]
  152.     descs.CapeList = [[ List of capes; Format: {{Name = "somecape",Material = "Fabric",Color = "Bright yellow",ID = 12345567,Reflectance = 1},{etc more stuff here}} ]]
  153.     descs.CustomRanks = [[ List of custom AdminLevel ranks            Format: {RankName = {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";};} ]]
  154.    
  155.     descs.OnStartup = [[ List of commands ran at server start                               Format: {":notif TestNotif"} ]]
  156.     descs.OnJoin = [[ List of commands ran as player on join (ignores adminlevel)       Format: {":cmds"} ]]
  157.     descs.OnSpawn = [[ List off commands ran as player on spawn (ignores adminlevel)    Format: {"!fire Really red",":ff me"} ]]
  158.    
  159.     descs.SaveAdmins = [[ If true anyone you :mod, :admin, or :owner in-game will save; This does not apply to helpers as they are considered temporary ]]
  160.     descs.WhitelistEnabled = [[ If true enables the whitelist/server lock; Only lets admins & whitelisted users join ]]
  161.    
  162.     descs.Prefix = [[ The : in :kill me ]]
  163.     descs.PlayerPrefix = [[ The ! in !donate; Mainly used for commands that any player can run ]]
  164.     descs.SpecialPrefix = [[ Used for things like "all", "me" and "others" (If changed to ! you would do :kill !me) ]]
  165.     descs.SplitKey = [[ The space in :kill me (eg if you change it to / :kill me would be :kill/me) ]]
  166.     descs.BatchKey = [[ :kill me | :ff bob | :explode scel ]]
  167.     descs.ConsoleKeyCode = [[ Keybind to open the console ]]
  168.    
  169.     descs.HttpWait = [[ How long things that use the HttpService will wait before updating again ]]
  170.     descs.Trello_Enabled = [[ Are the Trello features enabled? ]]
  171.     descs.Trello_Primary = [[ Primary Trello board ]]
  172.     descs.Trello_Secondary = [[ Secondary Trello boards; Format: {"BoardID";"BoardID2","etc"} ]]
  173.     descs.Trello_AppKey = [[ Your Trello AppKey; Link: https://trello.com/app-key ]]
  174.     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 ]]
  175.    
  176.     descs.G_API = [[ If true allows other server scripts to access certain functions described in the API module through _G.Adonis ]]
  177.     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) ]]
  178.     descs.G_Access_Key = [[ Key required to use the _G access API; Example_Key will not work for obvious reasons ]]
  179.     descs.G_Access_Perms = [[ Access perms level ]]
  180.     descs.Allowed_API_Calls = [[ Allowed calls ]]
  181.    
  182.     descs.FunCommands = [[ Are fun commands enabled? ]]
  183.     descs.PlayerCommands = [[ Are players commands enabled? ]]
  184.     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 ]]
  185.    
  186.     descs.BanMessage = [[ Message shown to banned users ]]
  187.     descs.LockMessage = [[ Message shown to people when they are kicked while the game is :slocked ]]
  188.     descs.SystemTitle = [[ Title to display in :sm ]]
  189.    
  190.     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 ]]
  191.     descs.MaxLogs = [[ Maximum logs to save before deleting the oldest; Too high can lag the game ]]
  192.     descs.Notification = [[ Whether or not to show the "You're an admin" and "Updated" notifications ]]
  193.    
  194.     descs.AutoClean = [[ Will auto clean service.Workspace of things like hats and tools ]]
  195.     descs.AutoCleanDelay = [[ Time between auto cleans ]]
  196.    
  197.     descs.CustomChat = [[ Custom chat ]]
  198.     descs.PlayerList = [[ Custom playerlist ]]
  199.     descs.Console = [[ Command console ]]
  200.    
  201.     descs.DonorCommands = [[ Show your support for the script and let donors use commands like !sparkles ]]
  202.     descs.DonorCapes = [[ Determines if donors have capes ]]
  203.     descs.LocalCapes = [[ Makes Donor capes local instead of removing them ]]
  204.    
  205.     descs.HelpSystem = [[ Allows players to call admins for help using !help ]]
  206.     descs.HelpButton = [[ Shows a little help button in the bottom right corner ]]
  207.  
  208.     descs.LocalLighting = [[ Enables local lighting; Prevents changes to Lighting and enables the ability for player specific lighting changes; Server scripts can set lighting for the server or specific players using _G.Adonis.SetLighting(property,value) or for players _G.Adonis.SetPlayerLighting(player,property,value) ]]
  209.     descs.ReplicationLogs = [[ Attempts to log who makes and deletes objects in the game ]]
  210.     descs.NetworkOwners = [[ Logs the first network owners of parts created in workspace; Can be used to see who made parts (only parts) in workspace ]]
  211.     descs.Detection = [[ Attempts to detect certain known exploits ]]
  212.     descs.CheckClients = [[ Checks clients every minute or two to make sure they are still active ]]
  213.    
  214.     descs.AntiNil = [[ Try's to prevent non-admins from hiding in "nil" ]]
  215.     descs.AntiSpeed = [[ Attempted to detect speed exploits ]]
  216.     descs.AntiNoclip = [[ Attempts to detect noclipping and kills the player if found ]]
  217.     descs.AntiParanoid = [[ Attempts to detect paranoid and kills the player if found ]]
  218.     descs.AntiDeleteTool = [[ Attempts to block use of the delete tool and other building tools ]]
  219.     descs.AntiDelete = [[ Can cause lag; You should enabled Filtering instead! Attempts to prevent deleting of objects in the game (may cause lag; Not recommended for complex games that constantly make/remove things; Should use Filtering instead...) ]]
  220.     descs.AntiUnAnchor = [[ Attempts to prevent the unanchoring of parts ]]
  221.     descs.AntiLeak = [[ Attempts to prevent place downloading/saving; Do not use if game saves ]]  
  222.     descs.AntiBillboardImage = [[ Attempts to find billboard images and remove them; These are usually used to insert inappropriate images into the game ]]
  223.     descs.AntiInsert = [[ Can cause lag; You should enabled Filtering instead! Class names blocked from being added to the game or new properties to set for them; Will alter properties if Action = "Change" or delete the object if Action = "Delete"; Add classes to alter/block ]]
  224.    
  225.     order = {
  226.         "HideScript";
  227.         "DataStore";
  228.         "DataStoreEnabled";
  229.         "Storage";
  230.         " ";
  231.         "Theme";
  232.         "MobileTheme";
  233.         " ";
  234.         "Moderators";
  235.         "Admins";
  236.         "Owners";
  237.         "Creators";
  238.         "Banned";
  239.         "Muted";
  240.         "Blacklist";
  241.         "Whitelist";
  242.         "MusicList";
  243.         "CapeList";
  244.         "CustomRanks";
  245.         " ";
  246.         "OnStartup";
  247.         "OnJoin";
  248.         "OnSpawn";
  249.         " ";
  250.         "SaveAdmins";
  251.         "WhitelistEnabled";
  252.         " ";
  253.         "Prefix";
  254.         "PlayerPrefix";
  255.         "SpecialPrefix";
  256.         "SplitKey";
  257.         "BatchKey";
  258.         "ConsoleKeyCode";
  259.         " ";
  260.         "HttpWait";
  261.         "Trello_Enabled";
  262.         "Trello_Primary";
  263.         "Trello_Secondary";
  264.         "Trello_AppKey";
  265.         "Trello_Token";
  266.         " ";
  267.         "G_API";
  268.         "G_Access";
  269.         "G_Access_Key";
  270.         "G_Access_Perms";
  271.         "Allowed_API_Calls";
  272.         " ";
  273.         "FunCommands";
  274.         "PlayerCommands";
  275.         "ChatCommands";
  276.         " ";
  277.         "BanMessage";
  278.         "LockMessage";
  279.         "SystemTitle";
  280.         "CreatorPowers";
  281.         "MaxLogs";
  282.         "Notification";
  283.         "";
  284.         "AutoClean";
  285.         "AutoCleanDelay";
  286.         " ";
  287.         "CustomChat";
  288.         "PlayerList";
  289.         "Console";
  290.         " ";
  291.         "HelpSystem";
  292.         "HelpButton";
  293.         " ";
  294.         "DonorCommands";
  295.         "DonorCapes";
  296.         "LocalCapes";
  297.         " ";
  298.         "LocalLighting";
  299.         "ReplicationLogs";
  300.         "NetworkOwners";
  301.         "Detection";
  302.         "CheckClients";
  303.         " ";
  304.         "AntiNil";
  305.         "AntiSpeed";
  306.         "AntiNoclip";
  307.         "AntiParanoid";
  308.         "AntiDeleteTool";
  309.         "AntiDelete";
  310.         "AntiUnAnchor";
  311.         "AntiLeak";
  312.         "AntiBillboardImage";
  313.         "AntiInsert";  
  314.     }
  315.        
  316. return {Settings = settings, Descriptions = descs, Order = order}
Advertisement
Add Comment
Please, Sign In to add comment