
Everything posted by MairwunNx
-
[28.2.0]: mods.toml missing metadata for modid ...
Closed. Not forge bug. Version targeting mismatch.
-
1.15.2 server crash
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.
-
[28.2.0]: mods.toml missing metadata for modid ...
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"
-
1.15.2 server crash
@perecnicek try remove minecolonies-0.10.763-BETA-universal.jar mod. Probably it can help.
-
[1.14.4] Use different log4j logger for instance.
It is not comfortable. I need to log some actions into a separate file. And Forge is stopping me from doing this.
-
[1.14.4] Use different log4j logger for instance.
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.
-
[1.14.4] Use different log4j logger for instance.
For logging some mod events to separate log file.
-
[1.14.4] Use different log4j logger for instance.
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. ??
-
[1.14.4] Use different log4j logger for instance.
Lol, i tried configure with code, but it just create file and rolling file BUT LOGGING IN MINECRAFT LOG LOL! https://pastebin.com/3WbtYtgq
-
[1.14.4] Use different log4j logger for instance.
It din't help. I tried it, configuration. Anyway logging in common logger (latest.log by minecraft )
-
[1.14.4] Use different log4j logger for instance.
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`.
-
How to spawn lightning with forge 1.14
+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.
-
[1.14.4] How override vanilla command.
Not resolved. Update. ⬆
-
[1.14.4] How override vanilla command.
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.
-
EntityJoinWorldEvent fired multiple times
if you updated to 1.14.4: Where did you get the method `addChatMessage` and `ChatComponentText` class?
-
minecraft crash
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.
-
minecraft crash
@Hector453 problem in `ExtraUtils2` mod. Just remove it mod. AND FOR LOGS \ CRASH-REPORTS USE `https://pastebin.com/`!
-
[1.14.4] How to kick player from server
player.connection.disconnect(reason) `player` is `ServerPlayerEntity` class instance.
-
[1.14.4] How override vanilla command.
Is it possible to override minecraft vanilla commands? I just try register command with same arguments and name, but, it work incorrect.
-
[SOLVED][1.14.4] Persist Player attributes on respawn
```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.
-
1.14.4: Replace implementation of method `hasPermissionLevel` for existing commands
discussion opened: https://github.com/MinecraftForge/MinecraftForge/issues/6259
-
1.14.4: Replace implementation of method `hasPermissionLevel` for existing commands
Understand. Thanks!: Next week I will create an issue if this is not already and discuss it there.
-
1.14.4: Replace implementation of method `hasPermissionLevel` for existing commands
Change permission checking algorithm for commands.
-
[1.12.2] merge same chat message
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.
-
1.14.4: Replace implementation of method `hasPermissionLevel` for existing commands
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.
IPS spam blocked by CleanTalk.