Temporary Bans
If you want to ban a player temporarily, you can specify the duration of the ban.
Step 1: Use the /tempban Command
-
Open the Chat or Console
Run the following command from either chat or the console. -
Type the
/tempbanCommand
The format for a temporary ban is:/tempban <player> <duration> [reason]<player>is the player’s username.<duration>is the amount of time for the ban (e.g.,30mfor 30 minutes,1dfor one day,2wfor two weeks).[reason]is optional.
Example:
/tempban Notch 1d Breaking server rules
This will ban Notch for 1 day with the reason “Breaking server rules.”