Giter VIP home page Giter VIP logo

minecolab's Introduction

Hi there ๐Ÿ‘‹

I am thecoder-001, and I break stuff.

GitHub Stats

My Profile Stats
Nope, they aren't any good...

Thecoder001's gitHub stats

minecolab's People

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  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

minecolab's Issues

[BUG] Use Java 8 for minecraft 1.12.2 and lower

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
Using a 1.12.2 forge
Expected behavior
split up error code
with mods and without mod is same results
image

[BUG] Problem with ngrok

Hi ! I have some problems to connect to the server with the ip adress provided by ngrok.
The minecraft client says : Disconnected.

Any thoughts?

Thanks.

Server does not start when using forge

If the server_type has been chosen as "forge" it always appear the message:
java.net.preferIPv4Stack=true
Found java version 17.0.1
Exception in thread "main"
java.awt.HeadlessException:
No X11 DISPLAY variable was set,
but this program performed an operation which requires it.
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
at java.desktop/java.awt.Window.(Window.java:553)
at java.desktop/java.awt.Frame.(Frame.java:428)
at java.desktop/java.awt.Frame.(Frame.java:393)
at java.desktop/javax.swing.SwingUtilities$SharedOwnerFrame.(SwingUtilities.java:1919)
at java.desktop/javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1995)
at java.desktop/javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1695)
at java.desktop/javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:874)
at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:676)
at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:647)
at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:177)
at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:147)

Steps to reproduce the behavior:

  1. Execute script "Maka-a-server" making variable server_type='forge'.
  2. Execute script "Automatically accept the EULA".
  3. Execute script "Run a Minecraft Server on Google Colab!"
  4. After connecting tunnel service, no matter which one, it always appears java error:
    java.net.preferIPv4Stack=true
    Found java version 17.0.1
    Exception in thread "main"
    java.awt.HeadlessException:
    No X11 DISPLAY variable was set,
    but this program performed an operation which requires it.
    at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
    at java.desktop/java.awt.Window.(Window.java:553)
    at java.desktop/java.awt.Frame.(Frame.java:428)
    at java.desktop/java.awt.Frame.(Frame.java:393)
    at java.desktop/javax.swing.SwingUtilities$SharedOwnerFrame.(SwingUtilities.java:1919)
    at java.desktop/javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1995)
    at java.desktop/javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1695)
    at java.desktop/javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:874)
    at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:676)
    at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:647)
    at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:177)
    at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:147)

Expected behavior
correct boot of forge server, showing a message like: "[20:04:54] [Server thread/INFO] [minecraft/DedicatedServer]: Done (212.495s)! For help, type "help"

Minecraft server Version
Minecraft 1.19.2
Forge 43.3.0

Mod/Datapack list
clear installation

Possible solution
Changing line 68
!java $memory_allocation $server_flags -jar $jar_name nogui
by
! ./run.sh

[BUG] Ngrok connection problems

Describe the bug
its now not letting to connect,it starts but we can't able to join it .
it says is it a minecraft server?
i guess minecraft server has got banned on google colab now :(

Expected behavior
it should let us in.

[BUG] Cant connect to SSH acess to host OS

Describe the bug
i cant connect to the ssh

To Reproduce
Steps to reproduce the behavior:

  1. Run the minecraft server cell.
  2. After the server started i turned off.
  3. Scroll down to 'SSH access to host OS'
  4. Run the cell off SSH access to host OS
  5. Then putted the ngrok authtoken
  6. Then run the second cell which contains the ip for the ssh it like tcp://0.tcp.ngrok.io:16826
  7. Opened the putty on computer
  8. typed the ip:[email protected] port:16826
  9. refused to connect the connection error + even if i connect there willl be no any minecraft server running on it or any files or directories are there on the ssh

Expected behavior
I thought i could control the server by this and access the files on it (ssh).

Minecraft server Version
1.16.3 paper

Mod/Datapack list
N/A

Additional context
Please Help me if my procedure is wrong and merge a help guide. So it will be easy for like me

[Feature Request] Cuberite

Recently, I wanted to discover if there are any good Minecraft server software which doesn't use Java at all and found Cuberite project. Unfortunately the binaries from the website don't work, mainly due to glibc, but I managed to get it working on my own repo.

Tested it with 5 players (me myself including)
No logs, no tweaks and stuff. Works on 1.8 through 1.12.2

Binaries: https://github.com/iamtakingithard/cuberite/actions

[BUG] Not saving world

Describe the bug
whenever I play on it it deletes the world

To Reproduce
Steps to reproduce the behavior:
Start server
join
restart
world gone
Expected behavior
For the world to save
Screenshots
If applicable, add screenshots to help explain your problem.

Minecraft server Version
1.16.3 paper

Mod/Datapack list
worldedit
all the multiverse mods
nolagg

Couldn't Access server.jard

GoogleColab couldnt acces server.jar
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Run the minecraft server colab'
  2. Click on 'tunnel_service'
  3. Select to 'ngrok'
  4. Autentication link doesnt work, if you get the auth key manually it still cant get downloaded.
    Error: Unable to access jarfile server.jar

Expected behavior
start the server

Minecraft server Version
not needed, server_type tho

Mod/Datapack list
not modded

Additional context
i tried to do it but it wont let me

[BUG] Argo - Segmentation error

*Describe the bug
I was surfing on internet when I came across this project..... Felt pretty interesting so tried using it...... the argo tunnel doen't work ... it gives an error saying that

ERR Failed to create new quic connection, err: Unauthorized: Record for tunnel not found
ERR Register tunnel error from server side error="Unauthorized: Record for tunnel not found" connIndex=0

Unhandled exception
Type=Segmentation error vmState=0x00000000

To Reproduce
This error occurred when it was set as default to 'argo'

Expected behavior
I was expecting to get the tunnel address so that I can connect to the server

Screenshots
If applicable, add screenshots to help explain your problem.

Minecraft server Version
The Minecraft version is 1.17.1

Mod/Datapack list
There are no mods currently running on the server

Additional context
Add any other context about the problem here.

[BUG] Error starting the server

Replay.
Steps to reproduce the behavior:

  1. Download minecraft server successfully 2.
  2. Start the server (Gives error)

**Expected behavior
At the moment of starting the server an error appears and stops the process, although it gives me the IP this error appears "Error: A JNI error has occurred, please check your installation and try again", I am using the server type "Fabric".

Screenshots
https://imgur.com/897fPjB
https://imgur.com/kNnEC6G

Minecraft server version
1.19 - Fabric

List of mods/datapacks
no mods

[BUG] World save problem

Describe the bug
whenever the run time disconnect's (automatically it shut downs ). Then my world just revert back at its state when i first started the server.

To Reproduce
Steps to reproduce the behavior:
Turned on the server.
joined in.
played and
automattically disconnect's even the browser is on and then whenever i start the server again it reverts back it doesnot save the things which was before that i made but the inventry remains same.

Expected behavior
It shuld start from the same place and the all the things should have been saved properly.

Screenshots
N/A

Minecraft server Version
1.16.3
Mod/Datapack list
sleep-most, co-ordinate hud

Additional context
If there is any fix for this please help. I have resetted the server more than 5 times due to this problem now iam reporting it. :)

Hoping For Positive respsone

[Feature Request] Pterodactyl control panel

Is your feature request related to a problem? Please describe.
I find it hard to manage the server when it is on. I have to open my drive, download the file, edit it, and reupload it. This is a very manual process.

Describe the solution you'd like
I was thinking we could use the https://pterodactyl.io control panel. there is an install script here

Describe alternatives you've considered
A weird google drive thing for linux.
Additional context
Thank you so much for this amazing program.

[BUG] cant initialize server

Describe the bug
An error displays saying no x11 display variable was set

To Reproduce
Steps to reproduce the behavior:

  1. just execute
  2. error plays

Expected behavior
the server to run

Screenshots
Exception in thread "main"
java.awt.HeadlessException:
No X11 DISPLAY variable was set,
but this program performed an operation which requires it.
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
at java.desktop/java.awt.Window.(Window.java:553)
at java.desktop/java.awt.Frame.(Frame.java:428)
at java.desktop/java.awt.Frame.(Frame.java:393)
at java.desktop/javax.swing.SwingUtilities$SharedOwnerFrame.(SwingUtilities.java:1919)
at java.desktop/javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1995)
at java.desktop/javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1695)
at java.desktop/javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:874)
at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:676)
at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:647)
at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:191)
at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:161)

Minecraft server Version
1.19.2 forge

Mod/Datapack list
List all the mods/datapacks currently being used on the server if applicable.

Additional context
Add any other context about the problem here.

[BUG] Blocks disappearing after restarting the server

Describe the bug
Blocks placed by players are disappearing after restarting the server

To Reproduce
Steps to reproduce the behavior:

  1. Create a map and host
  2. Place some random blocks
  3. Exit and shutdown the server with old IP
  4. Restart the server with new IP
  5. Join on the new IP
  6. See that your blocks are missing

Expected behavior
By idea everything should be saved.

Minecraft server Version
1.17, but I have seen that 1.16.4 is affected as well. Maybe other version as well

Mod/Datapack list
No mods and datapacks.

Auto-Save Problem

Hi, I am trying to enable auto-save because yesterday the server crashed and did some strange things to the saves. I found on the web that I have to edit paper.yml, I did but it still doesn't save. Is there a code snippet to implent in the main code that I can use?

World not saving properly

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Run the scripts
  2. After a while the script stops.
  3. World has not saved everything
  4. World is glitched with some things being in the world and some things being destroyed.

Expected behavior
Things are expected to save properly after running.

Screenshots
image
Animals spawned in but fences surrounding them aren't.
image
Villagers are killed because space provided before hand hasn't loaded in

Minecraft server Version
1.17 vanilla

Mod/Datapack list
N/A

Additional context
Left script running maybe that is the problem, server must be manually shut down?. However server is still accessible after script stops running.

[BUG] Ngrok Not accepting authtoken and changing drives fails

Describe the bug
A clear and concise description of what the bug is.
When I try to run the scripts, it wont accept the ngrok authtoken
To Reproduce

  1. Run the script on google colab
  2. put in my ngrok authtoken
  3. error

Expected behavior
For it to successfuly connect to ngrok

Screenshots

Minecraft server Version
All

[BUG] How to acess to the console

I mean i can't type the commands to the console for the server. There must be a way i dont understand please Help me.
idk any thing LOl.
hoping for postive response> :)
And is there any way to change the server location ?

[BUG] Did colab stopped people from hosting server?

Describe the bug
The colab is not connecting to its backend.

To Reproduce
Steps to reproduce the behavior:

  1. Go to colab
  2. Click on start server
  3. See error

Expected behavior
I thought server would run.

Screenshots
image

Minecraft server Version
1.16.5

Mod/Datapack list
paper

Additional context
Add any other context about the problem here.

[BUG]tcp

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Minecraft server Version
Specify the minecraft server version and if vanilla or modded.

Mod/Datapack list
List all the mods/datapacks currently being used on the server if applicable.

Additional context
Add any other context about the problem here.

(problem) Hello, I need help because when I try to access a friend's server it tells me (Connection timed out: no further information: 0.tcp.sa.ngrok.io/54.94.248.37:10864) in the log and I'm the only one who gets my rest friends let them in

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Minecraft server Version
1.20.1
Mod/Datapack list
List all the mods/datapacks currently being used on the server if applicable.

Additional context
When I create the server my friend can log in and I can't

[Feature Request]Enable google drive shared storage to be mounted

Is your feature request related to a problem? Please describe.
As you know the google drive has storage limit. upto 15 gb. Its not the enough amount for a minecraft server.

Describe the solution you'd like
By the share acess directory We can have as much as storage we want and there will be no limit of it.

Describe alternatives you've considered
Google Drive
And shared drive HERE
screen capture

Additional context
As we can have unlimited storage using shared acess. Please make the script to able to mount google drive shared with me folder. IF possible. :)

[BUG] Error while logging in

Describe the bug
As soon as I enter the ngrok ip address in my server list, an error in the console appears which causes the server to crash completely. (I don't even see it turning on in my server list)

All the steps go smoothly until the moment I try to log in.
In the configuration file, I put version 1.8.8

Here is the error:
[12:10:02] [Netty Epoll Server IO #1/WARN]: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. java.lang.RuntimeException: Unable to access address of buffer at io.netty.channel.epoll.Native.read(Native Method) ~[patched.jar:git-PaperSpigot-"4c7641d"] at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.doReadBytes(EpollSocketChannel.java:678) [patched.jar:git-PaperSpigot-"4c7641d"] at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:714) [patched.jar:git-PaperSpigot-"4c7641d"] at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe$3.run(EpollSocketChannel.java:755) [patched.jar:git-PaperSpigot-"4c7641d"] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380) [patched.jar:git-PaperSpigot-"4c7641d"] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268) [patched.jar:git-PaperSpigot-"4c7641d"] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [patched.jar:git-PaperSpigot-"4c7641d"] at java.base/java.lang.Thread.run(Thread.java:834) [?:?]

There is also a warning at the start of launch when it indicates the port:
[12:09:19] [Server thread/INFO]: Starting Minecraft server on *:25565 [12:09:19] [Server thread/INFO]: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system unstability.

Here are the full logs (the error is repeated endlessly, I truncated the end of the file): latest.log

[BUG]To make the IP constant

Describe the bug
The ip doesn't be always constant.
Expected behavior
I thought the ip would be always the same

Screenshots
If applicable, add screenshots to help explain your problem.

Minecraft server Version
1.16.3

Mod/Datapack list
N/A

Additional context
we are having problem because the ip doesn't remain always the constant we always need to add new ip to join the server.
if there is any way to make the ip constant then please fix this issue

-Hoping For Postitive Response. :)

[BUG]Server Stops.

Describe the bug
Server Stops Automatically after 90 minutes
To Reproduce
Steps to reproduce the behavior:
Started the server
closed the chrome
and open mc connect to
the server

Expected behavior
i thought it will last long to the 12 hours as it is the time limit

Screenshots
If applicable, add screenshots to help explain your problem.

Minecraft server Version
paper/spigot 1.16.3

Mod/Datapack list
N/A

Additional context
Is there any way to make server last long till 12 hour or may be until while i play.
I cant open both chrome and mc cause i have Potato laptop

[BUG]

bug help

or not a bug? because I'm still a beginner in google colab and github

if you can explain how...

I really, really thank you if you tell me how :)
Screenshot_1284

no se identifica el archivo server.proterties

Describe the bug
al hacer click en la opcion para hacer que el server sea no premium (online mode = false) me coloca que el archivo server.properties no se encuentra y eso que en mi drive si se encuentra el archivo

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'apply custom props'
  2. Click on 'ejecutar'
  3. See error

Expected behavior

Screenshots
https://ibb.co/16hyY13

Minecraft server Version
1.16.5 forge

Mod/Datapack list
https://ibb.co/jvwZDvW

Issue

Describe the bug
How to install plugin

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
Normal

Screenshots
If applicable, add screenshots to help explain your problem.

Minecraft server Version
1.20.1

Mod/Datapack list
List all the mods/datapacks currently being used on the server if applicable.

Additional context
Add any other context about the problem here.

[BUG] Cloudflare argo does not provide a working IP for server

Describe the bug
Execute the argo tunnel, neither of the provided links or IPs on Console work. (i waited 15 min and link was never reachable)

Minecraft server Version
1.19.2

Mod/Datapack list
List all the mods/datapacks currently being used on the server if applicable.

Additional context
Playit console spams errors and ngrok ip is never the same, so i would like to know how to solve this. Thanks

[Feature Request] Adding playit.gg as a forwarding option

Is your feature request related to a problem? Please describe.
This is a fantastic piece of software but it discourages players from playing when the IP changes every time playit.gg would fix that

Describe the solution you'd like
I would like you guys to add play it gg as an option for forwarding if it isn't too much trouble I've seen people do it before

Describe alternatives you've considered
Argo needs third party software so that wouldn't work for me

Additional context
If this isn't possible that is completely fine

[BUG] To use Java 8 for older Minecraft versions

Describe the bug
Java 15 is not support on most of Minecraft versions. Java 8 is better. Like #5

To Reproduce
Steps to reproduce the behavior:

  1. Run Minecraft (1.8 for exemple)
  2. Logging isn't possible.
  3. See error like #5

Minecraft server Version
Most of them.

Mod/Datapack list
n/a : default settings

[Server Error]

Describe the bug
When I open the server and try to enter, the console fills up with many errors, and I cannot enter

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Run Minecraft Server'
  2. Run server
  3. Try to enter
  4. See the error

Expected behavior
idk

Screenshots
https://ibb.co/m8SX9Pf

Minecraft server Version
1.8.8 Vanilla

Ngrok error

Help. I'm trying to host the server with ngrok tunnel and I keep receiving this:

ERROR: You must pass a single argument, the authtoken to save to configuration file.
t=2022-05-28T06:19:06+0000 lvl=warn msg="failed to start tunnel" pg=/api/tunnels id=da18dfbbf5b91f28 err="TCP tunnels are only available after you sign up.\nSign up at: https://dashboard.ngrok.com/signup\n\nIf you have already signed up, make sure your authtoken is installed.\nYour authtoken is available on your dashboard: https://dashboard.ngrok.com/get-started/your-authtoken\r\n\r\nERR_NGROK_302\r\n"

HTTPError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pyngrok/ngrok.py in api_request(url, method, data, params, timeout)
439 try:
--> 440 response = urlopen(request, data, timeout)
441 response_data = response.read().decode("utf-8")

8 frames
HTTPError: HTTP Error 502: Bad Gateway

During handling of the above exception, another exception occurred:

PyngrokNgrokHTTPError Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/pyngrok/ngrok.py in api_request(url, method, data, params, timeout)
461 raise PyngrokNgrokHTTPError("ngrok client exception, API returned {}: {}".format(status_code, response_data),
462 e.url,
--> 463 status_code, e.msg, e.hdrs, response_data)
464 except URLError as e:
465 raise PyngrokNgrokURLError("ngrok client exception, URLError: {}".format(e.reason), e.reason)

PyngrokNgrokHTTPError: ngrok client exception, API returned 502: {"error_code":103,"status_code":502,"msg":"failed to start tunnel","details":{"err":"TCP tunnels are only available after you sign up.\nSign up at: https://dashboard.ngrok.com/signup\n\nIf you have already signed up, make sure your authtoken is installed.\nYour authtoken is available on your dashboard: https://dashboard.ngrok.com/get-started/your-authtoken\r\n\r\nERR_NGROK_302\r\n"}}

I don't know what to do. Can someone help me please?

[BUG] Playit.gg Error: Cannot assign requested address

Playit isn't working
Playit isn't working

I use playit and i get the link (playit/claim/...), but this is not working i see the bug:

2022-10-31T12:46:22.692013Z ERROR playit_agent_core::name_lookup: failed to perform hostname lookup error=Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" } name=control.ply.gg:5523
2022-10-31T12:46:22.692077Z  INFO agent: loading msg=failed to connect to tunnel

[Feature Request]Region change on ngrok

Default Region on ngrok is US, and it's very lagging since we are playing minecraft are not from US

it will be so greatful if there is a new code for region change on ngrok.

[BUG] Migrate to PaperMC downloads API v2

The download cell currently uses v1 of the downloads api which is now discontinued.
The new api intentionally doesn't allows to simply download the jar, like it was with v1.
Until the migration, paper server jar files can't be directly downloaded from colab and require manual upload to Drive.

Connection expired problem

I have installed a forge fork for my server but whenever I try to connect to it , it takes some time and then says "Connection Expired". The only fork that seems to work is paperMC but I want to play with mods. Is this a Colab/Ngrok problem or is the fork I am using (goldenForge)?

[BUG] Minecolab doesn't work for 1.18 server

Describe the bug

[15:21:34] [Server thread/INFO]: Preparing level "world"
[15:21:34] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.NoClassDefFoundError: jdk.jfr.FlightRecorderListener
	at net.minecraft.server.MinecraftServer.e_(SourceFile:354) ~[server.jar:?]
	at aav.e(SourceFile:184) ~[server.jar:?]
	at net.minecraft.server.MinecraftServer.x(SourceFile:695) [server.jar:?]
	at net.minecraft.server.MinecraftServer.a(SourceFile:280) [server.jar:?]
	at net.minecraft.server.MinecraftServer$$Lambda$3871/0x000000001ca19a38.run(Unknown Source) [server.jar:?]
	at java.lang.Thread.run(Thread.java:853) [?:?]
Caused by: java.lang.ClassNotFoundException: jdk.jfr.FlightRecorderListener
	at jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:822) ~[?:?]
	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:182) ~[?:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:1106) ~[?:?]
	... 6 more
[15:21:34] [Server thread/ERROR]: This crash report has been saved to: /content/drive/MyDrive/Minecraft-server/./crash-reports/crash-2021-08-14_15.21.34-server.txt
[15:21:34] [Server thread/INFO]: Stopping server
[15:21:34] [Server thread/INFO]: Saving players
[15:21:34] [Server thread/INFO]: Saving worlds
[15:21:34] [Server thread/ERROR]: Exception stopping the server
java.lang.NullPointerException: Cannot invoke "abu.o_()" because "รขหœฦ’" is null
	at net.minecraft.server.MinecraftServer.a(SourceFile:622) ~[server.jar:?]
	at net.minecraft.server.MinecraftServer.u(SourceFile:649) ~[server.jar:?]
	at aav.u(SourceFile:585) ~[server.jar:?]
	at net.minecraft.server.MinecraftServer.x(SourceFile:761) [server.jar:?]
	at net.minecraft.server.MinecraftServer.a(SourceFile:280) [server.jar:?]
	at net.minecraft.server.MinecraftServer$$Lambda$3871/0x000000001ca19a38.run(Unknown Source) [server.jar:?]
	at java.lang.Thread.run(Thread.java:853) [?:?]

To Reproduce
url = 'https://launcher.mojang.com/v1/objects/cbe106c19f5072222ce54039aa665a8aaf97097d/server.jar' in second code block

Minecraft server Version
Minecraft 1.18 Exprimental Snapshot 3

It is working fine on my computer (I can connect to it)

I know it is still in snapshot but I believe there shouldn't be a different behavior with java on google colab.

[BUG]forge server: No X11 DISPLAY variable was set

Describe the bug
I cant start the server it seems like when trying to execute the server.jar it doesn't take into account the nogui because the error message says it wants to open the install window you would get if you run the jar file for the first time in your pc.

I'm trying to run a modpack server but I don't think it is what is causing the issue or at least not yet, because I also tried to run a clean forge install and had the same result.

PD: i'm sorry if i'm not technical enough i know nothing about coding or this stuff i just read what the error says so I'm probably totally wrong in my interpretation.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the first cell
  2. Click on 'start'
  3. See error

JVM info: Private Build - 17.0.8.1 - 17.0.8.1+1-Ubuntu-0ubuntu122.04
java.net.preferIPv4Stack=true
Current Time: 15/10/2023 02:07:28
Host: files.minecraftforge.net [51.79.83.165]
Host: maven.minecraftforge.net [51.79.83.165]
Host: libraries.minecraft.net [13.107.246.70, 13.107.213.70]
Host: launchermeta.mojang.com [13.107.246.70, 13.107.213.70]
Host: piston-meta.mojang.com [13.107.246.70, 13.107.213.70]
Host: authserver.mojang.com [52.85.132.7, 52.85.132.70, 52.85.132.124, 52.85.132.75]
Found java version 17.0.8.1
Exception in thread "main"
java.awt.HeadlessException:
No X11 DISPLAY variable was set,
but this program performed an operation which requires it.
at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:166)
at java.desktop/java.awt.Window.(Window.java:553)
at java.desktop/java.awt.Frame.(Frame.java:428)
at java.desktop/java.awt.Frame.(Frame.java:393)
at java.desktop/javax.swing.SwingUtilities$SharedOwnerFrame.(SwingUtilities.java:1919)
at java.desktop/javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1995)
at java.desktop/javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1695)
at java.desktop/javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:874)
at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:676)
at java.desktop/javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:647)
at net.minecraftforge.installer.SimpleInstaller.launchGui(SimpleInstaller.java:191)
at net.minecraftforge.installer.SimpleInstaller.main(SimpleInstaller.java:161)

Expected behavior
starting the server

Minecraft server Version
1.20.1

Mod/Datapack list
I don't think this is what is causing the problem.

Additional context
As I said in the description above I also get the same error on a fresh forge server installe the version 1.19.2

[Feature Request] How to run forge 1.18.1

Hi, I tried installing forge but since java 17 they changed the way to start the server. You now have to start a bash file instead of a jar. I was wondering if forge support could be added considering that when I try to run the bash it gives me serveral errors.

[BUG]

Describe the bug
image
Screenshot 2021-02-15 192817

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Minecraft server Version
Specify the minecraft server version and if vanilla or modded.

Mod/Datapack list
List all the mods/datapacks currently being used on the server if applicable.

Additional context
Add any other context about the problem here.

Console Commands?

Describe the bug
Can't send console commands.

To Reproduce
Steps to reproduce the behavior:

  1. Go to server on colab
  2. Try to send a command (like OP yourself)

Expected behavior
You would expect the command to go through, but it does not.

Screenshots
image

Minecraft server Version
1.17.1 (not sure if its running paper or vanilla)

Mod/Datapack list
None

Additional context
n/a

[Feature Request] Unturned server

I would like to know if it is possible to make a similar configuration to create a server for the game "unturned".

Thank you very much

[BUG] Minecolab doesn't work for 1.17 server

My notepad outputs an error:
java.lang.UnsupportedClassVersionError: net/minecraft/server/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 59.0

How to reproduce the behavior:
Try to run 1.17 Vanilla server files

It's propably because Java must be updated to newer version. Anyone got idea how to do that?

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.