Git Product home page Git Product logo

sessionskip's Introduction

SessionSkip

Warnings

  • 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.
  • If you use SessionSkip with a Minecraft version that supports UUIDs, it will cause an offline mode UUID to be used for any players who skip session server authentication. If you change your name, your offline mode UUID will also change.

Description

SessionSkip is a simple BungeeCord plugin to skip authentication with the Minecraft session servers under certain conditions.

Please note: The plugin will not auto-generate the config file. Create a plugins/SessionSkip folder and manually copy it before use.

Configuration

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.

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

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.

Requirements

  • BungeeCord build 691+
  • BungeeYAML

sessionskip's People

Contributors

nickg365 avatar

Stargazers

 avatar  avatar  avatar Isaias avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

sessionskip's Issues

Player disconnect issue

Hi, I use this plugin to allow non premium players join over a hostname.
Problem is, if i'm already connected and a player joins over the non premium hostname with my name it disconnects me from the server.

Can you please add a way to not allow a player to connect if that name is already connected? so it won't disconnect the player that is already connected. Thanks

Here i'm connecting to the server:
13:09:50 [INFO] [brunyman] <-> InitialHandler has connected
13:09:50 [INFO] [SessionSkip] Skipping session server authentication for player brunyman (/79.112.235.215:51350) since hostname matched mc.craftersland.net
13:09:51 [INFO] [brunyman] <-> ServerConnector [lobby1] has connected

And here wile i'm still connected, someone else join with my name disconnecting me from the server:
13:09:59 [INFO] [brunyman] <-> InitialHandler has connected
13:09:59 [INFO] [SessionSkip] Skipping session server authentication for player brunyman (/79.112.235.215:51365) since hostname matched mc.craftersland.net
13:09:59 [INFO] [brunyman] disconnected with: §cYou are already connected to this server!
13:09:59 [INFO] [brunyman] disconnected with: §f[Proxy] Lost connection to server.
13:09:59 [INFO] [brunyman] <-> DownstreamBridge <-> [lobby1] has disconnected
13:09:59 [INFO] [brunyman] disconnected with: §cYou are already logged on to this server.§7
If you were disconnected forcefully, please wait up to one minute.
If this does not resolve your issue, please contact staff.
13:09:59 [INFO] [brunyman] <-> ServerConnector [lobby1] has connected
13:09:59 [INFO] [brunyman] -> UpstreamBridge has disconnected
13:09:59 [INFO] [brunyman] -> UpstreamBridge has disconnected
13:09:59 [INFO] [brunyman] <-> DownstreamBridge <-> [lobby1] has disconnected

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.