Sueta

LabyMod Server API [1.8-1.17.1]

1.3

A newer Version of the Labymod API [1.8-1.17.1]

·Plugin


This is not the original Plugin!!!
To the original Plugin: Click

This API is inspired by the original. Why i made a new Version of

this Plugin is because the old plugin doesn't work with 1.8-1.16 and many
People want a Version that works in the newer Versions.

If you need help by something join the Discord-Server: Click

Documentation from the API: https://docs.labymod.net/pages/server/introduction/
Website from the API: https://labymod.net

GitHub: https://github.com/labymod

How to use this Plugin:
Example Class:

public class Example implements Listener {

    /* Register the API in your Class */
    public static LabyModAPI labyModAPI = new LabyModAPI();

    /* When player joins he gets an subtitle */
    public void joinevent(PlayerJoinEvent event) {
        Player player = event.getPlayer();
        UUID uuid = player.getUniqueId();
        String subtitle = "This is a Example";
 
        /* receiver = Player => The player that gets the subtitle */
        /* subtitlePlayer = UUID => of the player that gets the subtitle */
        /* value = String => Text stands under the playername */
 
        /* labyModAPI.setSubtitle(reciever, subtitlePlayer, value); */
        labyModAPI.setSubtitle(player, uuid, subtitle);
    }
}

Similar projects

Plugin →