Code Monkey home page Code Monkey logo

placestom's Introduction

placestom's People

Contributors

weiiswurstdev avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

bridgesplash

placestom's Issues

Server fails to load on Release 1.0.1

On the latest release of the server, the server fails to start, I pinpointed the issue to the Teleport Command, line 13 looking for an integer of a system property, this is not specified in the README for running the server, here is the error:

Exception in thread "main" java.lang.ExceptionInInitializerError
        at dev.weiiswurst.placestom.PlaceServer.registerCommands(PlaceServer.java:106)
        at dev.weiiswurst.placestom.PlaceServer.main(PlaceServer.java:91)
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.lang.Integer.getInteger(String)" is null
        at dev.weiiswurst.placestom.commands.TeleportCommand.<clinit>(TeleportCommand.java:13)
        ... 2 more

and the fix has multiple solutions, 1, have a default value, specify in the readme a system property is required or a few other options.

Here is an example, adding this to the java startup parameters:
-Dplacestom.worldborder-size=4

Terrain fails to load whether or not allowed blocks is specified

I noticed the error in initialization of the PlaceBlocks object and checked to see and noticed the log error on line 61 ("Unable to load allowed blocks. Will default to list of concrete blocks, creating a map will not work") and as I didn't specify an allowed blocks list, I tried to and it resulted in the same error (I tried -Dplacestom.blocks.allowed-blocks=grass_block,dirt_block), also it spams this

Exception in thread "ForkJoinPool.commonPool-worker-1" java.lang.NoClassDefFoundError: Could not initialize class dev.weiiswurst.placestom.world.PlaceBlocks
        at dev.weiiswurst.placestom.world.PlaceLoader.generateChunkData(PlaceLoader.java:32)
        at net.minestom.server.instance.batch.ChunkGenerationBatch.lambda$generate$0(ChunkGenerationBatch.java:34)
        at java.base/java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395)
        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)

in console which makes the log error unintuitive if it even gets to this point (not sure if it's erroring before or after that log or if the error isn't gracefully handled) also this is not documented or mentioned anywhere in the readme, also there should be a default fallback that allows terrain to generate normally without spam erroring out on player join (Might make a pr to fix the 2 issues

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.