Skip to content

Imptovskii/ServerBrandFork

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ServerBrand

Кастомный Server Brand, немного перебрал оригинальный плагин и обновил библиотеки чтобы он мог работать с новым BungeeCord/Waterfall и Spigot/PaperMC

изображение

Как использовать

Config

# The string to display in the debug menu.
# On bungeecord you can use %%server%% to insert the brand coming from the backend server, eg to show the instance id
brand: "My Server"

API

Bukkit/Spigot/Paper

import org.bukkit.plugin.java.JavaPlugin;
import me.theminecoder.minecraft.serverbrand.ServerBrandAPI;

public class MyPlugin extends JavaPlugin {
    
    public void onEnable() {
        ServerBrandAPI.getInstance().setBrand("My Custom Brand");
    }
    
}

Bungeecord/Waterfall

import net.md_5.bungee.api.plugin.Plugin;
import me.theminecoder.minecraft.serverbrand.ServerBrandAPI;

public class MyBungeePlugin extends Plugin {
    
    public void onEnable() {
        ServerBrandAPI.getInstance().setBrand("My Custom Bungee Brand -> %%server%%");
    }
    
}

About

Простой плагин, для отображения кастомного ServerBrand

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages