Sueta
SE

SessionSkip

1.7

Skip authentication with the Mojang session servers under certain conditions.

·Plugin

Plugin forked from https://www.spigotmc.org/resources/sessionskip.212/ made by GameOn365

This forked plugin now support filters by user logins from specific address + got rid of BungeeYAML, no need of external libraries :)

WARNING: SessionSkip can allow players to log in as your staff if you do not configure it properly. Do not use this plugin if you aren't 100% certain of what you're doing and what the possible consequences are.

WARNING: UUIDs are now in use. SessionSkip will cause your server to completely ignore a player's real UUID if they are bypassing authentication. A fake offline-mode UUID (based on the player's name) will be used instead.

SessionSkip allows players to skip authentication with the Mojang session servers when they meet one of the following configurable criterion:

  • They connect to a specific listener/hostname combination.
  • They connect using a specific hostname.
  • They connect from a specific IP address.
  • They have a specific login/remote IP/hostname combination.

While hostnames and IP addresses are fairly self explanatory, a listener takes two forms: A connection made directly to an IP address and port, or a connection made to an IP address and port with a specified hostname. With that in mind, a listener could look like either of the following, depending on what the player types in when connecting:

  • If the player types "172.16.0.1"
    • /172.16.0.1:25565
  • If the player types "play.example.com"
    • play.example.com/172.16.0.1:25565

NEW:
The playername criterion let you to allow specific players coming from specific IP and / or to specific hostname, it is formed like

PLAYER_IP and HOSTNAME_TYPED are player's remote IP Address and server address typed as seen as above, they are optional and can be replaced by a * wildcard.

For example if you want to allow cracked player Foobar to connect from any IP / hostname typed, you'll add the following line in the config.yml

  • Foobar@*/*

If you want to allow a player only if his IP address is 192.168.1.7, here is the example config line

  • Foobar@192.168.1.7/*

If you want to allow a player only if the hostname typed is gabuzomeu, you have to add

  • Foobar@*/gabuzomeu

If you want to restrict both player remote IP and typed hostname, use this line

  • Foobar@192.168.1.7/gabuzomeu

Permissions:

  • sessionskip.admin - Allows use of all SessionSkip commands from in-game.

Commands:

  • /sessionskip reload - Reloads the plugin and config file.
  • /sessionskip enable - Enables SessionSkip until BungeeCord is restarted.
  • /sessionskip disable - Disables SessionSkip until BungeeCord is restarted.

SessionSkip has a "enabled" setting in the config file, which will determine whether it is enabled (true) or disabled (false) by default when BungeeCord starts up.

Please note: The plugin will not auto-generate the config file. Create a plugins/SessionSkip folder and manually copy the default config.yml (available here) before use.

Requirements:

  • BungeeCord only ;)

Similar projects

Plugin →