Players aren't told (how) to register and/or login #67


  • New
  • Defect
Open
Assigned to _ForgeUser7462391
  • _ForgeUser9547668 created this issue Aug 23, 2013

    What steps will reproduce the problem?
    1. configurated the message interval to 10 seconds (although this didn't cause the problem when I first changed it).
    2. when a player logs in, he does not get the messages that tell him to register or login, although they still have to and the rest of AuthMe works perfectly fine.

    What is the expected output? What do you see instead?
    When a player logs in they should get the messages that tells him to register or login.

    What version of the product are you using?
    version 2.9

    Do you have an error log of what happened?(Server console output)

    ==
    2013-08-23 14:31:45 [SEVERE] Could not pass event PlayerJoinEvent to AuthMe v2.9
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
        at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30)
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463)
        at net.minecraft.server.v1_6_R2.PlayerList.c(PlayerList.java:208)
        at net.minecraft.server.v1_6_R2.PlayerList.a(PlayerList.java:104)
        at net.minecraft.server.v1_6_R2.PendingConnection.e(PendingConnection.java:136)
        at net.minecraft.server.v1_6_R2.PendingConnection.d(PendingConnection.java:48)
        at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:132)
        at net.minecraft.server.v1_6_R2.MinecraftServer.t(MinecraftServer.java:592)
        at net.minecraft.server.v1_6_R2.DedicatedServer.t(DedicatedServer.java:239)
        at net.minecraft.server.v1_6_R2.MinecraftServer.s(MinecraftServer.java:481)
        at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:413)
        at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
    Caused by: java.lang.NullPointerException
        at uk.org.whoami.authme.listener.AuthMePlayerListener.onPlayerJoin(AuthMePlayerListener.java:766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
        ... 14 more
    ==

    Please provide any additional information below.(config.yml)
    This is the 'settings' part of the config file in which I configured the message interval:

    settings:
      sessions:
        enabled: false
        timeout: 10
        sessionExpireOnIpChange: false
      restrictions:
        allowChat: false
        allowCommands:
        - /login
        - /register
        - /l
        - /reg
        maxRegPerIp: 1
        maxNicknameLength: 20
        ForceSingleSession: true
        ForceSpawnLocOnJoinEnabled: false
        SaveQuitLocation: true
        AllowRestrictedUser: false
        AllowedRestrictedUser: []
        kickNonRegistered: false
        kickOnWrongPassword: false
        teleportUnAuthedToSpawn: true
        minNicknameLength: 3
        allowMovement: false
        timeout: 0
        allowedNicknameCharacters: '[a-zA-Z0-9_?]*'
        allowedMovementRadius: 100
        enablePasswordVerifier: true
        ProtectInventoryBeforeLogIn: true
        displayOtherAccounts: true
        ForceSpawnOnTheseWorlds:
        - survival
        - survival_nether
        - survival_the_end
        - lobby
        - freebuild
        - hg_lobby
        banUnsafedIP: false
      GameMode:
        ForceSurvivalMode: false
        ResetInventoryIfCreative: false
      security:
        minPasswordLength: 4
        unLoggedinGroup: unLoggedinGroup
        passwordHash: SHA256
        doubleMD5SaltLength: 8
      registration:
        enabled: true
        messageInterval: 10
        force: true
        enableEmailRegistrationSystem: false
        doubleEmailCheck: false
      unrestrictions:
        UnrestrictedName: []
      messagesLanguage: en

  • _ForgeUser9547668 added the tags New Defect Aug 23, 2013

To post a comment, please login or register a new account.