public class MovementDebugCommands extends BaseComponentSystem {
@Command(shortDescription = "Grants flight and movement through walls", runOnServer = true)
public String ghost(EntityRef client) {
ClientComponent clientComp = client.getComponent(ClientComponent.class);
clientComp.character.send(new SetMovementModeEvent(MovementMode.GHOSTING));
return "Ghost mode toggled";
}