loohp / lotterysix Goto Github PK
View Code? Open in Web Editor NEWLottery game in Minecraft inspired by the game 'Mark Six 六合彩' of the HKJC
Home Page: https://www.spigotmc.org/resources/107573/
License: GNU General Public License v3.0
Lottery game in Minecraft inspired by the game 'Mark Six 六合彩' of the HKJC
Home Page: https://www.spigotmc.org/resources/107573/
License: GNU General Public License v3.0
When the deposit button is clicked,
the GUI closes and nothing is displayed,
and the console reports an error
Server INFO
server version purpur-2265 MC-1.21
LotterySix version 1.10.14.0
LOG
BUG-Log.txt
my logs tell me this
[16:17:18 ERROR]: [ModernPluginLoadingStrategy] Could not load 'plugins/.paper-remapped/LotterySix-1.10.13.0.jar' in 'plugins/.paper-remapped'
org.bukkit.plugin.UnknownDependencyException: Unknown/missing dependency plugins: [PlaceholderAPI]. Please download and install these plugins to run 'LotterySix'.
at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:82) ~[paper-1.21.jar:1.21-37-dd49fba]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:38) ~[paper-1.21.jar:1.21-37-dd49fba]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40) ~[paper-1.21.jar:1.21-37-dd49fba]
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:535) ~[paper-1.21.jar:1.21-37-dd49fba]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:290) ~[paper-1.21.jar:1.21-37-dd49fba]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1157) ~[paper-1.21.jar:1.21-37-dd49fba]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.jar:1.21-37-dd49fba]
at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]
The %player_name% function is not working, I have tried several ways to try to revert it and nothing works, it does not show the player's name.
I'm using all updated dependencies.
I'm not receiving any error notices, everything is running perfectly well.
I know I could simply delete the function from this line and the others, but that would lose the character of your work.
BettingAccount:
- '&e%player_name%''s Betting Account'
- '&7View details of your betting account'
Random.org provides an API that allows you to generate 100% random numbers.
From the site:
The randomness comes from atmospheric noise, which for many purposes is better than the pseudo-random number algorithms typically used in computer programs.
API site: https://api.random.org/
I also put in all the dependency plugins, but an internal error occurred while attemptin to perform this command error pops up
I'm using 1.19.2 arclight bucket
[11:40:28 ERROR]: Error occurred while enabling LotterySix v1.10.11.0 (Is it up to date?) com.loohp.lotterysix.libs.com.google.gson.JsonSyntaxException: java.io.EOFException: End of input at line 367 column 1 path $[40].gameNumber . at com.loohp.lotterysix.libs.com.google.gson.Gson.fromJson(Gson.java:1068) ~[LotterySix-1.10.11.0.jar:?] at com.loohp.lotterysix.libs.com.google.gson.Gson.fromJson(Gson.java:986) ~[LotterySix-1.10.11.0.jar:?] at com.loohp.lotterysix.game.LotterySix.loadData(LotterySix.java:1094) ~[LotterySix-1.10.11.0.jar:?] at com.loohp.lotterysix.game.LotterySix.<init>(LotterySix.java:396) ~[LotterySix-1.10.11.0.jar:?] at com.loohp.lotterysix.LotterySixPlugin.onEnable(LotterySixPlugin.java:133) ~[LotterySix-1.10.11.0.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:287) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:188) ~[paper-1.20.4.jar:g it-Paper-"850b736"] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.4.jar:git-Paper -"850b736"] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.20.4.jar:git-Paper-"850b736"] at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:550) ~[paper-1.20.4.jar:git-Paper-"850b736"] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:671) ~[paper-1.20.4.jar:git-Paper-"850b736"] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431) ~[paper-1.20.4.jar:git-Paper-"850b736"] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:309) ~[paper-1.20.4.jar:git-Paper-"850b736"] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1131) ~[paper-1.20.4.jar:git-Paper-"850b736"] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-"850b736"] at java.lang.Thread.run(Thread.java:1583) ~[?:?] Caused by: java.io.EOFException: End of input at line 367 column 1 path $[40].gameNumber. at com.loohp.lotterysix.libs.com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1406) ~[LotterySix-1.10.11.0.jar:?] at com.loohp.lotterysix.libs.com.google.gson.stream.JsonReader.doPeek(JsonReader.java:504) ~[LotterySix-1.10.11.0.jar:?] at com.loohp.lotterysix.libs.com.google.gson.stream.JsonReader.hasNext(JsonReader.java:424) ~[LotterySix-1.10.11.0.jar:?] at com.loohp.lotterysix.libs.com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:752) ~[LotterySix-1.10.11.0.jar:?] at com.loohp.lotterysix.libs.com.google.gson.internal.bind.TypeAdapters$28.read(TypeAdapters.java:698) ~[LotterySix-1.10.11.0.jar:?] at com.loohp.lotterysix.libs.com.google.gson.internal.bind.TypeAdapters$34$1.read(TypeAdapters.java:979) ~[LotterySix-1.10.11.0.jar: ?] at com.loohp.lotterysix.libs.com.google.gson.Gson.fromJson(Gson.java:1058) ~[LotterySix-1.10.11.0.jar:?] ... 16 more [11:40:28 INFO]: [LotterySix] Disabling LotterySix v1.10.11.0 [11:40:28 ERROR]: Error occurred while disabling LotterySix v1.10.11.0 java.lang.NullPointerException: Cannot invoke "com.loohp.lotterysix.game.LotterySix.close()" because "com.loohp.lotterysix.LotterySixPlugin. instance" is null at com.loohp.lotterysix.LotterySixPlugin.onDisable(LotterySixPlugin.java:248) ~[LotterySix-1.10.11.0.jar:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:290) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.disablePlugin(PaperPluginInstanceManager.java:223) ~[paper-1.20.4.jar: git-Paper-"850b736"] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.disablePlugin(PaperPluginManagerImpl.java:109) ~[paper-1.20.4.jar:git-Pape r-"850b736"] at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:537) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:192) ~[paper-1.20.4.jar:g it-Paper-"850b736"] at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.20.4.jar:git-Paper -"850b736"] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugin(CraftServer.java:639) ~[paper-1.20.4.jar:git-Paper-"850b736"] at org.bukkit.craftbukkit.v1_20_R3.CraftServer.enablePlugins(CraftServer.java:550) ~[paper-1.20.4.jar:git-Paper-"850b736"] at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:671) ~[paper-1.20.4.jar:git-Paper-"850b736"] at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:431) ~[paper-1.20.4.jar:git-Paper-"850b736"] at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:309) ~[paper-1.20.4.jar:git-Paper-"850b736"] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1131) ~[paper-1.20.4.jar:git-Paper-"850b736"] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-"850b736"] at java.lang.Thread.run(Thread.java:1583) ~[?:?]
it stll tells me this [08:43:29 ERROR]: [ModernPluginLoadingStrategy] Could not load 'plugins/.paper-remapped/LotterySix-1.10.13.0.jar' in 'plugins/.paper-remapped'
org.bukkit.plugin.UnknownDependencyException: Unknown/missing dependency plugins: [PlaceholderAPI]. Please download and install these plugins to run 'LotterySix'.
at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:82) ~[paper-1.21.jar:1.21-39-aa8d38d]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:38) ~[paper-1.21.jar:1.21-39-aa8d38d]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40) ~[paper-1.21.jar:1.21-39-aa8d38d]
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:535) ~[paper-1.21.jar:1.21-39-aa8d38d]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:290) ~[paper-1.21.jar:1.21-39-aa8d38d]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1157) ~[paper-1.21.jar:1.21-39-aa8d38d]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.jar:1.21-39-aa8d38d]
at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]
[08:43:30 ERROR]: [ModernPluginLoadingStrategy] Could not load 'plugins/.paper-remapped/AxRankMenu-1.6.0.jar' in 'plugins/.paper-remapped'
org.bukkit.plugin.UnknownDependencyException: Unknown/missing dependency plugins: [LuckPerms]. Please download and install these plugins to run 'AxRankMenu'.
at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:82) ~[paper-1.21.jar:1.21-39-aa8d38d]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:38) ~[paper-1.21.jar:1.21-39-aa8d38d]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40) ~[paper-1.21.jar:1.21-39-aa8d38d]
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:535) ~[paper-1.21.jar:1.21-39-aa8d38d]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:290) ~[paper-1.21.jar:1.21-39-aa8d38d]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1157) ~[paper-1.21.jar:1.21-39-aa8d38d]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.jar:1.21-39-aa8d38d]
at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]
[08:43:30 ERROR]: [ModernPluginLoadingStrategy] Could not load 'plugins/PlaceholderAPI-Expansion-1.2.0.jar' in 'plugins'
org.bukkit.plugin.UnknownDependencyException: Unknown/missing dependency plugins: [MiniPlaceholders, PlaceholderAPI]. Please download and install these plugins to run 'PlaceholderAPI-Expansion'.
at io.papermc.paper.plugin.entrypoint.strategy.modern.ModernPluginLoadingStrategy.loadProviders(ModernPluginLoadingStrategy.java:82) ~[paper-1.21.jar:1.21-39-aa8d38d]
at io.papermc.paper.plugin.storage.SimpleProviderStorage.enter(SimpleProviderStorage.java:38) ~[paper-1.21.jar:1.21-39-aa8d38d]
at io.papermc.paper.plugin.entrypoint.LaunchEntryPointHandler.enter(LaunchEntryPointHandler.java:40) ~[paper-1.21.jar:1.21-39-aa8d38d]
at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:535) ~[paper-1.21.jar:1.21-39-aa8d38d]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:290) ~[paper-1.21.jar:1.21-39-aa8d38d]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1157) ~[paper-1.21.jar:1.21-39-aa8d38d]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.jar:1.21-39-aa8d38d]
at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]
Add custom gui support such as:
this can help to back main menu and make it better
when I installed it on my folia server, it prompted me to download the PlaceholderAPI, but the PlaceholderAPI plugin does not currently support Folia. how can I use your plugin on my folia server(1.20.4-folia)
Mega Millions / Powerball is a lottery system in the US similar to Mark Six, but only uses five balls instead of six.
Here's a link to how Mega Millions works: https://www.megamillions.com/How-to-Play.aspx
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.