Jump to content

"nogui" causes all server output to be lost


mort

Recommended Posts

I am running a minecraft server with forge on Windows 7. When I start the server with the "nogui" option, I only get following output, then it "freezes":

 

2012-08-22 16:13:55 [iNFO] [ForgeModLoader] Forge Mod Loader version 3.0.98.304 for Minecraft client:1.3.2, server:1.3.2 loading

2012-08-22 16:13:57 [iNFO] [sTDOUT] 195 recipes

2012-08-22 16:13:57 [iNFO] [sTDOUT] 27 achievements

2012-08-22 16:13:57 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization

2012-08-22 16:13:58 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization

2012-08-22 16:13:58 [iNFO] [ForgeModLoader] Searching C:\data\minecraft\forge4\mods for mods

2012-08-22 16:13:58 [iNFO] [ForgeModLoader] The mod container minecraft_server.jar appears to be missing an mcmod.info file

2012-08-22 16:13:58 [iNFO] [ForgeModLoader] No mcmod.info file found in directory sands

2012-08-22 16:13:58 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load

2012-08-22 16:13:59 [iNFO] [ForgeModLoader] MinecraftForge v4.0.0.217 Initialized

2012-08-22 16:13:59 [iNFO] [sTDOUT] MinecraftForge v4.0.0.217 Initialized

2012-08-22 16:13:59 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods

 

 

However, the server runs normally and responds to all commands, just the text output is completely lost. I tried running the server with and without mods, used builds 200, 202 and 217 and nothing worked. (Just to be sure I also tried unmodified minecraft_server.jar, that one works fine)

Without the "nogui" option, it behaves very simillary, except the server window appears and contains all the lost output.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I have this raport to lounch the game The game crashed whilst rendering screen Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.client.gui.components.Button.m_252907_()" because "this.serverBrowser$grabbedMultiplayerButton" is null Kod zakończenia: -1 And full message:   https://ntpd.eu/N3gq6
    • EDIT: I had to declare the library like a mod (using the @Mod annotation and adding the mods.toml + pack.mcmeta files). By doing this it works now Hi everyone  I'm trying to create an internal library for all my mods, and inside it I have a method that registers an Item public static RegistryObject<Item> registerItem(final DeferredRegister<Item> registry, final String name, final Supplier<Item> itemSupplier) { return registry.register(name, itemSupplier); } When the method is called from a mod, Forge raises this error   Exception message: java.lang.LinkageError: loader constraint violation: loader 'SECURE-BOOTSTRAP' @6bedbc4d wants to load class net.minecraftforge.registries.DeferredRegister. A different class with the same name was previously loaded by 'TRANSFORMER' @6d672bd4. (net.minecraftforge.registries.DeferredRegister is in module [email protected] of loader 'TRANSFORMER' @6d672bd4, parent loader 'bootstrap') Both the version of Forge included in the library's build.gradle and the mod's build.gradle are the same. I've never done this, so there's a good chance I'm configuring something wrong. This is the build.gradle file of the library (which is part of a multi-module project)   plugins { id 'net.minecraftforge.gradle' version '[6.0.24,6.2)' } repositories { gradlePluginPortal() maven { name = 'MinecraftForge' url = 'https://maven.minecraftforge.net/' } } java.toolchain.languageVersion = JavaLanguageVersion.of(21) minecraft { mappings channel: 'official', version: minecraft_version reobf = false copyIdeResources = true } dependencies { minecraft "net.minecraftforge:forge:${minecraft_version}-${forge_version}" implementation('net.sf.jopt-simple:jopt-simple:5.0.4') { version { strictly '5.0.4' } } } tasks.withType(JavaCompile).configureEach { options.encoding = 'UTF-8' }  
    • Hello i wanna make a modded server for me and my friends and the game is crashing when i use items that pop-up and UI and we cannot place modded blocks.  Here is the video i take so it's more easy for you guys to see.   Help please! Thanks
    • The thought process for this would be checking the EnderMan class, as its not behaviour intrinsecally connected to the item but rather the enderman: The EnderMan.isLookingAtMeMethod should return false when a player is wearing your armour piece. In that method you can see a call to ForgeHooks.shouldSuppressEnderManAnger() which uses an ItemStack of the object on the players head. This uses IForgeItem's isEnderMask method that brings you to: default boolean isEnderMask(ItemStack stack, Player player, EnderMan endermanEntity) { return stack.getItem() == Blocks.CARVED_PUMPKIN.asItem(); } which means you can override it on your armour item (since all item classes extend from IForgeItem, including ArmorItem from which you will most likely want to extend from)   As for the second thing you'll most likely need to get creative: Using levitation can work if you want to make it floaty, but you most likely want to make it work as if the player is walking on air. I'd suggest something along the lines of checking the block immediately in the direction the player is facing, and if its air, place a transparent, solid block the player will walk on. As the player walks in some arbitrarry direction, keep checking to generate blocks in their path as well as deleting the ones left behind/in any direction the player isn't looking at. You will have to get *even more creative* to think how can you implement it as for only the armour user can stand on air (placing a solid block will make anyone be able to stand on it regardless of if wearing the armour or not)   So yeah. First thing pretty straightforward, second one youll have to make your own idea around it.
    • I have setup a 1.12.2 forge server  occasionally it throws a '[Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 2316ms behind, skipping 46 tick(s)' and a ram usage spike  I have 32gb of ram installed in my pc and on a vanilla server l would normally just make a run.bat file but it is not working   When I launch the run.bat C:\Users\Max\Desktop\1.12.2 server>java -Xmx4G -Xms4G -jar minecraft_server.1.12.2.jar nogui C:\Users\Max\Desktop\1.12.2 server>PAUSE Press any key to continue . . .   The run.bat file contains java -Xmx4G -Xms4G -jar minecraft_server.1.12.2.jar nogui PAUSE Any advice would be appreciated
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.