I have archived all of my topics created before 2024 due to being outdated or possibly having misinformation.
I made these when I was a lot younger and don’t think they’re very good, so I’ve gone ahead and archived them. You can still read my old topics if you want, but they won’t be of very good quality.
Archived topic
This resource is no longer being maintained. Instead, I have moved development to UPanel.
I may start working on it again when I am less busy, but I am unsure.
Put this in any server script that’s in ServerScriptService and add your admins’ userIds in the Admins table. Example: {12345, 54321} You can also use groups in the same way.
require(5837129830):Setup({
Admins = {}, -- Put admins' userids here.
Group = 0, -- If you are using a group, put the group id here.
GroupRanks = {}, -- Put group rank ids here.
Configuration = {
KeyShortcutEnabled = true, -- Changes whether the keyboard shortcut is enabled.
KeyShortcut = ";", -- Change the keyboard shortcut here.
TopbarButton = true, -- Visibility of the topbar button.
PlayerlistEnabled = true, -- Visibility of the playerlist.
ChatAnnouncementsEnabled = true -- Visibility of chat announcements for banning and kicking.
}
})
Keep in mind that when I update the settings, you need to update the code.
If you dont want to have to ever do that, just put the module inside your game and require it. That way you won’t get auto updates so it won’t break.
Open the menu
You can use it by pressing the button in the top left corner:
<—
OR press the assigned key (Default ;) on your keyboard.
End
I hope some people find this resource useful.
Please note that this is my first community resource I have ever made on the Developer Forum, so I am pretty new to this.
What do you think and how could I improve it? Or is something wrong with it? Please, let me know!
Remember that if there is a feature that you want but I do not want to add, you can always add it yourself as this open source
Judging the ban function alone, there seems to be no verification as to whether or not the player is an admin. The GUI is only cloned to the player if they are an admin, however the actual event itself does not check whether the player attempting to ban has permission. https://gyazo.com/a48bc24a4d432b544efde33cfb1d1238
This seems problematic as:
An exploiter could potentially ban any player if an admin is in game (due to the events being cloned to the admin)
I have one question tho: if i use this, will i need to give credit to you? And if so, please tell me the social media’s i would need to put in the description in the game i will be using this on, thanks!
Model is gone! You now just have to require the module with the code I gave in this post.
Note from me:
If this ever stops working for whatever reason, I have probably updated it so that you need to add more values to the script. (more settings, etc) So keep in mind that you may have to update your code sometimes. (rarely)
If you dont want to have to ever do that, you can also just put the module inside your game and require it from any server script. That way you won’t have to mess with it anymore but also wont get auto updates.