Code Monkey home page Code Monkey logo

authme / authmereloaded Goto Github PK

View Code? Open in Web Editor NEW
581.0 26.0 516.0 97.47 MB

The best authentication plugin for the Bukkit/Spigot API!

Home Page: https://dev.bukkit.org/bukkit-plugins/authme-reloaded/

License: GNU General Public License v3.0

Java 99.85% HTML 0.04% Batchfile 0.06% Shell 0.06%
authme spigot craftbukkit database minecraft minecraft-plugin minecraft-admin bukkit-plugin spigot-plugin authentication security bukkit bukkitdev curseforge java

authmereloaded's Introduction

AuthMeReloaded

"The best authentication plugin for the Bukkit modding API!"

AuthMeLogo

Type Badges
General:
Code quality: Code Climate Coverage status
Jenkins CI: Jenkins Status Build Status Build Tests
Other CIs: Build Status

Description

Prevent username stealing on your server!
Use it to secure your Offline mode server or to increase your Online mode server's protection!

AuthMeReloaded disallows players who aren't authenticated to do actions like placing blocks, moving,
typing commands or using the inventory. It can also kick players with uncommonly long or short player names or kick players from banned countries.

With the Session Login feature you don't have to execute the authentication command every time you connect to the server! Each command and every feature can be enabled or disabled from our well structured configuration file.

You can also create your own translation file and, if you want, you can share it with us! :)

Features:

  • E-Mail Recovery System!
  • Username spoofing protection.
  • Countries Whitelist/Blacklist! (country codes)
  • Built-in AntiBot System!
  • ForceLogin Feature: Admins can login with all account via console command!
  • Avoid the "Logged in from another location" message!
  • Two-factor (2FA) support!
  • Session Login!
  • Editable translations and messages!
  • MySQL and SQLite Backend support!
  • Supported password encryption algorithms: SHA256, ARGON2, BCRYPT, PBKDF2, xAuth
  • Supported alternative registration methods:
    • PHPBB, VBulletin: PHPBB - MD5VB
    • Xenforo: XFBCRYPT
    • MyBB: MYBB
    • IPB3: IPB3
    • IPB4: IPB4
    • PhpFusion: PHPFUSION
    • Joomla: JOOMLA
    • WBB3: WBB3*
    • SHA512: SALTEDSHA512
    • DoubleSaltedMD5: SALTED2MD5
    • WordPress: WORDPRESS
    • List of all supported hashes
  • Custom MySQL tables/columns names (useful with forum databases)
  • Cached database queries!
  • Fully compatible with Citizens2, CombatTag, CombatTagPlus!
  • Compatible with Minecraft mods like BuildCraft or RedstoneCraft
  • Restricted users (associate a username with an IP)
  • Protect player's inventory until correct authentication (requires ProtocolLib)
  • Saves the quit location of the player
  • Automatic database backup
  • Available languages: translations
  • Built-in Deprecated FlatFile (auths.db) to SQL (authme.sql) converter!
  • Import your old database from other plugins like Rakamak, xAuth, CrazyLogin, RoyalAuth and vAuth!

Configuration

How to configure AuthMe

Commands

Command list and usage

Permissions

How To

Links and Contacts

  • Support:

  • Dev resources:

      <repositories>
          <repository>
              <id>codemc-repo</id>
              <url>https://repo.codemc.org/repository/maven-public/</url>
          </repository>
      </repositories>
    
      <dependencies>
          <dependency>
              <groupId>fr.xephi</groupId>
              <artifactId>authme</artifactId>
              <version>5.6.0-SNAPSHOT</version>
              <scope>provided</scope>
          </dependency>
      </dependencies>
  • Statistics: Graph

Requirements

Compiling requirements:
  • JDK 11 (JDK 17 is recommended)
  • Maven
  • Git/Github (Optional)
How to compile the project:
  • Clone the project with Git/GitHub
  • Execute command "mvn clean package"
Running requirements:
  • Java 8 (Java 17 is recommended)
  • Paper or Spigot (1.8.X and up)
    (In case you use Thermos, Cauldron or similar, you have to update the SpecialSource library to support Java 8 plugins. HowTo: games647/FastLogin#111 (comment))
  • ProtocolLib (optional, required by some features)

Credits

Contributors:

Team members: developers, translators

Credits for the old version of the plugin: d4rkwarriors, fabe1337, Whoami2 and pomo4ka

Thanks also to: AS1LV3RN1NJA, Hoeze and eprimex

GeoIP License:

This product uses data from the GeoLite API created by MaxMind, available at https://www.maxmind.com

authmereloaded's People

Contributors

alexandre-vanhecke-student avatar bodyash avatar daunbawang avatar denpim avatar dependabot-preview[bot] avatar dependabot[bot] avatar dmitryrendov avatar dnx5 avatar ebonjaeger avatar eufranio avatar games647 avatar hex3l avatar krusic22 avatar legion64 avatar lifehome avatar ljacqu avatar maxetto avatar minesat avatar montlikadani avatar platinteufel avatar playhi avatar rafaelflromao avatar rikodev avatar sgdc3 avatar stefatorus avatar timvisee avatar twonox avatar typicalshavonne avatar wolfwork avatar xephi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

authmereloaded's Issues

Lowercase

Do you think you can add option to disable lowercasing for player names in database? Thanks :)

Make datasource operations run asynchronously.

All current database/file operations are run in main server thread. On big servers authme make a lot of lags. Solution of this problem might be to run the datasource operation in another thread.

Cache issue

Hello, I was testing new AuthMe build from Jenkins, #188. I am using Debian 7.0 with Spigot server, and there seems to be an issue with file system. When a player logs in:

[03:19:25 WARN]: java.io.IOException: No such file or directory
[03:19:25 WARN]: at java.io.UnixFileSystem.createFileExclusively(Native Method)
[03:19:25 WARN]: at java.io.File.createNewFile(File.java:1006)
[03:19:25 WARN]: at fr.xephi.authme.cache.backup.FileCache.createCache(FileCache.java:55)
[03:19:25 WARN]: at fr.xephi.authme.listener.AuthMePlayerListener.onPlayerJoin(AuthMePlayerListener.java:661)
[03:19:25 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[03:19:25 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[03:19:25 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[03:19:25 WARN]: at java.lang.reflect.Method.invoke(Method.java:606)
[03:19:25 WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:296)
[03:19:25 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[03:19:25 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
[03:19:25 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.PlayerList.c(PlayerList.java:265)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.PlayerList.a(PlayerList.java:152)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.LoginListener.c(LoginListener.java:105)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.LoginListener.a(LoginListener.java:43)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:187)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:731)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490)
[03:19:25 WARN]: at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628)

I hope it can be easily repaired. Thanks in advance.

MOD

Aren't there a way to convert this plugin in a Forge MOd? It is too difficult ?

Suggestion: Kick user if is using the same name but with other case

In the current version, a user called Notch can login with the username "NotCH", use the same password (/login) to login and he can play.

The problem is that some plugins expect that Notch is a different user than NotCH causing some issues (Users can dupe /money if they do certain trick with different name cases).

Some months ago a plugin kicked the user if he logged in with different case that the first one that he used the first time (it was maybe factions, worldguard or other) but now that feature got removed.

I hope that you could implement that feature into AuthMeReloaded as this plugin works with offline mode servers that are the ones with this problem.

Possible fix:
Store in the "username" row the username as entered by the user (Notch), for all the checks you can convert it to lowercase when needed.
Then, if a user logs into the server with a name that is already in the database but with other case kick him and tell the exact name that he has to input. (Error, your name should be spelled as "Notch").
That way Notch cannot login as NotCH or notch so other plugins dont have to handle this issue.

Thanks for reading and thanks for the plugin

Password security issues

So, I've setup some unsafe passwords and, besides that it's telling "The passwords doesn't match" while it could be telling some specific messages like "This password is not safe, choose another", there's an high security issue with /changepassword.

In fact, while it's blocking unsafe passwords and too short passwords during register, with /changepassword neither of these 2 are checked. Results is that people can register with a password and lately change it to 123 (too short password), password (unsafe password), etc.

Also, i would suggest to block with "%p" passwords that matches the username and, if uppercase, also the relative lowercase match.

(I also remind you of this bug that i posted on the bukkit page)
"This may be fixed on new versions, but I want to report it anyway: Basically, if you have "ForceSpawnLocOnJoin: true" and the configured worlds on "ForceSpawnOnTheseWorlds:" and "Session: true", players in one of the Forced Spawn worlds that logged in with session won't get Teleported to Spawn. Using AuthMe 3.4, since I heard 3.5 is pretty Bugged. If you could make a quick fix for 3.4 of this bug, or maybe just post the relative code and I'll build it myself."

Thank you for keeping this plugin up-to-date.

Latest Github compilation is totally broken

I just compiled your new code and finally everyone can login without being asked for any password! The plugin loads without any errors or such, but it seems like the storage backend is fully broken. Also /register has an internal problem for what ever reason.

I really need a quick fix for this, people are taking over Staff accounts already....

problem with mysql when restart minecraft server

hi, i have big problem when restart minecraft server.

i configure config.yml to work with mysql and i develop a module for drupal where the user register his account and set minecraft password. https://github.com/patrikmen/minelogin

work all perfectly, but if i restart my minecraft server table drop user data... not all... but only player don't have register a password.

it's a big problem. i don't know why drop data.

this is my config.yml of authme reloaded file:

# 
#  backend: mysql
DataSource:
  mySQLColumnName: username
  mySQLTablename: minelogin
  mySQLUsername: ********
  backend: mysql
  mySQLColumnLastLogin: lastlogin
  mySQLDatabase: **********
  mySQLPort: '3306'
  mySQLColumnIp: ip
  mySQLHost: 127.0.0.1
  mySQLColumnPassword: minepass
  mySQLPassword: *******
  caching: true
  mySQLlastlocX: x
  mySQLlastlocY: y
  mySQLlastlocZ: z
  mySQLlastlocWorld: world
  mySQLColumnEmail: mail
  mySQLColumnId: id
  mySQLColumnLogged: isLogged
GroupOptions:
  UnregisteredPlayerGroup: umani
  RegisteredPlayerGroup: umani
  Permissions:
    PermissionsOnJoin: []
settings:
  sessions:
    enabled: false
    timeout: 120
    sessionExpireOnIpChange: true
  restrictions:
    allowChat: false
    allowCommands:
    - /login
    - /l
    maxRegPerIp: 3
    maxNicknameLength: 20
    ForceSingleSession: true
    ForceSpawnLocOnJoinEnabled: false
    SaveQuitLocation: false
    AllowRestrictedUser: false
    AllowedRestrictedUser:
    - playername;127.0.0.1
    kickNonRegistered: false
    kickOnWrongPassword: false
    teleportUnAuthedToSpawn: false
    minNicknameLength: 3
    allowMovement: false
    timeout: 120
    allowedNicknameCharacters: '[a-zA-Z0-9_]*'
    allowedMovementRadius: 100
    enablePasswordVerifier: true
    ProtectInventoryBeforeLogIn: false
    displayOtherAccounts: true
    ForceSpawnOnTheseWorlds:
    - world
    - world_nether
    - world_the_end
    banUnsafedIP: false
    spawnPriority: essentials,authme,multiverse,default
    maxLoginPerIp: 0
    maxJoinPerIp: 0
    noTeleport: false
  GameMode:
    ForceSurvivalMode: false
    ResetInventoryIfCreative: false
    ForceOnlyAfterLogin: false
  security:
    minPasswordLength: 4
    unLoggedinGroup: unLoggedinGroup
    passwordHash: SHA512
    doubleMD5SaltLength: 8
    supportOldPasswordHash: false
    unsafePasswords: []
  registration:
    enabled: false
    messageInterval: 5
    force: true
    enableEmailRegistrationSystem: false
    doubleEmailCheck: false
    forceKickAfterRegister: false
    forceLoginAfterRegister: true
  unrestrictions:
    UnrestrictedName: []
  messagesLanguage: en
  forceCommands: []
  forceCommandsAsConsole: []
  useWelcomeMessage: true
  broadcastWelcomeMessage: false
  delayJoinMessage: false
ExternalBoardOptions:
  mySQLColumnSalt: ''
  mySQLColumnGroup: ''
  nonActivedUserGroup: -1
  mySQLOtherUsernameColumns: []
  bCryptLog2Round: 10
  phpbbTablePrefix: phpbb_
  phpbbActivatedGroupId: 2
  wordpressTablePrefix: wp_
permission:
  EnablePermissionCheck: false
BackupSystem:
  ActivateBackup: false
  OnServerStart: false
  OnServerStop: false
  MysqlWindowsPath: C:\\Program Files\\MySQL\\MySQL Server 5.1\\
Passpartu:
  enablePasspartu: false
Security:
  SQLProblem:
    stopServer: true
  ReloadCommand:
    useReloadCommandSupport: true
  console:
    noConsoleSpam: false
    removePassword: false
  captcha:
    useCaptcha: false
    maxLoginTry: 5
    captchaLength: 5
Converter:
  Rakamak:
    fileName: users.rak
    useIP: false
    ipFileName: UsersIp.rak
Email:
  mailSMTP: smtp.gmail.com
  mailPort: 465
  mailAccount: my_email
  mailPassword: mypass
  mailSenderName: administration
  RecoveryPasswordLength: 8
  mailSubject: Your new AuthMe Password
  mailText: 'Dear <playername>, <br /><br /> This is your new AuthMe password for
    the server <br /><br /> <servername> : <br /><br /> <generatedpass><br /><br />Do
    not forget to change password after login! <br /> /changepassword <generatedpass>
    newPassword'
  maxRegPerEmail: 1
  recallPlayers: false
  delayRecall: 5
Hooks:
  multiverse: true
  chestshop: true
  bungeecord: false
  notifications: true
  disableSocialSpy: true
  useEssentialsMotd: false
Performances:
  useMultiThreading: true
Purge:
  useAutoPurge: false
  daysBeforeRemovePlayer: 60
  removePlayerDat: false
  removeEssentialsFile: false
  defaultWorld: world
  removeLimitedCreativesInventories: false
  removeAntiXRayFile: false
Protection:
  enableProtection: false
  countries:
  - US
  - GB
  countriesBlacklist:
  - A1
  enableAntiBot: false
  antiBotSensibility: 5
  antiBotDuration: 10
VeryGames:
  enableIpCheck: false


p.s.:i use this to reload database for authme:
http://dev.bukkit.org/bukkit-plugins/simplecommandscheduler
with config file:

schedule:
  120:
  - 'authme reload'

Lowercase user name related

hi~ I use the 3/6/2015 snapshot build from CI server
And I met this:

Let's say my username is 'user' and I have an alt named 'User',
when my alt first join , it doesn't let me register,I can use the password set by 'user';
I see account 'user' and 'User' share the same password.

Its that intended?

Here is another problem but caused by essentials: 'user' and 'User' share the balance number and their essentials user data (in plugins\Essentials\userdata ; like user's location & kits info etc.) will be a total mess.

What I mean here is ,could you add some function like refusing player named 'User' join(I mean join) server because there is already a player named 'user' in our cache?

I know its maybe a dirty solution to lowercase problem...

You can find bug report here:
https://hub.spigotmc.org/jira/browse/PLUG-34
https://hub.spigotmc.org/jira/browse/PLUG-50

The Plugins don't start

I have put the plugin in my folder plugins but the plugins dont load
why?
help me please.

Passwords lost on restart

Ok I dont have a console log as there appears to be no errors. The problem I have is everytime I restart my server it seems the passwords are lost with the newest snapshot 5.0 whatever. Can you help?

mobs interaction/pickuping

Hello
i found problem on authme.. deny inventory interaction inside mobs (companion) and mobs cannot pickup items

1.zombie/skeletons dond pickup items
2.i use mod Littlemaidmob, maids dont pickup items and i cant interact inside his inventory

AuthMe:3.4 - 3.5
No error log.
authme config: http://pastebin.com/6C3YzPLa
moded server: cauldron-1.7.10-1.1236.05.212
problem in mod littlemaid, but i test zombies and skeletons and they dont pickup items too (vanilla), tested without plugins (only authme)
without authme all working fine.

in config problem, or somtehing else?
thanks in advance

Fake Player

Hi, I have problems with OpenComputers Fake Player and Authme. No error but if Authme loaded, Robot can't breake and place blocks.
unrestrictions:
UnrestrictedName:
- '[OpenComputers]'

Players are not recognized correctly

When a player who is registered joins, the plugin still sends the "register using /register password password" message. The player won't be able to log in (-> nickname not registered or something).

When the player relogs, he will be able to login normally until the next server restart.

Bug reg_only

When players are trying to connect message is displayed them I do not understand:
Registered players only! Please visit http://example.com to register

Login session with BungeeCord

Version: 3.5-Snapshot

Problem: After the player gets logged in at lobby server and moves to another server within BungeeCord network (like survival etc.) he has to login again.
Those servers have the same AuthMe plugin and configuration as well, but session login is not working on any of them.

Config: http://pastebin.com/FMrLXc3H

Cannot invoke size() on the array type Player[]

hi~

when i use git clone the master,build in my eclipse,
there are some errors "Cannot invoke size() on the array type Player[]" in AuthMe.java,etc...
then i review the code, found that in brunch 4.0,the code in AuthMe.java and line 450 is:
Bukkit.getOnlinePlayers().length != 0
but in the master's AuthMe.java line 456 is:
Bukkit.getOnlinePlayers().size() != 0
i know that Bukkit.getOnlinePlayers() returns a Array,the array can be only count by length property,
so the question is why use Bukkit.getOnlinePlayers().size()??

Could not pass event PlayerJoinEvent to AuthMe v5.0-SNAPSHOT

[16:23:57 WARN]: [AuthMe] ERROR: Error on creating an inventory cache for leymooo_, maybe inventory wipe in preparation...
[16:22:01 ERROR]: Could not pass event PlayerJoinEvent to AuthMe v5.0-SNAPSHOT
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[Spigot.jar:git-Spigot-2ec6f06-7722428]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Spigot.jar:git-Spigot-2ec6f06-7722428]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at net.minecraft.server.v1_8_R2.PlayerList.onPlayerJoin(PlayerList.java:296) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at net.minecraft.server.v1_8_R2.PlayerList.a(PlayerList.java:156) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at net.minecraft.server.v1_8_R2.LoginListener.b(LoginListener.java:144) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at net.minecraft.server.v1_8_R2.LoginListener.c(LoginListener.java:54) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at net.minecraft.server.v1_8_R2.NetworkManager.a(NetworkManager.java:231) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at net.minecraft.server.v1_8_R2.ServerConnection.c(ServerConnection.java:148) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:811) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:368) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:651) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:554) [Spigot.jar:git-Spigot-2ec6f06-7722428]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
Caused by: java.lang.NullPointerException
at fr.xephi.authme.listener.AuthMePlayerListener.onPlayerJoin(AuthMePlayerListener.java:736) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_45]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_45]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_45]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_45]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[Spigot.jar:git-Spigot-2ec6f06-7722428]
... 14 more

org.bukkit.event.EventException [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3] caused by null pointer [?:1.7.0_75]

org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.PlayerList.onPlayerJoin(PlayerList.java:272) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.PlayerList.a(PlayerList.java:156) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.LoginListener.b(LoginListener.java:109) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.LoginListener.c(LoginListener.java:41) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.NetworkManager.a(NetworkManager.java:159) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.ServerConnection.c(ServerConnection.java:82) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:800) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537) [spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]
Caused by: java.lang.NullPointerException
at fr.xephi.authme.listener.AuthMePlayerListener.onPlayerJoin(AuthMePlayerListener.java:737) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_75]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_75]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_75]
at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_75]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[spigot-1.8.jar:git-Spigot-c3c767f-33d5de3]
... 14 more

Joomla integration is not working

Joomla has changed its password hashing algorithms from 2.5.18 for 2.x releases and from at least 3.2 for 3.x releases. So the JOOMLA.java implementation of md5 hashing is no longer applicable.
The way the current password creation works is that they check if the hashed password string starts with $P$ . If yes, they use new algorithms, if not, they use md5 for validation and then re-hash using the latest implementation..

warn on join player

[21:22:42] [Server thread/WARN] [/]: java.lang.IllegalStateException: Unable to find method getTypeId ([]).
[21:22:42] [Server thread/WARN] [/]: at com.comphenix.attribute.NbtFactory.getMethod(NbtFactory.java:817)
[21:22:42] [Server thread/WARN] [/]: at com.comphenix.attribute.NbtFactory.getMethod(NbtFactory.java:816)
[21:22:42] [Server thread/WARN] [/]: at com.comphenix.attribute.NbtFactory.(NbtFactory.java:366)
[21:22:42] [Server thread/WARN] [/]: at com.comphenix.attribute.NbtFactory.get(NbtFactory.java:343)
[21:22:42] [Server thread/WARN] [/]: at com.comphenix.attribute.NbtFactory.getCraftItemStack(NbtFactory.java:603)
[21:22:42] [Server thread/WARN] [/]: at com.comphenix.attribute.Attributes.(Attributes.java:244)
[21:22:42] [Server thread/WARN] [/]: at fr.xephi.authme.cache.backup.FileCache.createCache(FileCache.java:104)
[21:22:42] [Server thread/WARN] [/]: at fr.xephi.authme.listener.AuthMePlayerListener.onPlayerJoin(AuthMePlayerListener.java:675)
[21:22:42] [Server thread/WARN] [/]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[21:22:42] [Server thread/WARN] [/]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[21:22:42] [Server thread/WARN] [/]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[21:22:42] [Server thread/WARN] [/]: at java.lang.reflect.Method.invoke(Method.java:606)
[21:22:42] [Server thread/WARN] [/]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:334)
[21:22:42] [Server thread/WARN] [/]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[21:22:42] [Server thread/WARN] [/]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
[21:22:42] [Server thread/WARN] [/]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492)
[21:22:42] [Server thread/WARN] [/]: at net.minecraft.server.management.ServerConfigurationManager.func_72377_c(ServerConfigurationManager.java:352)
[21:22:42] [Server thread/WARN] [/]: at net.minecraft.server.management.ServerConfigurationManager.a(ServerConfigurationManager.java:218)
[21:22:42] [Server thread/WARN] [/]: at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:173)
[21:22:42] [Server thread/WARN] [/]: at cpw.mods.fml.common.network.handshake.NetworkDispatcher.completeHandshake(NetworkDispatcher.java:448)
[21:22:42] [Server thread/WARN] [/]: at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:21)
[21:22:42] [Server thread/WARN] [/]: at cpw.mods.fml.common.network.internal.HandshakeCompletionHandler.channelRead0(HandshakeCompletionHandler.java:11)
[21:22:42] [Server thread/WARN] [/]: at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:98)
[21:22:42] [Server thread/WARN] [/]: at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
[21:22:42] [Server thread/WARN] [/]: at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
[21:22:42] [Server thread/WARN] [/]: at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[21:22:42] [Server thread/WARN] [/]: at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111)
[21:22:42] [Server thread/WARN] [/]: at io.netty.channel.DefaultChannelHandlerContext.invokeChannelRead(DefaultChannelHandlerContext.java:337)
[21:22:42] [Server thread/WARN] [/]: at io.netty.channel.DefaultChannelHandlerContext.fireChannelRead(DefaultChannelHandlerContext.java:323)
[21:22:42] [Server thread/WARN] [/]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:785)
[21:22:42] [Server thread/WARN] [/]: at io.netty.channel.embedded.EmbeddedChannel.writeInbound(EmbeddedChannel.java:169)
[21:22:42] [Server thread/WARN] [/]: at cpw.mods.fml.common.network.internal.FMLProxyPacket.func_148833_a(FMLProxyPacket.java:77)
[21:22:42] [Server thread/WARN] [/]: at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:244)
[21:22:42] [Server thread/WARN] [/]: at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:173)
[21:22:42] [Server thread/WARN] [/]: at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:980)
[21:22:42] [Server thread/WARN] [/]: at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:423)
[21:22:42] [Server thread/WARN] [/]: at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:798)
[21:22:42] [Server thread/WARN] [/]: at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:658)
[21:22:42] [Server thread/WARN] [/]: at java.lang.Thread.run(Thread.java:745)

Error

Hi, so when i open my server after all plugins are loaded, 2 or more players make login and authme gives me an error that crashes the server. ( http://pastebin.com/kmXjZuzd ) Please Help!

Database Caching?

If the authme database is updated (password changed) the changes don't take effect in the server until a restart, or a few hours. I think this is because caching or storing local data that has been read from the database. How can I disable this?

Performance with mysql

this config is not working if you use mysql by default, after reboot

Performances:
useMultiThreading: true

after reboot:
Performances: {}

Dev Build Bug

When a player is killed by CombatTag before logging in, AuthMe throws errors: http://pastebin.com/ia5M7hbz

First error is shown on join (player was killed when logging out, escaping from PvP)
The second error is shown after hitting re-spawn and typing /login

caching nickname case error.

MySQLThread (any maybe other storage Threads) are not always synchronized with settings

When starting a server with the latest AuthMe Dev Build, sometimes the MySQLThread (and maybe other Threads too?) are started even before the settings were fully read, so it can't get the correct database connection info and causes at https://github.com/Xephi/AuthMeReloaded/blob/master/src/main/java/fr/xephi/authme/datasource/MySQL.java#L106 an NumberFormatException since port equals null. This exception gets caught somewhere and the server shuts down

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.