GuiFillerUtil

public final class GuiFillerUtil

Fills empty GUI slots with a configurable filler item from config.yml.

Functions

Link copied to clipboard
public static void apply(@NotNull() @NotNull() Plugin plugin, @NotNull() @NotNull() Inventory inventory, @Nullable() @Nullable() Player player)
Applies filler to an inventory using the plugin's cached config, or loads directly as fallback.
Link copied to clipboard
public void fillEmpty(@NotNull() @NotNull() Inventory inventory, @Nullable() @Nullable() Player player)
Places the filler item in every empty slot of the inventory.
Link copied to clipboard
public boolean isEnabled()
Link copied to clipboard
@NotNull()
public static @NotNull() GuiFillerUtil load(@NotNull() @NotNull() FileConfiguration config)