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 luricos luricos Jul 12, 2015 at 10:48 UTC - 0 likes

    @lucasdidur: Go

    you need java 7 for the time beeing.

  • Avatar of lucasdidur lucasdidur Jul 12, 2015 at 07:19 UTC - 0 likes

    This new permissions system is too heavy and buggy. Please, go back to old player.hasPermission(node) simple 4 permission (login, register, logout, admin). I cant get to work since last update change.

    Last edited Jul 12, 2015 by lucasdidur

    ZBDH961dd80a0ff2918c9f798a1aed4145de

  • Avatar of luricos luricos Jul 05, 2015 at 13:00 UTC - 0 likes

    I will probably look into this on Thursday and decide if i have to make a spigot version.

  • Avatar of omgitsbob12 omgitsbob12 Jul 04, 2015 at 21:26 UTC - 0 likes

    Updated to xAuth v2.6.0 now when guests register the starter gets cleared upon /register, and if manually registering them via console it gets wiped with /login command. I also have hide-inventory set to false but this still happens.

  • Avatar of BotanistT BotanistT Jun 29, 2015 at 12:30 UTC - 0 likes

    @luricos: Go

    whats wrong with spigot? Spigot <3

  • Avatar of Gnacik Gnacik Jun 26, 2015 at 19:35 UTC - 0 likes

    Hello.

    Got some errors in logs using latest 2.6.0

    http://pastebin.com/ut27LK7s

    http://pastebin.com/dkuXb646

    Last edited Jun 26, 2015 by Gnacik

    BFAK:Gnacik,90713832,cee5c8a9998b802ddb0bef6619f7365edf60cf90e9cdde5f1c4045e911702f59

    http://www.auplod.com/u/uoapld592c4.png

  • Avatar of blakelnk blakelnk Jun 26, 2015 at 18:48 UTC - 0 likes

    Can you add Somethin were if there premium it skips the /register thing?

  • Avatar of daisyduck1 daisyduck1 Jun 23, 2015 at 07:33 UTC - 0 likes

    @ luricos I switch to debug mode and get the following information:

    Node: 'xauth.security.deny.command.target.xauth.unregister.xauth.unregister.bea1', result: true.

    But i didn´t set any restrictions. In my posting #239 you see all permissions that i use.

    Btw, i already use Java 7.

    www.forever-mine.de

  • Avatar of luricos luricos Jun 18, 2015 at 09:01 UTC - 0 likes

    @BotanistT: Go

    i don't have tested 1.8 yet since i would have to use spigot then.

  • Avatar of luricos luricos Jun 18, 2015 at 09:00 UTC - 0 likes

    @daisyduck1: Go

    try to use debug mode for permissions and check if the right ones are checked. If its not checking for documented permission nodes (see https://luricos.de/wiki/display/xAuth/Commands+and+Permissions) then you may have installed java 8 and you need to use java 7 at the moment.

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
539,388
Recent files

Authors

Relationships

Optional dependency
Essentials
PermissionsEx