Giter VIP home page Giter VIP logo

skywars's Introduction

skywars's People

Contributors

roastnewt avatar wietje avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

skywars's Issues

Decimal numbers in lobby spawn occured during the parsing

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?

Error,

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.

Player Scores / Info Not Saving During Shuttdown

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.

videotutorial

Could you please make a videotutorial, it will be very useful.
I do not understand this: Schematic creation very well
Thanks

Player-Placed Chests Are Autofilled

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.