About Login Protection
From Vintage Story ModDBPrevent players from taking damage until they move after logging in
Tired of dying when logging into a server?
Login Protection prevents the player from taking damage when they join a server because the server thinks the player is ready even though their client is still loading.
Once the player moves or does anything, they are considered "active" and no longer protected. Players standing in lava or on fire will also not be protected.
There is also a single config option ProtectionTimeSeconds. If this is set to a number then the player's protection will expire that many seconds after logging in (this may be before the player can actually see anything. Make sure you set the number high enough).
Exposes a single serverside method to check if a player is protected or not, as well as 3 events:
<pre class="language-csharp">var loginProtection = Api.ModLoader.GetModSystem<LoginProtectionModSystem>(); loginProtection.OnLoginProtectionStart += player => doSomething(player); loginProtection.OnLoginProtectionStop += player => doSomething(player); loginProtection.OnShouldProtect += player => shouldProtect(player); if (wouldDoSomething && loginProtection.IsPlayerProtected(player)) Dont();</pre> internal class YourModSystem : ModSystem { private System.Func<IPlayer, bool> isPlayerProtected;
public void InjurePlayer (IPlayer player) { if (_api.IsServerSide()) { if (isPlayerProtected == null) { var loginProtection = _api.ModLoader.GetModSystem("LoginProtection.LoginProtectionModSystem"); if (loginProtection != null) { var isPlayerProtectedMethod = loginProtection.GetType().GetMethod("IsPlayerProtected"); isPlayerProtected = isPlayerProtectedMethod.CreateDelegate(typeof(System.Func<IPlayer, bool>), loginProtection) as System.Func<IPlayer, bool>; } else { isPlayerProtected = (IPlayer p) => false; } } if (!isPlayerProtected(player))) { ExplodePlayer(player); } } } }
</pre>Highlights
From source dataGame versions
Built for Vintage Story 1.16.5.
Footprint
Rated a light load on a server.
Login Protection on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Vintage Story servers. We download it from Vintage Story ModDB, place it, and restart the server.
- Server side
- Required on the server
- Server load
- light
- Smallest plan we suggest
- Vintage Story — 1 GB (1 GB RAM). This follows our own load rating above, not a benchmark.
Run Login Protection on a Vintage Story server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogQuality of life & UI
Small conveniences, tweaks and interface improvements players notice straight away.
Runs on your server
From source side supportVintage Story ModDB lists Login Protection as required on the server. Check its Vintage Story ModDB page to see whether players need it too.
Compatibility
- Game
- Vintage Story
- Runs on
- Serverrequired on the server
- Game versions
- 1.16.5
Verified at the source
- ✓Vintage Story ModDBOfficial listing, checked 2026-09-24Open ↗
- ✓AuthorXel, as published on Vintage Story ModDB
- ✓LicenseNot published by the sourceFree













