Types

Action Format

To add actions to the totem, you must use the format of a list, e.g.

actions:
  - action1
  - action2
  - action3

Actions must be written like this <action>: <content> to work correctly. See action list for examples

Action List

Action

Action Bar

Send an action bar to the player

Action

Bossbar

Send a bossbar to the player

Action

Broadcast

Send a broadcast to the server

Action

Command

Execute a command as the player

Action

Console

Execute a command in the console

Action

Effect

Send an entity effect to the player

Action

Fire

Sets the player on fire

Action

Frozen

Freezes player

Action

Message

Send a message to the player

Action

Particle

Spawn particles at player's location

Action

Sound

Play a sound

Action

Title

Send a title to the player

Action

Lang

Send a language message (You can add your own message to the language file)

Action

MiniMessage

Send a message with the mini message format

Examples

() = optional, <> = required

# actionbar: <text>
actionbar: &6You have used the Example Totem!

# bossbar: <text> | <color> | <style> | (duration)
bossbar: &6Example Totem | BLUE | SOLID | 5

# broadcast: <text>
broadcast: &6{player} has used the Example Totem!

# command: <text>
command: gamemode creative

# console: <text>
console: gamemode creative {player}

# effect: <text>
effect: TELEPORT_ENDER

# fire: <duration>
fire: 5

# frozen: <duration>
frozen: 5

# message: <text>
message: &6You have used the Example Totem!

# particle: <particle> | <amount> | <X> | <Y> | <Z> | <Speed>
particle: DAMAGE_INDICATOR | 100| 0 | 1 | 0 | 0.3

# sound: <sound>-<volume>-<pitch>
sound: ENTITY_VILLAGER_YES-1-1

# title: <title> | <subtitle> | (fadeIn) | (fadeOut) | (stay)
title: &6Example Totem | &7You have used the Example Totem!

# lang: <string>
lang: Totem-Chance-Failed

# minimessage: <text>
minimessage: <gold>You have used the Example Totem!</gold>

Last updated