• 游客, 欢迎您来到九域资源社区,如果您是新人,请前往 论坛公告 板块查看新人引导教程 或者 点我打开
    如果您发现没有下载许可, 请先验证邮箱再进行下载;金锭可通过每日登陆或资源出售获取,目前没有其他渠道可获取。
OnlineReward — 可自定义GUI的在线奖励插件[1.8-1.20]

Bukkit OnlineReward — 可自定义GUI的在线奖励插件[1.8-1.20] 1.7.3-BETA

没有下载权限
服务器后台一直刷屏这个报错
[15:23:45 WARN] [OnlineReward]: Plugin OnlineReward v1.6.1-SNAPSHOT generated an exception while executing task 74791
java.lang.IllegalStateException: PlayerGetRewardEvent cannot be triggered asynchronously from another thread.
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:572) ~[arclight-1.20.1-1.0.2-730181a4.jar%23241!/:arclight-1.20.1-1.0.2-730181a4]
at com.blank038.onlinereward.data.PlayerData.lambda$checkRewards$1(PlayerData.java:136) ~[?:?]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[arclight-1.20.1-1.0.2-730181a4.jar%23241!/:arclight-1.20.1-1.0.2-730181a4]
at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[arclight-1.20.1-1.0.2-730181a4.jar%23241!/:arclight-1.20.1-1.0.2-730181a4]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
张杰宁
张杰宁
已记录,等待新版更新。
这个插件用了好几年了,白白酱可以加个指定时间是否已领取的变量吗,%onlinereward_{时间}% 返回是否已领取
张杰宁
张杰宁
已记录,未来版本更新。
支持1.20吗,能支持一下吗,求你了
张杰宁
张杰宁
除了 CustomModel 无法设置,应该是能正常运行的。
能否增加mysql转yaml功能
papi重载的话,变量会失效
1.16.5打开后 是石头怎么办啊
[23:08:01 INFO]: [OnlineReward] 物品类型读取异常: SKULL_ITEM
[23:08:01 INFO]: [OnlineReward] 物品类型读取异常: STAINED_GLASS_PANE
[23:08:01 INFO]: [OnlineReward] 物品类型读取异常: DRAGONS_BREATH
[23:08:01 INFO]: [OnlineReward] 物品类型读取异常: DRAGONS_BREATH
[23:08:01 INFO]: [OnlineReward] 物品类型读取异常: DRAGONS_BREATH
[23:08:01 INFO]: [OnlineReward] 物品类型读取异常: DRAGONS_BREATH
[23:08:01 INFO]: [OnlineReward] 物品类型读取异常: DRAGONS_BREATH
[23:08:01 INFO]: [OnlineReward] 物品类型读取异常: DRAGONS_BREATH
张杰宁
张杰宁
自行修改物品名,默认配置是 1.12.2 的物品名。
这新版本一下子牛逼的感觉和兼容性就上来了,支持
gui菜单能不能添加一个返回主菜单(或者上一级菜单)的按钮,或者弄一个无条件可以领取无限次的礼包按钮也行,比较方便。
1.16.5的版本
1.fg这个格子的设置(1.5)无效,需要替换成1.4版本
2.SKULL_ITEM改成了PLAYER_HEAD
3.DRAGONS_BREATH改成了DRAGON_BREATH
张杰宁
张杰宁
本插件不会针对任何版本进行配置,配置仅做参考,如果需要幼儿级配置,请寻找其他插件。
装了PlaceholderAPI前置
在服务器输入 or时出现
>or
[14:30:32] [Server thread/WARN]: Unexpected exception while parsing console command "or"
org.bukkit.command.CommandException: Unhandled exception executing command 'or' in plugin OnlineReward v1.4.0-SNAPSHOT
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[PluginCommand.class:git-CatServerAsync-1.12.2-725f192]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:144) ~[SimpleCommandMap.class:git-CatServerAsync-1.12.2-725f192]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:709) ~[CraftServer.class:git-CatServerAsync-1.12.2-725f192]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:695) [CraftServer.class:git-CatServerAsync-1.12.2-725f192]
at net.minecraft.server.dedicated.DedicatedServer.func_71333_ah(DedicatedServer.java:516) [nz.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:474) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:780) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:634) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_281]
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at com.blank038.onlinereward.Main.onCommand(Main.java:129) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:git-CatServerAsync-1.12.2-725f192]
... 8 more
啥原因啊作者大大
张杰宁
张杰宁
在后台输入命令时请不要只输入 or,请带上参数,例如 /or reload
mohist-1.12.2-321-server
OnlineReward-1.4.0-SNAPSHOT

[21:53:54] [Server thread/INFO] [Mohist]: Enabling OnlineReward v1.4.0-SNAPSHOT
[21:53:54] [Server thread/ERROR] [Mohist]: Error occurred while enabling OnlineReward v1.4.0-SNAPSHOT (Is it up to date?)
java.lang.NoSuchMethodError: com.mohistmc.bukkit.nms.proxy.DelegateClassLoder.defineClassMohist(Ljava/lang/String;[B)Ljava/lang/Class;
at com.esotericsoftware.reflectasm.AccessClassLoader.defineAccessClass(AccessClassLoader.java:57) ~[OnlineReward-1.4.0-SNAPSHOT.jar:?]
at com.esotericsoftware.reflectasm.MethodAccess.get(MethodAccess.java:276) ~[OnlineReward-1.4.0-SNAPSHOT.jar:?]
at com.blank038.onlinereward.interfaces.nms.impl.CommonNmsControlImpl.<init>(CommonNmsControlImpl.java:21) ~[?:?]
at com.blank038.onlinereward.Main.onEnable(Main.java:61) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:177) ~[JavaPlugin.class:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:318) [JavaPluginLoader.class:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:399) [SimplePluginManager.class:?]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:477) [CraftServer.class:?]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:418) [CraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:383) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:315) [nz.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:590) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_322]
玩家累积在线达到一千多以后,每日在线到了也不能领取了
我就想知道国庆厚礼那个配置,到达时间后怎么领取,如果是自动领取,玩家并没有收到
张杰宁
张杰宁
请检查你的插件配置是否为旧版配置,如果你使用的是新版,请用新版的配置,请认真看更新记录。
前三个按钮不能领取,玩家在领奖励的时候显示被拒绝使用命令
张杰宁
张杰宁
“拒绝使用命令” 这种操作不是我插件在处理的。
执行or open时报错Fninternal error occurred uhile atempting to perfornthis command
以下为日志


[10:24:55] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'or' in plugin OnlineReward v1.3.1-SNAPSHOT
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[PluginCommand.class:git-CatServer-1.12.2-2a9163f]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:146) ~[SimpleCommandMap.class:git-CatServer-1.12.2-2a9163f]
at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:711) ~[CraftServer.class:git-CatServer-1.12.2-2a9163f]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:1596) [pa.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:1439) [pa.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_131]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_131]
at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:834) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:472) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:771) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:625) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
Caused by: java.lang.NoClassDefFoundError: me/clip/placeholderapi/PlaceholderAPI
at com.blank038.onlinereward.util.GuiUtil.openSelectGui(GuiUtil.java:37) ~[?:?]
at com.blank038.onlinereward.Main.onCommand(Main.java:170) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:git-CatServer-1.12.2-2a9163f]
... 15 more
Caused by: java.lang.ClassNotFoundException: me.clip.placeholderapi.PlaceholderAPI
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:140) ~[PluginClassLoader.class:git-CatServer-1.12.2-2a9163f]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:108) ~[PluginClassLoader.class:git-CatServer-1.12.2-2a9163f]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131]
at com.blank038.onlinereward.util.GuiUtil.openSelectGui(GuiUtil.java:37) ~[?:?]
at com.blank038.onlinereward.Main.onCommand(Main.java:170) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:git-CatServer-1.12.2-2a9163f]
... 15 more
Caused by: java.lang.ClassNotFoundException: me.clip.placeholderapi.PlaceholderAPI
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_131]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131]
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:138) ~[PluginClassLoader.class:git-CatServer-1.12.2-2a9163f]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:108) ~[PluginClassLoader.class:git-CatServer-1.12.2-2a9163f]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_131]
at com.blank038.onlinereward.util.GuiUtil.openSelectGui(GuiUtil.java:37) ~[?:?]
at com.blank038.onlinereward.Main.onCommand(Main.java:170) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[PluginCommand.class:git-CatServer-1.12.2-2a9163f]
... 15 more
张杰宁
张杰宁
前置 PlaceholderAPI 并未安装
出现了个人时间和总时间暂停
张杰宁
张杰宁
请检查自身配置及插件,不要使用命令(plugin load)之类的方式加载插件,请通过重启来加载插件,插件均经过测试才发布的。
可以支持一下数据库么?
张杰宁
张杰宁
请仔细看一下更新记录,1.2.1 开始就支持 MySQL 了
大佬牛批
cat1.12.2 新版1.2.8无法加载
张杰宁
张杰宁
经测试, 1.2.8-RELEASE 在 CatServer 正常运行, 没有出现你所说的无法加载的情况。
且请下次反馈请带上'插件无法加载'的日志。
1.15.2端没有办法使用=-=输入指令没反应