cmdr-additions is still largely incomplete. Use with caution.
An extension for Cmdr that provides additional functionality you would expect from a traditional Roblox "admin commands" suite.
cmdr-additions tries to be as un-intrusive as possible, allowing use alongside Cmdr in all Roblox games.
Forking this repository is encouraged if you wish to add any functionality that may be specific to your game but isn't achievable with the Cmdr API, including but not limited to:
- UI modifications
- Modified functionality for certain commands
- Translations to other languages
TODO
TODO
On both the client and the server:
- Initialize Cmdr using the setup guide on the Cmdr website.
- Create a new instance of CmdrAdditions with config provided (see here for an example).
- Call
:Register(cmdr)
, providing either the Cmdr or CmdrClient object depending on which applies.
CmdrAdditions.new(config):Register(Cmdr)
TODO (see here for an example)
TODO
Note: There are plenty more commands planned.
message
, m
Shows a message that covers all players' screens.
Arguments:
string
Content — The content of the message to show
servermessage
, sm
Like the message
command, but without author details.
Arguments:
string
Content — The content of the message to show
teleport
, tp
Teleports players to a player.
Arguments:
players
Players — The players to teleportplayer
Target player — The player to teleport to
to
, goto
Teleports you to a player.
Arguments:
player
Target player — The player to teleport to
bring
Teleports players to you.
Arguments:
players
Players — The players to bring
setwalkspeed
, walkspeed
, ws
Updates the WalkSpeed property on players' humanoids.
Arguments:
players
Players — The players to updatenumber
Walk speed — Maximum walking speed, measured in studs per second
setjumppower
, jumppower
, jp
Updates the JumpPower property on players' humanoids.
Arguments:
players
Players — The players to updatenumber
Jump power
forcefield
, ff
Gives players a forcefield.
Arguments:
players
Players — The players to give a forcefield to
removeforcefield
, unff
, unforcefield
Removes all forcefields that are on players' characters.
Arguments:
players
Players — The players to remove forcefields from
respawn
Respawns players' characters.
Arguments:
players
Players — The players to respawn
refresh
Respawns players' characters, but keeps their old position.
Arguments:
players
Players — The players to refresh
kill
Kills players by running BreakJoints on their character.
Arguments:
players
Players — The players to kill
uptime
Shows how long the server has been up for.
sit
Makes a player sit.
Arguments:
players
Players — The players to sit
stun
, platformstand
Stuns players by setting PlatformStand on their humanoids to true.
Arguments:
players
Players — The players to stun
jump
, unstun
, unplatformstand
Makes players jump; also sets PlatformStand to false.
Arguments:
players
Players — The players to make jump
setgravitymodifier
, setgrav
, grav
Sets characters' gravity compared to the global gravity.
Arguments:
players
Players — The players to change gravity fornumber
Gravity modifier — The ratio of character gravity to global gravity; 0 for no gravity, 1 for default
cmdr-additions requires Rojo 0.6.0 or above to sync properly. Once you have that installed, run:
rojo serve demo.project.json
Use the Roblox Studio plugin to sync into any place you wish (preferably an empty baseplate!) and you're good to go. Rojo will automatically keep any changes up to date, allowing you to play-test at any time.
cmdr-additions is available under the MIT license. See LICENSE for details.
Please note that included dependencies may have different licenses.