Nightmare-text - This is a simple lib that help to create, titles, actionbars, hovers and click actions chat components.

Related tags

GUI nightmare-text
Overview

Nightmare text

This is a simple lib that help to create, titles, actionbars, hovers and click actions chat components.

Setup

public final class TestingPlugin extends JavaPlguin {
    
    private NightmareText nightmareText;

    @Override
    public void onEnable() {
        nightmareText = new NightmareText();
    }

    public PacketModel getModelText() {
        return nightmareText.getPacketModel();
    }
}

Create Title

public class PlayerJoinListener implements Listener {
    private final TestingPlugin plugin;

    public PlayerJoinListener(TestingPlugin plugin) {
        this.plugin = plugin;
    }
    @EventHandler
    private void onJoinServer(PlayerJoinEvent event) {
        Player player = event.getPlayer();
        TitleModel titleModel = new TitleModel(
                "Test Title",
                "Test subtitle text",
                2,
                5,
                2
        );
        plugin.getModelText().sendTitle(player, titleModel);
    }
}

Create actionbar

public class PlayerJoinListener implements Listener {
    private final TestingPlugin plugin;

    public PlayerJoinListener(TestingPlugin plugin) {
        this.plugin = plugin;
    }
    @EventHandler
    private void onJoinServer(PlayerJoinEvent event) {
        Player player = event.getPlayer();
        ActionBarModel actionBarModel = new ActionBarModel("Actionbar test text");
        plugin.getModelText().sendActionBar(player, actionBarModel);
    }
}
You might also like...

A small tools to play with JavaFX Color.derive() function - allows to create custom colors and to save those in color palettes.

A small tools to play with JavaFX Color.derive() function - allows to create custom colors and to save those in color palettes.

DeriveColorsFX This is not a serious application. Its a small tool where I just played with the method Color::deriveColor provided by JavaFX. Also its

Oct 9, 2022

To quickly integrate your applications into the EdgeGallery platform, we provide the toolchain project to help developers quickly modify code and migrate applications to the platform.

Toolchain 工具链 工具链是MEC Developer开发者平台中的一个重要特性,当x86平台的App想要上车ARM平台时,底层的代码不可避免的需要进行修改或重写。 App提供者可以通过MEC Developer开发者平台中集成的工具链进行源代码分析,定位需要修改的源代码并根据指导意见进行修

Jan 7, 2022

In the Developer - Platform of EdgeGallery, we have provided a lot of useful APIs, in this project, try to simulates APIs of the competence center to help develoers test API request and response online.

api-emulator api-emulator模块,为EdgeGallery提供了基本能力的模拟api,开发者可以调用该模拟器提供的api,不需要真实部署就可以查看平台已有的能力。目前该api-emulator集成了两种平台能力:位置服务和人脸识别能力。 平台能力简介 位置服务 提供用户位置,E

Dec 25, 2021

A JavaFX UI framework to create fully customized undecorated windows

A JavaFX UI framework to create fully customized undecorated windows

CustomStage A JavaFX undecorated stage which can fully be customized Donations If this project is helpful to you and love my work and feel like showin

Jan 6, 2023

CSS keyframe animation for JavaFX. Create animations like you would do with CSS.

CSS keyframe animation for JavaFX. Create animations like you would do with CSS.

JFXAnimation CSS keyframe animation for JavaFX. If you are using JFoenix JFXAnimation is included (currently version 1.0.0 only) Requirements JDK 8 an

Dec 28, 2022

Create your own auto-update framework

Create your own auto-update framework

Read the documentation, explore the JavaDoc, or see it in action Create a framework: design the environment and lifecycle (—bootstrap) to make your ow

Dec 29, 2022

A project that shows the different ways on how to create custom controls in JavaFX

JavaFX Custom Controls This project will show different ways on how to create custom controls in JavaFX. It will cover the following approaches: Resty

Sep 5, 2022

An Android library that allows you to easily create applications with slide-in menus.

An Android library that allows you to easily create applications with slide-in menus. You may use it in your Android apps provided that you cite this project and include the license in your app. Thanks!

Jan 4, 2023

The goal of this project is to create AssertJ assertions for JavaFX (8).

The goal of this project is to create AssertJ assertions for JavaFX (8).

Jul 30, 2021
Owner
Jonathan Narvaez
Jonathan Narvaez
Old and archived; More recent development is in https://github.com/Create-Fabric/Create-Refabricated.

NOW ARCHIVED Go here for the continuation of this project. Old README Create Fabric A Fabric port of Create. Create Discord: https://discord.gg/AjRTh6

null 12 Dec 7, 2022
MDI components for JavaFX

DesktopPaneFX DesktopPaneFX is a JavaFX version of Swing’s JDesktopPane which can be used as a container for individual "child" similar to JInternalFr

Kordamp 58 Sep 23, 2022
MaterialFX is an open source Java library which provides material design components for JavaFX

MaterialFX MaterialFX is an open source Java library which provides material design components for JavaFX Explore the wiki » Download Latest Demo · Re

Alessadro Parisi 744 Jan 3, 2023
Lobby System Template for a multiplayer java game, with chat and other features, using JavaFX and socket TCP (will be extended to UDP).

JavaFX-MultiplayerLobbySystem JavaFX lobby system for multiplayer games with chat, ready toggle and kick buttons, using socket TCP by default. Demo Cr

Michele Righi 7 May 8, 2022
A beautiful and customizable text editor.✨

Tawfekh-Editor A beautiful and customizable text editor. ✨ Tawfekh Editor is simple and easy to use. You can Customize it as you want to get the best

Médoune Siby Georges Baldé 9 Jan 1, 2023
Rich-text area for JavaFX

RichTextFX RichTextFX provides a memory-efficient text area for JavaFX that allows the developer to style ranges of text, display custom objects in-li

null 1.1k Jan 5, 2023
add one tag before or end text view

Tag Label Text Android Make a tag of text for android with custom background of tag Setup Coppy 2 class RoundBackgroundColorSpan.java and TagLabelText

Nguyễn Trọng Hải 15 Jan 24, 2022
DataFX - is a JavaFX frameworks that provides additional features to create MVC based applications in JavaFX by providing routing and a context for CDI.

What you’ve stumbled upon here is a project that intends to make retrieving, massaging, populating, viewing, and editing data in JavaFX UI controls ea

Guigarage 110 Dec 29, 2022
A maven plugin to include features from jmeter-plugins.org for JMeterPluginsCMD Command Line Tool to create graphs, export csv files from jmeter result files and Filter Result tool.

jmeter-graph-tool-maven-plugin A maven plugin to create graphs using the JMeter Plugins CMDRunner from JMeter result files (*.jtl or *.csv) or using F

Vincent DABURON 6 Nov 3, 2022