wietje / skywars Goto Github PK
View Code? Open in Web Editor NEWSkyWars minigame plugin for Bukkit
License: GNU General Public License v3.0
SkyWars minigame plugin for Bukkit
License: GNU General Public License v3.0
When you use a command /sw setlobby in the config write the coord of the lobby in float numbers.
But during the parser, it doesn't accept this float number and give this error.
2013-09-13 23:59:43 [SEVERE] Error occurred while enabling SkyWars v1.0-SNAPSHOT (Is it up to date?)
java.lang.ExceptionInInitializerError
at vc.pvp.skywars.SkyWars.onEnable(SkyWars.java:106)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugin(CraftServer.java:286)
at org.bukkit.craftbukkit.v1_6_R2.CraftServer.enablePlugins(CraftServer.java:268)
at net.minecraft.server.v1_6_R2.MinecraftServer.l(MinecraftServer.java:319)
at net.minecraft.server.v1_6_R2.MinecraftServer.f(MinecraftServer.java:296)
at net.minecraft.server.v1_6_R2.MinecraftServer.a(MinecraftServer.java:256)
at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:164)
at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:397)
at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
Caused by: java.lang.NumberFormatException: For input string: "232,36"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
I've fixed changing the float number in real number.
Could you fix in the plugin?
I'm rather large noob when it comes to java, so this could be stupidity on my end, but upon importing the source code into eclipse I get the error
Description Resource Path Location Type
The type org.bukkit.inventory.ItemStack cannot be resolved. It is indirectly referenced from required .class files ItemUtils.java /SkyWars-master/src/main/java/vc/pvp/skywars/utilities line 1 Java Problem
And that's the only error, if you could tell me what i've done wrong. or how to fix it, that'd be great.
Can't reproduce wietje
When my server restarts, players' scores aren't saved. I've isolated the issue:
I'm using SQL storage, and my restart script does a /kickall before ending the server.
So kicking the players calls GamePlayer.save() which calls savePlayer from its DataStorage object, which for me is SQLStorage. Then the SQLStorage object fires the savePlayerTask() asynchronously. I think the server shuts down before the async task has a chance to execute.
As a temporary fix, I've made the player save happen in the main thread, and since my SQL database is hosted locally, this doesn't cause too much lag for me. I don't know how to fix it any other way.
Could you please make a videotutorial, it will be very useful.
I do not understand this: Schematic creation very well
Thanks
When a player places a chest during a game, then opens that chest, it is autofilled by the plugin. By simply breaking a chest and placing it in a new location, the player can get infinite items.
In the meantime, we've just been cancelling the BlockPlaceEvent when the block is of type CHEST.
alixial have you donde de videotutorial?
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.