Placeholders

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

These can be used in an action or event goal.

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

Last updated