local settings = {}
local descs = {}
--]]
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
settings.DataStore = "Adonis_1" -- CHANGE THIS TO SOMETHING RANDOM! DataStore the script will use for saving data; Changing this will lose any saved data
settings.DataStoreEnabled = true -- Disable if you don't want to load settings and admins from the datastore; PlayerData will still save
settings.Storage = game:service("ServerStorage") -- Where things like tools are stored
settings.Theme = "Hybrid" -- UI theme;
settings.MobileTheme = "Mobilius" -- Theme to use on mobile devices; Mobile themes are optimized for smaller screens; Some GUIs are disabled
settings.Moderators = {"Group:2560312:247","Group:2560312:248"} -- Mods; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
settings.Admins = {"Group:2560312:249","Group:2560312:250","Group:2560312:252"} -- Admins; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
settings.Owners = {"Group:2560312:253","Group:2560312:254"} -- Head Admins; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
settings.Creators = {} -- Place Owner; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
settings.Banned = {} -- List of people banned from the game Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
settings.Muted = {} -- List of people muted Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
settings.Blacklist = {} -- List of people banned from using admin Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
settings.Whitelist = {} -- People who can join if whitelist enabled Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";}
settings.Permissions = {} -- Command permissions; Format: {"Command:NewLevel";}
settings.MusicList = {}; -- List of songs to appear in the script Format: {{Name = "somesong",ID = 1234567},{Name = "anotherone",ID = 1243562}}
settings.CapeList = {}; -- List of capes Format: {{Name = "somecape",Material = "Fabric",Color = "Bright yellow",ID = 12345567,Reflectance = 1},{etc more stuff here}}
settings.CustomRanks = {}; -- List of custom AdminLevel ranks Format: {RankName = {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";};}
settings.OnStartup = {}; -- List of commands ran at server start Format: {":notif TestNotif"}
settings.OnJoin = {}; -- List of commands ran as player on join (ignores adminlevel) Format: {":cmds"}
settings.OnSpawn = {}; -- List off commands ran as player on spawn (ignores adminlevel) Format: {"!fire Really red",":ff me"}
settings.SaveAdmins = false -- If true anyone you :admin or :owner in-game will save; Does not apply to mods as mods are considered temporary
settings.WhitelistEnabled = false -- If true enables the whitelist/server lock; Only lets admins & whitelisted users join
settings.Prefix = "" -- The : in :kill me
settings.PlayerPrefix = "!" -- The ! in !donate; Mainly used for commands that any player can run
settings.SpecialPrefix = "" -- Used for things like "all", "me" and "others" (If changed to ! you would do :kill !me)
settings.SplitKey = " " -- The space in :kill me (eg if you change it to / :kill me would be :kill/me)
settings.BatchKey = "|" -- :kill me | :ff bob | :explode scel
settings.ConsoleKeyCode = "Quote" -- Keybind to open the console; KeyCodes: http://wiki.roblox.com/index.php?title=API:Enum/KeyCode
settings.HttpWait = 30; -- How long things that use the HttpService will wait before updating again
settings.Trello_Enabled = true; -- Are the Trello features enabled?
settings.Trello_Primary = "bSdExMM5"; -- Primary Trello board
settings.Trello_Secondary = {""}; -- Secondary Trello boards Format: {"BoardID";"BoardID2","etc"}
settings.Trello_AppKey = "ba3e07bbe5f27727273c230862fa04d2"; -- Your Trello AppKey Link: https://trello.com/app-key
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
settings.G_API = true -- If true allows other server scripts to access certain functions described in the API module through _G.Adonis
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)
settings.G_Access_Key = "Example_Key" -- Key required to use the _G access API; Example_Key will not work for obvious reasons
settings.G_Access_Perms = "Read" -- Access perms
settings.Allowed_API_Calls = {
Client = false; -- Allow access to the Client (not recommended)
Settings = false; -- Allow access to settings (not recommended)
DataStore = false; -- Allow access to the DataStore (not recommended)
Core = false; -- Allow access to the script's core table (REALLY not recommended)
Service = false; -- Allow access to the script's service metatable
Remote = false; -- Communication table
HTTP = false; -- HTTP related things like Trello functions
Anti = false; -- Anti-Exploit table
UI = true; -- Client UI table
Admin = true; -- Admin related functions
Functions = true; -- Functions table (contains functions used by the script that don't have a subcategory)
Variables = true; -- Variables table
API_Specific = true; -- API Specific functions
}
settings.FunCommands = true -- Are fun commands enabled?
settings.PlayerCommands = true -- Are players commands enabled?
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
settings.CreatorPowers = true -- Gives me creator level admin; This is strictly used for debugging; I can't debug without full access to the script
settings.BanMessage = "~ Barcelo Hotels and Resorts ~\n\nYou are currently banned. Please message httpJoseph (President) to appeal." -- Message shown to banned users
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
settings.SystemTitle = "System Message" -- Title to display in :sm
settings.MaxLogs = 500 -- Maximum logs to save before deleting the oldest; Too high can lag the game
settings.Notification = true -- Whether or not to show the "You're an admin" and "Updated" notifications
settings.AutoClean = false -- Will auto clean service.Workspace of things like hats and tools
settings.AutoCleanDelay = 60 -- Time between auto cleans
settings.CustomChat = false -- Custom chat
settings.PlayerList = false -- Custom playerlist
settings.Console = true -- Command console
settings.HelpSystem = false -- Allows players to call admins for help using !help
settings.HelpButton = false -- Shows a little help button in the bottom right corner
settings.DonorCapes = false -- Donors get to show off their capes; Not disruptive :)
settings.DonorCommands = false -- Show your support for the script and let donors use harmless commands like !sparkles
settings.LocalCapes = false -- Makes Donor capes local so only the donors see their cape
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)
settings.ReplicationLogs = false -- Attempts to log who makes and deletes objects in the game
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
settings.Detection = true -- Attempts to detect certain known exploits
settings.CheckClients = true -- Checks clients every minute or two to make sure they are still active
settings.AntiNil = true -- Try's to prevent non-admins from hiding in "nil"
settings.AntiSpeed = true -- Attempts to detect speed exploits
settings.AntiNoclip = true -- Attempts to detect noclipping and kills the player if found
settings.AntiParanoid = false -- Attempts to detect paranoid and kills the player if found
settings.AntiDeleteTool = false -- Attempts to block use of the delete tool and other building tools; WARNING: CAN MESS WITH GUNS
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...)
settings.AntiUnAnchor = false -- Attempts to prevent the unanchoring of parts
settings.AntiLeak = false -- Attempts to prevent place downloading/saving; Do not use if game saves
settings.AntiBillboardImage = false -- Attempts to find billboard images and remove them; These are usually used to insert inappropriate images into the game
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
Enabled = false; -- If AntiInsert is enabled or not
Explosion = { -- The ClassName to look for; You can add new ClassNames by following the Format provided
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
Properties = { -- Properties to use if change is true; The default properties will basically nerf any explosions
BlastPressure = 0;
BlastRadius = 0;
DestroyJoinRadiusPercent = 0;
ExplosionType = "NoCraters";
}
};
Decal = { -- I included some common classnames to replace settings like AntiDecal, NerfExplosions, and AntiSound
Action = "None"; -- Set to "Delete" to prevent decals from being added
};
Sound = {
Action = "None"; -- Set to "Delete" to prevent new sounds from being added (WARNING THIS IS ALL SOUNDS INCLDING SCRIPT MADE ONES)
};
}
---------------------
-- END OF SETTINGS --
---------------------
--// Setting descriptions used for the in-game settings editor;
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 ]]
descs.DataStore = [[ DataStore the script will use for saving data; Changing this will lose any saved data ]]
descs.DataStoreEnabled = [[ Disable if you don't want settings and admins to be saveable in-game; PlayerData will still save ]]
descs.Storage = [[ Where things like tools are stored ]]
descs.Theme = [[ UI theme; ]]
descs.MobileTheme = [[ Theme to use on mobile devices; Mobile themes are optimized for smaller screens; Some GUIs are disabled ]]
descs.Moderators = [[ Mods; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
descs.Admins = [[ Admins; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
descs.Owners = [[ Head Admins; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
descs.Creators = [[ Anyone to be identified as a place owner; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
descs.Banned = [[ List of people banned from the game; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
descs.Muted = [[ List of people muted; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
descs.Blacklist = [[ List of people banned from using admin; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
descs.Whitelist = [[ People who can join if whitelist enabled; Format: {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";} ]]
descs.Permissions = [[ Command permissions; Format: {"Command:NewLevel";} ]]
descs.MusicList = [[ List of songs to appear in the script; Format: {{Name = "somesong",ID = 1234567},{Name = "anotherone",ID = 1243562}} ]]
descs.CapeList = [[ List of capes; Format: {{Name = "somecape",Material = "Fabric",Color = "Bright yellow",ID = 12345567,Reflectance = 1},{etc more stuff here}} ]]
descs.CustomRanks = [[ List of custom AdminLevel ranks Format: {RankName = {"Username"; "Username:UserId"; UserId; "Group:GroupId:GroupRank"; "Group:GroupId"; "Item:ItemID";};} ]]
descs.OnStartup = [[ List of commands ran at server start Format: {":notif TestNotif"} ]]
descs.OnJoin = [[ List of commands ran as player on join (ignores adminlevel) Format: {":cmds"} ]]
descs.OnSpawn = [[ List off commands ran as player on spawn (ignores adminlevel) Format: {"!fire Really red",":ff me"} ]]
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 ]]
descs.WhitelistEnabled = [[ If true enables the whitelist/server lock; Only lets admins & whitelisted users join ]]
descs.Prefix = [[ The : in :kill me ]]
descs.PlayerPrefix = [[ The ! in !donate; Mainly used for commands that any player can run ]]
descs.SpecialPrefix = [[ Used for things like "all", "me" and "others" (If changed to ! you would do :kill !me) ]]
descs.SplitKey = [[ The space in :kill me (eg if you change it to / :kill me would be :kill/me) ]]
descs.BatchKey = [[ :kill me | :ff bob | :explode scel ]]
descs.ConsoleKeyCode = [[ Keybind to open the console ]]
descs.HttpWait = [[ How long things that use the HttpService will wait before updating again ]]
descs.Trello_Enabled = [[ Are the Trello features enabled? ]]
descs.Trello_Primary = [[ Primary Trello board ]]
descs.Trello_Secondary = [[ Secondary Trello boards; Format: {"BoardID";"BoardID2","etc"} ]]
descs.Trello_AppKey = [[ Your Trello AppKey; Link: https://trello.com/app-key ]]
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 ]]
descs.G_API = [[ If true allows other server scripts to access certain functions described in the API module through _G.Adonis ]]
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) ]]
descs.G_Access_Key = [[ Key required to use the _G access API; Example_Key will not work for obvious reasons ]]
descs.G_Access_Perms = [[ Access perms level ]]
descs.Allowed_API_Calls = [[ Allowed calls ]]
descs.FunCommands = [[ Are fun commands enabled? ]]
descs.PlayerCommands = [[ Are players commands enabled? ]]
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 ]]
descs.BanMessage = [[ Message shown to banned users ]]
descs.LockMessage = [[ Message shown to people when they are kicked while the game is :slocked ]]
descs.SystemTitle = [[ Title to display in :sm ]]
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 ]]
descs.MaxLogs = [[ Maximum logs to save before deleting the oldest; Too high can lag the game ]]
descs.Notification = [[ Whether or not to show the "You're an admin" and "Updated" notifications ]]
descs.AutoClean = [[ Will auto clean service.Workspace of things like hats and tools ]]
descs.AutoCleanDelay = [[ Time between auto cleans ]]
descs.CustomChat = [[ Custom chat ]]
descs.PlayerList = [[ Custom playerlist ]]
descs.Console = [[ Command console ]]
descs.DonorCommands = [[ Show your support for the script and let donors use commands like !sparkles ]]
descs.DonorCapes = [[ Determines if donors have capes ]]
descs.LocalCapes = [[ Makes Donor capes local instead of removing them ]]
descs.HelpSystem = [[ Allows players to call admins for help using !help ]]
descs.HelpButton = [[ Shows a little help button in the bottom right corner ]]
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) ]]
descs.ReplicationLogs = [[ Attempts to log who makes and deletes objects in the game ]]
descs.NetworkOwners = [[ Logs the first network owners of parts created in workspace; Can be used to see who made parts (only parts) in workspace ]]
descs.Detection = [[ Attempts to detect certain known exploits ]]
descs.CheckClients = [[ Checks clients every minute or two to make sure they are still active ]]
descs.AntiNil = [[ Try's to prevent non-admins from hiding in "nil" ]]
descs.AntiSpeed = [[ Attempted to detect speed exploits ]]
descs.AntiNoclip = [[ Attempts to detect noclipping and kills the player if found ]]
descs.AntiParanoid = [[ Attempts to detect paranoid and kills the player if found ]]
descs.AntiDeleteTool = [[ Attempts to block use of the delete tool and other building tools ]]
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...) ]]
descs.AntiUnAnchor = [[ Attempts to prevent the unanchoring of parts ]]
descs.AntiLeak = [[ Attempts to prevent place downloading/saving; Do not use if game saves ]]
descs.AntiBillboardImage = [[ Attempts to find billboard images and remove them; These are usually used to insert inappropriate images into the game ]]
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 ]]
order = {
"HideScript";
"DataStore";
"DataStoreEnabled";
"Storage";
" ";
"Theme";
"MobileTheme";
" ";
"Moderators";
"Admins";
"Owners";
"Creators";
"Banned";
"Muted";
"Blacklist";
"Whitelist";
"MusicList";
"CapeList";
"CustomRanks";
" ";
"OnStartup";
"OnJoin";
"OnSpawn";
" ";
"SaveAdmins";
"WhitelistEnabled";
" ";
"Prefix";
"PlayerPrefix";
"SpecialPrefix";
"SplitKey";
"BatchKey";
"ConsoleKeyCode";
" ";
"HttpWait";
"Trello_Enabled";
"Trello_Primary";
"Trello_Secondary";
"Trello_AppKey";
"Trello_Token";
" ";
"G_API";
"G_Access";
"G_Access_Key";
"G_Access_Perms";
"Allowed_API_Calls";
" ";
"FunCommands";
"PlayerCommands";
"ChatCommands";
" ";
"BanMessage";
"LockMessage";
"SystemTitle";
"CreatorPowers";
"MaxLogs";
"Notification";
"";
"AutoClean";
"AutoCleanDelay";
" ";
"CustomChat";
"PlayerList";
"Console";
" ";
"HelpSystem";
"HelpButton";
" ";
"DonorCommands";
"DonorCapes";
"LocalCapes";
" ";
"LocalLighting";
"ReplicationLogs";
"NetworkOwners";
"Detection";
"CheckClients";
" ";
"AntiNil";
"AntiSpeed";
"AntiNoclip";
"AntiParanoid";
"AntiDeleteTool";
"AntiDelete";
"AntiUnAnchor";
"AntiLeak";
"AntiBillboardImage";
"AntiInsert";
}
return {Settings = settings, Descriptions = descs, Order = order}
Comments