Is there a way to hide commands?

is there a way to hide commands (either via something in Mad Commands, or by making a Mad Command)?

nebulagames.pocket.pe 5304 Nebula Games PE

Well you could create a command then unregister it then use /cmd run
Or create another command that runs it when you input a special code for example…
Something like
Cmd create spawn
Cmd add spawn if varset(%args%[1]) then goto 4
Cmd add spawn /spawn
Cmd add spawn exit
Cmd add spawn let %code% = %args[1]
Cmd add spawn if %code% = “somerandomsecretcode” then goto 9
Cmd add spawn /spawn
Cmd add spawn exit
Cmd add spawn /yourhiddencommand %args%[2] [args%[3]

That way when you do /spawn it runs as a normal command, when you do /spawn somerandomsecretcode word1 word2
The command will use somerandomsecretcode to jump to the “hidden” command and run the hidden command as if it’s a command by itself so it will use %args%[2] as if it’s %args%[1]

Might not be exactly what you asked for but I hope it helps.

My Server

If you need help goto: support.leet.cc
Or PM me here or on Discord: @Ammarking#7494
I usually reply on Thursdays.

thanks, this is exactly what I need as I was looking for a way to run minigame commands without the players seeing/using the commands

nebulagames.pocket.pe 5304 Nebula Games PE

No problem :)
I use it in minigames too, to make players get a kit without having to set and unset the perm for them which causes a sinister lag.

My Server

If you need help goto: support.leet.cc
Or PM me here or on Discord: @Ammarking#7494
I usually reply on Thursdays.

Log in to reply

Looks like your connection to LEET Forums was lost, please wait while we try to reconnect.