Placeholders
ProNouns supports placeholders to let other plugins use pronouns in messsages.
Placeholders are available through PlaceholderAPI by HelpChat.
Placeholders are available through Placeholder API by Patbox. It's included in the plugin jar file using a technique called jar-in-jar so you don't need to manually install it.
Paper | Fabric | Description | Examples |
---|---|---|---|
|
| A player's pronouns in display form, or Unset if not set. | She/Her, Unset |
|
| The subjective pronoun. | they |
|
| The objective pronoun. | them |
|
| The possessive adjective. | theirs |
|
| The possessive pronoun. | their |
|
| The reflexive pronoun. | themselves |
|
| The first pronoun set in full form. | they/them/theirs/their/themselves:p |
|
| Conjugates <verb>. | (he) is, (they) have, (she) goes |
|
| If the player's first pronoun set is singular, <sing>, otherwise <pl>. |
Modifiers
Sometimes you'll want to adjust the text from a placeholder. This is where modifiers come in. They're put on the end of placeholders and can be chained.
Modifier | Description | Example |
---|---|---|
| MAKES ALL TEXT UPPERCASE. |
|
| makes all text lowercase. |
|
| Capitalises text - makes the first letter uppercase, and everything else lowercase. |
|
| If a player does not have pronouns set, use an empty string instead of the default | (when not set) |