/sign-editor-api

An API for using custom sign editor in Minecraft

Primary LanguageJavaMIT LicenseMIT

Sign Editor API

An API that provides the ability to use custom sign editor in Spigot servers.

Requirements

Example

/* Default lines that shows to the player */
final String[] defaultLines = {
    "", /* Where the player is going to write */
    "===========",
    "This is",
    "Test Input"
};

me.ihdeveloper.api.SignEditorAPI.open(player, (player, lines) -> {
    System.out.println("Submitted Input: " + lines[0]);
}, defaultLines);

image

Getting Started

  1. Add the API plugin to the your plugin.yml dependencies
depend:
  - sign-editor-api
  1. You are ready to use the API! \o/ Take a look at Example