Mod

Screenshot Location

Quick rating

Screenshot Location

No reviews yet

This mod allows configuring the location screenshots are saved. Useful for saving screenshots from various instances in a global folder.

Mod Loaders
NeoForge
Fabric
Minecraft

Community voices

Reviews

Filter by exact patch versions
Loading exact versionsโ€ฆ
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your updated review is now pending. It has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.0.0+neoforge+26.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

About

Description

Screenshot Location

Chat with me on Discord Available on Modrinth Check out the Repository

This mod allows configuring the location screenshots are saved though a global config.
Useful for using a global screenshots directory.

By default, the config for the mod is stored in a global location outside the Minecraft instance folder. The mod only needs to be configured once, as every instance uses the same config.

Usage

Download the mod (developers see below), launch the game, join a world, run the /screenshot-location getConfigLocation command and copy the path.
Paste that path into your file explorer of choice to open the folder and then open the main.json config file in an editor.

Set enabled to true to enable the mod.
If you want, you can customize the location. You can use user directories by specifying their name like ${pictureDir} or ${homeDir}, environment variables with ${env:VARIABLE_NAME} and jvm properties with ${jvm:property.name}.
PrismMC provides the INST_NAME variable containing the instance name, which is used in the default config to separate screenshots from different instances.

After updating the config, use the /screenshot-location reloadConfig command to reload it.

Developers

First add my maven repository:

repositories {
    exclusiveContent {
        forRepository {
            maven {
                name = "OffsetMonkey538"
                url = uri("https://maven.offsetmonkey538.top/releases")
            }
        }
        filter {
            includeGroupAndSubgroups("top.offsetmonkey538")
        }
    }
}

Then depend on it like this for Fabric:

dependencies {
    // localRuntime won't be pulled in by others depending on this project.
    localRuntime("top.offsetmonkey538.screenshotlocation:screenshot-location-fabric-26.1:[VERSION]")
}

or like this for NeoForge:

configurations {
    named("runtimeClasspath") { extendsFrom(create("localRuntime")) }
}
dependencies {
    // localRuntime won't be pulled in by others depending on this project.
    localRuntime("top.offsetmonkey538.screenshotlocation:screenshot-location-neoforge-26.1:[VERSION]")
}

If you want to separate normal game launches and dev launches, you'll want to set jvm properties to overwrite the default profile:

// NeoForge
neoForge {
    runs {
        create("client") {
            ideName = "${project.name} Client"
            systemProperty("top.offsetmonkey538.screenshotlocation.profile", "dev")
            systemProperty("example.projectName", project.name) // Used as an example in the default config
            client()
        }
    }
}

// Fabric
loom {
    runs {
        named("client") {
            name = "${project.name} Client"
            runDir("run/client")
            vmArg("-Dtop.offsetmonkey538.screenshotlocation.profile=dev")
            vmArg("-Dexample.projectName=${project.name}") // Used as an example in the default config
            ideConfigGenerated(true)
        }
    }
}

JVM Properties

  • top.offsetmonkey538.screenshotlocation.profile - overrides defaultProfile from the config, useful for having different locations in for example dev and normal instances.
  • top.offsetmonkey538.screenshotlocation.configPath - overrides the config directory, could be useful for... I'm sure it could be useful for something

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Reviews
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync