Git Product home page Git Product logo

Comments (5)

AnzhiZhang avatar AnzhiZhang commented on July 19, 2024

QQChat is now in Archive folder in my repo. It will not keep development, but it is support MCDR 2.0. CoolQAPI will keep supported on MCDR 2.0. A project on BC server ChatHub will inherit all features of QQChat. But if there are stll obvious needs of QQChat, I may keep support it.

from mcdreforgedplugins.

Fidelxyz avatar Fidelxyz commented on July 19, 2024

Thanks!

However, when I updated MCDR to 2.1.3, QQChat doesn't seem to work.

 [MCDR] [15:46:03] [TaskExecutor/ERROR]: Error invoking listener EventListener[[email protected],priority=1000,callback=<function on_load at 0x7fb9b48971e0>]
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/mcdreforged/plugin/plugin_manager.py", line 474, in trigger_listener
    listener.execute(listener.plugin.server_interface, *args)
  File "/usr/local/lib/python3.6/site-packages/mcdreforged/plugin/plugin_event.py", line 79, in execute
    return self.callback(*args, **kwargs)
  File "plugins/QQChat.py", line 63, in on_load
    from ConfigAPI import Config
ModuleNotFoundError: No module named 'ConfigAPI'

That's maybe because MCDR 2.x doesn't allow importing libs from plugin/ directory:

Due to how MCDR 2.x plugin loading logic works, you can no longer places your external libs modules into your plugin/ folder and import them, since MCDR will not append the plugin folders into sys.path any more

Emmm, it seems that QQChat needs to be changed into Multi file Plugin in order to support MCDR 2.x. But it's not a big problem because I may be able to edit it for my own use.

from mcdreforgedplugins.

AnzhiZhang avatar AnzhiZhang commented on July 19, 2024

插件加载方式有变,与 #30 合并处理

from mcdreforgedplugins.

AnzhiZhang avatar AnzhiZhang commented on July 19, 2024

CoolQAPI has been renamed to QQAPI. QQAPI and QQChat are archived at following links. Accept pull requests for maintenance or upgrade.

CoolQAPI 已更名为 QQAPIQQAPIQQChat 已在下列链接归档。接受 PR 以维护更新。

https://github.com/AnzhiZhang/MCDReforgedPlugins/tree/master/.archived/qq_api
https://github.com/AnzhiZhang/MCDReforgedPlugins/tree/master/.archived/qq_chat

from mcdreforgedplugins.

AnzhiZhang avatar AnzhiZhang commented on July 19, 2024

@Fidelxyz Is is not supports MCDR 2.0, please find and try the plugin!

from mcdreforgedplugins.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.