Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- __ __ _______ __ __ __ __ ________
- / \ / / / _____/ \ \ / / \ \ \ \ \ _____\
- / /\ \ / / / /____ \ \/ / \ \ \ \ \ \_____
- / / \ \ / / / _____/ / /\ \ \ \ \ \ \_____ \
- / / \ \/ / / /____ / / \ \ \ \__\ \ ____\ \
- /_/ \__/ /______/ /_/ \_\ \______\ \______\
- Nexus Admin, by FromLegoUniverse
- API for creating own commands:
- http://roblox.wikia.com/wiki/User:FromLegoUniverse/Nexus_Admin
- Ranks (without changing config below):
- -1 New users, commands such as !commands, !fps, !usage, and not much else.
- 0 Debug commands. I (FromLegoUniverse) automatically give myself this so I can diagnose issues.
- 1 Moderators. No access to additional integrated commands, but by default given Build Utility and Basic
- 2 Admin. Access to kick and unbanning, and useful fun commands
- 3 Full Admin. Access to banning, and fun commands, can kick Admins.
- 4 Owner admin. Can kick/ban Full Admins and Admins.
- 5 Creator admin. Access to :admin and :unadmin. Can kick/ban Owner Admin and below. Game owner automatically gets this rank.
- --]]
- local Config = {
- --Default rank a new player would have.
- DefaultAdminLevel = -1,
- --Prefix for standard commands. Other command set creators may or may not use this.
- CommandPrefix = ":",
- --Default admin levels needed to use a set of default commands.
- BuildUtilityLevel = 1,
- BasicCommandsLevel = 1,
- UsefulFunCommandsLevel = 2,
- FunCommandsLevel = 3,
- --This is for setting up other admins in your game. You don't need to add yourself as long as you are the owner
- --[[
- Set up:
- Admins = {
- [SomeId] = AdminLevel,
- [261] = 4,
- [1] = 3,
- [99] = 1,
- [6] = 2,
- }
- --]]
- Admins = {polikilopl}
- },
- --This is for setting up certain ranks in a group being able to use certain levels of commands.
- --You will need to have access to the roles in the group admin page for the rank ids.
- --Each rank will default to the highest admin level
- --[[
- Set up:
- GroupAdminLevels = {
- [GroupId] = {
- [RankId] = 2,
- [RankId] = 3,
- [RankId] = 4,
- },
- [1] = {
- [10] = 1,
- [15] = 5,
- },
- [12] = {
- [100] = 1,
- [150] = 5,
- },
- ... (You can add/remove groups)
- },
- --]]
- GroupAdminLevels = {
- },
- --Banned users is for preventing certain users from entering the game.
- --Setting an id equal to true doesn't give a message, and a string is the ban message.
- --[[
- Set up:
- BannedUsers = {
- [UserId] = true, --Banned without a ban message
- [UserId] = "Some Ban Message", --Bans with a ban message
- [1] = "Banned for being ROBLOX",
- [261] = true, --Too awesome to have a ban message
- }
- --]]
- BannedUsers = {
- },
- --Below is for overriding the defaults levels
- --If a value is nil, it will default to the default command level of the group
- --If a value is a number, it will override the default command level of the group
- --This can be useful to make an abusive command un-usable or make a useful command usable.
- CommandLevelOverrides = {
- BasicCommands = {
- vote = nil,
- pchat = nil,
- track = nil,
- untrack = nil,
- chatlogs = nil,
- batch = nil,
- loop = nil,
- m = nil,
- h = nil,
- pm = nil,
- ph = nil,
- sm = nil,
- sh = nil,
- clear = nil,
- mute = nil,
- unmute = nil,
- crash = nil,
- shutdown = nil,
- countdown = nil,
- age = nil,
- refresh = nil,
- clean = nil,
- punish = nil,
- respawn = nil,
- team = nil,
- tools = nil,
- give = nil,
- startergive = nil,
- startertool = nil,
- sword = nil,
- atksword = nil,
- removetools = nil,
- resetstats = nil,
- change = nil,
- gear = nil,
- },
- BuildUtility = {
- clearterrain = nil,
- fixlighting = nil,
- time = nil,
- brightness = nil,
- ambient = nil,
- outdoorambient = nil,
- shadowcolor = nil,
- fogcolor = nil,
- fogend = nil,
- fogstart = nil,
- outlines = nil,
- shadows = nil,
- btools = nil,
- posterize = nil,
- s = nil,
- insert = nil,
- },
- UsefulFunCommands = {
- name = nil,
- unname = nil,
- ff = nil,
- unff = nil,
- kill = nil,
- damage = nil,
- heal = nil,
- health = nil,
- god = nil,
- ungod = nil,
- walkspeed = nil,
- place = nil,
- tp = nil,
- to = nil,
- bring = nil,
- flip = nil,
- stun = nil,
- unstun = nil,
- jump = nil,
- sit = nil,
- unsit = nil,
- buy = nil,
- lock = nil,
- unlock = nil,
- clone = nil,
- explode = nil,
- view = nil,
- jail = nil,
- unjail = nil,
- fling = nil,
- grav = nil,
- setgrav = nil,
- fly = nil,
- unfly = nil,
- collide = nil, --NEW (May 28th)
- uncollide = nil, --NEW (May 28th)
- },
- FunCommnads = {
- removehats = nil,
- play = nil,
- pitch = nil,
- volume = nil,
- pause = nil,
- resume = nil,
- stop = nil,
- blind = nil,
- unblind = nil,
- char = nil,
- unchar = nil,
- hat = nil,
- disco = nil,
- spin = nil,
- unspin = nil,
- freeze = nil,
- thaw = nil,
- invisible = nil,
- visible = nil,
- light = nil,
- unlight = nil,
- fire = nil,
- unfire = nil,
- smoke = nil,
- unsmoke = nil,
- sparkles = nil,
- unsparkles = nil,
- face = nil,
- rocket = nil,
- unrocket = nil,
- vibrate = nil,
- unvibrate = nil,
- }
- },
- }
- --This is where the actual loading happens. Feel free to use this in another script
- --Doubt you will need to, but here it is.
- local Worked,Return = pcall(function() require(386507112)(script,Config) end)
- if not Worked then
- warn("NEXUS ADMIN FAILED TO LOAD: "..tostring(Return))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement