Crate actions (Final messages, broadcasting)
Information on how to use special message features dedicated to the crate file.
Last updated
Information on how to use special message features dedicated to the crate file.
Last updated
Final messages are messages that are sent once the crate finishes opening, usually showcasing that a player has opened a crate and received specific x1,x2,x3 items. There are two types of possible final message showcasing - public and private.
Public Final Messages - Everyone receives the customized final message. Configuration used for this is "Final_Message"
Private Final Messages - Only the crate opener receives the customized final message. Configuration used for this is "FinalMessageToOpener"
Final Message feature has 3 placeholders, 2 dedicated to showcasing the won rewards and one used for showcasing the crate openers username (%player_name%).
Reward placeholders: {ColoredReward:rewardNumber} - used to keep the original colouring of the won reward's item name. Replace rewardNumber with the appropriate numeric value. Each number corresponds to the sequential position of the reward that was won.
YAML code example:
CommandOnCratePlace - configuration used to set up specific commands to be executed on the moment of placing the crate. Placeholder used %player% %player_name%
MessagesToPlayer - configuration used to set up specific messages to the crate opener on the moment of placing the crate