All source projects

MrUltimateLibrary Source

Standalone source project / 68 files

MrUltimateLibrary is the backbone of all my plugins; it offers features that facilitate plugin creation, maintenance, and updates.

java

MrUltimateLibrary/src/main/java/eu/mrneznamy/mrultimatelibrary/placeholders/MrLibPlaceholder.java

JAVA · Read-only source

package eu.mrneznamy.mrultimatelibrary.placeholders;

import org.bukkit.entity.Player;

/**
 * Functional interface for placeholder handlers
 */
@FunctionalInterface
public interface MrLibPlaceholder {
    
    /**
     * Handle placeholder request
     * 
     * @param player Player requesting the placeholder
     * @param params Additional parameters (text after placeholder name)
     * @return Placeholder value
     */
    String onRequest(Player player, String params);
}

21 linesGNU GENERAL PUBLIC LICENSE · Version 3, 29 June 2007 · UTF-8 · Read only