Closed sladke closed 3 years ago
That's interesting. Do you mind posting your server.properties
and speedrun.json
file, too?
#Minecraft server properties
#Sat Jul 31 16:54:54 EDT 2021
enable-jmx-monitoring=false
rcon.port=25575
level-seed=
enable-command-block=false
gamemode=survival
enable-query=false
generator-settings=
level-name=world
motd=goons
query.port=25565
pvp=true
generate-structures=true
difficulty=easy
network-compression-threshold=256
max-tick-time=60000
max-players=10
use-native-transport=true
enable-status=true
online-mode=true
allow-flight=true
broadcast-rcon-to-ops=true
view-distance=10
max-build-height=256
server-ip=
allow-nether=true
server-port=25565
sync-chunk-writes=true
enable-rcon=false
op-permission-level=4
prevent-proxy-connections=false
resource-pack=
entity-broadcast-range-percentage=100
player-idle-timeout=0
rcon.password=
force-gamemode=false
hardcore=false
white-list=false
broadcast-console-to-ops=true
spawn-npcs=true
spawn-animals=true
snooper-enabled=true
function-permission-level=2
level-type=default
spawn-monsters=true
enforce-whitelist=false
spawn-protection=0
resource-pack-sha1=
max-world-size=29999984
{
"MIN_RAM": 8,
"MAX_RAM": 10,
"OP": [],
"WHITELIST": [],
"DATA_PACK": false,
"SEEDS": [],
"AUTO_SAVE": false,
"KEEP_WORLDS": false,
"LOAD_WORLD": ""
}
also, how do i cleanly exit the batch file without having to smash the x button like 20 times
My first idea would be to change the RAM in the speedrun.json
file. It's allocating 8 to 10gb of RAM while the default minecraft batch file allocates 1 to 8gb of RAM.
I assume, that it can't allocate the RAM and therefore can't execute the server.jar
properly.
Currently there is no way to exit the terminal windows besides using the close button or ending the process through the e.g. Task Manager
. However, I think it would be great to type in exit
in order to stop the server completely.
How does this sound to you? :)
ah i figured it out, it was completely on my end. i had another java path that it must have been using that wasnt allowed in the firewall. thanks for helping out though. and yeah typing in exit would be sweet
also, i just wanted to say that i was able to combine this with a fabric server (which is allowed for speedruns) with the allowed performance mods by just changing the server name in the node.js file and it made my resets way faster
Sounds great. I'll code up the exit
command for the next release.
If fabric servers are allowed, I should support these natively. Is there a documentation on how to setup a fabric server with these mods that you could link to me?
Good luck speedrunning!
https://fabricmc.net/wiki/player:tutorials:server:windows i think this is the closest thing to relevant documentation, the relevant mods are https://github.com/mrmangohands/sodium-fabric/releases/tag/mc1.16.1-0.1.1-SNAPSHOT%2B2021-02-12 https://github.com/mrmangohands/lithium-fabric/releases/tag/mc1.16.1-0.6.6 https://github.com/mrmangohands/phosphor-fabric/releases/tag/mc1.16.1-0.7.2 https://github.com/Tuinity/Starlight/releases (phosphor but better, not compatible with phosphor) https://modrinth.com/mod/lazydfu https://github.com/modmuss50/Voyager/releases/tag/1.0.0 https://github.com/mrmangohands/krypton/releases/tag/mc1.16.1-0.1.3-SNAPSHOT%2B2021-02-20
for me, a mods folder just appeared in the server root folder when i started the server up for the first time, and then i placed all the 1.16.1 mod jar files in there. also, the fabric API is not allowed in speedruns, but all these mods don't require them so its all good
Thanks a lot!
So it should be sufficient to have an option in the speedrun.json
file to set a different name for the server.jar
file.
I'll add this to the next release, too.
I am able to have other people join my port forwarded server when using the default batch file with the classic
"C:\Program Files\Java\jre1.8.0_301\bin\java.exe" -Xmx8G -Xms1024M -jar server.jar nogui
line. However, when using this, other people cant join. I can still join with localhost and everything else seems to work, but noone else can join, it just says connecting to server forever and then times outheres me running your batch file
heres me running the default batch file
if you need anything else from me id be happy to supply it