jagrosh / jagrosh/MusicBot

[Feature Request] Allow users to set a custom 'serversettings.json' path

Open
#778 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
5.8k
Forks
2.8k
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
At this moment, I believe there is no way to set a custom path for the `serversettings.json`
For the `config.txt` this is possible by adding `-Dconfig` to the command line, but for `serversettings.json` this is not possible.

**Describe the solution you'd like**
I would like to see a new command line argument called `-Dserversettings` which can point to a location where the `serversettings.json` should be saved, similar to `-Dconfig` which points to the `config.txt`

**Describe the basic flow/steps of using this feature**
How this feature would be used:
1. Users will obtain the ability to set a custom `serversettings.json` path using -Dserversettings

**Additional context**
none

**Please check the following links to confirm that your feature has not already been requested:**
https://github.com/jagrosh/MusicBot/labels/enhancement
https://github.com/jagrosh/MusicBot/wiki/Things-That-Won%27t-Be-Added

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating how the existing -Dconfig argument selects config.txt and where serversettings.json is currently resolved or saved. Trace those entry points, then verify that -Dserversettings selects the requested path without changing the existing default behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.