testing out get calls

This commit is contained in:
iamBadgers
2025-07-12 17:27:05 -07:00
parent 01e1b63a53
commit 2d59048a5e
3 changed files with 24 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import {MODULE_ID, URI_SETTING_NAME} from "./common.js"
import {MODULE_ID, URI_SETTING_NAME, API_KEY_NAME} from "./common.js"
export function initializeSettings() {
game.settings.register(MODULE_ID, URI_SETTING_NAME, {
@@ -6,7 +6,18 @@ export function initializeSettings() {
hint: "Address of the character archive server.",
scope: "world",
config: true,
restricted: true,
default: "https://chararchive.cyberpunkrush.com",
type: String,
});
game.settings.register(MODULE_ID, API_KEY_NAME, {
name: "API Key",
hint: "API key to use when communicating with the archive server.",
scope: "world",
config: true,
restricted: true,
default: "",
type: String,
});
}