Languages

Languages

41 Downloads

Description

This plugin allows you to add multiple languages.

There is a permission for each language. A player can use /language <language> and he will chat in this language. Only players who have the permission for this language can view the message. If a player doesn't have a permission for a language he sees obfuscated text. There are stages for each language for "learning" it. (See Permissions)

Commands

Command Description
/language <language>

Changes the Language the player is speaking in.

/languagereset Resets the language for the player so everyone can read it's messages
/reloadlanguages

Reloads the Plugin

Permissions

Permission Description
language.<language> With this permission a player can read the language.
language.<language>.<25|50|75> A player with this permission understands 25%/ 50%/ 75% of the language.
language.reload Gives permission to /languagesreload. Defaults to OP

Configuration

Setting Description Default
prefix The chat prefix for messages sent by this Plugin '&8>> &bLanguages&7: '
no-perm The message shown if a player doesn't have the permission for a language. 'You cant speak &9{LANGUAGE}'
invalid-language The message shown if a player enters a invalid language name. 'The language &9{LANGUAGE} &7does not exist'
language-reset Shown at player language reset. 'Your language has been reset'
language-update Shown when a player updates their language. 'You are now speaking &9{LANGUAGE}'
chatformat The format when a player sends a message with a language. ({LANGUAGE} is optional) '&b[{LANGUAGE}] &7{NAME}: &f{MESSAGE}'
languages A list of languages. Add a language name here to add it. - example

If you find any bugs or have an idea, please let me know!