-
[1.17.1] Executing a command on client when player logs in
Can I get server IP from this event or check if it is singleplayer or dedicated server?
-
[1.17.1] Executing a command on client when player logs in
Thank you, looks like that is what I need.
-
[1.17.1] Executing a command on client when player logs in
Good afternoon. I'm trying to write the functionality that I described in the title - for example, when the player logs in, he should automatically greet everyone with /say Hello. I have wrote the following: @Mod.EventBusSubscriber(bus = Mod.EventBusSubscriber.Bus.FORGE,value = Dist.CLIENT,modid = "examplemod") public static class PlayerEvents { @SubscribeEvent public static void onPlayerLoggedIn(PlayerEvent.PlayerLoggedInEvent event) { Minecraft.getInstance().player.chat("/say Test message"); } } but when I trying to load a world, it kicks me with an error that Minecraft.getInstance().player is null. What I'm doing wrong?
-
[1.16.5] Forge installer jar not start
I think that Java version was too new for OSX 10.10.0, on Java 1.8.0_222 everything works fine You can close this thread.
-
[1.16.5] Forge installer jar not start
The forge installer crashes when I'm trying to start it with doubleclick or via command in terminal: open forge-1.16.5-36.0.22-installer.jar Here is logs: "Problem Details and System Configuration" log that is shown by OSX after crash: https://pastebin.com/dsiV06Zn Forge installer log is attached. System: MacBook Pro 2011 CPU: 2,4 GHz Intel Core i5 RAM: 16GB 1600 MHz DDR3 GPU: Intel HD Graphics 3000 512 MB OSX 10.10 Yosemite forge-1.16.5-36.0.22-installer.jar.log
-
[1.16.4] Resource packs not loaded from server
To report this to Mojang I need to test it on a vanilla server, I have thinking before that it's Forge issue. I will write here about the results of my test.
-
[1.16.4] Resource packs not loaded from server
I think that Forge need some kind of notification that we must remove built-in resourcepack (aka resources.zip) from save folder when moving it to the server and use the resource pack parameter in server.properties. But, for now, this issue is solved, you may close this thread.
-
[1.16.4] Resource packs not loaded from server
I'm blind hasn't read client logs, thank you. Will write here if it will work for now.
-
[1.16.4] Resource packs not loaded from server
I have set a resource-pack in server.properties and Minecraft doesn't load it automatically when I login to server. Server resource packs is set to "Prompt". debug.log latest-1.log server.properties
IPS spam blocked by CleanTalk.