;; what to forward to stderr (define emit-minecraft-log? #f) (define emit-irc-trace? #f) ;; minecraft server (define server-dir "srv") (define server-command '("java" "-Dminecraft.api.session.host=https://auth.fnordmc.xyz/session" "-Djava.protocol.handler.pkgs=gg.codie.mineonline.protocol" "-cp" "server.jar:OnlineModeFix-patched.jar" "net.minecraft.server.MinecraftServer" "--nogui")) ;; irc server (define irc-conn (irc:connection #:server "celestine" #:nick "MC" #:reconnect #t)) ;; the channel needs to allow roleplay commands (i.e. mode +E) ;; because i'm using them to spoof ingame nicks (define irc-channel "#minecraft") ;; nicks allowed to use admin commands (define irc-admins '("winter")) ;; allowed values: relaymsg, roleplay, plain (define irc-relay-mode 'relaymsg) ;; whether to spam irc with all minecraft output (define verbose-log-relay? #f) ;;; the following will need to be adjusted depending on the log format of the ;;; specific minecraft version you're running (define timestamp-format "%Y-%m-%d %H:%M:%S") ;; first capture group is the log level, second is the line content (define log-line-format (irregex "\\[([A-Z]+)\\] ?(.*)$")) ;; first capture group is the username, second is the message content (define chat-message-format (irregex "^<([^>]+)> (.*)$")) (define chat-action-format (irregex "^\\* ([^ ]+) (.*)$")) ;; first capture group is the username (define player-join-format (irregex "^([^ ]+) joined the game$")) (define player-part-format (irregex "^([^ ]+) left the game$"))