Spigot NickAPI | Advanced NickAPI | 1.8 - 1.17 6.2

An api to nick player with a lot of features

  1. Haoshoku submitted a new resource:

    NickAPI ~ [1.8.* -1.10.*] - An api to nick player with a lot of features

    Read more about this resource...
  2. (placeholder)
    - TODO LIST -
  3. Code (Text):
    [15:29:25] [Server thread/INFO]: [NickAPI] Enabling NickAPI v1.1
    [15:29:25] [Server thread/INFO]: [0;31;22m[21mFAILED TO INITIALIZE[m
    [15:29:25] [Server thread/INFO]: [0;31;22m[21mPLEASE REPORT THIS BUG TO [0;36;1m[21mHAOSHOKU![m
    [15:29:25] [Server thread/INFO]: [NickAPI] Disabling NickAPI v1.1
    [15:29:25] [Server thread/ERROR]: Error occurred while disabling NickAPI v1.1 (Is it up to date?)
        at net.haoshoku.nick.NickPlugin.onDisable(Unknown Source) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:323) ~[server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:359) [server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:424) [server.jar:git-Spigot-8a983f9-e81edfc]
        at net.haoshoku.nick.NickAPI.<init>(Unknown Source) [NickAPI.jar:?]
        at net.haoshoku.nick.NickPlugin.onEnable(Unknown Source) [NickAPI.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) [server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356) [server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316) [server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.craftbukkit.v1_8_R1.CraftServer.reload(CraftServer.java:746) [server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.Bukkit.reload(Bukkit.java:534) [server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [server.jar:git-Spigot-8a983f9-e81edfc]
        at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServer.java:646) [server.jar:git-Spigot-8a983f9-e81edfc]
        at net.minecraft.server.v1_8_R1.PlayerConnection.handleCommand(PlayerConnection.java:1115) [server.jar:git-Spigot-8a983f9-e81edfc]
        at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java:950) [server.jar:git-Spigot-8a983f9-e81edfc]
        at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:26) [server.jar:git-Spigot-8a983f9-e81edfc]
        at net.minecraft.server.v1_8_R1.PacketPlayInChat.a(PacketPlayInChat.java:53) [server.jar:git-Spigot-8a983f9-e81edfc]
        at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [server.jar:git-Spigot-8a983f9-e81edfc]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_91]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_91]
        at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:696) [server.jar:git-Spigot-8a983f9-e81edfc]
        at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [server.jar:git-Spigot-8a983f9-e81edfc]
        at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:634) [server.jar:git-Spigot-8a983f9-e81edfc]
        at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:537)
    Error :-(
  4. Thank you for reporting!
    Which minecraft-server version are you using?
  5. Spigot 1.8.8
  6. push
    Any suggestions for NickAPI?
  7. Does this API also change your skin for other players to them of the new nick? (I didn't really understand what you mean with "custom skins", sorry :D)

    Sehen andere Spieler bei dieser API auch den Skin des ausgewählten Nicknames? (Oder was meinst du mit "custom skins"?)
  8. There are 4 parameters in the #nick method. The last parameters are the data of the skin (value, signature). Example: You are able to nick to the name "Notch" while having an other skin, example the skin of Herobrine.

    If you set value & signature to null, NickAPI will get the skin datas of the name, you want to nick with help of Mojang API. But if you have a barrier by Mojang, it will get the skin datas by config.yml. I took the datas from user "Steve".

    //EDIT: Tomorrow or in 2-4 days, I will update the resource.
    I would like it, if you had suggestions for the plugin.
    #11 Haoshoku, Nov 29, 2016
    Last edited: Nov 30, 2016
  9. Haoshoku updated NickAPI ~ [1.8.8 - 1.11] with a new update entry:


    Read the rest of this update entry...
  10. I only want to change the name of the player and not his skin. Is this possible, how?
  11. Will be added in the next update ;) Thank you for your suggestion.
    I should be finished sunday because of I do not have much time in the weekend.
    • Like Like x 1
  12. Haoshoku updated NickAPI ~ [1.8.8 - 1.11] with a new update entry:

    New Features + Bugfixes

    Read the rest of this update entry...
  13. Nice API, I would like to see even more from you.
    • Friendly Friendly x 1
  14. I just got a new issue :/ Is there a maximum of allowed characters for the nick name? If yes, is there any way to extend the length?
  15. Why do you want to change the name of the player with a username that has a length of > 16 letters? It doesn't make sense.
    If you want to give the nicked player a name-tag, you can use the method: #addNameToScoreboard.

    I will take a look and see whether it is possible (safe) or not :)
  16. No change skin.

    public static void setNick(Player player, String nick) {
    nickAPI.nick(player, nick, true, null, null);