HomeJavaModsSecPlayer
SecPlayer
ModsJava

SecPlayer

by DigitalExpl0it · on Modrinth

Registration and login mod for Forge: players must register or log in before playing. Includes TOS/age verification, forgot-password email, IP…

⬇ Download on Modrinth
SecPlayer — screenshot 1SecPlayer — screenshot 2SecPlayer — screenshot 3

SecPlayer adds registration and login to your Minecraft server. Players must register once (or log in on later joins) before they can move or play. The mod provides a Terms of Service and age-confirmation screen, optional forgot-password emails, IP and geolocation logging, a custom login-screen logo, an OP-only admin panel (with optional approval mode for new registrations, timezone grouping, and approve/deny), and a player profile where users can change their password, update their email, or delete their account (with an email notification and disconnect).


What This Mod Does


Installation

  1. Install Forge for Minecraft 1.18.2.
  2. Place the mod JAR in the mods/ folder on both the server and every client.

Registration and login only run on dedicated servers. Single-player / integrated server does not use the registration flow.


How to Use (Players)


How to Use (Server Ops)


Configuration

Main config: config/secplayer.properties (created on first run).

Option What it does Default
minAge Minimum age in the TOS text (e.g. 13) 13
requireApproval When true, new registrations need admin approval before they can log in false
smtpHost, smtpPort, smtpUseTls SMTP server for "Forgot password?" and account-deleted emails (empty), 587, true
smtpUsername, smtpPassword SMTP login (empty)
smtpFromAddress, smtpFromName Sender address and name for emails (empty), SecPlayer
smtpPasswordFile Optional: path to a file (relative to config/) containing the SMTP password; avoids special-character issues in .properties (empty)
smtpDebug Set to true to log the SMTP dialog to the server log (for troubleshooting) false
loginLogoPath Logo filename in the server config/ folder (e.g. mylogo.png). Server sends it to clients so everyone sees the same logo. (empty)
bannedAltNames Comma-separated display names players cannot use (e.g. herobrine) herobrine
displayTimezone Timezone for "last login" in the admin list (e.g. America/New_York, UTC) UTC

Login logo (client-only override): Create config/secplayer_client.properties and set loginLogoPath=filename.png, then put the PNG in config/. Used when the server does not send a logo.

Geolocation (optional): For country/region/city, place GeoLite2-City.mmdb in the server config/ folder. For ISP (ASN), add GeoLite2-ASN.mmdb. Obtain these from MaxMind (free account) and place them in your server config/ folder.


Troubleshooting


Requires Minecraft 1.18.2 and Forge 40.x. All Rights Reserved.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more