From 66025a6a1c9206476fff65968c5a90e2f9fa5c9b Mon Sep 17 00:00:00 2001 From: Andre_601 <11576465+Andre601@users.noreply.github.com> Date: Fri, 10 Sep 2021 02:02:53 +0200 Subject: [PATCH] Update PlaceholderExpansion.md --- wiki/PlaceholderExpansion.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wiki/PlaceholderExpansion.md b/wiki/PlaceholderExpansion.md index 984b071..2957f8e 100644 --- a/wiki/PlaceholderExpansion.md +++ b/wiki/PlaceholderExpansion.md @@ -60,10 +60,10 @@ Let's quickly break down the different methods you have to implement. - #### getAuthor This method allows you to set the name of the expansion's author. - #### getIdentifier - The name that should be used to identify the placeholders for this expansion. - The identifier is the string after the starting `%` and before the first `_` (`%identifier_values%`) and, therefore, cannot contain `_`, `%` or spaces. + The identifier is the part in the placeholder that is between the first `%` (Or `{` if bracket placeholders are used) and the first `_`. + Because of that can you not use `%`, `{`, `}` or `_` in youd identifier. - If you still want to use the previously mentioned symbols can you override the `getName()` method to change the Expansion's displayname. + If you still want to use those symbols can you override the `getName()` method to display a different name. - #### getVersion This is a string, which means it can contain more than just a number. This is used to determine if a new update is available or not when the expansion is shared on the eCloud. For expansions that are part of a plugin, this does not really matter.