McMotd - Mirai Plugin for fetching motd from minecraft servers

Related tags

Kotlin McMotd
Overview

Mirai-wiki

mirai
基于mirai的Minecraft服务器信息查询插件

关于Linux运行环境
如果你正在使用Linux而不是Windows来运行Mirai,请确保Microsoft YaHei字体(msyh.ttc)已安装到你的系统中,否则汉字可能不会被正常显示。

如何安装

  1. 这里下载最新的插件文件。
  2. 将插件文件放入mirai-console运行生成的plugins文件夹中。
  3. 如果您还未安装chat-command插件(添加聊天环境中使用命令的功能),你可以从下面选择一种方法安装此插件:
  1. 如果您正在使用Mirai Console Loader来启动mirai-console,您可以运行以下命令来安装chat-command插件:
    ./mcl --update-package net.mamoe:chat-command --channel stable --type plugin
  2. 如果您没有使用Mirai Console Loader,您可以在这里下载最新的chat-command插件文件,并将其一同放入mirai-console运行生成的plugins文件夹中。
  1. 启动mirai-console之后,在后台命令行输入以下命令授予相关用户使用此插件命令的权限:
  • 如果您希望所有群的群员都可以使用此插件,请输入:
    /perm grant m* org.zrnq.mcmotd:*
  • 如果您希望只授予某一个群的群员使用此插件的权限,请输入:
    /perm grant m<QQ群号>.* org.zrnq.mcmotd:*
  • 如果您希望只授予某一个群的特定群员使用此插件的权限,请输入:
    /perm grant m<QQ群号>.<群员QQ号> org.zrnq.mcmotd:*
  • 如果你希望了解更多高级权限设置方法,请参阅mirai-console的权限文档
  1. 安装完成。

权限列表

有关权限部分的说明,参见mirai-console的权限文档
根权限: org.zrnq.wiki:*
基本操作权限: org.zrnq.wiki:command.wiki

  • 包含所有命令执行的权限。

插件命令

mcp <服务器地址> : 查询指定地址上的服务器信息

其中,服务器地址可以仅有域名,如mc.example.com,也可以带有端口号,如mc.example.com:12345

FAQ

Q: 在QQ群中发送命令没反应

A: 请检查是否安装了chat-command插件,如果没有安装请看这里

You might also like...
An under development minecraft plugin (1.8.8) to learning Kotlin language

CorePlus CorePlus is a minecraft plugin coded with Kotlin language. Still under development CorePlus will be an essential for each minecraft servers !

VirtualTag is a name tag edit plugin for minecraft server

VirtualTag VirtualTag is a NameTag Edit plugin for modern minecraft server Support Version 1.17.x Download https://github.com/jiangdashao/VirtualTag/r

Kauth - Open-source powerful minecraft authorization plugin
Kauth - Open-source powerful minecraft authorization plugin

KAuth KAuth is a minecraft plugin for offline-mode authorization on your server.

An advanced Minecraft plugin template made in Gradle

//DONT_APPLY_TEMPLATE_CHANGE Gradle Plugin Template Kotlin DSL Version ℹ️ This template was planned to support only kotlin, but it also supports Java!

Simple (and useless) Minecraft plugin

CDS Minecraft plugin Simple plugin for Minecraft, without any useful feature 🖥 Installation 🧾 Requirements maven 3.0+ java 8+ spigot server 1.19+ 🔧

Plugin for Minecraft Dev projects that allows use BON2 as analog of fg.reobf from ForgeGradle

Bon2Gradle Plugin for Minecraft Dev projects that allows use BON2 as analog of fg.reobf from ForgeGradle. Usage Dependencies Gradle 6.8+ (Provider as

Minecraft NBT support for kotlinx.serialization

knbt An implementation of Minecraft's NBT format for kotlinx.serialization. Technical information about NBT can be found here. Using the same version

Run Minecraft on the command line

HeadlessForge While headless Minecraft Clients aren't anything new, they come with a drawback. The Minecraft API is missing and you need to add all fu

Kotlin utility mod for Minecraft
Kotlin utility mod for Minecraft

Lambda is a free, open-source, Minecraft 1.12.2 utility mod providing a visionary system for plugins that allow customizing the clients features thank

Comments
  • 奇奇怪怪的报错

    奇奇怪怪的报错

    不知道为啥在输入/mcp xxx.xxx.xxx时有时会产生报错:

    2022-07-13 19:42:10 W/Minecraft MOTD Fetcher: Exception in executing command `[mirai:source:ids=[15185], internalIds=[1402271165], from friend 3327930436 to 486237638 at 1657712530]/mcp mc.dlmc.cc`
    java.lang.NoClassDefFoundError: Could not initialize class org.xbill.DNS.Lookup
            at McMotd-1.1.6.jar//org.zrnq.mclient.MClientKt.pingInternal(MClient.kt:26)
            at McMotd-1.1.6.jar//org.zrnq.mcmotd.QueryCommand$doPing$2.invokeSuspend(QueryCommand.kt:56)
            at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
            at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
            at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
            at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
            at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
    
    2022-07-13 19:42:10 V/Bot.486237638: Itz_Dr_Li(3327930436) -> /mcp mc.dlmc.cc
    

    但是有时查其他服不会产生,并且报错后不会返回图片等消息,如下: 图片 以及单输入/mcp时也有问题(在已经绑定服务器的情况下)

    2022-07-13 19:44:57 W/Minecraft MOTD Fetcher: Exception in executing command `[mirai:source:ids=[100485], internalIds=[-837464222], from group 3327930436 to 333160053 at 1657712697]/mcp`
    java.lang.NoClassDefFoundError: Could not initialize class org.xbill.DNS.Lookup
            at McMotd-1.1.6.jar//org.zrnq.mclient.MClientKt.pingInternal(MClient.kt:26)
            at McMotd-1.1.6.jar//org.zrnq.mcmotd.QueryCommand$doPing$2.invokeSuspend(QueryCommand.kt:56)
            at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
            at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
            at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
            at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
            at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:749)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
            at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)```
    question 
    opened by itzdrli 8
  • 无法加载

    无法加载

    21:45:05 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 21:45:05 [INFO] Runtime: OpenJDK 64-Bit Server VM 17.0.5 (arch: 64) 21:45:05 [INFO] https://github.com/iTXTech/mirai-console-loader 21:45:05 [INFO] This program is licensed under GNU AGPL v3 21:45:05 [INFO] Mirai Hibernate Plugin Announcement: 从 2.3.0 版本开始 使用 Hibernate 6.0, 需要一起升级 Pixiv Helper 到 2.0 如果需要继续使用 Pixiv Helper 1,请使用 2.2.5 21:45:05 [INFO] Mirai Console Loader Announcement: Mirai Console Loader 公告栏

    如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本) - 如 Unsupported image type for ExternalResource * considering use gif/png/bmp/jpg format. `- Tracker: https://github.com/mamoe/mirai/issues/new/choose

    常用资源整合 `- https://mirai.mamoe.net/topic/653

    MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。

    21:45:05 [INFO] Verifying "net.mamoe:mirai-console" v2.13.2 21:45:06 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.13.2 21:45:06 [INFO] Verifying "net.mamoe:mirai-core-all" v2.13.2 21:45:07 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 21:45:07 [INFO] Verifying "xyz.cssxsh.mirai:mirai-hibernate-plugin" v2.5.0 2022-12-19 21:45:08 I/main: Starting mirai-console... 2022-12-19 21:45:08 I/main:

    ==================================[ Mirai consosle 2.13.2 ]===================================


    | \ / \ \ | / \ |
    | ▓▓\ / ▓▓\▓▓ ______ ______ \▓▓ ▓▓▓▓▓▓\ ______ _______ _______ ______ | ▓▓ ______ | ▓▓▓\ / ▓▓▓ / \ | | \ ▓▓ \▓▓/ | \ / / | ▓▓/
    | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓
    | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ | ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ | ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓/ \ ▓▓__/ ▓▓ ▓▓ | ▓▓_\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓
    \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓

    2022-12-19 21:45:08 I/main: Backend: version 2.13.2, built on 2022-12-05 01:50:53. 2022-12-19 21:45:08 I/main: Frontend Terminal: version 2.13.2, provided by Mamoe Technologies 2022-12-19 21:45:08 I/main: Welcome to visit https://mirai.mamoe.net/ 2022-12-19 21:45:08 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2022-12-19 21:45:08 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2022-12-19 21:45:08 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2022-12-19 21:45:09 I/plugin: Successfully loaded plugin BlomeSummer v1.2 2022-12-19 21:45:09 I/plugin: Successfully loaded plugin Chat Command v0.5.0 2022-12-19 21:45:09 I/plugin: Successfully loaded plugin Minecraft MOTD Fetcher v1.1.11 2022-12-19 21:45:09 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.6.2 2022-12-19 21:45:09 W/stderr: ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console... 2022-12-19 21:45:09 I/WindowHelperJvm: Mirai 正在使用桌面环境. 如遇到验证码将会弹出对话框. 可添加 JVM 属性 mirai.no-desktop 以关闭. 2022-12-19 21:45:09 I/WindowHelperJvm: Mirai is using desktop. Captcha will be thrown by window popup. You can add mirai.no-desktop to JVM properties (-Dmirai.no-desktop) to disable it. 2022-12-19 21:45:09 I/plugin: Successfully loaded plugin mirai-login-solver-sakura v0.0.4 2022-12-19 21:45:09 I/plugin: Successfully loaded plugin HRobot v3.4 2022-12-19 21:45:09 I/plugin: Successfully loaded plugin WeatherForecastPlugin v1.0.0 2022-12-19 21:45:09 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2022-12-19 21:45:09 I/mirai-hibernate-plugin: Driver: org.h2.Driver Version 2.1 2022-12-19 21:45:10 I/mirai-hibernate-plugin: Driver: com.mysql.cj.jdbc.Driver Version 8.0 2022-12-19 21:45:10 I/mirai-hibernate-plugin: Driver: org.postgresql.Driver Version 42.5 2022-12-19 21:45:10 I/mirai-hibernate-plugin: Driver: org.sqlite.JDBC Version 3.39 2022-12-19 21:45:10 I/plugin: Successfully loaded plugin mirai-hibernate-plugin v2.5.0 2022-12-19 21:45:10 I/plugin: Successfully loaded plugin mirai-hibernate-http v1.0.0 2022-12-19 21:45:10 I/plugin: Successfully loaded plugin HuYanSession v2.2.6 2022-12-19 21:45:10 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2022-12-19 21:45:10 I/BlomeSummer: Biome Summer 已加载 2022-12-19 21:45:10 I/BlomeSummer: 此插件只做学习使用 2022-12-19 21:45:10 I/Minecraft MOTD Fetcher: McMotd is loading 2022-12-19 21:45:10 W/Minecraft MOTD Fetcher: 找不到指定的字体 : Microsoft YaHei,您可以在mcmotd.yml中修改字体名称 2022-12-19 21:45:10 I/Minecraft MOTD Fetcher: 检测到可用的字体列表: Bahnschrift Bold,Bahnschrift Bold Condensed,Bahnschrift Bold SemiCondensed,Bahnschrift Condensed,Bahnschrift Light,Bahnschrift Light Condensed,Bahnschrift Light SemiCondensed,Bahnschrift Regular,Bahnschrift SemiBold,Bahnschrift SemiBold Condensed,Bahnschrift SemiBold SemiCondensed,Bahnschrift SemiCondensed,Bahnschrift SemiLight,Bahnschrift SemiLight Condensed,Bahnschrift SemiLight SemiCondensed,Cascadia Code Bold,Cascadia Code Bold Italic,Cascadia Code ExtraLight,Cascadia Code ExtraLight Italic,Cascadia Code Italic,Cascadia Code Light,Cascadia Code Light Italic,Cascadia Code Regular,Cascadia Code SemiBold,Cascadia Code SemiBold Italic,Cascadia Code SemiLight,Cascadia Code SemiLight Italic,Cascadia Mono Bold,Cascadia Mono Bold Italic,Cascadia Mono ExtraLight,Cascadia Mono ExtraLight Italic,Cascadia Mono Italic,Cascadia Mono Light,Cascadia Mono Light Italic,Cascadia Mono Regular,Cascadia Mono SemiBold,Cascadia Mono SemiBold Italic,Cascadia Mono SemiLight,Cascadia Mono SemiLight Italic,Dialog.bold,Dialog.bolditalic,Dialog.italic,Dialog.plain,DialogInput.bold,DialogInput.bolditalic,DialogInput.italic,DialogInput.plain,MS Gothic,MS PGothic,MS UI Gothic,Microsoft JhengHei,Microsoft JhengHei Bold,Microsoft JhengHei Light,Microsoft JhengHei UI,Microsoft JhengHei UI Bold,Microsoft JhengHei UI Light,Microsoft YaHei UI Light,Microsoft Yahei UI,Microsoft Yahei UI Bold,Monospaced.bold,Monospaced.bolditalic,Monospaced.italic,Monospaced.plain,NSimSun,SansSerif.bold,SansSerif.bolditalic,SansSerif.italic,SansSerif.plain,Segoe UI Variable Display,Segoe UI Variable Display Bold,Segoe UI Variable Display Light,Segoe UI Variable Display Semibold,Segoe UI Variable Display Semilight,Segoe UI Variable Small,Segoe UI Variable Small Bold,Segoe UI Variable Small Light,Segoe UI Variable Small Semibold,Segoe UI Variable Small Semilight,Segoe UI Variable Text,Segoe UI Variable Text Bold,Segoe UI Variable Text Light,Segoe UI Variable Text Semibold,Segoe UI Variable Text Semilight,Serif.bold,Serif.bolditalic,Serif.italic,Serif.plain,SimSun,Sitka Banner,Sitka Banner Bold,Sitka Banner Bold Italic,Sitka Banner Italic,Sitka Banner Semibold,Sitka Banner Semibold Italic,Sitka Display,Sitka Display Bold,Sitka Display Bold Italic,Sitka Display Italic,Sitka Display Semibold,Sitka Display Semibold Italic,Sitka Heading,Sitka Heading Bold,Sitka Heading Bold Italic,Sitka Heading Italic,Sitka Heading Semibold,Sitka Heading Semibold Italic,Sitka Small,Sitka Small Bold,Sitka Small Bold Italic,Sitka Small Italic,Sitka Small Semibold,Sitka Small Semibold Italic,Sitka Subheading,Sitka Subheading Bold,Sitka Subheading Bold Italic,Sitka Subheading Italic,Sitka Subheading Semibold,Sitka Subheading Semibold Italic,Sitka Text Bold,Sitka Text Bold Italic,Sitka Text Semibold,Sitka Text Semibold Italic,Yu Gothic Bold,Yu Gothic Light,Yu Gothic Medium,Yu Gothic Regular,Yu Gothic UI Bold,Yu Gothic UI Light,Yu Gothic UI Regular,Yu Gothic UI Semibold,Yu Gothic UI Semilight,仿宋,华文中宋,华文仿宋,华文宋体,华文彩云,华文新魏,华文楷体,华文琥珀,华文细黑,华文行楷,华文隶书,宋体,幼圆,微软雅黑,微软雅黑 Bold,微软雅黑 Light,新宋体,方正姚体,方正舒体,楷体,等线,等线 Bold,等线 Light,隶书,黑体 2022-12-19 21:45:10 W/Minecraft MOTD Fetcher: 正在使用第一个可用的字体: Bahnschrift Bold 2022-12-19 21:45:10 W/net.mamoe.mirai-api-http: USING INITIAL KEY, please edit the key 2022-12-19 21:45:10 I/Mirai HTTP API: ******************************************************** 2022-12-19 21:45:10 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2022-12-19 21:45:10 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2022-12-19 21:45:10 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2022-12-19 21:45:10 I/http adapter: >>> [http adapter] is listening at http://localhost:8080 2022-12-19 21:45:10 I/ws adapter: >>> [ws adapter] is listening at ws://localhost:8080 2022-12-19 21:45:10 I/Mirai HTTP API: Http api server is running with verifyKey: INITKEY3XSCzS6X 2022-12-19 21:45:10 I/Mirai HTTP API: adaptors: [http,ws] 2022-12-19 21:45:10 I/Mirai HTTP API: ******************************************************** 2022-12-19 21:45:10 I/stdout: ,--, 2022-12-19 21:45:10 I/stdout: ,--.'|,-.----. ___ 2022-12-19 21:45:10 I/stdout: ,--, | :\ / \ ,---, ,--.'|_ 2022-12-19 21:45:10 I/stdout: ,---.'| : '; : \ ,---. ,---.'| ,---. | | :,' 2022-12-19 21:45:10 I/stdout: | | : ' || | .\ : ' ,'\ | | : ' ,'\ : : ' : 2022-12-19 21:45:10 I/stdout: : : |.' |. : |: | / / |: : : / / |.;,' / 2022-12-19 21:45:10 I/stdout: | ' ' ; :| | \ :. ; ,. :: |,-.. ; ,. :| | | 2022-12-19 21:45:10 I/stdout: ' | .'. || : . /' | |: :| : ' |' | |: ::,'| : 2022-12-19 21:45:10 I/stdout: | | : | '; | | ' | .; :| | / :' | .; : ' : |_ 2022-12-19 21:45:10 I/stdout: ' : | : ;| | ;\ \ : |' : |: || : | | | '.'| 2022-12-19 21:45:10 I/stdout: | | ' ,/ : ' | .'\ \ / | | '/ : \ \ / ; : ; 2022-12-19 21:45:10 I/stdout: ; : ;--' : : :-' ----' | : |----' | , / 2022-12-19 21:45:10 I/stdout: | ,/ | |.' / \ / ----' 2022-12-19 21:45:10 I/stdout: '---'---' `-'----' v3.4 2022-12-19 21:45:10 I/HRobot: 正在初始化机器人配置 2022-12-19 21:45:10 I/HRobot: 配置初始化完成 2022-12-19 21:45:10 W/HRobot: Linked class org.slf4j.impl.StaticLoggerBinder in mcmotd-1.1.11.mirai.jar but plugin not depend on it. 2022-12-19 21:45:10 W/HRobot: Class loading logic may change in feature. 2022-12-19 21:45:10 I/HRobot: HRobot handlers and filters loading finished, total 17 handlers, 3 inspectors. 2022-12-19 21:45:10 E/HRobot: java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()' the class loader 'plugin-3.4-SNAPSHOT.mirai.jar' @4cb702ce of the current class, org/slf4j/LoggerFactory, and the class loader 'mcmotd-1.1.11.mirai.jar' @43c57161 for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature (org.slf4j.LoggerFactory is in unnamed module of loader 'plugin-3.4-SNAPSHOT.mirai.jar' @4cb702ce, parent loader 'global-shared' @7b948f3e; org.slf4j.impl.StaticLoggerBinder is in unnamed module of loader 'mcmotd-1.1.11.mirai.jar' @43c57161, parent loader 'global-shared' @7b948f3e) java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()' the class loader 'plugin-3.4-SNAPSHOT.mirai.jar' @4cb702ce of the current class, org/slf4j/LoggerFactory, and the class loader 'mcmotd-1.1.11.mirai.jar' @43c57161 for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature (org.slf4j.LoggerFactory is in unnamed module of loader 'plugin-3.4-SNAPSHOT.mirai.jar' @4cb702ce, parent loader 'global-shared' @7b948f3e; org.slf4j.impl.StaticLoggerBinder is in unnamed module of loader 'mcmotd-1.1.11.mirai.jar' @43c57161, parent loader 'global-shared' @7b948f3e) at plugin-3.4-SNAPSHOT.mirai.jar//org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:299) at plugin-3.4-SNAPSHOT.mirai.jar//org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269) at plugin-3.4-SNAPSHOT.mirai.jar//org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281) at plugin-3.4-SNAPSHOT.mirai.jar//org.quartz.impl.StdSchedulerFactory.(StdSchedulerFactory.java:303) at plugin-3.4-SNAPSHOT.mirai.jar//org.quartz.impl.StdSchedulerFactory.getDefaultScheduler(StdSchedulerFactory.java:1533) at plugin-3.4-SNAPSHOT.mirai.jar//com.happysnaker.cron.RobotCronJob.(RobotCronJob.java:54) at plugin-3.4-SNAPSHOT.mirai.jar//com.happysnaker.starter.HRobotStarter.Start(HRobotStarter.java:71) at plugin-3.4-SNAPSHOT.mirai.jar//com.happysnaker.Main.onEnable(Main.java:25) at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:131) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:305) at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:35) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt) at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:50) at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:173) at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:175) at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:336) at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:508) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:177) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:176) at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:54) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.itxtech.mcl.Utility.bootJars(Utility.java:86) at org.itxtech.mcl.Utility.bootJars(Utility.java:76) at org.itxtech.mcl.Utility.bootMirai(Utility.java:98) at org.itxtech.mcl.module.builtin.Boot.boot(Boot.java:113) at org.itxtech.mcl.module.ModuleManager.phaseBoot(ModuleManager.java:123) at org.itxtech.mcl.Loader.lambda$start$4(Loader.java:196) at org.itxtech.mcl.Loader.tryCatching(Loader.java:151) at org.itxtech.mcl.Loader.start(Loader.java:196) at org.itxtech.mcl.Loader.main(Loader.java:84)

    2022-12-19 21:45:10 I/WeatherForecastPlugin: Weather Forecast Plugin loaded! 2022-12-19 21:45:10 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8 2022-12-19 21:45:10 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用 2022-12-19 21:45:11 W/stderr: SLF4J: No SLF4J providers were found. 2022-12-19 21:45:11 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2022-12-19 21:45:11 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details. 2022-12-19 21:45:11 I/mirai-hibernate-plugin: Database jdbc:h2:file:./data/xyz.cssxsh.mirai.plugin.mirai-hibernate-plugin/hibernate.h2 by H2 JDBC Driver. 2022-12-19 21:45:11 I/mirai-hibernate-plugin: 如果要使用 mirai-hibernate-plugin 为 mirai-api-http 提供消息持久化, 请安装 https://github.com/cssxsh/mirai-hibernate-http 2022-12-19 21:45:11 I/HuYanSession: ===================HuYanSession2=================== 2022-12-19 21:45:11 I/HuYanSession: // / / \ / / // ) )

    2022-12-19 21:45:11 I/HuYanSession: //___ / / \ / / ___ __ (( ___ ___ ___ ( ) ___ __ 2022-12-19 21:45:11 I/HuYanSession: / ___ / // / / \/ / // ) ) // ) ) \ //_) ) (( ) ) (( ) ) / / // ) ) // ) ) 2022-12-19 21:45:11 I/HuYanSession: // / / // / / / / // / / // / / ) ) // \ \ \ \ / / // / / // / / 2022-12-19 21:45:11 I/HuYanSession: // / / ((( ( / / ((_( ( // / / ((___ / / (( // ) ) // ) ) / / ((/ / // / / 2022-12-19 21:45:11 I/HuYanSession: HuYanSession2 当前版本: v2.2.6 2022-12-19 21:45:12 I/HuYanSession: H2数据库初始化成功! 2022-12-19 21:45:12 I/HuYanSession: 插件配置已加载! 2022-12-19 21:45:12 I/HuYanSession: 主人已设置:3031917948 2022-12-19 21:45:12 I/HuYanSession: 插件指令已加载! 2022-12-19 21:45:12 I/HuYanSession: 数据库群组信息初始化成功! 2022-12-19 21:45:12 I/HuYanSession: 多词条消息初始化成功! 2022-12-19 21:45:12 I/stdout: [2022-12-19 21:45:12] [DEBUG] cn.hutool.log.LogFactory: Use [Hutool Console Logging] Logger As Default. 2022-12-19 21:45:12 I/HuYanSession: 定时器加载成功! 2022-12-19 21:45:12 I/HuYanSession: 群消息监听已注册! 2022-12-19 21:45:12 I/HuYanSession: 群动作监听已注册! 2022-12-19 21:45:12 I/HuYanSession: 壶言会话插件加载完成! 2022-12-19 21:45:12 I/HuYanSession: ===================HuYanSession2=================== 2022-12-19 21:45:12 I/main: 10 plugin(s) enabled. 2022-12-19 21:45:12 I/main: Auto-login 2016401389, protocol: ANDROID_PAD, heartbeatStrategy: STAT_HB 2022-12-19 21:45:13 I/Bot.2016401389: Login successful 2022-12-19 21:45:13 I/Bot.2016401389: Saved account secrets to local cache for fast login. 2022-12-19 21:45:13 I/Bot.2016401389: Login successful. 2022-12-19 21:45:13 V/Bot.2016401389: Event: BotOnlineEvent(bot=Bot(2016401389)) 2022-12-19 21:45:13 I/Bot.2016401389: Bot login successful. 2022-12-19 21:45:13 I/main: mirai-console started successfully. 2022-12-19 21:45:13 W/WeatherForecastPlugin: Linked class org.slf4j.impl.StaticLoggerBinder in mcmotd-1.1.11.mirai.jar but plugin not depend on it. 2022-12-19 21:45:13 W/WeatherForecastPlugin: Class loading logic may change in feature. 2022-12-19 21:45:13 W/Bot.2016401389: An exception occurred when processing event. Subscriber scope: ''. Broadcaster scope: 'Bot 2016401389.EventDispatcher' java.lang.LinkageError: loader constraint violation: when resolving method 'org.slf4j.ILoggerFactory org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()' the class loader 'weather_forecast-2.0.0.mirai.jar' @71ed560f of the current class, org/slf4j/LoggerFactory, and the class loader 'mcmotd-1.1.11.mirai.jar' @43c57161 for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature (org.slf4j.LoggerFactory is in unnamed module of loader 'weather_forecast-2.0.0.mirai.jar' @71ed560f, parent loader 'global-shared' @7b948f3e; org.slf4j.impl.StaticLoggerBinder is in unnamed module of loader 'mcmotd-1.1.11.mirai.jar' @43c57161, parent loader 'global-shared' @7b948f3e) at weather_forecast-2.0.0.mirai.jar//org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:418) at weather_forecast-2.0.0.mirai.jar//org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357) at weather_forecast-2.0.0.mirai.jar//org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383) at weather_forecast-2.0.0.mirai.jar//org.quartz.impl.StdSchedulerFactory.(StdSchedulerFactory.java:303) at weather_forecast-2.0.0.mirai.jar//pers.gaylong9.forecast.Forecast.forecast(Forecast.java:24) at weather_forecast-2.0.0.mirai.jar//pers.gaylong9.WeatherForecastPlugin.lambda$onEnable$0(WeatherForecastPlugin.java:55) at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:626) at net.mamoe.mirai.event.EventChannel$subscribeAlways$2$1.invoke(EventChannel.kt:626) at kotlinx.coroutines.InterruptibleKt.runInterruptibleInExpectedContext(Interruptible.kt:51) at kotlinx.coroutines.InterruptibleKt.access$runInterruptibleInExpectedContext(Interruptible.kt:1) at kotlinx.coroutines.InterruptibleKt$runInterruptible$2.invokeSuspend(Interruptible.kt:43) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42) at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

    bug 
    opened by 1233Ao 1
Releases(v1.1.12)
Owner
ZRnQ
An undergraduate of computer science.
ZRnQ
LanServers - A small plugin written in Kotlin that runs on all major Minecraft Servers

LanServers This is a small plugin written in Kotlin that runs on all major Minec

Redstonecrafter0 6 Mar 12, 2022
Minecraft 1.18.2 Backport of Petal, a performance-oriented fork of Purpur intended to increase performance for entity-heavy servers by implementing multi-threaded and asynchronous improvements.

Sakura Performance Minecraft JAR Sakura is a performance-oriented fork of Purpur intended to increase performance for entity-heavy servers by implemen

etil.sol 14 Nov 23, 2022
Mars is an all-in-one plugin for PGM servers

Mars Mars is an all-in-one plugin for PGM servers. Using Mars Contributing to Mars Why? Mars was built to handle everything that PGM isn't supposed to

Warzone 6 Feb 13, 2022
Whereabouts: an android library which leverages Kotlin concurrency to streamline location fetching

Whereabouts Whereabouts is an android library which leverages Kotlin concurrency

Sumeet Rukeja 1 Jul 5, 2022
Sample Project with Clean Architecture for demonstrating using Kotlin Flows for fetching User Location and networking.

Nearby-Places-Foursquare-Android Getting Nearby Places using Foursquare API API's Used from FourSquare Get Key from Foursquare site. NearBy places Her

Abhishek Dubey 5 Nov 30, 2022
A minecraft modification based on Fabric with Yarn Mappings, developed for the newest version of the sandbox game Minecraft.

JupiterClient A minecraft modification based on Fabric with Yarn Mappings, developed for the newest version of the sandbox game Minecraft. Building th

Cedric H. 1 Jun 27, 2022
Arrow Endpoint offers a composable Endpoint datatype, that allows us easily define an Endpoint from which we can derive clients, servers & documentation.

Arrow Endpoint Arrow Endpoint offers a composable Endpoint datatype, that allows us easily define an Endpoint from which we can derive clients, server

ΛRROW 23 Dec 15, 2022
Arrow Endpoint offers a composable Endpoint datatype, that allows us easily define an Endpoint from which we can derive clients, servers & documentation.

Arrow Endpoint Arrow Endpoint offers a composable Endpoint datatype, that allows us easily define an Endpoint from which we can derive clients, server

ΛRROW 8 Oct 11, 2021
A high-performance fork of Paper/Airplane designed for large servers.

Pufferfish A highly optimized Paper/Airplane fork designed for large servers requiring both maximum performance, stability, and "enterprise" features.

Pufferfish Studios LLC 399 Jan 7, 2023
Gradle plugin adding a task to run a Paper Minecraft server

Run Paper Run Paper is a Gradle plugin which adds a task to automatically download and run a Paper Minecraft server along with your plugin built by Gr

Jason 64 Dec 29, 2022