CommandLine+ - Custom Roblox Command Bar Commands

CommandLine+

Logo

What is this Plugin?

This plugin allows you to run custom commands in the Roblox command bar with the “–” prefix. These commands can help you improve your scripting workflow significantly, and can also be customized to your liking.

Default Command List

This plugin natively supports 23 commands, listed below:

Defining Custom Commands

Commands are prefixed by the characters --. In order to define custom commands, you must create a module script under the “Main” script. The name of the modulescript instance will also be the name of the command. If you have a modulescript named “s”, then that modulescript’s execute function will be called when the --s is typed into the command line. You also have the optional ability to add a “description” property to the command. If you choose to do this, the description will be printed out when --help is called.

Example module:
image

--move to start
local function toStart(activeScript: ScriptDocument)	
    if activeScript == nil then return end
	activeScript:ForceSetSelectionAsync(1, 1)
end

return {
	execute = toStart,
	description = "Move to the first line of the script editor."
}

All commands must take the “activeScript” argument, all arguments passed in by the user should be specified after this first argument. The example above will create a command called “–m” and it will move the script editor to the start of line 1.

Model Distribution:
Commandline+.rbxm (7.8 KB)

Plugin Distribution:

Rate the Plugin:

  • 5
  • 4
  • 3
  • 2
  • 1

0 voters

Other Scripting Plugins:

Autocomplete+

4 Likes

Update:

  • Fixed some bugs
  • Command names can now be any amount of characters instead of just 1
  • Added 5 new commands
  • Added a special help command that dumps info about all existing commands
1 Like

Update:

  • Now supports a total of 16 commands natively
  • “–help” now displays an alphabetized list of commands, instead of an unordered list of commands

Update:

  • Renamed the plugin to something more fitting
  • Now supports 23 commands natively (7 new commands added)

So am I supposed to save it as a Local Plugin or put it in SSS?

Are you trying to add custom commands? If so you should add the commands then save it as a local plugin.

No, just using it.

(CHARRRRRRRRRRRRRRRRRRRRRRRRRRRRRS)

If you are just using it then you can download the plugin distribution and there will be no hassle.