TJAction

A grand unified action system—can be both simple and complex

What is TJAction?

TJAction is a YAML-based action system developed by TJService. It allows you to trigger simple actions such as sending a message while playing a sound, executing commands, or closing menus.

Basic Format

action:
    +: TJAction
    playsound_1: ENTITY_PLAYER_LEVELUP
    actionbar_1: "%message%"
    title_1:
        fadeOut: 10
        fadeIn: 10
        title: "%message%"
        stay: 100

Under the TJAction object in YAML, each key represents an action. Some actions support shorthand (a single line string), while others use a structured format.

How are actions detected?

Action type is determined by the prefix of the key. For example, title, title1, title_wtf, or title+ are all recognized as the title action.

Last updated