Created
April 29, 2013 16:03
-
-
Save alexito4/5482591 to your computer and use it in GitHub Desktop.
Minecraft & MultiMC.
List all the mods in a MultiMC instance.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby mods.rb /Applications/Minecraft/MultiMC.app/Contents/Resources/instances/CustomDirewolf20/ > mods.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
dir = ARGV[0] | |
if !dir then | |
puts "Please pass the path to your instance folder as the first argument." | |
exit(); | |
end | |
puts dir | |
puts "\n\n" | |
dirjar = dir + "/instMods" | |
puts "MODS IN JAR:" | |
Dir.foreach(dirjar) do |item| | |
next if item == '.' or item == '..' | |
puts item | |
end | |
puts "\n\n" | |
dircoremods = dir + "/minecraft/coremods" | |
puts "COREMODS:" | |
Dir.foreach(dircoremods) do |item| | |
next if item == '.' or item == '..' | |
puts item | |
end | |
puts "\n\n" | |
dirmods = dir + "/minecraft/mods" | |
puts "MODS:" | |
Dir.foreach(dirmods) do |item| | |
next if item == '.' or item == '..' | |
puts item | |
end | |
puts "\n\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Applications/Minecraft/MultiMC.app/Contents/Resources/instances/CustomDirewolf20/ | |
MODS IN JAR: | |
MinecraftForge.zip | |
OptiFine_1.4.6_HD_D5.zip | |
COREMODS: | |
CodeChickenCore.jar | |
GuiAPI-0.15.2-1.4.6.jar | |
MiscPeripherals.jar | |
NotEnoughItems.jar | |
MODS: | |
.DS_Store | |
AppliedEnergistics.zip | |
AutoSwitch | |
buildcraft.jar | |
ChargePads.zip | |
ChickenChunks.jar | |
CoFHCore.zip | |
compactsolars.zip | |
computercraft.zip | |
CustomMobSpawner 1.11.1.zip | |
ee3.jar | |
EnchantingPlus-1.12.9.jar | |
EnderStorage.jar | |
extrabees.zip | |
extrabiomes.jar | |
factorization.jar | |
forestry.jar | |
GraviGun.zip | |
gravisuite.zip | |
IC2.jar | |
IC2NuclearControl.zip | |
InvTweaks.zip | |
IronChest.zip | |
JourneyMap1.9.1_MC1.4.6.zip | |
modularforcefieldsystem.zip | |
ModularPowersuits.jar | |
Mutant Creatures v1.2.2 mc1.4.7.zip | |
mystcraft-uni-1.4.7-0.10.1.00.zip | |
neiplugins.jar | |
neipluginsredpower.jar | |
obsidiplates.zip | |
omnitools.zip | |
PortalGun.zip | |
railcraft.jar | |
redpowercompat.zip | |
redpowercore.zip | |
redpowerdigital.zip | |
redpowermechanical.zip | |
rei_minimap | |
reiminimap.zip | |
ReiMonkey.zip | |
soulshards.zip | |
StevesCarts.zip | |
Thaumcraft.zip | |
ThaumicBees.jar | |
thermalexpansion.zip | |
TwilightForest.zip | |
wirelessredstoneaddons.jar | |
wirelessredstonecore.jar | |
wirelessredstoneredpower.jar | |
XReliquary.jar | |
xycraft.zip | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment