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?
I am sorry if that might have sounded rude, but it is just facts. Explaining how to do all of that would take a lot of time and would be very complicated.
Hey! I would use nexus admin, it usees cmdr but it has some of the commands you want, so it is cmdr but it has pre-added commands and more. Nexus Admin - Roblox
Hello, sorry if I am late, if you are still having this issue, try this solution:
Alright, so, first things first, in the same place where you made your âCommandsâ folder make a âHooksâ folder.
Then, in the script that requires CmdR add the following line:
Cmdr:RegisterHooksIn( <path to the hooks folder you just made> )
Then in the Hooks folder create a new ModuleScript, this script will house our AfterRun hook, you can name it whatever you want, it doesnât affect it.
Now, inside this module script is where weâll make our hook, to make the AfterRun hook you want to type in the following code:
return function(registry)
registry:RegisterHook("AfterRun", function(context)
print("Command " .. context.Name .. " has been used by " .. context.Executor.Name .. " (ID: " .. context.Executor.UserId .. ")")
-- You would replace the print function above with the appropiate code for logging commands.
-- What I placed in simply logs them to the Developer Console.
return
end)
end
This Module does a great job! But I do not recommend it for beginners because it is so complex or rather confusing that it is useless. And the documentation is even worse.
Cmdr is designed specifically so that you can write your own commands and argument types, so that it can fit right in with the rest of your game. In addition to the standard moderation commands (teleport, kill, kick, ban), Cmdr is also great for debug commands in your game (say, if you wanted to have a command to give you a weapon, reset a round, teleport you between places in your universe).
There is literally a guide to help you set up this console. It is absolutely not useless for beginners(it comes with default commands?), and there are tutorials on YouTube if you need help.
Cmdr is a really great resource but the documentation is just so vague and just makes it harder to understand. The only reason I was able to understand was because of some guy that made a YouTube video on how to set Cmdr up and then I learned creating custom commands on my own.