Comments (4)
Alright, perfect, the file()
part made it work, thanks.
I did try putting the include file next to the parent (what I'd consider "adjacent to" but I guess there's a different meaning in the linked documentation.)
from bluemap.
BlueMap uses the latest version of the Configurate-HOCON library to load the configs.
An already known bug with include
is that relative paths are relative to the working-directory of the java-application instead of relative to the including file.
However, your path seems to be absolute.
Have you made sure, that the java-process actually has access-rights to the file you are trying to include?
If you don't want it to fail silently, you will need to add required(..)
around the path, e.g.:
include required("/data/minecraft/2024.poi.ov")
.
Can you please add that required(..)
and see if it then throws an error with more information about the problem? :)
from bluemap.
Aha, yes, should have thought of that. Adding that gives the error of java.io.IOException: resource not found on classpath: data/minecraft/20 24.poi.ov.conf
. Moving the file to various places near the Minecraft server jar and changing the path to relative also gives the same error.
Using jinfo
on the process gives me java.class.path=fabric-server-mc.1.20-loader.0.15.3-launcher.1.0.0.jar
. I've restarted the server with various -cp
, -classpath
, CLASSPATH=
variants but it doesn't seem to get picked up.
As for access, it definitely has rights because it's running as me.
(Apologies, my Java knowledge is minimal, hence the floundering)
from bluemap.
Okay, it looks like it's trying to read the file from the classpath-resources instead of the file-system.
As described here it does that as a fallback.
To make sure it is searching for a file on the file-system please try using include required(file("/data/minecraft/2024.poi.ov"))
and see if that also gives you an error.
Also, if this gives you an error again, please include the full error + stacktrace :)
from bluemap.
Related Issues (20)
- Render Errors with Older World HOT 3
- Entire screen flickering HOT 10
- Feature request: Messure distances between points HOT 5
- Diagonal Fences/Walls/Windows and Eidolon Incompatibilities HOT 1
- BlueMap webserver immediately closes client connection when bound to 127.0.0.1 HOT 4
- [4.1] `BlueMap-Plugin-UpdateCommand failed main thread check: world save` exception after `bluemap update world` console command HOT 2
- Changes to the web files don't work HOT 1
- Firefox Flickering issue HOT 8
- Error reading world data with compactmachines mod on startup in 4.0+ HOT 2
- Framed blocks not showing up correctly on bluemap HOT 1
- Webserver: SQL port configuration is not used
- async update does not work HOT 2
- Lowres heightmaps not working below y0?
- Rails from the Create mod & addon that are not straight and flat don't show up on BlueMap HOT 3
- Bells arent displayed correctly HOT 2
- error when having a huge map HOT 1
- Map has black holes when zooming in and shows no details (blocky map) HOT 6
- Add a set for developers that holds other marker sets HOT 1
- Map Render for Overworld is just Bedrock HOT 3
- Console Error on Player Logging Events HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluemap.