-
Notifications
You must be signed in to change notification settings - Fork 13
Languages Configuration
Ren edited this page Apr 16, 2022
·
1 revision
» Home » Languages » Configuration
- languages: Each section in this section will be interpreted as a language. You can add or remove as many as you want, as long as it has the required subsections.
- Language name: The section's name is interpreted as the name of the language. This is what is used when speaking, placed at the beginning of the message in square brackets.
- cypher: How the language should be replaced when a character does not understand the language. Keys and values may be multiple characters long, which allows for full word translations or individual letter translations.
- default-race-understanding: The understanding each race has of the language by default. This is a percentage, and may contain decimal numbers. It is keyed by the race names that are configured in the character plugin. Every race must be specified here.
- understanding-increment: The amount understanding increases when hearing a message in the language. A random number between the minimum and maximum specified for the race will be added to the understanding. As above, this is also keyed by race name, and each race must be specified.
- Language name: The section's name is interpreted as the name of the language. This is what is used when speaking, placed at the beginning of the message in square brackets.
-
rpkit_character_language id
: This should be around the expected maximum number of character & language combinations that are in use at any one time.
rpkit.languages.command.language.list:
description: Allows listing languages
default: op
rpkit.languages.command.language.listunderstanding:
description: Allows listing the understanding of all languages for a players active character
default: op
rpkit.languages.command.language.setunderstanding:
description: Allows setting the understanding of a language for a players active character