Toole LuaBlox Admin Commands

Toole LuaBlox Admin Commands


Important Script Information is BELOW the settings
['ChangedSettingsStick'] = true; --Do settings you change in-game save? (this includes bans, admins, etc etc)
['SettingsToIgnore'] = {}; --Place settings to ignore here
['DataStoreKey'] = "iButtler's LuaBloxStudio V1"; --Datastore key
['Storage'] = game:service('ServerStorage'); --Set this to where you store things (such as tools) game:sevrice('ServerStorage') is recommended as it does not replicate to clients (so exploiters can't use em) Use services, if you use things like game.Lighting it will break if Lighting is renamed.

 Trello 

--You NEED to enable HttpEnabled in order for this to work! To enable it follow the below instructions:
--Run this following command in the command bar as shown in the screenshot: game:service('HttpService').HttpEnabled=true print('Enabled Http')
--Screen shot: http://prntscr.com/46uztz
['Trello'] = true; --Pulls Bans/Admins from a Trello board every set number of seconds on every server of everygame this script is in (that has Http enabled and uses the same BoardID)
['BoardID'] = '9HH6BEX2'; --Trello board ID, its in the URL of your board: https://trello.com/b/9HH6BEX2/epix-incorporated-synced-ban-list - The id for this board is 9HH6BEX2 (by default uses our exploiter ban list.)
['HttpWait'] = 10; --How often (in seconds) should the list(s) update? Recommended 10+ to avoid HttpService problems

How to set up your own multi-game list for your games:

Below instructions are for bans but can also be applied to admin lists,
refer to "To use this for synced admin lists" under the instructions for admin lists info. 
By default the Trello settings are set to use our ban list of exploiters, but you may 
want to change it so that you can set up and control your own multi-game, autoupdating 
list(s). So now I am going to tell you how to do that.
1. Enable Http, refer to a few lines up to learn how to easily and quickly do that.
2. Make a Trello account (or sign in with google)
-Go to http://trello.com, click "Log in with Google" or "Sign up-It's Free" and do the account making stuff it tells you to
3. After you sign up/log in you need to make a new board, click the + then click "New Board..." - http://prntscr.com/46v2fq
4. Give your board a name and click the "Change..." next to "This board will be private" and make sure you make the board public! - http://prntscr.com/46v4bf
5. Change one of the lists titles to "Ban List" In the screenshot I accidentally typed "cards" instead of "lists" - http://prntscr.com/46v5af
6. Add people to the bans by clicking "Add a card..." and then typing their username as the title, username:userid, or if its a group Group: groupname:groupid - http://prntscr.com/46v74e
7. Now you need to just set BoardID to your board's ID, refer to http://prntscr.com/46v74e for this, or refer to the comment next to the BoardID setting
8. You are done, just configure the BoardID and enable Http in each of your games and your multigame banlist is done, confure your board however you want as long as you leave the "Ban List" list that contains name and keep the board public so the script can read it!
Use our site for reference: https://trello.com/b/9HH6BEX2/epix-incorporated-synced-ban-list
To use this for synced admin lists, simply repeat the above steps replacing Ban List with
Admin List, TempAdmin List, or Owner List, anyone added to these list will appear in
the admin list with [Synced] next to their name, they will not be able to be unadmined.
Admin lists do not yet support Group: NAME:ID or USER:ID formats, at the moment you can
only add the person's username and will need to change it if they change their name.
Future ID support for admin lists is planned.
--]]

 Tables     

['Owners'] = {"LuaBloxStudio","iButtler","IToole52","Your Name Here"; -- Are able to set Admins who can ban/etc... using :pa name, format is USERNAME or USERNAME=USERID
['Admins'] = {"Anyone"}; -- Sets Admins who can use ban/kick/admin or shutdown, format is USERNAME or USERNAME=USERID
['TempAdmins'] = {"Normal People"}; -- Sets Admins who can't use ban/kick/admin or shutdown, format is USERNAME or USERNAME=USERID
['BanList'] = {"Someone You Don't Like Very Much","CornCobber","v3rmillion"}; -- Add people to ban here. Format to use UserId is "Name=UserId" EX: "John32=192845", this bans any player named John32 or has an id of 192845 (This way they can't bypass the ban by changing their username) use $group=GROUPID to ban groups.
['MuteList'] = {"Some Chat Exploiter"},"Chat Spammer","Chat Flooder","CornCobber","v3rmillion"; -- Add the names of people to mute (makes it so they cant talk)

Prefix/Split/Bind Keys 

['Prefix'] = ""; -- This comes before each admin command (:kill kohl)
['AnyPrefix'] = "!"; -- This comes before each player command (commands that can be run by anyone, !rejoin, !ping, etc)
['SpecialPrefix'] = ""; -- Prefix to use with special functions (!admin,!nonadmins,!all,!others,!random) By default this is now set to nothing to avoid confusion.
['SplitKey'] = " "; -- This is what seperates command arguments eg: player raiders in :team player raiders
['BatchSplit'] = "/"; --This seperates arguments of the batch command (":batch kill bob/fire me Bright blue/fling kohl")
['ConsoleKey'] = "'"; --Key that opens the console, default is '

Basic Settings  

['Console'] = true; --Determines if the script's console can be used or not
['AutoUpdate'] = false; -- Automatically get the newest version? You need to have the model in your inventory on your profile in order for autoupdate to work.
['FunCommands'] = true; -- Set to false if you don't want any fun commands (For Strict Places)
['NoTalk'] = true; -- Enable notalk cmds (Good for group trainings)?
['HelpSystem'] = true; -- Enable the Help System? (!help command)
['ChatLog'] = true; -- Log all chats for the server? 
['MaxNumberOfLogs'] = 1000; -- How many logs to display at a time (MAX is 1500 to avoid server lag/other issues)
['JoinMessage'] = false; -- Display a message with player info when a player joins, set group id in group settings if you want it to display if a player is in a group or not and if so what rank they are.
['DonorStuff'] = true; -- Sets if donors are allowed to show off that they donated, when people donate you get 10% of what they payed, so if someone pays 300r for a cape you get 30r out of it :D!
['DonorBongos'] = true; -- Donors allowed to have their donor bongos? If set to false they only get their cape.
['PermBanKey'] = '0.49971007415998'; -- Key (Random String) to use in persistent perm ban (change if you perm banned someone by accident, make it 100% random, if you want a random key generator, put print(math.random()) into the command bar in studio and hit enter, then just copy what it gives you in the output window)
['FreeAdmin'] = false; -- Set to true if you want everyone to get the set type of admin (not recommended)
['FreeAdminType'] = 'TempAdmin'; -- Type of admin for FreeAdmin (TempAdmin/Admin/Owner)
['AutoClean'] = false; -- AutoClean the server? (!clean)
['AutoCleanDelay'] = 60; -- How long to wait between AutoCleans (in seconds)
['PlayerCommands'] = true; -- Sets whether or not nonadmins can use player commands (!rejoin,!ping,!cmds,etc)
['OwnersAreTrueOwners'] = false; -- This indicates whether or not Owners are considered True Owners, if set to true Owners get the same commands as the place owner (permban and other true owner cmds)
['PMUsableByAnyone'] = false; -- Set this to true if you want it so anyone can use the PM command
['AdminsSpawnWithGuis'] = false; -- This determines if admins spawn with the admin chat and cmd box, note the admin chat is disabled when custom chat is enabled (has a admin mode)
['HelpGui'] = true; --This determines if players spawn with the helpgui or not
['UpdateShutdown'] = false; --Automatically shutdown the game if it was updated
['MusicList'] = {{Name='SadPiano',Id=130798493}}; -- Add music to this table using the format: {Name='ExampleSong',Id=1234567} so that the table would look like local MusicList={{Name='ExampleSong',Id=1234567};{Name='ExampleSong2',Id=1234568}}, if you want to add pitch/volume simply insert Pitch and/or Volume EX: {Name='ExampleSong2',Id=1234568,Pitch=2,Volume=0.5}
['CustomChat'] = false; --Custom chat system, aside from chat modes and various other things, the custom chat cannot be muted by exploiters and exploiters can not use it to run chat commands.
['CustomChatType'] = 'Both'; --Classic/Bubbles/Both, Determines chat mode, simular to ROBLOX's chat settings.
['CustomPlayerList'] = false; --A very basic and simplistic playerlist that I do not plan to spend much time on, it shows names colored by team color, has a menu for each name (click the name) and does not yet show leader stats, not finished and plan to update in the future.
['MessageOfTheDay'] = false; --Determines if the Message of the Day is shown to admins on-join, you can set your own decal/model to use with the message of the day below, you simply place the message into its description after you set its ID
['MessageOfTheDayID'] = 166040615; --ID Of model/decal to grab the message of the day from (needs to be set as the decal/model's description)
['BuggedCommandMatching'] = false; --Set to true if you want to use the old buggy string matching that let you do things like "Hello :kill me" (really you could always set the prefix to something like "Hello " so you can do "Hello kill me")

Anti-Exploit   

['ExclusionList'] = {}; -- Add the names of people you want to exclude from the AntiExploit to this list, note that admins are already excluded
['ExploitAlert'] = true; --Alerts admins when someone goes nil/chats something thought to be exploit related, this is likely no longer going to work as the anti nil will disconnect a player as they are leaving to make sure they are not lingering in the nil/causing problems. Only notified if the first kick failed.
['AntiChatCode'] = true; -- Prevents non-admins from running code/commands via chat (Add new things to detect into the WordList table)
['Detection'] = true; -- Will attempt to detect certain exploits
['AntiRobloxLocked'] = true; --  Disconnects any player who is or becomes RobloxLocked. (Recommended you keem this enabled, if a player joins RobloxLocked they will not be hooked by the script, this removes them before they break something.)
['AntiNewAccount'] = false; -- Prevents accounts under the set age from joining.
['MinimumAge'] = 100; -- Age a player must be above (in days) if AntiNewAge is enabled.
['AntiSpeed'] = false; -- Trys to stop speed hackers
['AntiGui'] = false; -- Prevents non-game/admin guis from being spawned on players, such as the account stealing gui
['AntiSelection'] = true; -- Crashes a player if their selection changes (so if they are using studio tools like drag, move, resize, etc)
['AntiNil'] = true; -- Crashes/Kicks any non-admins who attempt to go "nil"
['AntiScriptsDisabled'] = true; -- If the client script cannot be loaded onto the player or takes to long to check in the player is kicked
['AntiAnimation'] = false; -- Prevents animation exploit
['AntiNameIdChange'] = true; -- Attempts to stop players from locally changing their name/id to fool local scripts
['AntiGod'] = true; -- Prevents non-admins from being godded
['AntiLeak'] = false; -- Makes it a little harder for people to steal your game, don't know how well it will work if at all but its worth a shot.
['RenameGameObjects'] = false; --Renames things like Lighting, Players, and Workspace, will break most scripts that are not coded to work in such situations and confuse most people using badly coded explorers or studio.
['NerfExplosions'] = false; --Makes it so any explosions get nerfed, meaning they wont do any damage.
['WordList'] = {}; -- Add kick words to this list, will kick a player if they say something on the list, works with string patterns.
['AllowedGuiList'] = {}; 
--If there is a gui in your game that is not in startergui 
--then add its name to this table, do note that if the 
--name of the gui is just ScreenGui or something like 
--that, if a hacker inserts a gui with the same name 
--it will not be removed, so make sure you make the name 
--of the gui very specific.


No comments:

Post a Comment