diff --git a/src/endstone_test/event_listener.py b/src/endstone_test/event_listener.py index c729899..1c8f79d 100644 --- a/src/endstone_test/event_listener.py +++ b/src/endstone_test/event_listener.py @@ -99,6 +99,11 @@ def on_thunder_change(self, event: ThunderChangeEvent): def on_weather_change(self, event: WeatherChangeEvent): self._plugin.logger.info(f"Weather state changed to {event.to_weather_state}") + @event_handler + def on_server_list_ping(self, event: ServerListPingEvent): + event.motd = ColorFormat.BOLD + event.motd + event.level_name = ColorFormat.GREEN + "Endstone Test" + ColorFormat.RESET + @property def server(self) -> Server: return self._plugin.server