
Welcome Plugin
When a player joins the server send a welcome message in Chat and say Welcome to the server {player}
00—hytaleServer2026.1mod
Welcome Plugin sends a greeting when players join the server. The main entrypoint is com.playergames.welcomeplugin.WelcomePlugin, which formats Welcome to the server <player> and delivers it to the joining player.
- The mod keeps lifecycle hooks (
setup,start,shutdown) and tries to auto-register a join listener via common server event bridges; if none are present, theonPlayerJoinmethod can be invoked directly by the loader when a player connects. - Chat delivery is reflection-based and works with player objects exposing
sendMessage/sendChatMessage-style methods that accept a string. If no compatible method exists, the message is logged to the console instead. - Player names are resolved from common getters or fields (name/username/displayName) with a safe fallback, so most runtime player representations will render a personalized welcome line.
Known considerations:
- Automatic registration depends on a compatible runtime event API; if the environment uses a different hook name, ensure it calls
onPlayerJoinso joins still receive the welcome message.