NickAPI [1.10] 1.0

A simple API which developers can use to nick players and edit there prefixs and suffixs.

  1. Yekllurt
    Tested Minecraft Versions:
    • 1.10
    ! Important !
    This is an API and it won't do anything on it's own

    Information
    The NickAPI is a simple API to edit the nickname, prefix and suffix from a player.​

    Requirements
    The correct MC version for a specific plugin version (see Version compatibility)​

    Features
    Nick
    - Change the name that is displayed in the chat, tablist and over the head
    Prefix - Set a text that is displayed infront of the name (in the tablist and the over the head)
    Suffix - Set a text that is displayed after the name (in the tablist and the over the head)​

    Version compatibility
    MC Version + Plugin Version
    1.10..................................1.0​

    API
    Code (Text):
    @EventHandler
    public void onJoin(PlayerJoinEvent event){
            NickAPI.getNicknameApi().nick(event.getPlayer().getUniqueId(), "Nickname");
            NickAPI.getNicknameApi().unNick(event.getPlayer().getUniqueId());
            NickAPI.getNicknameApi().getNickedPlayers();
            NickAPI.getNicknameApi().getNickName(event.getPlayer().getUniqueId());
            NickAPI.getNicknameApi().isNicked(event.getPlayer().getUniqueId());      
    }
    Code (Text):
    @EventHandler
    public void onJoin(PlayerJoinEvent event){
            NickAPI.getPrefixSuffixApi().setPrefix(event.getPlayer().getUniqueId(), "Prefix");
            NickAPI.getPrefixSuffixApi().setSuffix(event.getPlayer().getUniqueId(), "Suffix");
            NickAPI.getPrefixSuffixApi().setPrefixSuffix(event.getPlayer().getUniqueId(), "Prefix", "Suffix");
            NickAPI.getPrefixSuffixApi().getPrefixedAndSuffixedPlayers();
            NickAPI.getPrefixSuffixApi().getPrefixedPlayers();
            NickAPI.getPrefixSuffixApi().getSuffixedPlayers();
            NickAPI.getPrefixSuffixApi().getPrefix(event.getPlayer().getUniqueId());
            NickAPI.getPrefixSuffixApi().getSuffix(event.getPlayer().getUniqueId());
    }

    Installation
    1. Stop the server.
    2. Put the NickAPI.jar into your plugins folder.
    3. Start the server
    Eptix likes this.

Recent Reviews

  1. NoTime
    NoTime
    5/5,
    Version: 1.0
    Excellent!

    Can you add 1.8 Support ?


    Please add 1.8 Support


    Nice its running on my server !! ♥
  2. AdnanPvP123
    AdnanPvP123
    4/5,
    Version: 1.0
    Can you add 1.8 Support. I need to test plugin but I like it on this Events.Thank you for this but add 1.8 Support