fffc530
Branches > main > fffc530 > files
Send MOTD to clients
Commit: fffc530335de313d45bb7f1b4deaeb63f76b33ea
Parent: 10ffca1
1 changed file:
src/net/bowmap/server/runtime/packets.clj view file
@@ -1,6 +1,7 @@ (ns net.bowmap.server.runtime.packets (:require [net.bowmap.server.protocol.clientbound-packets :as clientbound]+ [net.bowmap.server.protocol.component :as component] [net.bowmap.server.protocol.packet :as packet] [net.bowmap.server.protocol.phase :as phase] [net.bowmap.server.protocol.schema :as p]@@ -15,7 +16,9 @@ ::serverbound/handshaking [(assoc client ::phase/phase (req! packet ::phase/phase))] ::serverbound/status-request [client [{::packet/id ::clientbound/status-response ::p/version-name "26.2"- ::p/protocol 776}]]+ ::p/protocol 776+ ::p/motd {::component/text "Bowmap!"+ ::component/color "#9f9f9f"}}]] ::serverbound/login-acknowledged [(assoc client ::phase/phase ::phase/config)] ::serverbound/finish-config [(assoc client ::phase/phase ::phase/play)] [client])))