🔞
StreamEvents
English
English
  • 🌟Welcome
  • Scripting
    • Action
      • Custom Parameters
        • 🎆Firework Effects
    • Event
      • Placeholders
        • Others
          • Badges
        • Like
        • Share
        • Gift
        • Redeem Points
        • Host
        • Raid
        • Bits
        • Subscription
        • Chat
        • New Follower
        • Cube (Deprecated)
      • Goal
  • Streams Type
  • Configuration of streams
    • Twitch - Chat & Points
    • StreamLabs
    • Kick
    • Tiktok
  • ✅Compatibility
    • PlaceholderAPI
    • Addons
      • FarmInteractions
      • CubeEvents
        • Custom Parameters
Powered by GitBook
On this page
  • How exactly does a placeholder work?
  • Event Placeholders
  • Global
  • Chat
  • Gift
  • Like
  • Share
  • New Follower
  • New Viewer -- None ---
  • Cube
  • Redeem Points
  • Subscription
  • Host
  • Raid
  • Bits
  1. Scripting
  2. Event

Placeholders

PreviousEventNextOthers

Last updated 1 year ago

Placeholders are used to take certain characteristics of a user who interacted in your live.

These can be used in an or .

How exactly does a placeholder work?

These placeholders first look at the type of event to which it is linked, then based on that tells the designated action to change the %placeholder% to data from the interacting user.

Example:

Here is a configuration that works fine as it is using the placeholders set for the CHAT event type

actions:
  chat_broadcast_message:
    action_type: CHAT_MESSAGE
    message: '&6%user% &f-> &7%comment%'
events:
  event_chat_broadcast:
    event_type: CHAT
    actions: chat_broadcast_message

Here it will only transform the %user% by the user name that interacted, but it will not do the same with the %comment% since the LIKE event does not contain those available placeholders.

actions:
  chat_broadcast_message:
    action_type: CHAT_MESSAGE
    message: '&6%user% &f-> &7%comment%'
events:
  event_chat_broadcast:
    event_type: LIKE
    actions: chat_broadcast_message

Event Placeholders

Global

Global placeholders work on all types of events.

%user% - displays the username of the user who interacted with an event.

New Viewer -- None ---

action
event goal
Chat
Gift
Like
Share
New Follower
Cube
Redeem Points
Subscription
Host
Raid
Bits