AmazingTitles Core 2.0
  • ๐Ÿ’กWelcome
  • ๐Ÿ“œPlugin Details
  • ๐ŸงFunctions
    • Plugin Functions
    • Sending Animations
    • Sending Notifications
    • Sending Interactive Messages
    • HEX & Gradient colors
  • ๐ŸงจAnimations
    • NONE
    • PULSING
    • RAINBOW
    • SPLIT
    • WAVES
    • WORDS_SPLIT
    • BOUNCE
    • FADE_IN
    • FADE_IN_WRITER
    • FLASHING
    • FLASHING_SYMBOL_WRAP
    • FROM_BOTH_SIDES
    • FROM_RIGHT
    • FROM_LEFT
  • ๐Ÿ”Integrations
    • CMI Integration
  • ๐ŸŽƒExtensions
    • In Development ...
  • Plugin's API
    • Creating AmazingExtension
    • Creating Custom Animations
    • Creating Custom SubCommand
    • Other API stuff
Powered by GitBook
On this page
  • Supported NMS versions
  • Included tasks in API
  • Task interface

Plugin Details

Detailed plugin description.

PreviousWelcomeNextPlugin Functions

Last updated 1 year ago

Looking for source code? to open GitHub repository.

Plugin is coded in Java 8

Supported NMS versions

Basically plugin supports all Spigot versions above 1.12. (It should support every framework)

  • 1_13_R1, 1_13_R2

  • 1_14_R1

  • 1_15_R1

  • 1_16_R1, 1_16_R2, 1_16_R3

  • 1_17_R1

  • 1_18_R1, 1_18_R2

  • 1_19_R1, 1_19_R2, 1_19_R3

  • 1_20_R1, 1_20_R2

Included tasks in API

Of course you can create your own task implementation.

LIGHT -> Repeats every second (You can't change FPS in t, keeps repeating animation in loop) REPEATING -> Fully configurable FPS (Keeps repeating animation in loop) FADE_IN -> Fully configurable FPS (Keeps repeating last frame after animation ends)

Task interface

package sk.m3ii0.amazingtitles.code.internal.components;

import org.bukkit.boss.BarColor;
import org.bukkit.entity.Player;
import sk.m3ii0.amazingtitles.code.api.enums.DisplayType;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import java.util.Optional;

public interface AnimationComponent {
	
	default List<String> frames() {
		return new ArrayList<>();
	}
	
	default String mainText() {
		return "This text is not set!";
	}
	
	default Optional<String> subText() {
		return Optional.empty();
	}
	
	default Optional<BarColor> componentColor() {
		return Optional.empty();
	}
	
	default int duration() {
		return 10;
	}
	
	default int fps() {
		return 1;
	}
	
	default DisplayType display() {
		return DisplayType.TITLE;
	}
	
	String callCurrentFrame();
	
	void addReceivers(Player... players);
	
	void addReceivers(Collection<Player> players);
	
	void removeReceivers(Player... players);
	
	void removeReceivers(Collection<Player> players);
	
	void prepare();
	
	void run();
	
	void end();
	
}
Function
Available
NMS
Animated
HEX & Gradient
Provided in base plugin
Extension

Title

--

Subtitle

--

Action Bar

--

Boss Bar

--

Messages

--

Notifications

--

Static Bar

--

Debug Catcher

--

Plugin API

--

Before asking question, try to use CTRL+F5. This wiki is constantly updated!

๐Ÿ“œ
Click here