Mods / Temporary Ban On Death

Tags: #Utility
Author: FrostiDragon
Side: Server
Created: Sep 20th at 10:05 AM
Last modified: Sep 20th at 10:08 AM
Downloads: 55
Follow Unfollow 5

Latest release (for Vintage Story 1.21.1, potentially outdated):
TempBanOnDeath_1-0-0.zip  1-click install


Whenever a player dies, they are forcefully disconnected from the server and banned for a specified amount of time.

 

This mod only functions on dedicated servers! Otherwise you'll end up like me and be banned from ALL your local worlds for the duration of the ban.

 

I'm good at programming I swear
Truth be told, singleplayer worlds (even when upgraded to LAN) are run inside of a thread, so I don't know how to get the memory adress of the server object.

 

 

Configuration Reference:

{
    "amount": <integer>,
    "unit": "<second|minute|hour|day|week|month|year>"
}

The default configuration is for 30 minutes:

{
    "amount": 30,
    "unit": "minute"
}

 

Known issues:

  • When players are disconnected via IServerPlayer.Disconnect, they get a banned reason of "unknown" instead of any other message.
    • This is outside of the jurisdiction of the mod, needs to be fixed in the vanilla code base.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.0.0 tempbanondeath 55 Sep 20th at 10:08 AM TempBanOnDeath_1-0-0.zip 1-click install

Initial Commit


4 Comments (oldest first | newest first)

💬 Halfdan, Oct 13th at 9:49 PM

A request! Possibly have it to where you can specify amount of lives before they are banned? Could tie into the amount of player lifes set by the server when creating a world?

💬 AgentOfChaos, Sep 20th at 7:09 PM

Could you please port to 1.20.12? Pretty please?

💬 FrostiDragon , Sep 20th at 1:06 PM

El_Neuman Search for "Oceans Civ Sim" in the server browser! It's Homo Sapiens mode, but with more health and the map enabled (and 50 player slots to boot!)

💬 El_Neuman, Sep 20th at 12:58 PM

OMG, that's amazing!! Do you have your own server with this mod? I want to play on it!

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом