I don’t like the fact that Cmdr magically parents itself to a bunch of replicated Instances on require. I have a use case where I’d prefer for it to be impossible to detect Cmdr’s existence from any client that doesn’t have access to the console. This is currently possible by using a pool of Cmdr instances that were initialized on server startup, before any players have joined, and then had their instances yoinked from StarterGui and ReplicatedStorage, but that is like the hackiest hack I’ve ever done and it’s utterly disgusting.
I can’t figure out how to set this up. Please help
@qwertyexpert Why would you have to do that? Only exploiters would be able to view the modules that are replicated to the client.
I followed it and it dosent work at all, .
The point of controlling what is replicated to the client is to prevent exploiters from seeing what you don’t want them to. I don’t want them to know my place has an admin console. Cmdr could support that use case, but it doesn’t.
@regexman What errors are you receiving in the Output window?
@qwertyexpert You can setup hooks to disable command execution from unauthorized users.
I already have hooks to prevent unauthorized usage. I just don’t want a huge pile of ModuleScripts to be replicated to every client when only authorized devs can actually use it.
This is really the best admin system, I’ve seen out there!
Are you able to set group rank commands with this? Edit: I figured it out.
It’s not like exploiters can use the modulescripts for bad (assuming Cmdr is secure), so there is really no reason to worry about replication when the source code is online…
It’s more like I don’t want them knowing the place has Cmdr in the first place. Basically this is a debug tool so its existence shouldn’t be exposed to normal players.
If I’m correct, anyone can press F2 but only authorized people can actually use commands.
Your concern is most definitely valid. Cmdr hardly offers any sort of confidentiality on that front. You could always fork the repo and implement something like this on your own (and possibly draft a PR, but idk how receptive that will be).
The janky solution you have right now otherwise works. Ideally you wouldn’t have to do that though.
Restricting access isn’t always enough for specific use cases. Some developers need the added confidentiality and confidence that malicious actors won’t be able to see what commands the devs have registered.
Doesn’t really have anything to do with security- hooks handle that. Just confidentiality.
How do I make subcommands? For instance I have a bunch of commands that pertain to the Round so I want to be able to do things like type “Round Start”, “Round End”. That way I can have multiple commands Start
and End
without giving them unique names, and I also want them to be organized in the help menu, all the commands for Round should be together. Maybe even be able to do “help Round” and it will show only the commands for Round.
EDIT: I figured out I can just make unique commands but name them with a prefix e.g. Round-Start, Round-End, then I can also have a Round-help which will show all the Round commands.
Is there way to run a command in server? I feel stupid. Still searching in documentary.
How do you get the player running the command?
I am attempting to have it log the command history to Discord, but I cannot figure it out. I have this in the same script where I require Cmdr:
Cmdr.Registry:RegisterHook("AfterRun", function(context)
But it is not firing the hook. I just want the server to entirely do this logging, but obviously the commands “start” on the client. Is there a way to have a server module (I know how to create a server module) for every command, without needing to actually make a module for every command? Something like *Server for example.
Hello there, How do i add more commands like Fly, Unfly, shutdown, spawn [Car Name], give [Gun Name] give [Admin, Mod] how? and an Countdown to. How do i add those?
Lists:
- Shutdown
- Fly
- Unfly
- Give [Gun Name]
- Spawn [Car Name]
- Fling
- Blind
- Spy
- Unspy
Moderation Commands
Trolling Commands
Utility Pack
Server Commands
How do i add more commands like this? is there any models? for free?