Скачать HardcoreBan-Revived — Minecraft Моды — MetaMods
HardcoreBan-Revived

HardcoreBan-Revived

Активный

Установок

0

Последнее обновление

1 месяц назад

Версии

1.21.7
Сервер
Fabric
Управление
Утилиты

HardcoreBan-Revived

A simple, server-side Fabric mod that adds a hardcore-style death-ban mechanic to your server, built on the powerful BanHammer API.

Ever wanted to raise the stakes on your SMP? With HardcoreBan-Revived, death is no longer a minor inconvenience. When a player dies, they are automatically banned from the server for a configurable duration, making every action and encounter more meaningful.

Features

  • Automatic Death Bans: Players who die on your server will be automatically banned.
  • Dynamic Ban Reasons: The ban reason isn't generic! It reflects how the player died, providing custom messages for various death types like falling, drowning, lava, and being killed by another player.
  • Fully Configurable: Don't like the defaults? You can change them! A configuration file (config/HardcoreBanRevived/config.json) is automatically generated, allowing you to:
    • Enable or disable the death-ban system entirely (enableHardcoreBans).
    • Set the exact ban duration in seconds (banDurationSeconds).
  • Custom Ban Screen: The mod provides a custom, informative ban screen that tells the player exactly why they were banned and how long they have to wait before rejoining.
  • Server-Side: This mod only needs to be installed on the server. Your players don't need to install anything to join!

How It Works

This mod hooks into the server's entity death event. When a player dies, it creates a punishment through the BanHammer API, using the cause of death as the ban reason. For example, a player who perishes in lava will see "tried to swim in lava" as their cause of death on the ban screen.

Configuration

Upon first launch, the mod will create a config.json file in your server's config/HardcoreBanRevived/ directory with the following options:

{
    "banDurationSeconds": 604800,
    "banMessage": "You got banned for dying",
    "enableHardcoreBans": true
}

Simply edit these values and restart your server to apply the changes.

Dependencies

This mod requires the following to be installed on your server:

Участники проекта
RedddFoxxyy

RedddFoxxyy

Разработчик