I'm making a spaceship with a power switch. When I turn it off, I want it to run the command /setgravity 0 (from the Server_MapProperties mod) so it seems like the ship's gravity generator lost power. Is there any mod that can run a custom command like this through an event?