Git Product home page Git Product logo

Comments (8)

AnzhiZhang avatar AnzhiZhang commented on July 18, 2024

When I developed this plugin, it dependencies two APIs well. I dont know what spiecific version your mean for 2.x. If there is really issue exist, I am welcome to accept the PR because I have been long time did not update my plugins,

from mcdreforgedplugins.

EasonSYC avatar EasonSYC commented on July 18, 2024

Currently, my server is in MCDReforged 2.3.2 version with Python 3.9.10. I dropped the 3 python files (gamemode, JSONDataAPI, ConfigAPI) into the plugins folder and an error popped up in my console:

Error invoking listener EventListener[[email protected],priority=1000,callback=<function on_load at 0x000001FFED922F70>]
Traceback (most recent call last):
File "...\Python\Python39\site-packages\mcdreforged\plugin\plugin_manager.py", line 474, in trigger_listener
listener.execute(listener.plugin.server_interface, *args)
File "...\Python\Python39\site-packages\mcdreforged\plugin\plugin_event.py", line 79, in execute
return self.callback(*args, **kwargs)
File "plugins\Gamemode.py", line 50, in on_load
from ConfigAPI import Config
ModuleNotFoundError: No module named 'ConfigAPI'

I believe this is due to the change of plugin loading logic, which leads to changes in external lib modules as said in the document.

from mcdreforgedplugins.

EasonSYC avatar EasonSYC commented on July 18, 2024

I commited the Pull Request and the plugin itself was tested in my server with success on all functions.

from mcdreforgedplugins.

AnzhiZhang avatar AnzhiZhang commented on July 18, 2024

The PR is #28

from mcdreforgedplugins.

Valistars avatar Valistars commented on July 18, 2024

我用的大概还是21年前后的版本,tp功能可以加入一个cd时长的配置吗

from mcdreforgedplugins.

AnzhiZhang avatar AnzhiZhang commented on July 18, 2024

我用的大概还是21年前后的版本,tp功能可以加入一个cd时长的配置吗

请论述该功能的必要性

from mcdreforgedplugins.

Valistars avatar Valistars commented on July 18, 2024

我用的大概还是21年前后的版本,tp功能可以加入一个cd时长的配置吗

请论述该功能的必要性

服务器面向的玩家普遍游戏深度较浅,游戏时长比较短,为节省赶路时间增强玩家之间的社交,曾经开启过tp功能一段时间,之后出现了部分玩家滥用的情况,用来帮其他人快速运输物品,规避死亡风险等操作,虽然能设置权限,但这样部分人也是服务器为数不多的核心玩家了,而且也不是抱有恶意利用的,于是经过讨论就关闭了,现在开启新的周目之后,有人提出了在其他服务器见到tp功能有一个30分钟的cd,如果我们能也设置一个差不多的cd时间会比较合适,大家都能接受。这是我们期望能够实现的,故来此询问。

from mcdreforgedplugins.

AnzhiZhang avatar AnzhiZhang commented on July 18, 2024

我用的大概还是21年前后的版本,tp功能可以加入一个cd时长的配置吗

请论述该功能的必要性

服务器面向的玩家普遍游戏深度较浅,游戏时长比较短,为节省赶路时间增强玩家之间的社交,曾经开启过tp功能一段时间,之后出现了部分玩家滥用的情况,用来帮其他人快速运输物品,规避死亡风险等操作,虽然能设置权限,但这样部分人也是服务器为数不多的核心玩家了,而且也不是抱有恶意利用的,于是经过讨论就关闭了,现在开启新的周目之后,有人提出了在其他服务器见到tp功能有一个30分钟的cd,如果我们能也设置一个差不多的cd时间会比较合适,大家都能接受。这是我们期望能够实现的,故来此询问。

tp功能并不能tp和传输物品,只能在旁观模式下tp,恢复生存模式还是在原来的位置

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.