Skip to content

RukiMC/HelloMessage

Repository files navigation

HelloMessage

📝 Simple MOTD plugin


Features

  • Provides MOTD for players entering the server
  • Multilingual MOTDs can be provided depending on each player's locale
  • Support Adventure MiniMessage for MOTD

Examples

# Default MOTD
default: <rainbow>This is Default Message of HelloMessage.</rainbow>

# MOTD for Languages
# Set use-client-lang=true in config.yml.
# Format: ISO3Lang_ISO3Country
eng_usa: <rainbow>Hello!</rainbow>
kor_kor: <rainbow>안녕하세요!</rainbow>
  • use-user-lang=false : Default MOTD image
  • use-user-lang=true : Different MOTDs for User's locale image image

Contribution

Localization

Add .yml file to the resources/lang folder, copy eng_usa.yml, and start translation

English and Korean are provided as basic languages.

NOTE: yml file name format is ISO3 Language_ISO3 Country.yml Please note ISO 639-3

Development

This plugin uses Heartbeat Coroutines.

But specially the version I fixed bug. (https://github.com/monun/heartbeat-coroutines/pull/8)

DO NOT REMOVE or CHANGE lib/heartbeat-coroutines-0.0.6.jar