Skip to content

SHAuth

By SotgunOwner

This mod provides a more advanced way to protect your server. It is used on servers that have online-mode to false in order to prevent account stealing and player coordinate leakage.

<1,000 downloads Updated

Last update on each platform

26.3 26.2

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Usage

This mod provides a more advanced way to protect your server. It is used on servers that have online-mode to false in order to prevent account stealing and player coordinate leakage.

How it works

When a player tries to connect to a server, SHAuth contacts the client and verifies that the connecting player provides a valid key tied to their username. If the key is valid, the connection proceeds, otherwise the player is kicked.

Invalid Key

What it safeguards against

  • In servers that have online-mode to false, anyone can pick any username and impersonate another player. SHAuth prevents attackers from joining as someone else.
  • Most log-in systems require you to first connect to the server and then log-in. This process allows an attacker to access information like the player's cordinates, which can be frustrating in competitive servers. However, SHAuth requires valid credentials before granting access.

How to use it

There are two modes that act differently. Choose one that fits your needs.

Auto Mode

Each user that joins is automatically assigned a key.

Manual Mode

Requires an operator to authorize and hand the key to a user.

  1. An operator creates a key for a player by using /shauth authorize <username>
  2. Players should enter the key in the server's properties menu under Server Address.

Switch modes anytime by using /shauth mode <auto|manual>

Add Server Screen

Commands

  • /shauth authorize <username> - Assigns a key to a player which grants them access to the server.
  • /shauth unauthorize <username> - Invalidates the key assigned to a player which revokes their access to the server.
  • /shauth reset <username> - Reassigns a key to a player, invalidating the old one (useful if the key gets leaked).
  • /shauth list - Shows the list of players which have been assigned keys.
  • /shauth mode <auto|manual> - Switches between auto and manual mode.
  • /shauth help - Shows a message containing all the commands.

Usage

This mod provides a more advanced way to protect your server. It is used on servers that have online-mode to false in order to prevent account stealing and player coordinate leakage.

How it works

When a player tries to connect to a server, SHAuth contacts the client and verifies that the connecting player provides a valid key tied to their username. If the key is valid, the connection proceeds, otherwise the player is kicked.

Invalid Key

What it safeguards against

  • In servers that have online-mode to false, anyone can pick any username and impersonate another player. SHAuth prevents attackers from joining as someone else.
  • Most log-in systems require you to first connect to the server and then log-in. This process allows an attacker to access information like the player's cordinates, which can be frustrating in competitive servers. However, SHAuth requires valid credentials before granting access.

How to use it

There are two modes that act differently. Choose one that fits your needs.

Auto Mode

Each user that joins is automatically assigned a key.

Manual Mode

Requires an operator to authorize and hand the key to a user.

  1. An operator creates a key for a player by using /shauth authorize
  2. Players should enter the key in the server's properties menu under Server Address.

Switch modes anytime by using /shauth mode <auto|manual>

Add Server Screen

Commands

  • /shauth authorize - Assigns a key to a player which grants them access to the server.
  • /shauth unauthorize - Invalidates the key assigned to a player which revokes their access to the server.
  • /shauth reset - Reassigns a key to a player, invalidating the old one (useful if the key gets leaked).
  • /shauth list - Shows the list of players which have been assigned keys.
  • /shauth mode <auto|manual> - Switches between auto and manual mode.
  • /shauth help - Shows a message containing all the commands.