Jump to content

MairwunNx

Members
  • Posts

    89
  • Joined

  • Last visited

Everything posted by MairwunNx

  1. Closed. Not forge bug. Version targeting mismatch.
  2. Yes, probably it problem with my mod, "backup", try remove it also. Backup module uses coroutines, maybe it causes problem. If this problem with my mod, please create issue in backup github repository.
  3. I don't know what causes this crash, but my mods.toml fully corresponds to documentation on official forge documentation. My mod crashes after updating forge from 28.1.X to 28.2.0. I also checked existing mods.toml in bundle. Super short stacktrace: [1;31m[20:40:59] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [ mods.toml missing metadata for modid project_essentials_cooldown, mods.toml missing metadata for modid project_essentials_permissions ] at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:179) ~[?:?] {re:classloading} at net.minecraftforge.fml.server.ServerModLoader.begin(ServerModLoader.java:45) ~[?:?] {re:classloading} and short stacktrace from client: [20Mar2020 20:33:35.073] [Client thread/FATAL] [net.minecraftforge.fml.ModLoader/CORE]: Failed to initialize mod containers net.minecraftforge.fml.ModLoadingException: mods.toml missing metadata for modid project_essentials_cooldown at net.minecraftforge.fml.ModLoader.lambda$buildModContainerFromTOML$29(ModLoader.java:233) ~[?:?] at net.minecraftforge.fml.ModLoader$$Lambda$2110/542220524.get(Unknown Source) ~[?:?] at java.util.Optional.orElseThrow(Optional.java:290) ~[?:1.8.0_51] at net.minecraftforge.fml.ModLoader.buildModContainerFromTOML(ModLoader.java:233) ~[?:?] mods.toml: modLoader="javafml" loaderVersion="[28,)" issueTrackerURL="https://github.com/ProjectEssentials/ProjectEssentials-Permissions/issues" [[mods]] modId="project_essentials_permissions" version="1.14.4-1.2.1" displayName="Project Essentials Permissions" updateJSONURL="https://raw.githubusercontent.com/ProjectEssentials/ProjectEssentials-Permissions/MC-1.14.X/update.json" displayURL="https://github.com/ProjectEssentials/ProjectEssentials-Permissions" credits="Thanks JetBrains for Intellij IDEA license!" authors="MairwunNx (Pavel Erokhin)" description=''' Project Essentials Permissions - additional module for Essentials; Just controlling player permissions. Also it just permission API for forge. ''' [[dependencies.project_essentials_permissions]] modId="project_essentials_core" mandatory=true versionRange="[1,)" ordering="NONE" side="BOTH" [[dependencies.project_essentials_permissions]] modId="forge" mandatory=true versionRange="[28,)" ordering="NONE" side="BOTH" [[dependencies.project_essentials_permissions]] modId="minecraft" mandatory=true versionRange="[1.14.4]" ordering="NONE" side="BOTH"
  4. @perecnicek try remove minecolonies-0.10.763-BETA-universal.jar mod. Probably it can help.
  5. It is not comfortable. I need to log some actions into a separate file. And Forge is stopping me from doing this.
  6. Because the data that I am logging needs to be logged in another file, because if I log into the main log file, all information will be confused.
  7. I think it forge problem, THERE'S NO WAY I CAN override logger for my mod, anyway logging in latest.log what contains in logs/ dir. ??
  8. Lol, i tried configure with code, but it just create file and rolling file BUT LOGGING IN MINECRAFT LOG LOL! https://pastebin.com/3WbtYtgq
  9. It din't help. I tried it, configuration. Anyway logging in common logger (latest.log by minecraft )
  10. In 1.12.2, many used `FMLPreInitializationEvent` and called the `getModLogger` method, but now this is not, and this is not in the list of changes since `1.12.2`, I did not find anything related to the logger, I want to have logging to another file, but with a similar configuration like Forge (i found log4j.xml in forge). How can I create several different log configurations now? In any case, currently writing to the general log force (latest.log). I tried `Configurator.initialize` and `LoggerContext#getLogger("...")`, but this does not affect the logging in any way, it still logs in `latest.log`.
  11. +1. I also have it problem. I don't see it methods in `1.14.4-28.0.X`. upd: it method only able in ServerWorld, not in World.
  12. In simple words, I want to make unregister that command and register your own. Or simply register on top, thereby replacing the minecraft vanilla command.
  13. if you updated to 1.14.4: Where did you get the method `addChatMessage` and `ChatComponentText` class?
  14. Right. But if he does not need him the mod and he does not know why minecraft crashes, then removing it will be the right decision.
  15. @Hector453 problem in `ExtraUtils2` mod. Just remove it mod. AND FOR LOGS \ CRASH-REPORTS USE `https://pastebin.com/`!
  16. player.connection.disconnect(reason) `player` is `ServerPlayerEntity` class instance.
  17. Is it possible to override minecraft vanilla commands? I just try register command with same arguments and name, but, it work incorrect.
  18. ```kotlin @SubscribeEvent fun onPlayerRespawn(event: PlayerEvent.PlayerRespawnEvent) { ``` ```java @SubscribeEvent public void onPlayerRespawn(PlayerEvent.PlayerRespawnEvent event) { ``` upd: sorry, I thought you did not find the event.
  19. discussion opened: https://github.com/MinecraftForge/MinecraftForge/issues/6259
  20. Understand. Thanks!: Next week I will create an issue if this is not already and discuss it there.
  21. I don’t think it’s possible, because you have to delete old user messages and combine them into one, merging messages is easy. But I think it is impossible to delete messages from just one user. Can I edit posts? If yes, then you are lucky, if not, then you will need to somehow delete the old messages of this particular user and send an already merged message.
  22. All minecraft commands have a check for `hasPermissionLevel`, I need to replace its implementation for all existing commands, is it possible?: I see that this method is implemented in `CommandSource`, this method is declared in the `ISuggestProvider` interface.
×
×
  • Create New...

Important Information

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