MULTIFICATION / GUIDE

Introduction

Powerful library for sending custom notifications based on Adventure API

Edit on GitHub

Features#

Supported platforms#

PlatformModuleJavaAdventure
Paper 1.19.4+multification-paper21Native
Bukkit/Spigotmultification-bukkit8+Adapter
Custommultification-core8+DIY

Quick Start#

// 1. Extend platform class
public class MyMultification extends PaperMultification<MessagesConfig> {
    private final MessagesConfig config;

    @Override
    protected TranslationProvider<MessagesConfig> translationProvider() {
        return locale -> config;
    }

    @Override
    protected ComponentSerializer<Component, Component, String> serializer() {
        return MiniMessage.miniMessage();
    }

    @Override
    protected AudienceConverter<CommandSender> audienceConverter() {
        return new PaperAudienceConverter();
    }
}

// 2. Send messages
multification.create()
    .player(playerUUID)
    .notice(config -> config.welcomeMessage)
    .placeholder("{player}", player.getName())
    .send();

Next Steps#