Jump to content

Recommended Posts

Posted

This is probably a bit odd of me to ask, but how would I change the display name of a player after the login to single player has completed? I try posting the NameFormat event to the EVENT_BUS but it always returns false. It doesn't post... Is there a proper way to do that? Any help is much appreciated because i've been researching and testing this for months.

Posted

This is probably a bit odd of me to ask, but how would I change the display name of a player after the login to single player has completed? I try posting the NameFormat event to the EVENT_BUS but it always returns false. It doesn't post... Is there a proper way to do that? Any help is much appreciated because i've been researching and testing this for months.

Posted

public void onNameFormat(NameFormat event)
{
	event.setDisplayname("something");
}

Call this to re-cache name. (It will call event for name).

EntityPlayer#refreshDisplayName()

1.7.10 is no longer supported by forge, you are on your own.

Posted

public void onNameFormat(NameFormat event)
{
	event.setDisplayname("something");
}

Call this to re-cache name. (It will call event for name).

EntityPlayer#refreshDisplayName()

1.7.10 is no longer supported by forge, you are on your own.

Posted

1. Wtf with your registering? Use MinecraftForge.EVENT_BUS only.

2. Is event called?

3. Does it reach you logging message?

4. Since you want client only mod (it seems) - use clientSideOnly = true in @Mod.

5. @SideOnly doesn't need to be everywhere when yo uare making Client side mod (read point 4). Also - you can apply it to classes, so no need to mark all methods in class.

6. I'd move registering events to preInit (i think it has no effect, I don't remember).

7. PlayerLoggedInEvent is server ONLY (server thread) event, it won't be called when e.g loggin onto dedicated server (but it will be called on SP - integrated one).

1.7.10 is no longer supported by forge, you are on your own.

Posted

1. Wtf with your registering? Use MinecraftForge.EVENT_BUS only.

2. Is event called?

3. Does it reach you logging message?

4. Since you want client only mod (it seems) - use clientSideOnly = true in @Mod.

5. @SideOnly doesn't need to be everywhere when yo uare making Client side mod (read point 4). Also - you can apply it to classes, so no need to mark all methods in class.

6. I'd move registering events to preInit (i think it has no effect, I don't remember).

7. PlayerLoggedInEvent is server ONLY (server thread) event, it won't be called when e.g loggin onto dedicated server (but it will be called on SP - integrated one).

1.7.10 is no longer supported by forge, you are on your own.

Posted

1. idk... just idk.. old tuts

2. player#refreshDisplayName is being called.. thats why I added the check for null passed parentscreens to prevent crashing

3. Yes, it logs that it changed the username yet nothing happens

4. Fixed

5. Fixed

 

I was just playing with different things to the playerloggedinevent isn't being used but thanx

 

Hopefully this info helps. Here is the log:

 

 

/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java -Didea.launcher.port=7532 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/tools.jar:/Users/noahk/Desktop/Modding/FriendNamer/out/production/FriendNamer:/Users/noahk/.gradle/caches/minecraft/deobfedDeps/compileDummy.jar:/Users/noahk/.gradle/caches/minecraft/net/minecraftforge/forge/1.8-11.14.4.1563/snapshot/20141130/forgeSrc-1.8-11.14.4.1563.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/2.0.1/516c03b21d50a644d538de0f0369c620989cd8f0/jsr305-2.0.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2-nightly-20140822/79f5ce2fea02e77fe47a3c745219167a542121d7/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2-nightly-20140822/d898a33b5d0a6ef3fed3a4ead506566dce6720a5/lwjgl-platform-2.9.2-nightly-20140822-natives-linux.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2-nightly-20140822/78b2a55ce4dc29c6b3ec4df8ca165eba05f9b341/lwjgl-platform-2.9.2-nightly-20140822-natives-windows.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/c3cde57891b935d41b6680a9c5e1502eeab76d86/twitch-external-platform-4.5-natives-windows-64.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/18215140f010c05b9f86ef6f0f8871954d2ccebf/twitch-external-platform-4.5-natives-windows-32.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/6.5/5f9d1ee26257b3a33f0ca06fed335ef462af659f/twitch-platform-6.5-natives-osx.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/6.5/9fdd0fd5aed0817063dcf95b69349a171f447ebd/twitch-platform-6.5-natives-windows-64.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/6.5/206c4ccaecdbcfd2a1631150c69a97bbc9c20c11/twitch-platform-6.5-natives-windows-32.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/53f9c919f34d2ca9de8c51fc4e1e8282029a9232/jinput-platform-2.0.5-natives-osx.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/385ee093e01f587f30ee1c8a2ee7d408fd732e16/jinput-platform-2.0.5-natives-windows.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/7ff832a6eb9ab6a767f1ade2b548092d0fa64795/jinput-platform-2.0.5-natives-linux.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors/2.11.0/8ccfb6541de179bb1c4d45cf414acee069b7f78b/scala-actors-2.11.0.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch/6.5/320a2dfd18513a5f41b4e75729df684488cbd925/twitch-6.5.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.2-nightly-20140822/f0e612c840a7639c1f77f68d72a28dae2f0c8490/lwjgl_util-2.9.2-nightly-20140822.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.2-nightly-20140822/7707204c9ffa5d91662de95f0a224e2f721b22af/lwjgl-2.9.2-nightly-20140822.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/39c7796b469a600f72380316f6b1f11db6c2c7c4/jinput-2.0.5.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6/soundsystem-20120107.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/73e80d0794c39665aec3f62eee88ca91676674ef/librarylwjglopenal-20100824.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/5c5e304366f75f9eaa2e8cca546a1fb6109348b3/libraryjavasound-20101123.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/12f031cfe88fef5c1dd36c563c0a3a69bd7261da/codecwav-20101023.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/c73b5636faf089d9f00e8732a829577de25237ee/codecjorbis-20101023.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/java3d/vecmath/1.5.2/79846ba34cbd89e2422d74d53752f993dcc2ccaf/vecmath-1.5.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/lzma/lzma/0.0.1/521616dc7487b42bef0e803bd2fa3faf668101d7/lzma-0.0.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-xml_2.11/1.0.2/820fbca7e524b530fdadc594c39d49a21ea0337e/scala-xml_2.11-1.0.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-swing_2.11/1.0.1/b1cdd92bd47b1e1837139c1c53020e86bb9112ae/scala-swing_2.11-1.0.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-reflect/2.11.1/6580347e61cc7f8e802941e7fde40fa83b8badeb/scala-reflect-2.11.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-parser-combinators_2.11/1.0.1/f05d7345bf5a58924f2837c6c1f4d73a938e1ff0/scala-parser-combinators_2.11-1.0.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-library/2.11.1/e11da23da3eabab9f4777b9220e60d44c1aab6a/scala-library-2.11.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang.plugins/scala-continuations-plugin_2.11.1/1.0.2/f361a3283452c57fa30c1ee69448995de23c60f7/scala-continuations-plugin_2.11.1-1.0.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang.plugins/scala-continuations-library_2.11/1.0.2/e517c53a7e9acd6b1668c5a35eccbaa3bab9aac/scala-continuations-library_2.11-1.0.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-compiler/2.11.1/56ea2e6c025e0821f28d73ca271218b8dd04926a/scala-compiler-2.11.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors-migration_2.11/1.1.0/dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f/scala-actors-migration_2.11-1.1.0.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/f771f71fdae3df231bcd54d5ca2d57f0bf93f467/config-1.2.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.typesafe.akka/akka-actor_2.11/2.3.3/ed62e9fc709ca0f2ff1a3220daa8b70a2870078e/akka-actor_2.11-2.3.3.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-debug-all/5.0.3/f9e364ae2a66ce2a543012a4668856e84e5dab74/asm-debug-all-5.0.3.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.12/111e7bea9c968cdb3d06ef4632bf7ff0824d0f36/launchwrapper-1.12.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.0-beta9/678861ba1b2e1fccb594bb0ca03114bb05da9695/log4j-core-2.0-beta9.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.0-beta9/1dd66e68cccd907880229f9e2de1314bd13ff785/log4j-api-2.0-beta9.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/31fbbff1ddbf98f3aa7377c94d33b0447c646b6e/httpcore-4.3.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.3/f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f/commons-logging-1.1.3.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/18f4247ff4572a074444572cee34647c43e7c9c7/httpclient-4.3.3.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.8.1/a698750c16740fd5b3871425f4cb3bbaa87f529d/commons-compress-1.8.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.mojang/realms/1.6.1/5655f6fb44aece10e5b3ad7cfee3e6936031c068/realms-1.6.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.21/aefba0d5b53fbcb70860bc8046ab95d5854c07a5/authlib-1.5.21.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.2.4/a60a5e993c98c864010053cb901b7eab25306568/gson-2.2.4.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/e12fe1fda814bd348c1579329c86943d2cd3c6a6/jutils-1.0.0.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/9ce04e34240f674bc72680f8b843b1457383161a/commons-codec-1.9.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.3.2/90a3822c38ec8c996e84c16a3477ef632cbc87a3/commons-lang3-3.3.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/9c6ef172e8de35fd8d4d8783e4821e57cdef7445/guava-17.0.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/io.netty/netty-all/4.0.15.Final/85cad5eb4fc8ae2ecc990dc7c411771a091ded5/netty-all-4.0.15.Final.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.6/306816fb57cf94f108a43c95731b08934dcae15c/jopt-simple-4.6.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j-core-mojang/51.2/63d216a9311cca6be337c1e458e587f99d382b84/icu4j-core-mojang-51.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/3.0.3/42ccaf4761f0dfdfa805c9e340d99a755907e2dd/trove4j-3.0.3.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.mojang/netty/1.6/4b75825a06139752bd800d9e29c5fd55b8b1b1e4/netty-1.6.jar:/Users/noahk/.gradle/caches/minecraft/deobfedDeps/providedDummy.jar:/Users/noahk/.gradle/caches/minecraft/net/minecraftforge/forge/1.8-11.14.4.1563/start:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain GradleStart

[22:49:17] [main/INFO] [GradleStart]: Extra: []

[22:49:17] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/noahk/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]

[22:49:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker

[22:49:17] [main/INFO] [FML]: Forge Mod Loader version 11.14.4.1563 for Minecraft 1.8 loading

[22:49:17] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_25, running on Mac OS X:x86_64:10.11.5, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre

[22:49:17] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[22:49:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

[22:49:17] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin

[22:49:17] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[22:49:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[22:49:17] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[22:49:19] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[22:49:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[22:49:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[22:49:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[22:49:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker

[22:49:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker

[22:49:20] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[22:49:21] [Client thread/INFO]: Setting user: Player132

[22:49:25] [Client thread/INFO]: LWJGL Version: 2.9.2

[22:49:25] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[22:49:25] [Client thread/INFO] [FML]: MinecraftForge v11.14.4.1563 Initialized

[22:49:25] [Client thread/INFO] [FML]: Replaced 204 ore recipies

[22:49:25] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[22:49:25] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[22:49:25] [Client thread/INFO] [FML]: Searching /Users/noahk/Desktop/Modding/FriendNamer/run/mods for mods

[22:49:30] [Client thread/WARN] [friendnamer]: Mod friendnamer is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version ${version}

[22:49:31] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[22:49:31] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, friendnamer] at CLIENT

[22:49:31] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, friendnamer] at SERVER

[22:49:32] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Friend Namer

[22:49:32] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[22:49:32] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations

[22:49:32] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

[22:49:32] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[22:49:32] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[22:49:32] [Forge Version Check/INFO] [ForgeVersionCheck]: [friendnamer] Starting version check at https://raw.githubusercontent.com/KaminoCoding/Update-Files/master/FriendNamer-Update.json

[22:49:32] [Client thread/INFO] [FML]: Applying holder lookups

[22:49:32] [Client thread/INFO] [FML]: Holder lookups applied

[22:49:32] [Client thread/INFO] [FML]: Injecting itemstacks

[22:49:32] [Client thread/INFO] [FML]: Itemstack injection complete

[22:49:33] [sound Library Loader/INFO]: Starting up SoundSystem...

[22:49:33] [Thread-7/INFO]: Initializing LWJGL OpenAL

[22:49:33] [Thread-7/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[22:49:33] [Forge Version Check/INFO] [ForgeVersionCheck]: [friendnamer] Found status: OUTDATED Target: 0.3.0

[22:49:33] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json

2016-05-26 22:49:33.612 java[15797:4932830] 22:49:33.612 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.

[22:49:33] [Thread-7/INFO]: OpenAL initialized.

[22:49:33] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null

[22:49:33] [sound Library Loader/INFO]: Sound engine started

[22:49:35] [Client thread/INFO] [FML]: Max texture size: 16384

[22:49:35] [Client thread/INFO]: Created: 16x16 textures-atlas

[22:49:36] [Client thread/INFO] [FML]: Injecting itemstacks

[22:49:36] [Client thread/INFO] [FML]: Itemstack injection complete

[22:49:36] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[22:49:36] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Friend Namer

[22:49:36] [Client thread/INFO]: SoundSystem shutting down...

[22:49:37] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

[22:49:37] [sound Library Loader/INFO]: Starting up SoundSystem...

[22:49:37] [Thread-9/INFO]: Initializing LWJGL OpenAL

[22:49:37] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[22:49:37] [Thread-9/INFO]: OpenAL initialized.

[22:49:37] [sound Library Loader/INFO]: Sound engine started

[22:49:38] [Client thread/INFO] [FML]: Max texture size: 16384

[22:49:39] [Client thread/INFO]: Created: 512x512 textures-atlas

[22:50:00] [server thread/INFO]: Starting integrated minecraft server version 1.8

[22:50:00] [server thread/INFO]: Generating keypair

[22:50:00] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[22:50:00] [server thread/INFO] [FML]: Applying holder lookups

[22:50:00] [server thread/INFO] [FML]: Holder lookups applied

[22:50:00] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@74f96c61)

[22:50:00] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@74f96c61)

[22:50:00] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@74f96c61)

[22:50:00] [server thread/INFO]: Preparing start region for level 0

[22:50:01] [server thread/INFO]: Preparing spawn area: 95%

[22:50:01] [server thread/INFO]: Changing view distance to 12, from 10

[22:50:02] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2

[22:50:02] [Netty Server IO #1/INFO] [FML]: Client protocol version 2

[22:50:02] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : friendnamer@${version},[email protected],[email protected],[email protected]

[22:50:02] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established

[22:50:02] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[22:50:02] [server thread/INFO]: Player132[local:E:c1daa88c] logged in with entity id 141 at (-438.5, 4.0, 371.5)

[22:50:02] [server thread/INFO]: Player132 joined the game

[22:50:05] [server thread/INFO]: Saving and pausing game...

[22:50:05] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[22:50:05] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[22:50:05] [server thread/INFO]: Saving chunks for level 'New World'/The End

[22:50:06] [Client thread/INFO] [sTDOUT]: [io.cyb3rwarri0r8.friendnamer.client.ConfigHandler:onEvent:82]: GuiOpenEvent for GuiIngameModOptions

[22:50:20] [server thread/INFO]: <Player132> hi

[22:50:20] [Client thread/INFO]: [CHAT] <Player132> hi

[22:50:21] [server thread/INFO]: Saving and pausing game...

[22:50:21] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[22:50:21] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[22:50:21] [server thread/INFO]: Saving chunks for level 'New World'/The End

[22:50:28] [server thread/INFO]: Stopping server

[22:50:28] [server thread/INFO]: Saving players

[22:50:28] [server thread/INFO]: Saving worlds

[22:50:28] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[22:50:28] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[22:50:28] [server thread/INFO]: Saving chunks for level 'New World'/The End

[22:50:28] [server thread/INFO] [FML]: Unloading dimension 0

[22:50:28] [server thread/INFO] [FML]: Unloading dimension -1

[22:50:28] [server thread/INFO] [FML]: Unloading dimension 1

[22:50:28] [server thread/INFO] [FML]: Applying holder lookups

[22:50:28] [server thread/INFO] [FML]: Holder lookups applied

[22:50:30] [Client thread/INFO]: Stopping!

[22:50:30] [Client thread/INFO]: SoundSystem shutting down...

[22:50:30] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

AL lib: (WW) FreeDevice: (0x7fb826cd8200) Deleting 3 Buffer(s)

 

Process finished with exit code 0

 

 

 

Posted

1. idk... just idk.. old tuts

2. player#refreshDisplayName is being called.. thats why I added the check for null passed parentscreens to prevent crashing

3. Yes, it logs that it changed the username yet nothing happens

4. Fixed

5. Fixed

 

I was just playing with different things to the playerloggedinevent isn't being used but thanx

 

Hopefully this info helps. Here is the log:

 

 

/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java -Didea.launcher.port=7532 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/lib/tools.jar:/Users/noahk/Desktop/Modding/FriendNamer/out/production/FriendNamer:/Users/noahk/.gradle/caches/minecraft/deobfedDeps/compileDummy.jar:/Users/noahk/.gradle/caches/minecraft/net/minecraftforge/forge/1.8-11.14.4.1563/snapshot/20141130/forgeSrc-1.8-11.14.4.1563.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/2.0.1/516c03b21d50a644d538de0f0369c620989cd8f0/jsr305-2.0.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2-nightly-20140822/79f5ce2fea02e77fe47a3c745219167a542121d7/lwjgl-platform-2.9.2-nightly-20140822-natives-osx.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2-nightly-20140822/d898a33b5d0a6ef3fed3a4ead506566dce6720a5/lwjgl-platform-2.9.2-nightly-20140822-natives-linux.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.2-nightly-20140822/78b2a55ce4dc29c6b3ec4df8ca165eba05f9b341/lwjgl-platform-2.9.2-nightly-20140822-natives-windows.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/c3cde57891b935d41b6680a9c5e1502eeab76d86/twitch-external-platform-4.5-natives-windows-64.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/18215140f010c05b9f86ef6f0f8871954d2ccebf/twitch-external-platform-4.5-natives-windows-32.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/6.5/5f9d1ee26257b3a33f0ca06fed335ef462af659f/twitch-platform-6.5-natives-osx.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/6.5/9fdd0fd5aed0817063dcf95b69349a171f447ebd/twitch-platform-6.5-natives-windows-64.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/6.5/206c4ccaecdbcfd2a1631150c69a97bbc9c20c11/twitch-platform-6.5-natives-windows-32.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/53f9c919f34d2ca9de8c51fc4e1e8282029a9232/jinput-platform-2.0.5-natives-osx.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/385ee093e01f587f30ee1c8a2ee7d408fd732e16/jinput-platform-2.0.5-natives-windows.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/7ff832a6eb9ab6a767f1ade2b548092d0fa64795/jinput-platform-2.0.5-natives-linux.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors/2.11.0/8ccfb6541de179bb1c4d45cf414acee069b7f78b/scala-actors-2.11.0.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch/6.5/320a2dfd18513a5f41b4e75729df684488cbd925/twitch-6.5.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.2-nightly-20140822/f0e612c840a7639c1f77f68d72a28dae2f0c8490/lwjgl_util-2.9.2-nightly-20140822.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.2-nightly-20140822/7707204c9ffa5d91662de95f0a224e2f721b22af/lwjgl-2.9.2-nightly-20140822.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/39c7796b469a600f72380316f6b1f11db6c2c7c4/jinput-2.0.5.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6/soundsystem-20120107.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/73e80d0794c39665aec3f62eee88ca91676674ef/librarylwjglopenal-20100824.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/5c5e304366f75f9eaa2e8cca546a1fb6109348b3/libraryjavasound-20101123.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/12f031cfe88fef5c1dd36c563c0a3a69bd7261da/codecwav-20101023.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/c73b5636faf089d9f00e8732a829577de25237ee/codecjorbis-20101023.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/java3d/vecmath/1.5.2/79846ba34cbd89e2422d74d53752f993dcc2ccaf/vecmath-1.5.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/lzma/lzma/0.0.1/521616dc7487b42bef0e803bd2fa3faf668101d7/lzma-0.0.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-xml_2.11/1.0.2/820fbca7e524b530fdadc594c39d49a21ea0337e/scala-xml_2.11-1.0.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-swing_2.11/1.0.1/b1cdd92bd47b1e1837139c1c53020e86bb9112ae/scala-swing_2.11-1.0.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-reflect/2.11.1/6580347e61cc7f8e802941e7fde40fa83b8badeb/scala-reflect-2.11.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-parser-combinators_2.11/1.0.1/f05d7345bf5a58924f2837c6c1f4d73a938e1ff0/scala-parser-combinators_2.11-1.0.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-library/2.11.1/e11da23da3eabab9f4777b9220e60d44c1aab6a/scala-library-2.11.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang.plugins/scala-continuations-plugin_2.11.1/1.0.2/f361a3283452c57fa30c1ee69448995de23c60f7/scala-continuations-plugin_2.11.1-1.0.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang.plugins/scala-continuations-library_2.11/1.0.2/e517c53a7e9acd6b1668c5a35eccbaa3bab9aac/scala-continuations-library_2.11-1.0.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-compiler/2.11.1/56ea2e6c025e0821f28d73ca271218b8dd04926a/scala-compiler-2.11.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors-migration_2.11/1.1.0/dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f/scala-actors-migration_2.11-1.1.0.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/f771f71fdae3df231bcd54d5ca2d57f0bf93f467/config-1.2.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.typesafe.akka/akka-actor_2.11/2.3.3/ed62e9fc709ca0f2ff1a3220daa8b70a2870078e/akka-actor_2.11-2.3.3.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-debug-all/5.0.3/f9e364ae2a66ce2a543012a4668856e84e5dab74/asm-debug-all-5.0.3.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.12/111e7bea9c968cdb3d06ef4632bf7ff0824d0f36/launchwrapper-1.12.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.0-beta9/678861ba1b2e1fccb594bb0ca03114bb05da9695/log4j-core-2.0-beta9.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.0-beta9/1dd66e68cccd907880229f9e2de1314bd13ff785/log4j-api-2.0-beta9.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/31fbbff1ddbf98f3aa7377c94d33b0447c646b6e/httpcore-4.3.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.3/f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f/commons-logging-1.1.3.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/18f4247ff4572a074444572cee34647c43e7c9c7/httpclient-4.3.3.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.8.1/a698750c16740fd5b3871425f4cb3bbaa87f529d/commons-compress-1.8.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.mojang/realms/1.6.1/5655f6fb44aece10e5b3ad7cfee3e6936031c068/realms-1.6.1.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.21/aefba0d5b53fbcb70860bc8046ab95d5854c07a5/authlib-1.5.21.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.2.4/a60a5e993c98c864010053cb901b7eab25306568/gson-2.2.4.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/e12fe1fda814bd348c1579329c86943d2cd3c6a6/jutils-1.0.0.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/9ce04e34240f674bc72680f8b843b1457383161a/commons-codec-1.9.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.3.2/90a3822c38ec8c996e84c16a3477ef632cbc87a3/commons-lang3-3.3.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/9c6ef172e8de35fd8d4d8783e4821e57cdef7445/guava-17.0.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/io.netty/netty-all/4.0.15.Final/85cad5eb4fc8ae2ecc990dc7c411771a091ded5/netty-all-4.0.15.Final.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.6/306816fb57cf94f108a43c95731b08934dcae15c/jopt-simple-4.6.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j-core-mojang/51.2/63d216a9311cca6be337c1e458e587f99d382b84/icu4j-core-mojang-51.2.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/3.0.3/42ccaf4761f0dfdfa805c9e340d99a755907e2dd/trove4j-3.0.3.jar:/Users/noahk/.gradle/caches/modules-2/files-2.1/com.mojang/netty/1.6/4b75825a06139752bd800d9e29c5fd55b8b1b1e4/netty-1.6.jar:/Users/noahk/.gradle/caches/minecraft/deobfedDeps/providedDummy.jar:/Users/noahk/.gradle/caches/minecraft/net/minecraftforge/forge/1.8-11.14.4.1563/start:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain GradleStart

[22:49:17] [main/INFO] [GradleStart]: Extra: []

[22:49:17] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/noahk/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]

[22:49:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker

[22:49:17] [main/INFO] [FML]: Forge Mod Loader version 11.14.4.1563 for Minecraft 1.8 loading

[22:49:17] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0_25, running on Mac OS X:x86_64:10.11.5, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre

[22:49:17] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[22:49:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker

[22:49:17] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin

[22:49:17] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin

[22:49:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker

[22:49:17] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[22:49:17] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[22:49:19] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[22:49:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper

[22:49:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker

[22:49:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker

[22:49:20] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker

[22:49:20] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker

[22:49:20] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[22:49:21] [Client thread/INFO]: Setting user: Player132

[22:49:25] [Client thread/INFO]: LWJGL Version: 2.9.2

[22:49:25] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[22:49:25] [Client thread/INFO] [FML]: MinecraftForge v11.14.4.1563 Initialized

[22:49:25] [Client thread/INFO] [FML]: Replaced 204 ore recipies

[22:49:25] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[22:49:25] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer

[22:49:25] [Client thread/INFO] [FML]: Searching /Users/noahk/Desktop/Modding/FriendNamer/run/mods for mods

[22:49:30] [Client thread/WARN] [friendnamer]: Mod friendnamer is missing the required element 'version' and a version.properties file could not be found. Falling back to metadata version ${version}

[22:49:31] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load

[22:49:31] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, friendnamer] at CLIENT

[22:49:31] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, friendnamer] at SERVER

[22:49:32] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Friend Namer

[22:49:32] [Client thread/INFO] [FML]: Processing ObjectHolder annotations

[22:49:32] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations

[22:49:32] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations

[22:49:32] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations

[22:49:32] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

[22:49:32] [Forge Version Check/INFO] [ForgeVersionCheck]: [friendnamer] Starting version check at https://raw.githubusercontent.com/KaminoCoding/Update-Files/master/FriendNamer-Update.json

[22:49:32] [Client thread/INFO] [FML]: Applying holder lookups

[22:49:32] [Client thread/INFO] [FML]: Holder lookups applied

[22:49:32] [Client thread/INFO] [FML]: Injecting itemstacks

[22:49:32] [Client thread/INFO] [FML]: Itemstack injection complete

[22:49:33] [sound Library Loader/INFO]: Starting up SoundSystem...

[22:49:33] [Thread-7/INFO]: Initializing LWJGL OpenAL

[22:49:33] [Thread-7/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[22:49:33] [Forge Version Check/INFO] [ForgeVersionCheck]: [friendnamer] Found status: OUTDATED Target: 0.3.0

[22:49:33] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json

2016-05-26 22:49:33.612 java[15797:4932830] 22:49:33.612 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.

[22:49:33] [Thread-7/INFO]: OpenAL initialized.

[22:49:33] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: UP_TO_DATE Target: null

[22:49:33] [sound Library Loader/INFO]: Sound engine started

[22:49:35] [Client thread/INFO] [FML]: Max texture size: 16384

[22:49:35] [Client thread/INFO]: Created: 16x16 textures-atlas

[22:49:36] [Client thread/INFO] [FML]: Injecting itemstacks

[22:49:36] [Client thread/INFO] [FML]: Itemstack injection complete

[22:49:36] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods

[22:49:36] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Friend Namer

[22:49:36] [Client thread/INFO]: SoundSystem shutting down...

[22:49:37] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

[22:49:37] [sound Library Loader/INFO]: Starting up SoundSystem...

[22:49:37] [Thread-9/INFO]: Initializing LWJGL OpenAL

[22:49:37] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[22:49:37] [Thread-9/INFO]: OpenAL initialized.

[22:49:37] [sound Library Loader/INFO]: Sound engine started

[22:49:38] [Client thread/INFO] [FML]: Max texture size: 16384

[22:49:39] [Client thread/INFO]: Created: 512x512 textures-atlas

[22:50:00] [server thread/INFO]: Starting integrated minecraft server version 1.8

[22:50:00] [server thread/INFO]: Generating keypair

[22:50:00] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[22:50:00] [server thread/INFO] [FML]: Applying holder lookups

[22:50:00] [server thread/INFO] [FML]: Holder lookups applied

[22:50:00] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@74f96c61)

[22:50:00] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@74f96c61)

[22:50:00] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@74f96c61)

[22:50:00] [server thread/INFO]: Preparing start region for level 0

[22:50:01] [server thread/INFO]: Preparing spawn area: 95%

[22:50:01] [server thread/INFO]: Changing view distance to 12, from 10

[22:50:02] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2

[22:50:02] [Netty Server IO #1/INFO] [FML]: Client protocol version 2

[22:50:02] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : friendnamer@${version},[email protected],[email protected],[email protected]

[22:50:02] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established

[22:50:02] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[22:50:02] [server thread/INFO]: Player132[local:E:c1daa88c] logged in with entity id 141 at (-438.5, 4.0, 371.5)

[22:50:02] [server thread/INFO]: Player132 joined the game

[22:50:05] [server thread/INFO]: Saving and pausing game...

[22:50:05] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[22:50:05] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[22:50:05] [server thread/INFO]: Saving chunks for level 'New World'/The End

[22:50:06] [Client thread/INFO] [sTDOUT]: [io.cyb3rwarri0r8.friendnamer.client.ConfigHandler:onEvent:82]: GuiOpenEvent for GuiIngameModOptions

[22:50:20] [server thread/INFO]: <Player132> hi

[22:50:20] [Client thread/INFO]: [CHAT] <Player132> hi

[22:50:21] [server thread/INFO]: Saving and pausing game...

[22:50:21] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[22:50:21] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[22:50:21] [server thread/INFO]: Saving chunks for level 'New World'/The End

[22:50:28] [server thread/INFO]: Stopping server

[22:50:28] [server thread/INFO]: Saving players

[22:50:28] [server thread/INFO]: Saving worlds

[22:50:28] [server thread/INFO]: Saving chunks for level 'New World'/Overworld

[22:50:28] [server thread/INFO]: Saving chunks for level 'New World'/Nether

[22:50:28] [server thread/INFO]: Saving chunks for level 'New World'/The End

[22:50:28] [server thread/INFO] [FML]: Unloading dimension 0

[22:50:28] [server thread/INFO] [FML]: Unloading dimension -1

[22:50:28] [server thread/INFO] [FML]: Unloading dimension 1

[22:50:28] [server thread/INFO] [FML]: Applying holder lookups

[22:50:28] [server thread/INFO] [FML]: Holder lookups applied

[22:50:30] [Client thread/INFO]: Stopping!

[22:50:30] [Client thread/INFO]: SoundSystem shutting down...

[22:50:30] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com

AL lib: (WW) FreeDevice: (0x7fb826cd8200) Deleting 3 Buffer(s)

 

Process finished with exit code 0

 

 

 

Posted

Going through all classes:

 

1. public static CommonProxy proxy;

Is not needed when mod is one-sided.

 

2. PlayerEvent.PlayerLoggedInEvent

Is server ONLY and should NOT be used in client only mods.

Doing so will result in:

* Firing on SP (intergrated server/lan)

* NOT firing on MP (dedicated server/lan)

 

General rule is to write either common or sided mods/code - never do both (in different words: mods should be universal, for client mods - acting same on both SP and MP, unless ofc - there is some special design in play).

 

3. Now big question:

* You say that prints (logs) are reached and they print expected name (I assume).

* Then you say it doesn't work.

 

Question is - HOW do you know it doesn't work?

 

My guess it does and you are checking it by typing in chat - which, spoiler alert - will not work as you would want it to.

 

When chat message is written in chat (client) and then sent - server receives it and converts it to "[playerWhoSentIt] + chatMessageReceived" which is then (in this format) sent to all other clients.

 

Logically - if you change the name on CLIENT only, the server one stays intact resulting in "playerWhoSentIt" being non-changed server one.

 

What you are doing there (event you do) only sets display name of client players, which gives you proper return when asking directly using that method. So for example - it will be correct when rendering name tag (should be). But anything that goes through server will most likely not.

 

As to how to deal with chat messages - use chat events to replace string with your own - ClientChatReceivedEvent.

1.7.10 is no longer supported by forge, you are on your own.

Posted

Oh yeah.. those i've been using because I started with a template for my other universal mod. As for the loggedInEvent.. yeah i'm going to remove that. It's just there...

 

yes it was logging that it changed but when I'd try putting in chat messages it wouldn't change that part. At one time I thought it was but maybe I was dreaming... That makes sense though. I will have to use the chat listeners then.

Posted

Well, this is purely Java question and Regex is something I didn't use in a long time, so wait for sm1 else to show up (you probably messed up matcher/pattern).

 

Point of interest (this is totally random/unnecessary response):

 

 

Since I am algorithm guy 1st thing I see here is "use radix tree or trie"! You could create one directly from config on load and even add more names as you play. Nodes would expand to full normal names, where at end would be their replacement. Then to use it you could iterate over whole string in message replacing all names at once.

 

Well, in names case it's not really needed that much (too few names), sadly - so basically I wrote it for fun, I guess.

 

 

1.7.10 is no longer supported by forge, you are on your own.

Posted

1. Read the javadoc for Matcher#find:

Attempts to find the next subsequence of the input sequence that matches the pattern. 

This method starts at the beginning of this matcher's region, or, if a previous invocation of the method was successful and the matcher has not since been reset, at the first character not matched by the previous match. 

If the match succeeds then more information can be obtained via the start, end, and group methods. 

So it gives next match, and since it does not have two match, the second find gives false.

2. Instead of Matcher#group(int), Matcher#group() will be fine.

3. It's better to store the pattern in a field. (It is common use of a Pattern)

EDIT) 4. Prefix/Suffix of the regex /.../g is generally not needed.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Oh I forgot to update the title. I figured out the issue and I'm rather embarrassed to say that it was a file path issue. The game already knew I was accessing the achievements so I wasn't suppose to include advancements in the file path. Minecraft file paths have always confused me a little bit... ResourceLocation advancementId = new ResourceLocation( TheDeadRise.MODID,"adventure/spawntrigger");
    • Can someone help my with this? My forge server won't open and I'm not that good with this stuff. It gave me this error message:   C:\Users\apbeu\Desktop\Forge server>java -Xmx4G -Xms1G -jar server.jar nogui 2024-12-11 18:21:01,054 main WARN Advanced terminal features are not available in this environment [18:21:01] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.34, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui] [18:21:01] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.1.3+8.1.3+main-8.1.x.c94d18ec starting: java version 21.0.4 by Oracle Corporation Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x402e37bc) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x402e37bc         at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:45)         at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)         at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:45)         at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)         at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)         at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)         at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)         at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:62)         at cpw.mods.modlauncher.Launcher.<init>(Launcher.java:55)         at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)         at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)         at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)         at net.minecraftforge.server.ServerMain.main(ServerMain.java:57) C:\Users\apbeu\Desktop\Forge server>pause
    • Here is the url for the crash report if anyone can help me, please. https://mclo.gs/KGn5LWy  
    • Every single time I try and open my modpack it crashes before the game fully opens and I don't know what is wrong. I open the crash logs but I don't understand what any of it means. What do I do?
    • Hey, sorry I haven't said anything in a while. I was banned on here for sending you straight up crash logs and they banned me for spam... but I learned that these forums are for forge only and I was working with neoforge... but thank you for all the help.
  • Topics

×
×
  • Create New...

Important Information

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