An API that provides the ability to use custom sign editor in Spigot servers.
- PacketListenerAPI by @InventivetalentDev
/* 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);
- Add the API plugin to the your
plugin.yml
dependencies
depend:
- sign-editor-api
- You are ready to use the API! \o/ Take a look at Example