Back to mods
Tempban project artwork

CurseForge · Minecraft mod

Tempban

Adds a command to temporarily ban players

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Tempban release matches 1.19?

Updated last month
Best match for your filters Tempban-1.19-1.0.2.jar
Game version 1.19.3, 1.19.2, 1.19.1
Loader Forge

Tempban-1.19-1.0.2.jar targets 1.19.3, 1.19.2, 1.19.1 with Forge. 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.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Tempban-1.19-1.0.2.jar need?

Tempban-1.19-1.0.2.jar on 1.19. Every mod below is checked against that same setup.

No extra mods listed for this file

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-1.19-1.0.2.jar on 1.19. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Tempban-1.19-1.0.2.jar. It targets 1.19.3, 1.19.2, 1.19.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Tempban-1.19-1.0.2.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.

41 available setups

Showing 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

1 of 27 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.