核心:mohist-1.16.5-1070-server.jar
java版本:jdk-17.0.1
Multiverse-Core版本:Multiverse-Core-4.3.1
问题描述:
Multiverse-Core在java17中有报错,无法运行。如果使用java8是没有问题的。但是我要使用PlotSquared,需使用java17运行。有没有什么办法能让Multiverse-Core在java17中运行?
上次开的贴是使用了其他世界管理插件,但是功能不是特别理想。也尝试装了几个兼容的插件,没有用处。重新开贴想尝试找出真正的解决方案。。
旧贴:https://www.mcbbs.net/thread-1367423-1-1.html
java版本:jdk-17.0.1
Multiverse-Core版本:Multiverse-Core-4.3.1
问题描述:
Multiverse-Core在java17中有报错,无法运行。如果使用java8是没有问题的。但是我要使用PlotSquared,需使用java17运行。有没有什么办法能让Multiverse-Core在java17中运行?
上次开的贴是使用了其他世界管理插件,但是功能不是特别理想。也尝试装了几个兼容的插件,没有用处。重新开贴想尝试找出真正的解决方案。。
旧贴:https://www.mcbbs.net/thread-1367423-1-1.html
 本帖最后由 Thehrz 于 2022-7-30 15:32 编辑 
Multiverse-Core 需要Nashorn引擎
它自身的适配对你的服务器似乎是无效的 只能关闭它
./plugins/Multiverse-Core/config.yml下
复制代码
设为false
Multiverse-Core 需要Nashorn引擎
它自身的适配对你的服务器似乎是无效的 只能关闭它
./plugins/Multiverse-Core/config.yml下
- enablebuscript: 'true'
设为false
Thehrz 发表于 2022-7-30 15:30
Multiverse-Core 需要Nashorn引擎
它自身的适配对你的服务器似乎是无效的 只能关闭它
config里没有找到呢,就只有这些选项
- multiverse-configuration:
 
-   ==: com.onarandombox.MultiverseCore.MultiverseCoreConfiguration
 
-   enforceaccess: 'false'
 
-   prefixchat: 'false'
 
-   prefixchatformat: '[%world%]%chat%'
 
-   useasyncchat: 'true'
 
-   teleportintercept: 'true'
 
-   firstspawnoverride: 'true'
 
-   displaypermerrors: 'true'
 
-   globaldebug: '0'
 
-   silentstart: 'false'
 
-   messagecooldown: '5000'
 
-   version: '2.9'
 
-   firstspawnworld: world
 
-   teleportcooldown: '1000'
 
-   defaultportalsearch: 'true'
 
-   portalsearchradius: '128'
 
- autopurge: 'true'
 本帖最后由 Re-Kotori 于 2022-7-30 15:47 编辑 
最简单的方法:降低PlotSquared, 使用PlotSquaredV5
最简单的方法:降低PlotSquared, 使用PlotSquaredV5
https://github.com/Multiverse/Multiverse-Core 你下个新版本试试 这是支持java17的
Thehrz 发表于 2022-7-30 15:39
删除此config.yml
重新启动服务器
确实好用,这个选项实际用处是做什么的,后期会有什么别的影响吗