Component Replace (Effect) — Skript

Addon: Skript · Category: Effect

Syntax

component replace [:first] [:regex] %strings% in %components% with %component%

Description

Replaces text in adventure components in place. Optionally replaces only the first occurrence or uses regex matching.

Examples

component replace "foo" in {_component} with "bar"

View source