內容
Content
對佔位符等變量做轉換。
Convert variables such as placeholders.
範例
Examples
放入目標PlaceholderAPI內容。
因為PlaceholderAPI本身不能指定對象,就要指定目標,沒有指定對象就是代表自己。
Put the PlaceholderAPI content.
Because PlaceholderAPI itself cannot specify an object, you must specify the target. If you don't specify an object, you represent yourself.
target_name:#名稱自行命名,不要重複就好。
message:
- content[%player_name%] @=target
self_name:#Name the name yourself, don’t repeat it.
message:
- content[%player_name%]
放入插件內的佔位符。
不需要指定對象,因為佔位符內就有指定。
如果要放入雙方的資訊,只能用內建佔位符。
Placeholder placed in the plugin.
There is no need to specify the object because it is specified in the placeholder.If you want to put information on both sides, you can only use built-in placeholders.
self_target_name:
message:
- content[<cd_self_name><cd_target_name>]
放入轉換過的內容。