Hello developers!
Are you tired of the clunky and difficult-to-use admin systems for your Roblox games? Look no further! I am excited to announce the release of my new (and first) admin system.
This system is not only easy to use, but it is also highly customizable, allowing you to tailor it to fit the unique needs of your game! The admin panels are user-friendly and intuitive, making it simple for even the most novice of developers to understand, utilize and edit!
One of the key features of this system is the flexibility it offers, you have the ability to easily add, remove, and customize the ranks, settings and commands available to the admins of your game. This means that you (can) have complete control over what each user can access, and you (can) make changes as your game evolves.
Another great feature is the ease of customization of the admin panels themselves. Whether you want to change the color scheme, add things to it or even create entirely new panels, the options are (pretty much) endless, although, you will need to follow the same structure and naming of items for it to work, you can always edit the code in uiHandler
to match your new designs without needing to make it the same as mine! There are 2 pre-built themes, being dark and light (light is quite bad tho). This allows you to create an admin system that perfectly reflects the style and aesthetic of your game.
In addition, this system is built using the robust and efficient Roblox Luau programming language, ensuring that it runs smoothly and without lag. Overall, this admin system is the perfect solution for streamlining the administration of your Roblox game. So don’t wait, give it a try and see the difference it can make in your today!
STRUCTURE
main
(Server script): main script, just detects when a user is added and starts the system.
adminPanels
: Folder holding all the panels (for organization only), the commands the user can use will be displayed in example_dark
or whatever is chosen by the user (you / your team).
uiHandler
: Self-explanatory, handles all the UI (animating + showing the user-accessible commands). Decided to make it on it’s own in-case u wanted to add / edit anything in the way the UI works.
commands
: Module holding all commands (For organization), this module is only accessed in the config
module, I made it like that so you can remove commands without needing to remove it completely.
types
: module having all external user-defined types.
config
: File containing all the customizable aspects of the system.
handler
: Main handler, handles everything excluding UI.main
(Module script): Calls functions in the handlers (handler
and uiHandler
) to start doing what they are supposed to do.
ADDING / REMOVING COMMANDS
To add / remove any command, open the commands
Module Script
. To add any command you need to have it in this format (it is found in the model itself!). You can edit / remove any of the built-in commands to suit your needs, I’ll be adding some every now and then, if you have a command in mind, comment down below and I’ll make it ASAP!
command = {
names: {[any]: string}, -- String values ONLY
prefixes: {[any]: string}, -- String values ONLY
priority: number, -- a number indicating the priority (the less the number the higher the priority)
_function: (any) -> (any) -- the function that will be called when a user uses this command
}
Admin_System.main.types
Example
Custom command, print
, it will print to the console, it shouldn’t be used in a real game this is just an example on how you can make your own command!
Firstly, we need to define the “structure” of the command
_print = {
names = {},
prefixes = {},
priority = 1, -- means that ONLY players with rank smaller than or equal to 1 can call this function.
_function = function(...) -- "..." indicates infinite parameters!
end
}
Then we add the names and prefixes
_print = {
names = {"print", "p"},
prefixes = {"/", "!"},
--[=[
the two tables above gives you the ability to call the command using one of:
`/p`, !p`, `/print` and `!print`
]=]
priority = 1, -- means that ONLY players with rank smaller than or equal to 1 can call this function.
_function = function(...) -- "..." indicates infinite parameters!
end
}
Now we add the functionality of the command itself
_print = {
names = {"print", "p"},
prefixes = {"/", "!"},
--[=[
the two tables above gives you the ability to call the command using one of:
`/p`, !p`, `/print` and `!print`
]=]
priority = 1, -- means that ONLY players with rank smaller than or equal to 1 can call this function.
_function = function(...) -- "..." indicates infinite parameters!
print(...) -- Prints all the passed parameters to the output.
end
}
And done! You can now use this command with any parameters.
To remove any command simply remove the whole thing (or comment it) or you can change `Admin_System.main.config`'s command table to contain the ones you want only!
UI
As said before, there are 2 built-in themes (dark and light), you can always add your own but make sure to edit the code to work correctly or copy the built-in designs and change the colors only.
The built-in designs:
OTHER STUFF
Get the system from here.
If you have ideas for features and/or found bugs, comment them below!
Any feedback is welcome!
Have a great day (or night)! Goodbye
Made with by msix29.
Update logs
V1.1.0
Added a feature to separate commands and to separate parameters.
Ex.
/kill player | /otherCommand player -- Where "|" is the separator between the 2 commands, the separator can be edited from the "config" module!
/kill player1, player2, player3 -- where "," is the separator between the parameters, this will call the `kill` command on player1, player2 and player3 killing them all! The separator can be edited from the "config" module.
Fixed some bugs!
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
0 voters