PluTotems
  • PluTotems
  • 🌟Features
    • Types
      • Item
      • Armor
      • Structure
      • Entity
        • Equipment
        • Pose
        • Custom Mob
    • Options
    • Triggers
    • Actions
      • Types
      • Script
      • Conditions
    • Effects
Powered by GitBook
On this page
  • Action Format
  • Action List
  • Useful Links
  1. Features
  2. Actions

Types

PreviousActionsNextScript

Last updated 2 years ago

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
Action
Action
Action
Action
Action
Action
Action
Action
Action
Action
Action
Action
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>

Useful Links

🌟

Action Bar

Send an action bar to the player

Bossbar

Send a bossbar to the player

Broadcast

Send a broadcast to the server

Command

Execute a command as the player

Console

Execute a command in the console

Effect

Send an entity effect to the player

Fire

Sets the player on fire

Frozen

Freezes player

Message

Send a message to the player

Particle

Spawn particles at player's location

Sound

Play a sound

Title

Send a title to the player

Lang

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

MiniMessage

Send a message with the mini message format

Action Bar
Boss Bar
Broadcast
Command
Console
Effect
Fire
Frozen
Message
Particle
Sound
Title
Lang
Mini Message
Entity Effects
Mini Message