Skip to content
This repository has been archived by the owner on Feb 17, 2023. It is now read-only.
/ nametags Public archive

Useful NametagAPI that can be implemented into Bukkit and Spigot plugins. 48 character support & works with all versions.

Notifications You must be signed in to change notification settings

coleedwards/nametags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Nametags

Useful NametagAPI that can be implemented into Bukkit and Spigot plugins. 48 character support & works with all versions.

  • Uses Bukkit Team System
  • Easy to Use
  • Free + Open Source

Todo

  • Cleanup
  • Add automatic string splitting (String -> 16 chars in prefix, 16 chars in display name, 16 chars in suffix)

Example:

    private Nametag nametag;

    @Override
    public void onEnable() {
        nametag = new Nametag(this);
        Bukkit.getServer().getPluginManager().registerEvents(this, this);
    }

    @EventHandler
    public void onJoin(PlayerJoinEvent e) {
        try {
            nametag.getNametagHandler().setNametag(e.getPlayer(), Bukkit.getScoreboardManager().getMainScoreboard(), new PlayerNametag("verycoolman", e.getPlayer().getName(), null));
        } catch (NametagException e1) {
            e1.printStackTrace();
        }
    }
    

Terms

  1. No claiming as your own
  2. You may include this in premium plugins, with credit

Contact

Discord - Cole#3895 Twitter - @ThatDevCole Telegram - @ThatDevCole

© Runic Holdings LLC. 2019

About

Useful NametagAPI that can be implemented into Bukkit and Spigot plugins. 48 character support & works with all versions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages