I’m not gonna argue with you, And I’ve seen how this thing works, But my point stays as it is although good luck with this module.
I guess you have skill issue mate
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.
That’s true, the documentation is vague but if you join their discord server, they will always tell it’s perfectly useful
Cmdr’s Documentation is vague but it’s useful in some cases.
I do like the look and general feel of CMDR, it reminds me a bit of idTech and Bethesda developer consoles.
Developer Consoles (and CMDR) are something that influences me in my approach for UI design of utilities.
And they’ll tell you not to follow youtube videos, but not give a reason
you can actually read the code and get the examples off of there!
the buitin commands should be able to help you!!
That’s what I did to get started. I like the system but the support is very lackluster at times
how can i pre-bind actions to the chat bar? like as soon as the game loads up the player is able to :kill without me having to bind it?
You can bind actions when a user joins the game by running CmdrClient:Run() in your client initialization script and passing the command string as the first parameter.
Would someone be able to help me make cmdr open with a button? Using the following I think is part how it’ll work but unsure since I haven’t been able to make it work.
<CmdrClient>:Show() - - Shows the Cmdr window, as long as it is enabled. <CmdrClient>:Hide() -- Hides the Cmdr window. <CmdrClient>:Toggle() -- Toggles the Cmdr window, will not show if it is not enabled.
I use TopBar+, but you can adjust my code to make it work for you.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Cmdr = require(ReplicatedStorage:WaitForChild("CmdrClient"))
local Icon = require(ReplicatedStorage.Modules.Icon)
if game:GetService("Players").LocalPlayer:GetRankInGroup(GroupID) >= 10 then
Cmdr:SetEnabled(true)
local icon = Icon.new()
:setImage("rbxassetid://9790261539", "deseleceted")
:setImage("rbxassetid://9790261414", "selected")
icon.selected:connect(function()
Cmdr:Show()
end)
icon.deselected:connect(function()
Cmdr:Hide()
end)
Cmdr:SetActivationKeys({Enum.KeyCode.X})
else
Cmdr:SetEnabled(false)
end
Interesting… I never thought to use TopBar+ to make Cmdr show up.
How do you even reference that though?
EDIT: Never mind, I figured it out.
Would you mind sharing? I still cant figure it out. Thanks btw
Oh, got it. So using entirety of topbar and adding this to it. Thank you
Hi
Is there a way to prevent players in a certain group from seeing commands inside another group?
My usecase for this is that I have two groups: one group is ‘Admin’ and the other is ‘PrivateServer’.
I don’t want players inside the PrivateServer group to see the commands inside the Admin group.
How do you add different permission groups into Cmdr?
hi, is there a feature to show presets,
return {
Name = "modifyCurrency";
Aliases = {"cash", "changeCash"};
Description = "Change currency data of a Player.";
Group = "Admin";
Args = {
{
Type = 'string';
Name = 'Type';
Description = 'Type of the data (add/remove/set).';
Presets = {
{
Name = 'add', -- name
Value = 'ADD' -- will return ADD
},
{
Name = 'remove', -- name
Value = 'REMOVE' -- will return REMOVE
},
{
Name = 'set', -- name
Value = 'SET' -- will return SET
},
}
},
{
Type = 'player';
Name = 'Player';
Description = 'The Player that you will modify his data.';
},
{
Type = 'number';
Name = 'Value';
Description = 'Value of the data.';
},
}
}