Sponge server help with pixelmon server


#1

Everytime I run my server though a batch file it doesn’t work. I have to run my server by double clicking on the forge jar file, if I do it through the batch file it only works locally.


#2

here is my latest log

[19:55:47] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[19:55:47] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLServerTweaker
[19:55:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLServerTweaker
[19:55:47] [main/INFO] [FML]: Forge Mod Loader version 14.23.5.2768 for Minecraft 1.12.2 loading
[19:55:47] [main/INFO] [FML]: Java is Java HotSpot™ 64-Bit Server VM, version 1.8.0_211, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_211
[19:55:47] [main/INFO] [FML]: Searching C:\Users\rkill\OneDrive\Desktop\Pixelmon Server.\mods for mods
[19:55:47] [main/INFO] [FML]: Loading tweaker org.spongepowered.asm.launch.MixinTweaker from spongeforge-1.12.2-2768-7.1.6-RC3686.jar
[19:55:47] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:55:47] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.launch.MixinTweaker
[19:55:47] [main/INFO] [mixin]: SpongePowered MIXIN Subsystem Version=0.7.11 Source=file:/C:/Users/rkill/OneDrive/Desktop/Pixelmon%20Server/./mods/spongeforge-1.12.2-2768-7.1.6-RC3686.jar Service=LaunchWrapper Env=SERVER
[19:55:47] [main/WARN] [FML]: The coremod SpongeCoremod (org.spongepowered.mod.SpongeCoremod) is not signed!
[19:55:47] [main/INFO] [mixin]: Compatibility level set to JAVA_8
[19:55:47] [main/INFO] [mixin]: Adding new token provider org.spongepowered.mod.SpongeCoremod$TokenProvider to MixinEnvironment[DEFAULT]
[19:55:47] [main/INFO] [mixin]: Adding new token provider org.spongepowered.mod.SpongeCoremod$TokenProvider to MixinEnvironment[PREINIT]
[19:55:47] [main/INFO] [mixin]: Adding new token provider org.spongepowered.mod.SpongeCoremod$TokenProvider to MixinEnvironment[INIT]
[19:55:47] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:55:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:55:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[19:55:47] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:55:48] [main/INFO] [FML]: Found valid fingerprint for Minecraft Forge. Certificate fingerprint e3c3d50c7c986df74c645c0ac54639741c90a557
[19:55:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[19:55:48] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.asm.launch.MixinTweaker
[19:55:48] [main/INFO] [mixin]: Initialised Mixin FML Remapper Adapter with net.minecraftforge.fml.common.asm.transformers.deobf.FMLDeobfuscatingRemapper@7cedfa63
[19:55:48] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[19:55:49] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:55:49] [main/INFO] [LaunchWrapper]: Loading tweak class name org.spongepowered.asm.mixin.EnvironmentStateTweaker
[19:55:49] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[19:55:49] [main/INFO] [LaunchWrapper]: Calling tweak class org.spongepowered.asm.mixin.EnvironmentStateTweaker
[19:55:53] [main/WARN] [mixin]: Static binding violation: PRIVATE overwrite method initializeConnectionToPlayer in mixins.common.core.json:server.MixinPlayerList cannot reduce visibiliy of PUBLIC target method, visibility will be upgraded.
[19:55:53] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.server.MinecraftServer}
[19:55:58] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting minecraft server version 1.12.2
[19:55:58] [Server thread/INFO] [FML]: MinecraftForge v14.23.5.2768 Initialized
[19:55:58] [Server thread/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients.
[19:55:58] [Server thread/INFO] [FML]: Replaced 1036 ore ingredients
[19:55:58] [Server thread/INFO] [Sponge]: Found mcmod.info at jar:file:/C:/Users/rkill/OneDrive/Desktop/Pixelmon%20Server/./mods/spongeforge-1.12.2-2768-7.1.6-RC3686.jar!/mcmod.info
[19:55:58] [Server thread/INFO] [Sponge]: Creating injector in stage ‘PRODUCTION’
[19:56:01] [Server thread/INFO] [FML]: Searching C:\Users\rkill\OneDrive\Desktop\Pixelmon Server.\mods for mods
[19:56:02] [Server thread/INFO] [FML]: Forge Mod Loader has identified 11 mods to load
[19:56:02] [Server thread/WARN] [FML]: Missing English translation for FML: assets/fml/lang/en_us.lang
[19:56:02] [Server thread/WARN] [FML]: Missing English translation for spongeapi: assets/spongeapi/lang/en_us.lang
[19:56:02] [Server thread/WARN] [FML]: Missing English translation for spongeforge: assets/spongeforge/lang/en_us.lang
[19:56:02] [Server thread/WARN] [FML]: Missing English translation for pixelextras: assets/pixelextras/lang/en_us.lang
[19:56:02] [Server thread/WARN] [Sponge]: The mod spongeforge was designed for forge 1.12.2-14.23.5.2768 but version 14.23.5.2768 is in use. It may not work properly.
[19:56:02] [Server thread/WARN] [Sponge]: The mod spongeforge was designed for forge 1.12.2-14.23.5.2768 but version 14.23.5.2768 is in use. It may not work properly.
[19:56:02] [Server thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, spongeapi, sponge, spongeforge, biomesoplenty, journeymap, pixelextras, pixelmon] at CLIENT
[19:56:02] [Server thread/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, spongeapi, sponge, spongeforge, biomesoplenty, journeymap, pixelextras, pixelmon] at SERVER
[19:56:03] [Server thread/WARN] [Sponge]: There’s no certificate fingerprint available
[19:56:03] [Server thread/INFO] [FML]: Processing ObjectHolder annotations
[19:56:03] [Server thread/INFO] [FML]: Found 1169 ObjectHolder annotations
[19:56:03] [Server thread/INFO] [FML]: Identifying ItemStackHolder annotations
[19:56:03] [Server thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[19:56:03] [Server thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[19:56:03] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[19:56:03] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null
[19:56:03] [Forge Version Check/INFO] [forge.VersionCheck]: [spongeforge] Starting version check at https://files.minecraftforge.net/maven/org/spongepowered/spongeforge/promotions_slim.json
[19:56:03] [Forge Version Check/INFO] [forge.VersionCheck]: [spongeforge] Found status: OUTDATED Target: 7.1.2
[19:56:03] [Forge Version Check/INFO] [forge.VersionCheck]: [pixelmon] Starting version check at https://reforged.gg/forge/update.json
[19:56:04] [Server thread/WARN] [Sponge]: Could not find variant owning class, assigning fallback id: biomesoplenty:block_b_o_p_gem_ore_variant
[19:56:04] [Forge Version Check/INFO] [forge.VersionCheck]: [pixelmon] Found status: UP_TO_DATE Target: null
[19:56:05] [Server thread/INFO] [Pixelmon]: Loading Pixelmon version 7.0.6
[19:56:05] [Server thread/INFO] [Pixelmon]: Checking for migrations…
[19:56:05] [Server thread/INFO] [Pixelmon]: Loading Advancements
[19:56:06] [Server thread/INFO] [FML]: Applying holder lookups
[19:56:06] [Server thread/INFO] [FML]: Holder lookups applied
[19:56:07] [Server thread/INFO] [Pixelmon]: Loading TM/HMs.
[19:56:07] [Server thread/INFO] [FML]: Applying holder lookups
[19:56:07] [Server thread/INFO] [FML]: Holder lookups applied
[19:56:07] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix sponge for name human, expected spongeforge. This could be a intended override, but in most cases indicates a broken mod.
[19:56:07] [Server thread/INFO] [FML]: Applying holder lookups
[19:56:07] [Server thread/INFO] [FML]: Holder lookups applied
[19:56:07] [Server thread/INFO] [FML]: Applying holder lookups
[19:56:07] [Server thread/INFO] [FML]: Holder lookups applied
[19:56:07] [Server thread/INFO] [FML]: Injecting itemstacks
[19:56:07] [Server thread/INFO] [FML]: Itemstack injection complete
[19:56:07] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Loading properties
[19:56:07] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Default game type: SURVIVAL
[19:56:07] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Generating keypair
[19:56:07] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting Minecraft server on *:25565
[19:56:07] [Server thread/INFO] [net.minecraft.network.NetworkSystem]: Using default channel type
[19:56:07] [Server thread/INFO] [FML]: Applying holder lookups
[19:56:07] [Server thread/INFO] [FML]: Holder lookups applied
[19:56:07] [Server thread/INFO] [Pixelmon]: Registering shop items.
[19:56:07] [Server thread/INFO] [Pixelmon]: Registering NPCs.
[19:56:07] [Server thread/INFO] [Pixelmon]: Registered NPC trades.
[19:56:07] [Server thread/INFO] [Pixelmon]: Registering structures.
[19:56:09] [Server thread/INFO] [Pixelmon]: Registering drops.
[19:56:09] [Server thread/INFO] [Pixelmon]: Registering Pokémon drops.
[19:56:10] [Server thread/INFO] [Pixelmon]: Registering battle rules.
[19:56:15] [Server thread/INFO] [FML]: Injecting itemstacks
[19:56:15] [Server thread/INFO] [FML]: Itemstack injection complete
[19:56:15] [Server thread/INFO] [Pixelmon]: Registering spawn sets.
[19:56:15] [Server thread/INFO] [FML]: Forge Mod Loader has successfully loaded 11 mods
[19:56:15] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Preparing level “world”
[19:56:16] [Server thread/INFO] [Sponge]: Checking for worlds that need to be migrated…
[19:56:16] [Server thread/INFO] [Sponge]: No worlds were found in need of migration.
[19:56:16] [Server thread/INFO] [FML.ModTracker]: This world was saved with mod pixelextras version 2.4.6 and it is now at version 2.4.8, things may not work well
[19:56:16] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance
[19:56:16] [Server thread/INFO] [FML]: Applying holder lookups
[19:56:16] [Server thread/INFO] [FML]: Holder lookups applied
[19:56:16] [Server thread/INFO] [STDOUT]: [biomesoplenty.common.world.BiomeProviderBOP::61]: settings for world:
[19:56:16] [Server thread/INFO] [STDOUT]: [biomesoplenty.common.world.BiomeProviderBOP:initialLandAndSeaLayer:93]: Setting up landmass VANILLA
[19:56:16] [Server thread/INFO] [STDOUT]: [biomesoplenty.common.world.ChunkGeneratorOverworldBOP::89]: ChunkGeneratorOverworldBOP json:
[19:56:16] [Server thread/INFO] [STDOUT]: [biomesoplenty.common.world.ChunkGeneratorOverworldBOP::96]: ChunkGeneratorOverworldBOP settings: {“landScheme”:“vanilla”,“tempScheme”:“medium_zones”,“rainScheme”:“medium_zones”,“biomeSize”:“medium”,“amplitude”:1.0,“generateBopOre”:true,“generatePoisonIvy”:false,“generateBerryBushes”:true,“generateThorns”:true,“generateQuicksand”:true,“generateLiquidPoison”:true,“generateHotSprings”:true,“generateNetherHives”:true,“generateEndFeatures”:true,“mainNoiseScaleX”:80.0,“mainNoiseScaleY”:160.0,“mainNoiseScaleZ”:80.0,“coordinateScale”:684.412,“heightScale”:684.412,“upperLimitScale”:512.0,“lowerLimitScale”:512.0}
[19:56:17] [Server thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 915 advancements
[19:56:17] [Server thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 316 advancement trees
[19:56:17] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing start region for level 0 (world)
[19:56:18] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 58%
[19:56:18] [Server thread/INFO] [Sponge]: Loading world [world] (overworld)
[19:56:18] [Server thread/INFO] [STDOUT]: [biomesoplenty.common.world.BiomeProviderBOPHell::32]: settings for hell world:
[19:56:18] [Server thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 915 advancements
[19:56:18] [Server thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 316 advancement trees
[19:56:18] [Server thread/INFO] [Sponge]: Loading world [DIM-1] (Nether)
[19:56:19] [Server thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 915 advancements
[19:56:19] [Server thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 316 advancement trees
[19:56:19] [Server thread/INFO] [Sponge]: Loading world [DIM1] (the_end)
[19:56:19] [Server thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 915 advancements
[19:56:19] [Server thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 316 advancement trees
[19:56:19] [Server thread/INFO] [Sponge]: Loading world [ultra] (ultra_space)
[19:56:19] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Done (3.492s)! For help, type “help” or “?”
[19:56:25] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Stopping the server
[19:56:25] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server
[19:56:25] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving players
[19:56:25] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving worlds
[19:56:25] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level ‘world’/overworld
[19:56:25] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level ‘DIM-1’/the_nether
[19:56:25] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level ‘DIM1’/the_end
[19:56:25] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level ‘ultra’/ultra_space
[19:56:25] [Server thread/INFO] [Sponge]: Unloading world [world] (DIM0)
[19:56:25] [Server thread/INFO] [Sponge]: Unloading world [DIM-1] (DIM-1)
[19:56:25] [Server thread/INFO] [Sponge]: Unloading world [DIM1] (DIM1)
[19:56:25] [Server thread/INFO] [Sponge]: Unloading world [ultra] (DIM72)


#3

Please upload logs to pastebin or gist…

If I do it through the batch file it only works locally.
What do you mean by this? Is a Minecraft client running on the same machine able to see it? How about on the same network but a different machine.

Also what command line arguments are you using?


#4

When I start my server through the batch file I have and I go to my server list in minecraft it only shows it locally, so using localhost, but if I use my IP, it doesn’t show up. When I start my server using the forge universal jar file, myself and friends included can join my server. Also when doing it this way it shows the port is open, while running it through the batch file it isn’t.

this is what I have in my batch file

java -Xmx4G -Xms4G -jar forge-14.23.5.2768-universal.jar nogui
pause


#5

also sorry, new to this and didn’t know I should post to pastebin or gist


#6

All your launch script does is run the jar file with some special arguments. the command java -jar <jarfile> runs the jar file as if you double clicked it. The arguments Xmx4G and Xms4G just dictate how much ram to give the jar file at max and at start and nogui just tells the jar file not to open the GUI and instead just stick with the output in console.

This will not change how people can connect to your server.


#7

only thing that I could think would be causing this, is if for some reason when you run it under a batch file, it’s running with different user permissions… And the user does not have permission to bind to global port the same way… This doesn’t really happen though.

– edit: specifically what I mean, is if the application ‘Java’ running as a specific user has not been allowed through the firewall or something…