xAuth

Placeholder Default Image

xAuth v2.6.x
Authentication plugin for bukkit powered servers


About

xAuth is a second-factor authentication plugin that can be used to secure player accounts on your server. As the plugin has been enhanced over time, the direction and main purpose have expanded to new possibilities. Let's say you run a community page. With xAuth, players can authenticate using their forum accounts or using a web-driven account management system. It is also possible to get the credentials from a foreign database.

Important Notice

Before upgrading please read xAuth Documentation (external link). I have added documenation to my Confluence instance that will be updated over time. Permissions Node changed! If you get "command is restricted" you most likely did not check the release log.

Further Instructions can be found there.

Concept

The basic idea of this protection plugin is allowing players to register an account based on their player name and a supplied password and optionally their email-address. When a registered player connects to the server, that player will be prompted to authenticate his or herself by logging in. If and only if a valid password is supplied, they will regain full control of their account until their session expires.


Permissions (READ ME)

This plugin has the ability to block almost any action (including command execution) for guests and registered xauth players. It also does not use negated permissions in order to not interfere with existing plugins. Permissions are "allowed" or "restricted".

Important-Note:
In order to restrict certain actions executed by registered xauth players you need to restrict them since xauth players are trusted. This is different from guests since the default for guests is always "restrict" if not set since a guest is an unknown state. Guest nodes can also only be set via configuration and have the last say even if you might have the right to execute any command.

Please keep in mind in order to block admin commands you need to restrict them via xauth.restrict.player.command.xauth.* or add each command to a group.

This might be confusing at first but has its cons since you always can see if a permission is restricted or allowed via permission node and not via bullet point. More details can be found on page Permission-System


Features

  • Before registering/logging in, players can't:
    • Chat, execute commands, interact with objects (like levers or chests), move or pickup items
    • Break or place blocks
    • Receive or give damage, be targeted (followed) by hostile mobs
  • Inventory and location protection
  • Command TabCompletion including Configuration Node Browser!
  • In-depth setting and message configuration
  • Persistent login session through server restarts
  • Player name filter and password complexity configuration
  • Kick non-logged in (but registered) players after a configureable amount of time
  • Fine graded Permission System that also allows you to block interactions or commands
  • Permissions support (PermissionsEx, Bukkit, GroupManager)
  • Kick or temporarily lockout the IP address of a player who fials to log in after a configureable amount of tries
  • Custom, highly secure password hashing
  • Authenticate yourself with /login <password>
  • H2 / mySQL Database storage supported
  • Authentication over URL (AuthURL) allows for connection to forum or website databases
  • Auto-Updater (thanks to Gravity)

News

Checkout the News & Upcoming-Changes page for details.

Wiki

The Wiki is located on github.
Please visit the http://bukkit.luricos.de/ress/icons/github_16.png Github Project-Page and click on Wiki

Credits

All credits goes to CypherX from bukkit forums who created this plugin. Thanks for your work and long time support!

The old bukkit-thread can be found here

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of ZachBail ZachBail Mar 31, 2015 at 13:26 UTC - 0 likes

    @luricos: Go

    Great news, thank you.

    http://theverve.buycraft.net

  • Avatar of luricos luricos Mar 30, 2015 at 23:04 UTC - 0 likes

    @ZachBail: Go

    well i have to check for specific java 8 related changes. one i already identified is fairly simple to fix. It will fix issues with permissions building when using java 8. everything else has to be tested which takes time. I will probably get back to xauth on thursday.

  • Avatar of luricos luricos Mar 30, 2015 at 23:00 UTC - 0 likes

    @Mark615: Go

    PM me so we can discuss this problem.

  • Avatar of ZachBail ZachBail Mar 30, 2015 at 16:26 UTC - 0 likes

    @luricos: Go

    This plugin looks amazing luricos. Any ETA on the update to java 8? I can't use XAuth till then because most, if not all, my players use 8 now that it is part of the auto-update.

    Last edited Mar 30, 2015 by ZachBail
  • Avatar of Mark615 Mark615 Mar 29, 2015 at 22:20 UTC - 0 likes

    @luricos:

    I#am using Java 7. But why are all this permissions wrong?

  • Avatar of xion87 xion87 Mar 28, 2015 at 14:00 UTC - 0 likes

    btw this auth plugin it block the user if try to login with a different names? Example i register as Guy, and after a while i log as gUY, how xAuth will threat this? because with uuid thing it mess these user database,

  • Avatar of luricos luricos Mar 27, 2015 at 00:52 UTC - 0 likes

    @Mark615: Go

    Do you have Java 8 installed? If so use java 7.

  • Avatar of Mark615 Mark615 Mar 26, 2015 at 10:53 UTC - 0 likes

    I am using xauth version 2.6.0 and there are some problems which i don't understand.

    no errors in the console, but when i log in with my player and try to move it, xauth tell me to log in "you must be logged in to do that". But i did before.

    I tryed to handel the problem by adding permissions to pex "xauth.allow.command.*" But why are the given perms in the plugin.yml not the permissions which i need to allow an action?

    My question is why did xauth mean that iam not logged in?

  • Avatar of pongleung pongleung Mar 23, 2015 at 16:28 UTC - 0 likes

    @luricos: Go

    grad to hear this.... because i am using 1.8 java in my server too.

    Thanks

  • Avatar of Rycerz16 Rycerz16 Mar 22, 2015 at 20:19 UTC - 0 likes

    Works perfectly with Spigot 1.8.3 :D

Facts

Date created
Jan 23, 2012
Categories
Last update
Mar 19, 2015
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
xAuth
Downloads
518,545
Recent files

Authors

Relationships

Optional dependency
Essentials
PermissionsEx