CurseForge · Minecraft mod
Tempban
Adds a command to temporarily ban players
Quick answer
Which Tempban release matches 1.20?
Tempban-fabric-1.20.1-1.0.3.jar targets 1.20.1, 1.20 with Fabric. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is Tempban required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does Tempban-fabric-1.20.1-1.0.3.jar need?
Tempban-fabric-1.20.1-1.0.3.jar on 1.20. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Tempban without breaking your instance.
Built for Tempban-fabric-1.20.1-1.0.3.jar on 1.20. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use Tempban-fabric-1.20.1-1.0.3.jar. It targets 1.20.1, 1.20 with Fabric; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside Tempban-fabric-1.20.1-1.0.3.jar. It opens that exact file at the source.
About this project
What does Tempban add?
A simple Forge mod that adds two commands (/tempban and /tempban-ip) that work exactly like the /ban and /ban-ip command, with the difference that you can specify the length of the ban in hours, days and months.
This makes use of Vanilla's 'expired' field in a ban entry which isn't used in the normal ban command.
Usage:
/tempban <selector> <months> <days> <hours> [<reason>]/tempban-ip <ip> <months> <days> <hours> [<reason>]
To unban temporarily banned users, using the vanilla /pardon and /pardon-ip commands should do the trick.
Since the 'expired' field isn't used anywhere in vanilla, there's not a great deal of support for it within the code, and users which were banned temporarily may face minor issues when joining a server (for example not being able to connect sometimes due to an exception). If any more severe issues occur, feel free to submit an issue on the issue tracker.
This mod is server side only (meaning that players don't need to install this mod at all).
Project description from CurseForge.
Pick your setup
Tempban by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2
2 loader builds26.1.2
2 loader builds1.21.11
2 loader builds1.21.10
2 loader builds1.21.8
1 loader build1.21.7
1 loader build1.21.5
2 loader builds1.21.4
2 loader builds1.21.3
2 loader builds1.21.1
2 loader builds1.21
2 loader buildsShowing the newest 12 of 25 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Tempban versions and loaders
Tempban-fabric-1.20.1-1.0.3.jar
5 Aug 2026
Tempban-forge-1.20-1.0.3.jar
8 Jun 2023
Tempban-fabric-1.20-1.0.3.jar
8 Jun 2023
Looking for an older file? The official CurseForge project page is in Resources.