Code Monkey home page Code Monkey logo

create-track-map's Introduction

Create Track Map

Create Track Map

Mod version Minecraft versions Download count

Available for Fabric Requires Create ≥0.5 Requires Fabric API Requires Fabric Kotlin

Available for Forge Requires Create ≥0.5 Requires Kotlin for Forge

Available on GitHub Available on Modrinth Find me on Discord

Create Track Map (CTM) is a multi-loader mod that displays a track map of Create trains in your world, including all tracks, signals, stations, and trains. The signals and trains are updated in (practically) real time.

Example track map

Usage

CTM is available for download on Modrinth. Please make sure you download the correct version for your loader, Minecraft version, and Create version. Below is the compatibility chart for Create versions:

CTM ≤1.3 CTM 1.4 CTM ≥1.5
Create 0.5.0
Create 0.5.1

Installation

Simply place the .jar file in your mods folder (or install with a modloader) like any other mod! CTM is intended to be a server side mod, but can also run in single-player worlds and LAN servers. It runs a web server on port 3876 by default, but this can be configured. You must forward this port if you wish to see the map. (How do I do this?)

The map itself is visible at the root (by default http://localhost:3876/). If using a proxy to serve the map, make sure to configure it to let Server-Sent Events through.

Singleplayer

The map is hosted on your computer so while Minecraft is open, enter http://localhost:3876/ into your browser.

Multiplayer

A) Local (LAN) server
The map is still hosted on your computer so while the game is open, enter http://localhost:3876/ into your browser.
Those in your household can see the map by entering http://[your computer's IPV4 address]:3876/ into their browser.
How do I see my computer's IPV4 address?

B) The server is on my PC
The map is still hosted on your computer so while the server is open, enter http://localhost:3876/ into your browser.
Those in your household can see the map by entering http://[your computer's IPV4 address]:3876/ into their browser.
Those outside your household can see the map by entering http://[your public IPV4 address]:3876/ into their browser.
How do I see my public IPV4 address?

C) The server is hosted with a hosting service
The map is hosted with the server on that service. You can see the map at [your server address]:3876/ while the server is up.
NOTE: YOUR SERVICE MUST SUPPORT EXTRA PORT FORWARDING. You can check with support/the docs for the service or just good old Google. If the service doesn't support this, you are out of luck. You can switch services or try hosting your own.

Just so it's clear: Do not include the brackets around your IPV4 address! For example: 192.168.0.0:3876

READ THIS BEFORE ASKING FOR HELP!

To use this mod, you must be able to open a second port, in addition to your Minecraft server, which CTM will run its web server on. If you are using Aternos, this is not possible. If you are using a shared hosting provider, please contact your host for assistance in opening a port. No support will be provided to open a port or to diagnose issues which are not caused by a bug in the mod.

Advanced Usage

CTM API

CTM provides the following API, also accessible through the same port:

  • /api/network, /api/network.rt: List of all track pieces and train stations
  • /api/signals, /api/signals.rt: List of all train signals, including their states (green, yellow, red)
  • /api/blocks, /api/blocks.rt: List of all signal control blocks, and whether they are occupied or reserved by a train
  • /api/trains, /api/trains.rt: List of all assembled trains, including their names and positions
  • /api/style.css: CSS style sheet generated from configured colors and fonts
  • /api/config.json: Map configuration

The .rt versions update in real time with Server-Sent Events (SSE).

Configuration

CTM's config options can be found at create-track-map.json in your server's config directory. It is automatically created at startup if it doesn't exist.

The following options are available:

{
  // Whether to actually start the watcher and the server.
  "enable": false,

  // How long to wait between track data updates.
  "watch_interval_seconds": 0.5,
  // The port the internal web server listens on.
  "server_port": 3876,

  "map_style": {
    // Font to use for the map's UI. Must be a valid CSS font stack.
    "font": "ui-monospace, \"JetBrains Mono\", monospace",
    // Colors for individual components of the map. Must be valid CSS colors.
    // Any CSS color format will work, such as named colors and rgb().
    "colors": {
      "background": "#888",
      "track": {
        "occupied": "red",
        "reserved": "pink",
        "free": "white"
      },
      "signal": {
        "green": "#71db51",
        "yellow": "#ffd15c",
        "red": "#ff5f5c",
        "outline": "black"
      },
      "portal": {
        "primary": "purple",
        "outline": "white"
      },
      "station": {
        "primary": "white",
        "outline": "black"
      },
      "train": "cyan",
      "lead_car": "darkturquoise"
    }
  },

  "map_view": {
    "initial_dimension": "minecraft:overworld",
    "initial_position": { "x": 0, "z": 0 },

    // Zoom levels must be integers, but may be negative.
    // Each zoom level is twice as big as the previous.
    // 0 is a decent minimum but may be impractical for large networks.
    // 3 is the sensible default for viewing double-tracked networks.
    "initial_zoom": 3,
    "min_zoom": 0,
    "max_zoom": 4,

    // Whether a zoom control should be visible on the screen.
    "zoom_controls": true,

    // Which side of the track a signal should be displayed on.
    // Valid values are LEFT or RIGHT (all uppercase).
    "signals_on": "RIGHT"
  },

  "dimensions": {
    // Dimension names must be namespaced.
    "minecraft:overworld": {
      // Label that shows up in the layer switcher.
      "label": "Overworld"
    },
    "minecraft:the_nether": {
      "label": "Nether"
    },
    "minecraft:the_end": {
      "label": "End"
    }
  },

  "layers": {
    "tracks": {
      "label": "Tracks",
      "min_zoom": 0,
      "max_zoom": 4
    },
    "blocks": {
      "label": "Track Occupancy",
      "min_zoom": 0,
      "max_zoom": 4
    },
    "signals": {
      "label": "Signals",
      "min_zoom": 0,
      "max_zoom": 4
    },
    "portals": {
      "label": "Portals",
      "min_zoom": 0,
      "max_zoom": 4
    },
    "stations": {
      "label": "Stations",
      "min_zoom": 0,
      "max_zoom": 4
    },
    "trains": {
      "label": "Trains",
      "min_zoom": 0,
      "max_zoom": 4
    }
  }
}

Reload the config without restarting the server by running /ctm reload (operator permissions required).

create-track-map's People

Contributors

enbyv avatar jenchanws avatar julie-mouse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

create-track-map's Issues

0.5.1 migration

UPDATE: CTM 1.4 is now available for Create Forge 0.5.1. Fabric support will be implemented some time after Create Fabric 0.5.1 is released.

TL;DR: Yes, I'm aware it doesn't work. Yes, I'm working on it.

Create 0.5.1 included a massive refactoring of all of their APIs, which broke most (if not all) Create addons. Create Track Map is a multiloader addon, which means it requires Create to have been ported to Fabric as well, and as of the time of writing that has not been completed yet.

NullPointerException when trying to update train locations

This bug has shown up on several people's servers now, but I haven't been able to reproduce it yet.

Reported independently by 20CX12 on LCS Discord:

[TrackMap watcher/WARN] [createtrackmap/]: Exception during update loop
java.lang.NullPointerException: Cannot invoke "com.simibubi.create.content.logistics.trains.TrackEdge.getLength()" because "this.edge" is null
at TRANSFORMER/[email protected]/com.simibubi.create.content.logistics.trains.entity.TravellingPoint.getPositionWithOffset(TravellingPoint.java:402)
at TRANSFORMER/[email protected]/com.simibubi.create.content.logistics.trains.entity.TravellingPoint.getPosition(TravellingPoint.java:398)
at TRANSFORMER/[email protected]+mc1.18.2/littlechasiu.ctm.ExtensionsKt.getSendable(Extensions.kt:60)

and Razziel on C:S&R:

[DefaultDispatcher-worker-1/ERROR] [ktor.application/]: Unhandled: GET - /api/trains.rt
java.lang.NullPointerException: Cannot invoke "com.simibubi.create.content.logistics.trains.TrackEdge.getLength()" because "this.edge" is null
	at com.simibubi.create.content.logistics.trains.entity.TravellingPoint.getPositionWithOffset(TravellingPoint.java:402) ~[create-1.19.2-0.5.0.i.jar%23190!/:0.5.0.i]
	at com.simibubi.create.content.logistics.trains.entity.TravellingPoint.getPosition(TravellingPoint.java:398) ~[create-1.19.2-0.5.0.i.jar%23190!/:0.5.0.i]
	at littlechasiu.ctm.ExtensionsKt.getSendable(Extensions.kt:60) ~[create-track-map-1.3+mc1.19.2-forge.jar%23192!/:1.3]

This causes the /api/trains.rt endpoint to return 500s, and the map doesn't show trains as a result.

No reserved blocks or yellow signals

Hello,
I've noticed I have never seen my map show reserved rail block nor yellow signal.

I would assume these features got lost during 0.5.1 migration or maybe my network is not using these features?

Thank you,
otherwise this mod is a great addition to Create!

Configuration

  • Web server port (currently only 3876)
  • Map colors (tracks, signals, stations, trains)

Idea: Control Redstone Power of Signals from Website

I'll preface this by saying that I have no clue how these things work, and if this is even possible, but I'll suggest it anyway.

I'd love for some way to control the redstone power of signals (to force red) from the website. Maybe you're able to hook in to the redstone link system or something? Ideally this would be on a separate page, maybe password protected or something.

Just throwing ideas out there. Love the mod, ty!

[Bug] Exception during update loop

Hello 👋🏻
I'd like to report an issue, that causes the map to be unable to update and which is also spamming the logs.

Here are some few details:

  • Server version: Minecraft 1.19.2 with Fabric Loader 0.14.19
  • Modlist (Create Live 4 Modpack + additional mods)

Steps to reproduce:
I unfortunately do not know the steps to reproduce this issue, but I'll download the world for testing purposes and post it as a comment tomorrow morning. (the map is quite big)

Here is the error message in detail:

[22:13:09] [TrackMap watcher/WARN]: Exception during update loop
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: java.lang.NullPointerException: Cannot invoke "com.simibubi.create.content.logistics.trains.TrackEdge.getLength()" because "this.edge" is null
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at com.simibubi.create.content.logistics.trains.entity.TravellingPoint.getPositionWithOffset(TravellingPoint.java:402)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at com.simibubi.create.content.logistics.trains.entity.TravellingPoint.getPosition(TravellingPoint.java:398)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at littlechasiu.ctm.ExtensionsKt.getSendable(Extensions.kt:60)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at littlechasiu.ctm.ExtensionsKt.getSendable(Extensions.kt:67)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at littlechasiu.ctm.ExtensionsKt.getSendable(Extensions.kt:83)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at littlechasiu.ctm.TrackWatcher.getTrainStatus(TrackWatcher.kt:226)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at littlechasiu.ctm.TrackWatcher.update(TrackWatcher.kt:343)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at littlechasiu.ctm.TrackWatcher.watch(TrackWatcher.kt:61)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at littlechasiu.ctm.TrackWatcher.access$watch(TrackWatcher.kt:24)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at littlechasiu.ctm.TrackWatcher$start$1$1$1.invokeSuspend(TrackWatcher.kt:42)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:284)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at littlechasiu.ctm.TrackWatcher$start$1.invoke(TrackWatcher.kt:40)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at littlechasiu.ctm.TrackWatcher$start$1.invoke(TrackWatcher.kt:39)
[22:13:09] [TrackMap watcher/INFO]: [STDERR]: 	at kotlin.concurrent.ThreadsKt$thread$thread$1.run(Thread.kt:30)

Thanks for your time developing this awesome mod. I hope that this bug report helps making it even better.
~ Beb

what warn

19:36:13] [TrackMap watcher/WARN] [createtrackmap/]: Exception during update loop

BlueMap integration

Basicly it would either overwrite the bluemap renderer and place itself in the world that way or it would use the api to do cool stuff

trains do not show up on the map

the trains do not show up on the track and only sometimes appear in the sidebar for the trains it allows me to go to there location on the map but they are completely invisible on the map idk if this is user error or a bug but I think it's a bug and I have no idea whats causing it

Server returns blank page with 404 status code

Describe the Bug

When attempting to access the application through my web browser, I only receive a blank page with an HTTP status of 404. I can confirm that this isn't a network configuration issue, as it actually establishes an HTTP connection, and I can also access all of the APIs without issue. I am not utilizing any reverse proxy, I am connecting directly to the configured port.

Reproduction Steps

  1. Create a new server with minimal mods installed.
  2. Start the server.
  3. Connect to the locally created web server.
  4. The application doesn't load and just shows a blank page with a 404 status code in the dev console.

Expected Result

The application should load.

Screenshots and Videos

HTTP request information from Firefox devtools:
image

Crash Report or Log

https://gist.github.com/Silveere/d6cc6e29f188c7c70985aa752c46fcab

Operating System

Arch Linux

CTM Version

1.4

Create Version

0.5.1d

Minecraft Version

1.20.1

Mod Loader

Quilt

Modloader Version

0.21.0

Instance Type

Server hosted on the same LAN

Other Mods

create-fabric-0.5.1-d-build.1161+mc1.20.1.jar
create-track-map-1.4+mc1.20.1-fabric.jar
qfapi-7.4.0_qsl-6.1.2_fapi-0.90.0_mc-1.20.1.jar
quilt-kotlin-libraries-2.1.3+kt.1.9.10+flk.1.10.10.jar

Additional Context

I was first experiencing this issue in a fairly large custom modpack. I uninstalled all mods besides those necessary to load the server, and I still have the issue.

We need forge!!!!!!!!!

Hello guys!
I think this mod is very good!
But the downside is that it doesn't have a Forge version
Our server needs the Forge version of this mod.
This would help us a lot, thanks!

[Suggestion] Excluded regions

If this request is simply impossible to do, then feel free to close it as is. One thing that would be cool to implement would be an exclusion list. For instance, if you are making a hidden base, you certainly do not want everyone to see a bunch of tracks on the map where there is "surpassingly nothing." With an exclusion list, any track, train, and signal that falls under the specified region will not be rendered on the map. How you approach this structure is up to you. This could be either chunk-based or block-based. The format could be something like this:

exclusionList: [
    {
        bottomLeft: [100, 250], // Format is [x-coordinate, z-coordinate]
        topRight: [150, 400]
    },
    {
        bottomLeft: [-100, -25],
        topRight: [-50, 0]
    }
]

Of course, the structure could be changed however you'd like, but essentially, if any train-related marker (track, train, signal, etc) falls inside those coordinates, it would not be rendered. This could help conceal any secret bases one might want to build. You could also implement a y-value as well, I am just dropping the idea.

Now, as for who is able to create those regions, they could probably either be able to be created through a server config, a server-admin /command, or a global /command (the command permissions could also probably be configurable).

Whether this is doable or not is something for you to decide, I just thought I'd give the suggestion as it would be very nice for such a feature to exist.

integration with Dynamap

Good morning,

I would like to make a suggestion. Do you think you can integrate with Dyn map on a page or create a layer to reflect the real world on the generated diagram?

This would not be an isometric integration but only on a flat world. I have seen maps with lines and curves. Even if the reproduction is not 100% faithful to the placement of the blocks in the world, it would allow to obtain an integrated global view of the graph of the trains within the world.

Conflict with com.typesafe.config on Arclight server

Today ,i Install this mod on arclight server(A Bukkit(1.16/1.18/1.19) server implementation on Forge using Mixin. )
The console displays the following error,and no crash report

java.lang.module.ResolutionException: Modules config and createtrackmap export package com.typesafe.config.impl to module framework
        at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:901)
        at java.base/java.lang.module.Resolver.failTwoSuppliers(Resolver.java:815)
        at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:736)
        at java.base/java.lang.module.Resolver.finish(Resolver.java:380)
        at java.base/java.lang.module.Configuration.<init>(Configuration.java:140)
        at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:494)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ModuleLayerHandler.buildLayer(ModuleLayerHandler.java:70)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.buildTransformingClassLoader(Transform
ationServicesHandler.java:60)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:104)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
        at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
        at MC-BOOTSTRAP/[email protected]/io.izzel.arclight.boot.application.ApplicationBootstrap.accept(ApplicationBootst
rap.java:41)
        at MC-BOOTSTRAP/[email protected]/io.izzel.arclight.boot.application.ApplicationBootstrap.accept(ApplicationBootst
rap.java:12)
        at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:577)
        at io.izzel.arclight.boot.application.Main_Forge.main(Main_Forge.java:23)
        at io.izzel.arclight.server.Launcher.main(Launcher.java:18)

I want know what happen and what should i do?

Crashing

Describe the Bug

The game keeps crashing right as soon as I create a world and go in it.

Reproduction Steps

  1. Start the game.
  2. Create a world.
  3. Go in the world.
    ...

Expected Result

The game to work.

Screenshots and Videos

The thing broke and it said that I was uploading 1425 MB

Crash Report or Log

https://pastebin.com/WqcG9TSb

Operating System

Windows 11

CTM Version

1.4

Create Version

0.5.1e

Minecraft Version

1.19.2

Mod Loader

Forge

Modloader Version

43.2.9

Instance Type

Singleplayer

Other Mods

Create Weaponry

Create: Crystal Clear

Create: Diesel Generators

Create: Drinks

Create: Extended Cogwheels

Create: Factory

Create: Netherless

Create: Steam 'n' Rails

Create: Structures

Kotlin for Forge

WorldEdit

Additional Context

No response

[Bug] Minecraft won't start with Terra and Create Track Map

[Bug] Minecraft won't start with Terra and Create Track Map

Description

I was trying to create a modpack that includes Create Track Map, Terra, and some other mods.
Sadly, it keeps crashing very early on.
I reduced the mods to just Terra and Create Track Map and their respective dependencies, but it still crashes with the same error.
Both mods work perfectly fine by themselves.

Installed Mods

Mod Version
Create create-1.19.2-0.5.1.c
Create Track Map create-track-map-1.4+mc1.19.2-forge-create-0.5.1
Kotlin for Forge kotlinforforge-3.12.0-all
Terra Terra-forge-6.2.1-BETA+358e09d05

Environment

Types Versions
OS: Linux(Manjaro)
Launcher: PrismLauncher 7.2
Java: OpenJDK 17.0.8
Minecraft: 1.19.2
Modloader: Forge
Forge: 43.2.21

PrismLauncher Log

Prism Launcher version: 7.2 (archlinux)


Launched instance in online mode

authserver.mojang.com resolves to:
    [18.65.39.116, 18.65.39.10, 18.65.39.119, 18.65.39.111]

session.minecraft.net resolves to:
    [13.107.246.45, 13.107.213.45, 2620:1ec:bdf::45, 2620:1ec:46::45]

textures.minecraft.net resolves to:
    [13.107.246.45, 13.107.213.45, 2620:1ec:bdf::45, 2620:1ec:46::45]

api.mojang.com resolves to:
    [13.107.213.45, 13.107.246.45, 2620:1ec:46::45, 2620:1ec:bdf::45]


Minecraft folder is:
/home/timm/.local/share/PrismLauncher/instances/1.19.2/.minecraft


Java path is:
/usr/lib/jvm/java-17-openjdk/bin/java


Java is version 17.0.8, using 64 (amd64) architecture, from N/A.


11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.0.4

Main Class:
  io.github.zekerzhayard.forgewrapper.installer.Main

Native path:
  /home/timm/.local/share/PrismLauncher/instances/1.19.2/natives

Traits:
traits FirstThreadOnMacOS
traits XR:Initial

Libraries:
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw-natives-linux/3.3.2-lwjgl.1/lwjgl-glfw-natives-linux-3.3.2-lwjgl.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-glfw/3.3.1/lwjgl-glfw-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc-natives-linux/3.3.1/lwjgl-jemalloc-natives-linux-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-jemalloc/3.3.1/lwjgl-jemalloc-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-natives-linux/3.3.1/lwjgl-natives-linux-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-openal-natives-linux/3.3.1/lwjgl-openal-natives-linux-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-openal/3.3.1/lwjgl-openal-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl-natives-linux/3.3.1/lwjgl-opengl-natives-linux-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-opengl/3.3.1/lwjgl-opengl-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-stb-natives-linux/3.3.1/lwjgl-stb-natives-linux-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-stb/3.3.1/lwjgl-stb-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd-natives-linux/3.3.1/lwjgl-tinyfd-natives-linux-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl-tinyfd/3.3.1/lwjgl-tinyfd-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/lwjgl/lwjgl/3.3.1/lwjgl-3.3.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/mojang/logging/1.0.0/logging-1.0.0.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/mojang/blocklist/1.0.10/blocklist-1.0.10.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/mojang/patchy/2.2.10/patchy-2.2.10.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/github/oshi/oshi-core/5.8.5/oshi-core-5.8.5.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/java/dev/jna/jna/5.10.0/jna-5.10.0.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/java/dev/jna/jna-platform/5.10.0/jna-platform-5.10.0.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/slf4j/slf4j-api/1.8.0-beta4/slf4j-api-1.8.0-beta4.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/apache/logging/log4j/log4j-slf4j18-impl/2.17.1/log4j-slf4j18-impl-2.17.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/ibm/icu/icu4j/70.1/icu4j-70.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/mojang/javabridge/1.2.24/javabridge-1.2.24.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/sf/jopt-simple/jopt-simple/5.0.4/jopt-simple-5.0.4.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/netty/netty-common/4.1.77.Final/netty-common-4.1.77.Final.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/netty/netty-buffer/4.1.77.Final/netty-buffer-4.1.77.Final.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/netty/netty-codec/4.1.77.Final/netty-codec-4.1.77.Final.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/netty/netty-handler/4.1.77.Final/netty-handler-4.1.77.Final.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/netty/netty-resolver/4.1.77.Final/netty-resolver-4.1.77.Final.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/netty/netty-transport/4.1.77.Final/netty-transport-4.1.77.Final.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/netty/netty-transport-native-unix-common/4.1.77.Final/netty-transport-native-unix-common-4.1.77.Final.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/netty/netty-transport-classes-epoll/4.1.77.Final/netty-transport-classes-epoll-4.1.77.Final.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-x86_64.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/netty/netty-transport-native-epoll/4.1.77.Final/netty-transport-native-epoll-4.1.77.Final-linux-aarch_64.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/google/guava/guava/31.0.1-jre/guava-31.0.1-jre.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/apache/commons/commons-lang3/3.12.0/commons-lang3-3.12.0.jar
  /home/timm/.local/share/PrismLauncher/libraries/commons-io/commons-io/2.11.0/commons-io-2.11.0.jar
  /home/timm/.local/share/PrismLauncher/libraries/commons-codec/commons-codec/1.15/commons-codec-1.15.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/mojang/brigadier/1.0.18/brigadier-1.0.18.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/mojang/datafixerupper/5.0.28/datafixerupper-5.0.28.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/mojang/authlib/3.11.49/authlib-3.11.49.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar
  /home/timm/.local/share/PrismLauncher/libraries/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/apache/httpcomponents/httpcore/4.4.14/httpcore-4.4.14.jar
  /home/timm/.local/share/PrismLauncher/libraries/it/unimi/dsi/fastutil/8.5.6/fastutil-8.5.6.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/apache/logging/log4j/log4j-api/2.17.1/log4j-api-2.17.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/apache/logging/log4j/log4j-core/2.17.1/log4j-core-2.17.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/mojang/text2speech/1.16.7/text2speech-1.16.7.jar
  /home/timm/.local/share/PrismLauncher/libraries/io/github/zekerzhayard/ForgeWrapper/mmc2/ForgeWrapper-mmc2.jar
  /home/timm/.local/share/PrismLauncher/libraries/cpw/mods/securejarhandler/2.1.4/securejarhandler-2.1.4.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/ow2/asm/asm/9.5/asm-9.5.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/ow2/asm/asm-commons/9.5/asm-commons-9.5.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/ow2/asm/asm-tree/9.5/asm-tree-9.5.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/ow2/asm/asm-util/9.5/asm-util-9.5.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/ow2/asm/asm-analysis/9.5/asm-analysis-9.5.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/accesstransformers/8.0.4/accesstransformers-8.0.4.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/antlr/antlr4-runtime/4.9.1/antlr4-runtime-4.9.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/eventbus/6.0.3/eventbus-6.0.3.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/forgespi/6.0.0/forgespi-6.0.0.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/coremods/5.0.1/coremods-5.0.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/cpw/mods/modlauncher/10.0.8/modlauncher-10.0.8.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/unsafe/0.2.0/unsafe-0.2.0.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/electronwill/night-config/core/3.6.4/core-3.6.4.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/electronwill/night-config/toml/3.6.4/toml-3.6.4.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/apache/maven/maven-artifact/3.8.5/maven-artifact-3.8.5.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/jodah/typetools/0.8.3/typetools-0.8.3.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/minecrell/terminalconsoleappender/1.2.0/terminalconsoleappender-1.2.0.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/jline/jline-reader/3.12.1/jline-reader-3.12.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/jline/jline-terminal/3.12.1/jline-terminal-3.12.1.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar
  /home/timm/.local/share/PrismLauncher/libraries/org/openjdk/nashorn/nashorn-core/15.3/nashorn-core-15.3.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/JarJarSelector/0.3.16/JarJarSelector-0.3.16.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/JarJarMetadata/0.3.16/JarJarMetadata-0.3.16.jar
  /home/timm/.local/share/PrismLauncher/libraries/cpw/mods/bootstraplauncher/1.1.2/bootstraplauncher-1.1.2.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/JarJarFileSystems/0.3.16/JarJarFileSystems-0.3.16.jar
  /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/fmlloader/1.19.2-43.2.21/fmlloader-1.19.2-43.2.21.jar
  /home/timm/.local/share/PrismLauncher/libraries/com/mojang/minecraft/1.19.2/minecraft-1.19.2-client.jar

Native libraries:

Mods:
  [✔] create-1.19.2-0.5.1.c
  [✔] create-track-map-1.4+mc1.19.2-forge-create-0.5.1
  [✔] kotlinforforge-3.12.0-all
  [✔] Terra-forge-6.2.1-BETA+358e09d05

Params:
  --username  --version 1.19.2 --gameDir /home/timm/.local/share/PrismLauncher/instances/1.19.2/.minecraft --assetsDir /home/timm/.local/share/PrismLauncher/assets --assetIndex 1.19 --uuid  --accessToken  --userType  --versionType release --launchTarget forgeclient --fml.forgeVersion 43.2.21 --fml.mcVersion 1.19.2 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20220805.130853

Window size: 854 x 480

Launcher: standard

Java Arguments:
[-Xms512m, -Xmx4096m, -Duser.language=en]


Minecraft process ID: 140913


Checking: MC_SLIM
Checking: MERGED_MAPPINGS
Checking: MAPPINGS
Checking: MC_EXTRA
Checking: MOJMAPS
Checking: PATCHED
Checking: MC_SRG
2023-08-05 13:48:20,736 main WARN Advanced terminal features are not available in this environment
[13:48:20] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, Argon42043, --version, 1.19.2, --gameDir, /home/timm/.local/share/PrismLauncher/instances/1.19.2/.minecraft, --assetsDir, /home/timm/.local/share/PrismLauncher/assets, --assetIndex, 1.19, --uuid, &lt;PROFIL-ID&gt;, --accessToken, ❄❄❄❄❄❄❄❄, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 43.2.21, --fml.mcVersion, 1.19.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220805.130853, --width, 854, --height, 480]
[13:48:20] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 10.0.8+10.0.8+main.0ef7e830 starting: java version 17.0.8 by N/A; OS Linux arch amd64 version 6.1.41-1-MANJARO
[13:48:21] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/home/timm/.local/share/PrismLauncher/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%23136!/ Service=ModLauncher Env=CLIENT
[13:48:21] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/fmlcore/1.19.2-43.2.21/fmlcore-1.19.2-43.2.21.jar is missing mods.toml file
[13:48:21] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/javafmllanguage/1.19.2-43.2.21/javafmllanguage-1.19.2-43.2.21.jar is missing mods.toml file
[13:48:21] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/lowcodelanguage/1.19.2-43.2.21/lowcodelanguage-1.19.2-43.2.21.jar is missing mods.toml file
[13:48:21] [main/WARN] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Mod file /home/timm/.local/share/PrismLauncher/libraries/net/minecraftforge/mclanguage/1.19.2-43.2.21/mclanguage-1.19.2-43.2.21.jar is missing mods.toml file
[13:48:21] [main/INFO] [ne.mi.fm.lo.mo.JarInJarDependencyLocator/]: Found 5 dependencies adding them to mods collection
Exception caught from launcher
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:57)
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:88)
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:126)
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:71)
Caused by: java.lang.module.ResolutionException: Modules terra and createtrackmap export package org.jetbrains.annotations to module minecraft
	at java.base/java.lang.module.Resolver.resolveFail(Resolver.java:901)
	at java.base/java.lang.module.Resolver.failTwoSuppliers(Resolver.java:815)
	at java.base/java.lang.module.Resolver.checkExportSuppliers(Resolver.java:736)
	at java.base/java.lang.module.Resolver.finish(Resolver.java:380)
	at java.base/java.lang.module.Configuration.<init>(Configuration.java:140)
	at java.base/java.lang.module.Configuration.resolveAndBind(Configuration.java:494)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.ModuleLayerHandler.buildLayer(ModuleLayerHandler.java:75)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.TransformationServicesHandler.buildTransformingClassLoader(TransformationServicesHandler.java:60)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:104)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
	at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)
	... 8 more
Exiting with ERROR
Der Prozess wurde mit Status 2 beendet.

Further Testing

I tried the same mods on my test server but got the same result.

Possible Cause

I'm not a Java or Kotlin programmer, but by reading this discussion and my poor understanding of Java packages, it might just be a misconfiguration.

P.S. Thanks for developing this amazing mod.

web should show train sections as colours (and height)

should have a mode that shows the rainbow colours for each sections as a different color..
and should have. darker and lighter shades of the colours for height. ( specifically if a train crosses another track but its below. it should show a tunnel or be darker/separated..
perhaps a orthographic view..

or do a plugin into dynamap. to overlay on dynamap layers so you can see the background map render colours beneath (faded)

Make trains transition instead of teleport

The trains indicate movement by teleporting where they are, but I would instead make it transition to it's new position, so it looks a lot smoother and imo smoother. The current teleporting is kinda hard to look at tbh

Show next station departures when clicked

Similar to the planned timetable feature for trains, it would be amazing to see upcoming departures for a selected station (or all stations that share the name of the station) by clicking the station icon.

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.