sign gui api for spigot plugins

Overview

hSignAPI

public class ExampleSign extends JavaPlugin {

    private SignAPI signAPI;

    @Override
    public void onEnable() {
        this.signAPI = SignAPI.getInstance(this);
    }

    public SignAPI getSignAPI() {
        return this.signAPI;
    }

    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args) {
        Player player = (Player) sender;

        if (command.getName().equals("opensign")) {
            HSign hSign = this.signAPI.getSignCreator().setLines("line 1", "line 2", "line 3", "line 4").setType(Material.valueOf("SIGN_POST")).create();
            hSign.open(player, strings -> {
                Bukkit.broadcastMessage(strings[0]);
                Bukkit.broadcastMessage(strings[1]);
                Bukkit.broadcastMessage(strings[2]);
                Bukkit.broadcastMessage(strings[3]);
            });
        }
        return false;
    }
}
You might also like...

Minecraft mod - Adds more support for keyboard navigation in GUI screens!

Minecraft mod - Adds more support for keyboard navigation in GUI screens!

UseKeyboardWithMenu Client-sided mod that adds more support for keyboard navigation in GUI screens! 📝 Table of Contents About Authors 🧐 About UseKey

Apr 26, 2022

[Minecraft] Configs from Spigot core

SpigotConfigLibrary [Minecraft] Configs from Spigot core English This is a cut-out piece of config code from the Spigot core. You can use it for conve

Sep 9, 2022

Minecraft Spigot 1.16 - plugin for compass tracking other players. MVP contains tracking closest player available.

Compass Tracker Overview Minecraft Spigot 1.16 Plugin. Plugin sets compass target to closest player in the overworld. Created to use with my friends t

Nov 15, 2021

Totally Spigot 1.17

"""Spigot 1.17""" Thanks for all the rages, but Spigot 1.17 is now officially available and can be obtained by using BuildTools! See this for more inf

Jun 3, 2022

simple spigot plugin malware remover, made in 10 minutes lol

spigot-malware-remover Simple spigot plugin malware remover made in 10 minutes, using ASM bytecode manipulation library. Compile it using maven, if yo

Oct 29, 2022

An advanced 1.8.8 spigot backdoor.

CelestialBackdoor An advanced 1.8.8 spigot backdoor. This backdoor contains a plethora of commands to execute. This backdoor supports commands for Dis

Jan 19, 2022

Unnerved by 1.18 fog? This Spigot plugin will remove it!

Unnerved by 1.18 fog? This Spigot plugin will remove it!

ClearFog Are you also unnerved by the new 1.18 fog system? And you tried to increase the server view distance? You don't have to! This Spigot plugin "

Dec 19, 2022

Plugin with helpful tools for factions, made to be used beside atlas spigot.

AtlasUtils Plugin with helpful tools for factions, made to be used beside atlas spigot. Features: Config: Found in your plugins folder at AtlasUtils/c

Dec 24, 2021

A Spigot plugin to edit block properties and more.

BoneTool BoneTool is a tool created to edit block properties with many features for builders. This is a creative tool developed as a package of featur

Jan 6, 2022
Releases(1.1.5)
Owner
Hakan Kargın
Hakan Kargın
💜 LiteSkullAPI Fast and extensive skull library for Bukkit/Spigot/Paper plugins

?? LiteSkullAPI Fast and extensive skull library for Bukkit/Spigot/Paper plugins. Helpful links: Support Discord GitHub issues Eternal Repository (Mav

Norbert Dejlich 16 Dec 2, 2022
Backdoor injector for Bukkit/Spigot plugins.

MinePatcher Backdoor injector for Bukkit/Spigot plugins. MinePatcher was developed to test the security systems of Minecraft servers. Usage: 1. Window

null 3 Sep 18, 2022
A small Reactive API with RxJava for Minecraft Paper Plugins.

RxPaper A small Reactive API with RxJava for Minecraft Paper Plugins. Usage RxPaper.io() When you want to return something back in the Minecraft Threa

Julian Haag 7 Dec 9, 2021
Add an event on Spigot API to listen to players kill a player with EnderCrystal

(Minecraft) Add an event on Spigot API to listen to players kill a player with EnderCrystal

Guang_Chen_ 4 Dec 22, 2022
Minecraft Forge Hybrid server implementing the Spigot/Bukkit API (Cauldron for 1.18)

❓ About Magma is the next generation of hybrid minecraft server softwares. Magma is based on Forge and Paper, meaning it can run both Craftbukkit/Spig

Magma Foundation 12 Apr 18, 2022
Minecraft plugins with Java.

Minecraft plugins with Java.

null 2 Feb 22, 2022
Blocking the your minecraft plugins to show from server member

BSP Blocking your minecraft server plugins to show. 한국어 README Features Blocking your minecraft server plugins to show. Custom Events. Install Install

Plma75 2 Jan 22, 2022
An efficient map viewer for Minecraft seed in a nice GUI with utilities without ever needing to install Minecraft.

To download it head to the Releases section. To run it: either double click it on it if you have the Java Runtime (JRE) or use the command line (shift

Neil 127 Dec 24, 2022
Flexible, open & solid Quest Plugin [with GUI]

NotQuests NotQuests is a flexible, Minecraft 1.17.1 Quest plugin, featuring a complete GUI for player interactions, open & trusted source code and fle

Alessio Gravili 39 Dec 29, 2022
Nick changer in game/chat with GUI

NickChangerGUI Nick changer in game/chat with GUI -> helps <- Config : In config it can be edit all Settings for UI/Chat/Messages/Options Command Perm

Daniel Reydovich 3 Apr 12, 2022