Skip to content

ZenPlayerBanConfig

Zenarchist edited this page May 6, 2026 · 1 revision

Zen's Alcohol Effects

This mod is a utility mod included in my modpack.

It is used for either banning players, or forcing players to contact an admin before continuing to play, or it can simply be used to move a player who is stuck when they login next via its teleport feature.

Here is a config explanation:

{
    "ConfigVersion": "1.29.1", // Don't touch
    "KickBannedPlayerSecs": 60, // Player will be kicked X seconds after ban message appears
    "BanTeleportX": 0.0, // Global teleport coordinates when player is banned
    "BanTeleportY": 0.0, // You can specify player-specific coordinates overrides below
    "BanTeleportZ": 0.0,
    "UnbanTeleportX": 0.0, // Global teleport coordinates when player is unbanned
    "UnbanTeleportY": 0.0, // If you set these to a number < 0, the player is not teleported anywhere at all
    "UnbanTeleportZ": 0.0,
    "BanExpiresText": "Ban Expires:", // For translation purposes on non-English servers
    "BanYearText": "Year:",
    "BanMonthText": "Month:",
    "BanDayText": "Day:",
    "UnbanMessage": "Your ban has been lifted. Please review our rules.",
    "PlayerBans": [
        {
            "BattlEyeID": "4s_12UDE-PKYemc7adlZy0T32Q39CerkE=", // Player ID to ban (BattlEyeID)
            "Message": "Ban message.", // Your specific ban message explanation to the player (eg. for combat logging - contact admin)
            "UnbanYear": 2026, // The year when the ban expires
            "UnbanMonth": 11, // The month when the ban expires (1-12)
            "UnbanDay": 6, // The day when the ban expires (1-31)
            "BanTeleportX": 0.0, // Where to teleport the player when they get banned
            "BanTeleportY": 0.0,
            "BanTeleportZ": 0.0,
            "UnbanTeleportX": 0.0, // Where to teleport the player when they login after ban expires
            "UnbanTeleportY": 0.0,
            "UnbanTeleportZ": 0.0,
            "KillOnUnban": 0, // If true (1), then player dies when they login after ban expires
            "UnbanMessage": "", // Override message for global unban message
            "Unbanned": 0 // Don't touch - will auto-update when ban expires. Once expired, you can manually delete this player's entry.
        }
    ]
}

ZEN'S MOD WIKI

Setup Guide

General Information


Utilities

My utility style mods for debugging etc.

Game Mechanics

Mods which affect game mechanics:

Gear / Objects

Mods which add gear to the game:

Server-Side Mods

Mods which run purely server-side:

Mods Not In Modpack

My standalone mods

Clone this wiki locally