Translations and Custom Messages

Nexus supports multiple languages, and you can easily translate the plugin to your language. You can also customize the messages that the plugin sends to players.


Changing your server's language

By default, Nexus uses English as the main language.

You can change the language of the plugin by editing the language option in the config.yml file.

# Select the language of the plugin
# The following languages are supported:
# - EN - English
# - RU - Russian
language: EN

Supported languages

The languages listed below are supported out-of-the-box.

CodeLanguage
ENEnglish (US)
RURussian

Customising messages

Using rich text elements

Nexus supports the MiniMessage syntax for its messages. This allows you to include gradients, hoverable and clickable elements, custom fonts and more! Below is an example of hoverable/clickable elements in a Nexus message:

# {PLAYER} - Player who sent the teleport request
tpaReceivedMessage:
  - "<green>You have received a teleport request from the player <white>{PLAYER}"
  - "<hover:show_text:'<green>Accept request for teleports</green>'><gold><click:suggest_command:'/tpaccept {PLAYER}'><dark_gray>» <gold>/tpaccept {PLAYER} <green>to accept! <gray>(Click)</gray></click></gold></hover>"
  - "<hover:show_text:'<red>Decline a teleportation request</red>'><gold><click:suggest_command:'/tpdeny {PLAYER}'><dark_gray>» <gold>/tpdeny {PLAYER} <red><green>to deny! <gray>(Click)</gray></click></gold></hover>"

You can find a full reference guide for the MiniMessage syntax on the Adventure wiki. You can also use Adventure's MiniMessageViewer to preview custom messages.

If you don't want to use MiniMessage message format, you can use the legacy text format with ampersands (&). You can find all legacy color codes here.

Notice message format

Nexus allows sending messages to different parts of Minecraft, including the chat, action bar, title, and subtitle. All messages can be formatted using the MiniMessage syntax.

# Displays a message in the chat.
example: "Hello world!" # <- Single one line text
example2: # <- If you want display multiple lines in the chat, use the following syntax:
  - "Hello"
  - "world!"

Combining messages

You can combine multiple messages in one message. This is useful when you want to send a message to multiple parts of Minecraft at once.

Disabling messages
example: []
Chat + Actionbar
example:
  chat: "Hello world!"
  actionbar: "Hello world!"
Title + Subtitle
example:
  title: "Hello world!"
  subtitle: "Hello world!"
Title + Subtitle with specified times
example:
  title: "Hello world!"
  subtitle: "Hello world!"
  times: "1s 2s 1s"
Chat + Actionbar + Title + Subtitle
example:
  chat: "Hello world!"
  actionbar: "Hello world!"
  title: "Hello world!"
  subtitle: "Hello world!"
Chat + Actionbar + Title + Subtitle with specified times
example:
  chat: "Hello world!"
  actionbar: "Hello world!"
  title: "Hello world!"
  subtitle: "Hello world!"
  times: "1s 2s 1s"
Chat + Actionbar + Title + Subtitle + Sound
example:
  chat: "Hello world!"
  actionbar: "Hello world!"
  title: "Hello world!"
  subtitle: "Hello world!"
  sound: "ENTITY_PLAYER_LEVELUP 2.0 1.0"
Chat + Actionbar + Title + Subtitle + Sound with categories
example:
  chat: "Hello world!"
  actionbar: "Hello world!"
  title: "Hello world!"
  subtitle: "Hello world!"
  sound: "ENTITY_PLAYER_LEVELUP WEATHER 2.0 1.0"
Clearing titles
# Used when you want to clear the title or subtitle before sending a new one.
example:
  titleHide: true