When will you be able to have constructors in the loader? For creating pages and other things.
Hey,
Thanks again for this great module
I have a question:
I’m trying to use the “notify” option but I’m getting error
ModuleScript In Packages
local module = {
Name = "OwnGamepass",
Description = "does the player own the gamepass",
Location = "Player"
}
module.Execute = function(Client, Type, Attachment)
if Type == "command" then
local target = module.API.getPlayerWithName(Attachment)
if target then
module.API.notify(Client,"System","The user own speed gamepass")
--target:Kick("Kicked by " .. Client.Name)
return true
end
return false
end
end
return module
Error:
Model.MainModule.Packages.Custom.OwnGamepass:11: attempt to call a nil value
Any idea why?
Thanks
Heyo, you should’ve read the documentation properly! The API is separated into different categories, to use one of the method listed in a specific category, please index the category first, then finally index the method. For example:
module.API.Players.sendModal(Player).Event:Wait()
The FilterStringAsync
method in TextService
does not work in Studio (mentioned by Roblox). The filter should however work when ingame.
Thanks a lot, It’s working
This system is too much amazing… I think you will be the top 1 admin in somes months.
Record of it. (849.2 KB when downloading)
Thanks for reporting! For future bug reports, please report it via our GitHub repository, so we can avoid this thread being cluttered, thank you!
Okay! Next time I will but your github is a bit inactive.
?! We are much active in GitHub, than DevForum, just look at how many commits we have.
The reason why there’s so many issues opened is because they are still under confirmation, or ongoing.
Fixed in commit a562d76
https://github.com/va1kio/commander/commit/a562d766eb92b1c901444e7fd8238ddbe43b23d9
What image are you using for the home background when showing the profile? (link please)
rbxasset://textures/AvatarEditorImages/AvatarEditor_LightTheme.png
rbxasset://textures/AvatarEditorImages/AvatarEditor.png
Thanks you! I can’t search cause of my browser bugging.
Hey,
In studio I get full list of commands like: bring, heal, tp and etc.
but in the real game I have just: Kick, Ban, Check Ban, Unban, Hand to, and view option
Is it a bug? any idea why It’s happening?
Maybe I’m missing something?
Check your rank option ingame, you might’ve set yourself to admin instead of owner
Where can I find the different themes for this admin panel? The default I see is “Material”.
They’re in the style sheets part somewhere in the folder.
Installing themes | Commander 4 (commander-4.vercel.app)
Heya! We have just released 1.4.0, which contains new features, fixes, and improvements! Here is a list of them:
New features:
- We’ve redone our ban system, Commander now bundles with server ban, which is called “Local Ban”, where the actual datastore ban is called “Global Ban”. Unban will work with those two type of bans, there’s no separate command for each type of bans
- Custom easing, tune Commander’s UI animation to be smoother, or less bouncy
- Custom corner radius, make it sharp, make it really rounded, your choice!
Fixes:
- Fixed Mute and Unmute command
Improvements:
- To avoid unnecessary API calls, some API now uses CollectionService to return data, rather than via the actual API from Roblox
- We’ve reorganized the builtin folder, should look much cleaner and easier to view now
- Commander will inform user when HttpService happened to be not enabled
- For messages, there is now a
s
unit in the timer
Hope you will like it! If you happen to use the loader to install Commander, there is no need to update Commander manually, as everything are done for you automatically
I personally never use this admin system but previously used it before, only because of the how terribly organized it is, tons of inconsistencies in each code, and unnecessary functions. Some parameters have type checking while many others don’t.
Nitpicks: Many functions are declared both global and local for no apparent reason as well, and you have a lot of inconsistent naming and much much more.
Thanks to the optimization from Luau, Commander is faster than ever, so fast that responses are instant, and you will never experience slowdowns coming from Commander! Large game expects high performance and low latency, and with Commander, your game’s culprit to performance issues will no longer be the administration system! (Other popular administration systems still use those nasty code which disables the optimization from Luau)
This “Supercharged” benefit here is completely false. Your code also has quite a lot of flaws which I can’t really show you due to bad picture qualities, other admin systems may have nasty code but only a few use certain functions which disable Luau’s optimization. This one is on the top of having nasty code (not talking about using functions which disable Luau’s optimization).
An example is in of your scripts that use GetAsync
, all you do to protect the call from failing is just pcall it and wrap it in a promise, but you never retry if the function fails and do note that GetAsync
will return the cached data for the same key if called again in under 5 seconds.
The way Commander handles remote events and caching are terrible and are even leaky in the first place. The general organization is so terrible, which definitely doesn’t give a “ergonomic” feels.
Reading the source for whatever reason is a huge pain due to how inconsistent the code even is and how badly it is written in the first place.
Lastly, the debugging is a solid 0/10. The error messages aren’t verbose enough and only a few functions contain debugging.
Overall, this was just my 2 scents. If I was to rate commander’s source and overall organization out of 10, I would give it a solid 2/10, except +1 star due to the quality of UI’s included.
A much superior admin system versus this is Cmdr, it is 10x more flexible and 10x more controllable than Commander is, and has a way better source code than commander and is much better organized.