NameTagAPI v.1.0 for Developer by crafterjuli 1.0

Change the color of NameTags

  1. raphigames31
    raphigames31
    1/5,
    Version: 1.0
    it's the badder plugin ever, i don't recommendate it !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  2. depc
    depc
    1/5,
    Version: 1.0
    Well, this isn't a plugin at all. It is legitimately 14 lines of code that in NO WHERE does it reference any plugin initializer. Why you would suggest to put it in your plugins folder stumps me.

    To avoid future stress and confusion, I'm going to rewrite the plugin in the same amount of code.

    public static void setTag(Player player, String tag, Player toSetFor) {
    Scoreboard board = Bukkit.getScoreboardManager().getMainScoreboard();
    Team team = board.getTeam(player.getName());
    if (team == null) {
    team = board.registerNewTeam(player.getName());
    }
    team.setPrefix(tag);
    team.addPlayer(player);
    for (Player players : Bukkit.getOnlinePlayers()) {
    players.setScoreboard(board);
    }
    }
  3. adamdaekkedawdaw
    adamdaekkedawdaw
    2/5,
    Version: 1.0
    Problem: Don't load the plugin of version 1.8.8. Please Help me!!!!!!!!!!!!!!!!!
  4. Tai_1er
    Tai_1er
    1/5,
    Version: 1.0
    Can't load the plugin with Spigot 1.12.2.

    org.bukkit.plugin.InvalidPluginException: main class `de.nametagapi.NameTagAPI' does not extend JavaPlugin
  5. FlappyBird97
    FlappyBird97
    4/5,
    Version: 1.0
    Works very well but I'm missing the functionality of setting a suffix as well but overall good and useful plugin
  6. x9nico
    x9nico
    1/5,
    Version: 1.0
    Not work :

    [13:35:40] [Server thread/ERROR]: Could not load 'plugins\NameTagAPI.jar' in folder 'plugins'
    org.bukkit.plugin.InvalidPluginException: main class `de.nametagapi.NameTagAPI' does not extend JavaPlugin
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:73) ~[spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) ~[spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:329) ~[spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:251) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:292) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.reload(CraftServer.java:739) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.Bukkit.reload(Bukkit.java:535) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:25) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(CraftServer.java:627) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:412) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:375) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot_server.jar:git-Spigot-db6de12-18fbb24]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_112]
    Caused by: java.lang.ClassCastException: class de.nametagapi.NameTagAPI
    at java.lang.Class.asSubclass(Unknown Source) ~[?:1.8.0_112]
    at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:71) ~[spigot_server.jar:git-Spigot-db6de12-18fbb24]
    ... 15 more
    1. crafterjuli
      Author's Response
      you use Java 8? sry forgot that on the main page
  7. Mr_Rhetorical
    Mr_Rhetorical
    3/5,
    Version: 1.0
    It works well, but I feel to make this plugin better you need to make it so you can completely remove nametags and change the names of players themselves.
    1. crafterjuli
      Author's Response
      its only an api to change the color of your name, not to change your name
  8. FrancoAlvarez
    FrancoAlvarez
    5/5,
    Version: 1.0
    Good Api I can use this api in my plugin? thank you !
    1. crafterjuli
  9. val59000
    val59000
    4/5,
    Version: 1.0
    Works good except for invisible players for whom the nametag is still visible. Would you be able to fix this issue ? Thanks !
  10. carrasp
    carrasp
    4/5,
    Version: 1.0
    I wish this would work, but on the startup of the server with this and my plugin for this API it gives me an error saying it couldn't load NametagAPI because the class import de.nametagapi.NameTagAPI; does not extend JavaPlugin
    1. crafterjuli
      Author's Response
      Can u send me your error? Maybe I can fix it :D This is not a Plugin for only a Minecraft Server, this is an API for Developers :D
      Or send me your code, MAybe I can fix your code :D
  11. _flyingCoder
    _flyingCoder
    5/5,
    Version: 1.0
    Nice Plugin! There aren't so many good plugins or API's like your's!
    Thanks for coding! I searched so long to have a APi like this!
    1. crafterjuli