# RestrictIO command You can manage the bans over the console with the `/rio` commands.
Unfortunately you can't edit a ban over console - you have to remove the old and recreate it. Alternatively you can edit a ban with the ingame GUI or by editing the file.
##### Adding a ban `/rio banIf you want to use spaces in strings like in the Message action, use underscores instead of spaces! If you explicitly want to use underscores, escape them with a backslashes.
**Examples:** `rio ban ID(minecraft:wool),meta(12) remove(),Message(This_is_banned!!!) all` removes brown wool and gives a message at all incidents. `rio ban mod(minecraft) none blockbreak,blockplace` blocks any block break or place without any other action ##### Removing a ban `rio unban