Create a Minecraft Plugin: VEYLITH-FLOATINGTEXT
Develop a fully functional, production-ready Minecraft plugin named VEYLITH-FLOATINGTEXT for Paper 26.3.
The plugin must create beautiful, customizable floating text holograms with advanced gradient colors, highlighted text, and easy in-game management.
- Main Features
- Create unlimited holograms.
- Support multiple lines per hologram.
- Support HEX color codes.
- Support smooth multi-color gradients across individual words or entire lines.
- Support bold, italic, underlined, strikethrough, and obfuscated text.
- Support highlighted text with configurable background-like visual effects, glowing outlines, and colored emphasis.
- Support Minecraft MiniMessage formatting.
- Support RGB gradients.
- Support symbols and Unicode characters.
- Support custom text alignment: LEFT, CENTER, RIGHT.
- Support adjustable line spacing.
- Support adjustable text size.
- Support shadows and text backgrounds where supported.
- Support glowing text using configurable colors.
- Support animations such as rainbow, scrolling gradient, pulsing glow, and color transitions.
- Commands
Main command: "/vtext"
Implement:
- "/vtext create <name>" — Create a hologram at the player's location.
- "/vtext delete <name>" — Delete a hologram.
- "/vtext list" — List all holograms.
- "/vtext info <name>" — Show hologram information.
- "/vtext addline <name> <text>" — Add a line.
- "/vtext setline <name> <line> <text>" — Edit a line.
- "/vtext removeline <name> <line>" — Remove a line.
- "/vtext movehere <name>" — Move hologram to player location.
- "/vtext setlocation <name> <world> <x> <y> <z>" — Set exact location.
- "/vtext setgradient <name> <line> <hex1> <hex2>" — Apply gradient.
- "/vtext highlight <name> <line> <hex>" — Highlight a line.
- "/vtext glow <name> <line> <hex>" — Apply glowing effect.
- "/vtext animation <name> <type>" — Set animation.
- "/vtext align <name> <left|center|right>" — Set alignment.
- "/vtext reload" — Reload configuration.
- "/vtext help" — Display commands.
- Gradient Formatting
Allow MiniMessage formatting, including examples:
"<gradient:#ff0000:#ff9900>VEYLITH SMP</gradient>"
"<gradient:#00ff00:#00ffff>WELCOME PLAYER!</gradient>"
"<bold><gradient:#ff0000:#ffff00>ULTIMATE CRATE</gradient></bold>"
Gradients must render correctly across the complete text, not just display HEX codes as ordinary text.
- Highlight System
Allow administrators to highlight individual words or lines.
Highlight effects should include:
- Colored text emphasis.
- Configurable glow.
- Optional background panel where supported.
- Configurable outline or shadow.
- Highlight presets.
- Storage
- Save every hologram in persistent YAML configuration files.
- Automatically load holograms after server restart.
- Save world, coordinates, text, formatting, animations, and settings.
- Never lose holograms after reload or restart.
- Handle deleted worlds safely.
- Performance
- Optimize for servers with many holograms and players.
- Avoid unnecessary repeating tasks.
- Use efficient animation updates.
- Clean up entities when holograms are deleted.
- Prevent duplicate entities after reload.
- Never block the main server thread with expensive operations.
- Handle chunk loading and unloading safely.
- Compatibility
- Target Paper 26.3.
- Use modern Adventure Components and MiniMessage.
- Support Java version required by Paper 26.3.
- Do not require ProtocolLib unless absolutely necessary.
- Do not conflict with DecentHolograms or TAB.
- Support Minecraft Java clients connecting through Geyser/Floodgate where possible.
- Permissions
- "veylith.floatingtext.admin" — Full hologram management.
- "veylith.floatingtext.create" — Create holograms.
- "veylith.floatingtext.delete" — Delete holograms.
- "veylith.floatingtext.edit" — Edit holograms.
- "veylith.floatingtext.use" — View holograms.
- GUI
Create an optional GUI accessible through:
"/vtext gui"
Design:
- Dark black and red VEYLITH theme.
- Red stained glass accents.
- Clean icons.
- Create, edit, delete, and preview holograms.
- Gradient editor.
- Highlight editor.
- Animation selector.
- Final Requirements
- Deliver ONE complete plugin JAR named "VEYLITH-FLOATINGTEXT.jar".
- Include plugin.yml and all required dependencies.
- Include a default configuration file.
- Include installation instructions.
- Include complete command documentation.
- No fake commands, placeholder functionality, or unfinished features.
- Compile successfully and test every command.
- Never claim a feature works unless it has actually been implemented and tested.
The final plugin must be stable, optimized, easy to use, and fully functional on Paper 26.3.
Plugin branding: VEYLITH-FLOATINGTEXT.
I’ll build the hologram manager, persistent storage, commands, animations, and an in-game editor. I’ll also include configuration and command documentation; runtime testing will still need a Paper server.
Created the plugin source, configuration, and installation and command documentation in src/main/resources/README.txt.
Not yet verified: the plugin has not been compiled or tested on Paper 26.3. The GUI uses chat prompts rather than interactive editors, its preview shows details rather than a visual preview, and the use permission does not hide holograms from players.
26.3 paper
Yes—the plugin is intended for Paper 26.3. It still needs to be compiled and tested on a Paper 26.3 server.
package com.veylith.floatingtext;
import java.util.Objects;
import org.bukkit.plugin.java.JavaPlugin;
public final class FloatingTextPlugin extends JavaPlugin {
private HologramManager manager;
@Override
public void onEnable() {
saveDefaultConfig();
manager = new HologramManager(this);
manager.load();
VTextCommand command = new VTextCommand(this, manager);
Objects.requireNonNull(getCommand("vtext")).setExecutor(command);
Objects.requireNonNull(getCommand("vtext")).setTabCompleter(command);
getServer().getPluginManager().registerEvents(manager, this);
getServer().getPluginManager().registerEvents(command, this);
manager.start();
}
@Override
public void onDisable() {
if (manager != null) manager.shutdown();
}
}