0xpyex0 / flywithfood Goto Github PK
View Code? Open in Web Editor NEWFlyWithFood is a Minecraft plugin which run with Bukkit or Sponge. Player can cost points to fly
FlyWithFood is a Minecraft plugin which run with Bukkit or Sponge. Player can cost points to fly
如题,当玩家点数即将无法支撑飞行,向玩家发出警告
提交者: QQ1395633162
插件扣除经验值貌似是按照百分比来扣除的,这样导致1000级和1级的消耗速度一样快,建议改成扣除指定经验值(?等级越高消耗速度越慢比较合理吧((
[02:41:12 INFO]: [FlyWithFood] Enabling FlyWithFood v2.0.3*
[02:41:12 WARN]: java.lang.NoSuchMethodException: net.minecraft.server.dedicated.DedicatedServer.getVersion()
[02:41:12 WARN]: at java.base/java.lang.Class.getMethod(Class.java:2227)
[02:41:12 WARN]: at FlyWithFood-2.0.3-all.jar//me.xpyex.plugin.flywithfood.bukkit.api.FlyWithFoodAPIBK.(FlyWithFoodAPIBK.java:41)
[02:41:12 WARN]: at FlyWithFood-2.0.3-all.jar//me.xpyex.plugin.flywithfood.bukkit.FlyWithFoodBukkit.onEnable(FlyWithFoodBukkit.java:21)
[02:41:12 WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
[02:41:12 WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:371)
[02:41:12 WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:548)
[02:41:12 WARN]: at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugin(CraftServer.java:611)
[02:41:12 WARN]: at org.bukkit.craftbukkit.v1_19_R1.CraftServer.enablePlugins(CraftServer.java:525)
[02:41:12 WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:641)
[02:41:12 WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:427)
[02:41:12 WARN]: at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:343)
[02:41:12 WARN]: at net.minecraft.server.MinecraftServer.v(MinecraftServer.java:1116)
[02:41:12 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:310)
[02:41:12 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[02:41:12 INFO]: [INFO] [FlyWithFood]
[02:41:12 INFO]: [ERROR] [FlyWithFood] 无法自动解析服务端版本,使用默认版本信息
[02:41:12 INFO]: [ERROR] [FlyWithFood] Failed to get Server Version... Using default version info
It'd be awesome if this hooked into claim plugins like Lands!
I'd love that so much ^^
(So you could only fly in the land claim)
[18:05:35] [Server thread/INFO]: [FlyWithFood] Enabling FlyWithFood v1.4.1
[18:05:35] [Server thread/INFO]: [FlyWithFood]
[18:05:35] [Server thread/INFO]: [FlyWithFood] 感谢使用FlyWithFood.
[18:05:35] [Server thread/INFO]: [FlyWithFood] 本项目在GitHub开源: https://github.com/0XPYEX0/FlyWithFood
[18:05:35] [Server thread/INFO]: [FlyWithFood] 本项目在Gitee开源: https://gitee.com/xpyex/FlyWithFood
[18:05:35] [Server thread/INFO]: [FlyWithFood]
[18:05:35] [Server thread/INFO]: [FlyWithFood] Thank you for using FlyWithFood
[18:05:35] [Server thread/INFO]: [FlyWithFood] The plugin has been open source in GitHub: https://github.com/0XPYEX0/FlyWithFood
[18:05:35] [Server thread/INFO]: [FlyWithFood] Have a nice trip with this plugin :)
[18:05:35] [Server thread/INFO]: [FlyWithFood]
[18:05:35] [Server thread/INFO]: [FlyWithFood] 已与Vault挂钩
[18:05:35] [Server thread/INFO]: [FlyWithFood] 配置文件丢失?正在生成配置文件!
[18:05:35] [Server thread/INFO]: [FlyWithFood] Lost your configuration file? The configuration file is being generated for you!
[18:05:35] [Server thread/INFO]: [FlyWithFood]
[18:05:35] [Server thread/ERROR]: Error occurred while enabling FlyWithFood v1.4.1 (Is it up to date?)
java.lang.NoSuchMethodError: com/google/gson/JsonArray.add(Ljava/lang/String;)V (loaded from file:/F:/danji/MineCraft/cache/patched_1.8.8.jar by sun.misc.Launcher$AppClassLoader@480141f) called from class me.xpyex.plugin.flywithfood.common.config.ConfigUtil (loaded from file:/F:/danji/MineCraft/plugins/FlyWithFood.jar by org.bukkit.plugin.java.PluginClassLoader@b961ddc1).
at me.xpyex.plugin.flywithfood.common.config.ConfigUtil.getNewConfig(ConfigUtil.java:52) ~[?:?]
at me.xpyex.plugin.flywithfood.bukkit.config.HandleConfig.getNewConfig(HandleConfig.java:233) ~[?:?]
at me.xpyex.plugin.flywithfood.bukkit.config.HandleConfig.createConfigFile(HandleConfig.java:128) ~[?:?]
at me.xpyex.plugin.flywithfood.bukkit.config.HandleConfig.loadConfig(HandleConfig.java:49) ~[?:?]
at me.xpyex.plugin.flywithfood.bukkit.FlyWithFood.onEnable(FlyWithFood.java:60) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[patched_1.8.8.jar:git-PaperSpigot-445]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:332) [patched_1.8.8.jar:git-PaperSpigot-445]
at me.incomprehendable.dev.pwp.transparentlisteners.PerWorldPluginLoader.enablePlugin(PerWorldPluginLoader.java:135) [%5B插件锁定%5DPerWorldPlugins.jar:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:407) [patched_1.8.8.jar:git-PaperSpigot-445]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:359) [patched_1.8.8.jar:git-PaperSpigot-445]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:318) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:408) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:372) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:327) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:267) [patched_1.8.8.jar:git-PaperSpigot-445]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:563) [patched_1.8.8.jar:git-PaperSpigot-445]
at java.lang.Thread.run(Thread.java:823) [?:1.8.0_282]
[18:05:35] [Server thread/INFO]: [FlyWithFood] Disabling FlyWithFood v1.4.1
在ExpPoint模式下,getNow函数返回的是当前经验条进度,无法正确判断经验值,以致无法飞行
正数为扣除,负数为增加
修复Bug
构思仅鞘翅可用!扣除鞘翅耐久度支撑飞行
[08:22:40 WARN]: Exception in thread "Craft Scheduler Thread - 1038(这个数字一直在变)"
[08:22:40 WARN]: org.apache.commons.lang.UnhandledException: Plugin FlyWithFood v1.4.2 generated an exception while executing task 285
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at org.github.paperspigot.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:23)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:823)
Caused by: java.lang.NoSuchMethodError: com/google/gson/JsonArray.contains(Lcom/google/gson/JsonElement;)Z (loaded from file:/F:ji/MineCraft/Dream_Space7/cache/patched_1.8.8.jar by sun.misc.Launcher$AppClassLoader@37529918) called from class me.xpyex.plugin.flywithfood.bukkit.implementations.BukkitUser (loaded from file:/F:ji/MineCraft//Dream_Space7ugins/%5B饥饿飞行%5DFlyWithFood.jar by org.bukkit.plugin.java.PluginClassLoader@cac5a7c1).
at me.xpyex.plugin.flywithfood.bukkit.implementations.BukkitUser.inNoFunction(BukkitUser.java:100)
at me.xpyex.plugin.flywithfood.bukkit.implementations.BukkitUser.needCheck(BukkitUser.java:105)
at me.xpyex.plugin.flywithfood.bukkit.FlyWithFood.lambda$startCheck$1(FlyWithFood.java:127)
at me.xpyex.plugin.flywithfood.bukkit.FlyWithFood$$Lambda$990/0x0000000000000000.run(Unknown Source)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 4 more
如题,以命令切换
提交者: QQ1395633162
如题,如果你有想要的消耗模式,可以在这里留言
举例:
PlayerPoints的点券 (目前没人想要,我没写
如题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.