Getting a MineTweaker Script File to Work?

  • Thread starter Thread starter Onafetsual
  • Start date Start date
  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
O

Onafetsual

Guest
Hi all,

I'm trying to create a script that disables crafting the jetpack in IC2.

The problem: The script file does not auto run at server startup. No mention of this attempt to disable the jetpack is found in the minetweaks.log file.

What I have tried: Putting the .zs file in the scripts folder, modpack/common/scripts folder, and modpack/expert/scripts folder.

Catch: The script code is correct. When I type in /minetweaker reload in the console and the scripts are reloaded again, then it works. Interestingly, I tried putting the code in with other .zs scripts in the expert folder because I know for a fact that the scripts are ran at startup (can be seen in console). However, everything else (custom recipes, removed items) works. Once again, a /minetweaks reload command will fix this issue.

Here is my line of code: recipes.remove(<IC2:itemArmorJetpack>);

I'm trying to make it work at startup like it's supposed to. Any suggestions?

Thank you all in advance.