本帖最后由 a390807154 于 2016-2-11 11:22 编辑
你更新了最新版了吗
顺便贴一下你的配置文件
imoeer 发表于 2016-2-11 10:29
我只想问 买彩票不扣钱是什么情况?
设置的100MCB一次
一毛都不扣
你更新了最新版了吗
顺便贴一下你的配置文件
a390807154 发表于 2016-2-11 11:18
你更新了最新版了吗
顺便贴一下你的配置文件
更新的今天的最新版,还是不扣钱。
配置如下
- Lottery:
- Plugin:
- Prefix: '&6&l[彩票]'
- EnableBold: true
- Welfare3D:
- Name: 福彩3D
- Times: 13
- Enable: true
- Results:
- - 1|101
- - 2|156
- - 3|201
- - 4|867
- - 5|288
- - 6|802
- - 7|623
- - 8|864
- - 9|811
- - 10|318
- - 11|386
- - 12|232
- - 13|225
- Price: 100.0
- Interval_单位小时: 6.0
- 中1个数字的奖励: 150.0
- 中2个数字的奖励: 2000.0
- 中3个数字的奖励: 10000.0
imoeer 发表于 2016-2-12 13:57
更新的今天的最新版,还是不扣钱。
配置如下
请问你使用的是什么版本的vault
什么版本的服务器
有无MOD
什么经济插件
使用购买命令时是否有报错
尝试更新一下vault版本看看
a390807154 发表于 2016-2-12 15:25
请问你使用的是什么版本的vault
什么版本的服务器
有无MOD
Vault 1.5.6 目前的最新版
服务端1.8.8sp端
纯净
经济插件之前提到了iConomy 使用的是mysql储存
购买时没有报错
imoeer 发表于 2016-2-12 15:52
Vault 1.5.6 目前的最新版
服务端1.8.8sp端
纯净
是我的问题
我原来发现了我把price打成了pirce
但是修复的时候忘记把读取部分的也一起修改了
稍后上传修复版
另外两个额外的彩票补充包没有此问题 你可以考虑安装一下
强制开奖有报错
复制代码
- [13:36:26 WARN]: Unexpected exception while parsing console command "lt lot 3D"
- org.bukkit.command.CommandException: Unhandled exception executing command 'lt'
- in plugin LotteryTicket v1.21
- at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[spi
- got-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:14
- 1) ~[spigot-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServe
- r.java:641) ~[spigot-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchServerCommand(Craf
- tServer.java:627) [spigot-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- at net.minecraft.server.v1_8_R3.DedicatedServer.aO(DedicatedServer.java:
- 412) [spigot-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:3
- 75) [spigot-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:6
- 54) [spigot-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java
- :557) [spigot-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- at java.lang.Thread.run(Unknown Source) [?:1.7.0_51]
- Caused by: java.lang.IllegalStateException: Already scheduled as 55
- at org.bukkit.scheduler.BukkitRunnable.checkState(BukkitRunnable.java:14
- 1) ~[spigot-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- at org.bukkit.scheduler.BukkitRunnable.runTaskTimer(BukkitRunnable.java:
- 99) ~[spigot-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- at Br.LotteryTicket.LotteryTicket.onCommand(LotteryTicket.java:145) ~[?:
- ?]
- at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[spi
- got-1.8.8-R0.1-SNAPSHOT.jar:git-Spigot-5f38d38-efd6cb0]
- ... 8 more
6666666666!好插件
666,有点厉害
为什么改了配置文件重启服务器以后系统又给自己改回来,成没改之前?
支付宝不留下真实姓名很难确认也··不管对不对都已捐赠支持·
没人买。。_(:з」∠)_
这个厉害
之前那个CP 1 2 3 4 5 的不好用,上3位的中奖基本没有。
版主的这个厉害 支持
之前那个CP 1 2 3 4 5 的不好用,上3位的中奖基本没有。
版主的这个厉害 支持
如果购买了两张一样的彩票,兑奖的时候,就会变成一张,另一张就没了!
[15:51:27 INFO]: ifen issued server command: /彩票 buy 21选5 5,3,4,3,2 1
[15:51:27 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command '彩票
' in plugin LotteryTicket v1.22
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[cra
ftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:17
5) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServe
r.java:683) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerCon
nection.java:952) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024j
nks]
at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java
:814) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java
:28) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat
.java:47) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146
) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craf
tbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:6
55) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2
50) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5
45) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java
:457) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6
17) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base6
4
at Br.LotteryTicket.Utils.encodeBase64(Utils.java:74) ~[?:?]
at Br.LotteryTicket.LotteryTicket.onCommand(LotteryTicket.java:232) ~[?:
?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[cra
ftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
... 13 more
>
[15:51:27 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command '彩票
' in plugin LotteryTicket v1.22
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[cra
ftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:17
5) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServe
r.java:683) ~[craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerCon
nection.java:952) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024j
nks]
at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java
:814) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java
:28) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat
.java:47) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146
) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craf
tbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:6
55) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:2
50) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:5
45) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java
:457) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:6
17) [craftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base6
4
at Br.LotteryTicket.Utils.encodeBase64(Utils.java:74) ~[?:?]
at Br.LotteryTicket.LotteryTicket.onCommand(LotteryTicket.java:232) ~[?:
?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[cra
ftbukkit-1.7.2.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3024jnks]
... 13 more
>
然而1.22的源码呢?
謝謝!!謝謝分享!!!
BearJW 发表于 2016-4-9 18:49
然而1.22的源码呢?
源码位置都一样 https://coding.net/u/Bryan_lzh/p/Lottery-Ticket/git/tree/master
本帖最后由 a390807154 于 2016-4-9 19:51 编辑
现在还在使用craftbukkit也是不可思议
估计是您的服务端没有内置base64的解码类
换成spigot看看?
IFEN1993 发表于 2016-4-9 15:53
[15:51:27 INFO]: ifen issued server command: /彩票 buy 21选5 5,3,4,3,2 1
[15:51:27 ERROR]: null
org. ...
现在还在使用craftbukkit也是不可思议
估计是您的服务端没有内置base64的解码类
换成spigot看看?
好插件 希望可以推出用GUI购买彩票的
a390807154 发表于 2016-4-9 19:47
现在还在使用craftbukkit也是不可思议
估计是您的服务端没有内置base64的解码类
是不是意味着换周目?
a390807154 发表于 2016-4-9 19:47
现在还在使用craftbukkit也是不可思议
估计是您的服务端没有内置base64的解码类
craftbukkit怎么啦?
a390807154 发表于 2016-4-9 19:47
现在还在使用craftbukkit也是不可思议
估计是您的服务端没有内置base64的解码类
把craftbukkit换成si需不需要把之前的数据都抛弃?
还是只换一个核心文件?
无法正常使用,配置文件正常生成
an internal error occurred while attempting to perform this command 购买彩票 提示这个是怎么回事?
1.9无法使用是什么鬼.......
那个彩票奖励怎么设置?
MC都彻底和我们现实生活一样了啊?
有点难设置。。。还是不用了
楼主在现实中肯定也是个彩票迷~
时光如年i 发表于 2016-6-20 14:45
给楼主一个建议。
右键之后,如果没有中奖,那么抽奖券将会自动消失。
@a390807154 ...
可以收藏用~
支持原创插件
本帖最后由 n_q 于 2016-7-22 02:22 编辑
大大 为什么我 /lt buy 福彩1D 0 1 提示上面的
1710端


大大 为什么我 /lt buy 福彩1D 0 1 提示上面的
1710端
感谢分享~
希望能和点券插件互通一下
希望能和点券插件互通一下
酷车手BB弹 发表于 2016-7-22 02:26
感谢分享~
希望能和点券插件互通一下
嘛 源码就在coding上
有需要的可以自己改 我感觉是没什么机会继续写这个插件了
要不就等我找个时间重写一遍
n_q 发表于 2016-7-22 02:18
大大 为什么我 /lt buy 福彩1D 0 1 提示上面的
1710端
尝试更新一下BrAPI的版本
a390807154 发表于 2016-7-22 11:24
尝试更新一下BrAPI的版本
大大 我更新到最新的3.4前置了,还是提示那个。跪求救命!
增加个支持 mysql 全服同步?
为什么只有op才能购买????
希望可以开放添加自定义彩票的设置
希望可以开放彩票长度与每格数字的范围的设置。
希望可以开放彩票长度与每格数字的范围的设置。
5igm1 发表于 2016-9-20 01:34
希望可以开放添加自定义彩票的设置
希望可以开放彩票长度与每格数字的范围的设置。 ...
都是开放的 只要你能够编程
实现Lottery接口
https://coding.net/u/Bryan_lzh/p ... Ticket/Lottery.java
并且在Utils里注册
a390807154 发表于 2016-9-20 11:43
都是开放的 只要你能够编程
实现Lottery接口
https://coding.net/u/Bryan_lzh/p/Lottery-Ticket/git/blob ...
不会编程。。
=-= 我只是提供一个建议,如果楼主不愿意就算了。
很好,增加了一个新的花钱途径
权限是是什么?还有指令= =
5igm1 发表于 2016-9-20 21:57
权限是是什么?还有指令= =
/lt buy 购买彩票 : LotteryTicket.buy
/lt lottery 强制开奖 : LotteryTicket.Lottery
为啥我修改配置文件后reload和重启服务器都没用,前直插件都有