1. Donate to support our project and help cover server and development costs! Link

Exception in thread "Thread-24"

Discussion in 'MCBans Plugin Discussion' started by emilyMCserver, Jun 23, 2017.

  1. emilyMCserver

    emilyMCserver New Member

    Joined:
    Jun 21, 2017
    Messages:
    3
    Likes Received:
    0
    I'm testing the plugin, attempting to ban my test account and I get the following error in the console:

    23.06 23:30:57 [Server] INFO {admin} issued server command: /ban {testaccount}
    23.06 23:30:57 [Server] INFO target: {testaccount}
    23.06 23:30:57 [Server] INFO targetUUID:
    23.06 23:30:57 [Server] WARN Exception in thread "Thread-24"
    23.06 23:30:57 [Server] WARN java.lang.NoSuchMethodError: org.bukkit.OfflinePlayer.setBanned(Z)V 23.06 23:30:57 [Server] WARN at com.mcbans.firestar.mcbans.request.Ban.bukkitBan(Ban.java:437)
    23.06 23:30:57 [Server] WARN at com.mcbans.firestar.mcbans.request.Ban.localBan(Ban.java:219)
    23.06 23:30:57 [Server] WARN at com.mcbans.firestar.mcbans.request.Ban.run(Ban.java:140)
    23.06 23:30:57 [Server] WARN at java.lang.Thread.run(Unknown Source)

    No matter what ban type I try, its the same message. I did notice the "targetUUID" is always blank. I thought it was communication related, but ping and sync work just fine. As do lookups.

    Any idea what could cause this?
     
  2. Daphsquid

    Daphsquid Customer Service Specialist Staff Member

    Joined:
    Jul 27, 2016
    Messages:
    40
    Likes Received:
    11
    Hi there,

    I tried joining your server to help troubleshoot, but I can't seem to find the IP associated with your username "emilyMCserver."

    Anyway, from the looks of this, I'd make sure you're running the latest version, depending on which Spigot/Bukkit version you're on. If you're using Spigot 1.12, you should be using MCBans v4.4.3. You can download the newest version here: https://get.mcbans.com/4.4.3/MCBans.jar

    Also, please make sure that you are using Spigot/Bukkit version 1.8.3 or later.

    Reply back if the issue is persisting.

    Best of luck,
     

Share This Page