info Command
View detailed information about your Minecraft instance.
๐ Synopsis
clicraft info [options]
๐ Description
The info command displays comprehensive information about your Minecraft instance, including:
- Instance configuration
- Installed mods and their versions
- Storage usage breakdown
- World saves
- Resource packs
- Minecraft and loader versions
This is useful for checking whatโs installed, troubleshooting issues, or getting an overview of your instance.
๐ฏ Options
| Option | Description | Default |
|---|---|---|
-i, --instance <path> | Path to instance directory | Current directory |
--verbose | Show detailed information | false |
๐ Examples
View basic info
cd my-instance
clicraft info
View detailed info
clicraft info --verbose
Check specific instance
clicraft info --instance ./my-modded-world
Quick instance check
clicraft info --instance ~/minecraft/server
๐ฎ Example Output
Basic Mode
$ cd my-instance
$ clicraft info
Instance: my-modded-world
Type: Client
Minecraft: 1.21.1
Loader: Fabric 0.16.5
Installed Mods (5):
- Sodium 0.6.0
- Lithium 0.12.0
- Iris Shaders 1.8.0
- Fabric API 0.100.0
- Mod Menu 9.0.0
Storage Usage:
Total: 1.2 GB
Mods: 45 MB
Assets: 650 MB
Libraries: 480 MB
Saves: 25 MB
World Saves (2):
- New World (15 MB)
- Creative Testing (10 MB)
Verbose Mode
$ clicraft info --verbose
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Instance Information
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Name: my-modded-world
Type: Client
Location: /home/user/my-modded-world
Minecraft Version: 1.21.1
Mod Loader: Fabric 0.16.5
Java Path: /usr/bin/java
Java Version: 21.0.1
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Mods (5)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
1. Sodium (sodium)
Version: 0.6.0-beta.2+mc1.21.1
File: sodium-fabric-0.6.0.jar
Size: 1.2 MB
2. Lithium (lithium)
Version: 0.12.0
File: lithium-fabric-mc1.21.1-0.12.0.jar
Size: 856 KB
3. Iris Shaders (iris)
Version: 1.8.0
File: iris-mc1.21.1-1.8.0.jar
Size: 3.4 MB
4. Fabric API (fabric-api)
Version: 0.100.0+1.21.1
File: fabric-api-0.100.0+1.21.1.jar
Size: 5.2 MB
5. Mod Menu (modmenu)
Version: 9.0.0
File: modmenu-9.0.0.jar
Size: 680 KB
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Storage Usage
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Total Size: 1.2 GB
โโ Assets: 650 MB (54%)
โโ Libraries: 480 MB (40%)
โโ Mods: 45 MB (4%)
โโ Saves: 25 MB (2%)
โโ Resource Packs: 0 MB (0%)
โโ Other: 10 MB (1%)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
World Saves (2)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
1. New World
Size: 15 MB
Last Played: 2024-01-15 14:30:00
Game Mode: Survival
2. Creative Testing
Size: 10 MB
Last Played: 2024-01-14 18:45:00
Game Mode: Creative
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Resource Packs (0)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
No resource packs installed.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Configuration
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
JVM Arguments:
-Xmx2G
-Xms2G
Game Directory:
/home/user/my-modded-world
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Information Breakdown
Instance Details
- Name: Instance identifier
- Type: Client or Server
- Location: Full path to instance directory
- Minecraft Version: Version of Minecraft
- Mod Loader: Loader type and version
- Java: Java path and version
Mod Information
For each installed mod:
- Mod name
- Version
- File name
- File size
Storage Usage
Disk space used by:
- Assets: Game assets (textures, sounds)
- Libraries: Java dependencies
- Mods: Installed mod files
- Saves: World save files
- Resource Packs: Custom resource packs
- Other: Logs, configs, etc.
World Saves
For each world:
- World name
- Size on disk
- Last played date/time
- Game mode (Survival/Creative/Adventure)
Resource Packs
Lists installed resource packs with:
- Pack name
- Pack version
- File size
๐ฏ Use Cases
Check Installed Mods
cd my-instance
clicraft info | grep -A 20 "Installed Mods"
Verify Instance Configuration
clicraft info --verbose | grep -A 5 "Instance Information"
Check Storage Usage
clicraft info | grep -A 10 "Storage Usage"
List All Worlds
clicraft info | grep -A 20 "World Saves"
Compare Multiple Instances
clicraft info --instance ./instance1 > inst1.txt
clicraft info --instance ./instance2 > inst2.txt
diff inst1.txt inst2.txt
Pre-Launch Check
# Check everything is set up correctly
clicraft info --verbose
clicraft status
clicraft launch
๐ Interpreting Output
Mod Count
- 0-10 mods: Light modpack
- 10-50 mods: Medium modpack
- 50-100 mods: Heavy modpack
- 100+ mods: Very heavy modpack
Consider allocating more RAM for larger modpacks.
Storage Usage
- Assets: 400-800 MB is normal
- Libraries: 200-600 MB is normal
- Mods: Depends on mod count
- Saves: Grows with gameplay time
Large Saves
If world saves are large (>1 GB):
- Consider backing up
- May slow down loading
- Can be archived if not actively used
๐ก Troubleshooting with info
Missing Mods
If expected mods donโt appear:
clicraft info
# Check mod list
# Reinstall if missing
clicraft install missing-mod
Wrong Version
Check versions match:
clicraft info --verbose
# Verify Minecraft and loader versions
# Update if needed
clicraft upgrade
High Storage Usage
Identify large files:
clicraft info --verbose
# Check storage breakdown
# Clean up old worlds or logs
cd my-instance
rm -rf saves/old-world
rm -rf logs/*.log.gz
Before Reporting Issues
Always include output of:
clicraft info --verbose > instance-info.txt
๐ Directory Inspection
The info command analyzes:
instance-directory/
โโโ mcconfig.json # Configuration
โโโ mods/ # Scanned for mods
โโโ saves/ # Scanned for worlds
โโโ resourcepacks/ # Scanned for packs
โโโ assets/ # Measured for size
โโโ libraries/ # Measured for size
โโโ versions/ # Version info
โโโ logs/ # Included in "Other"
โ๏ธ Configuration Display
JVM Arguments
Shows memory allocation and other Java settings:
JVM Arguments:
-Xmx4G # Max memory: 4GB
-Xms4G # Initial memory: 4GB
-XX:+UseG1GC # Garbage collector
Java Detection
Shows which Java will be used:
Java Path: /usr/bin/java
Java Version: 21.0.1
Verify this matches your requirements.
๐ Real-Time Information
The info command shows current state:
- Installed mods right now
- Current storage usage
- Existing world saves
- Current configuration
Run clicraft info after:
- Installing/removing mods
- Playing and creating worlds
- Changing configuration
- Updating versions
โ ๏ธ Common Issues
โInstance not foundโ
Ensure youโre in an instance directory:
ls mcconfig.json
# Or specify path
clicraft info --instance ./my-instance
โCannot read modsโ
Check permissions:
ls -la mods/
chmod 644 mods/*.jar
โStorage calculation failedโ
May happen if directories are inaccessible:
ls -la
# Check directory permissions
Mods Not Showing
If mods are installed but not listed:
- Check
mods/directory exists - Verify
.jarfiles are present - Check file permissions
ls -la mods/
๐ก Pro Tips
- Regular Checks: Run
clicraft infoperiodically to monitor your instance - Before Updates: Check current state before upgrading
- Disk Space: Monitor storage usage to avoid filling up disk
- Verbose Mode: Use
--verbosefor complete details - Backup Reference: Save
clicraft info --verboseoutput before major changes - Mod Lists: Use info to create mod lists for sharing
- Performance: Large mod counts = more RAM needed
๐ Creating Mod Lists
Export your mod list:
clicraft info > modlist.txt
# Or just the mods section
clicraft info | grep -A 100 "Installed Mods" > mods.txt
Share with friends or for documentation.
๐ Automation
Use in scripts:
#!/bin/bash
# Check if instance is ready
if clicraft info --instance "$INSTANCE" | grep -q "Installed Mods"; then
echo "Instance is valid"
clicraft launch --instance "$INSTANCE"
else
echo "Instance has issues"
exit 1
fi
๐ Related Commands
clicraft create- Create the instance to inspectclicraft install- Install mods (shown in info)clicraft upgrade- Update versions (check with info)clicraft launch- Launch after verifying with info