Spigot

Actions exclusive to Spigot, more gameplay-oriented.

Message

Chat message

action:
    +: TJAction
    message_1: "Hello %player%!"
ActionBar

Action bar message

action:
    +: TJAction
    actionbar_1: "wtf"
Title

Title message

action: # All three methods below are equivalent
    +: TJAction
    title_1: "&cMain Title, &eSubtitle, 10, 70, 20" # <Title> (Subtitle) (Fade in) (Stay) (Fade out)
    title_2: "&cMain Title, &eSubtitle"
    title_3:
        title: "&cMain Title"
        subtitle: "&eSubtitle"
        fadeIn: 10
        stay: 70
        fadeOut: 20
Toast

Advancement/Toast message

Style

  • GOAL

  • CHALLENGE

  • TASK


NBT

Whether you're using component style (1.20.5+) or not, always use {} NBT format.

Example for 1.20.5+

minecraft:turtle_scute{enchantment_glint_override:true}

action: # All three methods below are equivalent
    +: TJAction
    # (Style) <Item> <Message>
    toast_1: "GOAL, minecraft:diamond_sword{Damage:1}, &bA diamond sword!"
    toast_2: "minecraft:diamond_sword{Damage:1}, &bA diamond sword!"
    toast_3:
        message: "&bA diamond sword!"
        item: "minecraft:diamond_sword{Damage:1}"
        style: GOAL
PlaySound

Play a sound (supports custom/resource pack sounds)

action: # All three methods below are equivalent
    +: TJAction
    playsound_1: "ui.button.click" # <Name> (Volume = 1) (Pitch = 0)
    playsound_2: "ui.button.click, 1.0, 0.0"
    playsound_3:
        id: "ui.button.click"
        volume: 1.0
        pitch: 0.0
Console

Execute command as console

action:
    +: TJAction
    console_1: "give %player% diamond 64"
Sudo

Execute command as player

action:
    +: TJAction
    sudo_1: "menu"
SudoOP

Execute command as player with OP permission

action:
    +: TJAction
    sudoop_1: "kill @s"
RequireMoney

Spend money to perform an action

requiremoney:
    +: TJAction
    amt: "1234" # Supports simple expressions
    message: "Successfully wasted $1234."
RequirePoint

Spend points to perform an action

requirepoint:
    +: TJAction
    amt: "1234" # Supports simple expressions
    message: "Successfully wasted 1234 points."
Close

Close the current player inventory

action:
    +: TJAction
    close_1: ""
Back

Return to previous menu

action:
    +: TJAction
    back: ""
NextPage

Go to next page

action:
    +: TJAction
    nextpage_1: ""
PrevPage

Previous page

action:
    +: TJAction
    prevpage_1: ""

Last updated