}
+// Examples:
+{ id: 123, label: Entity.IDS.ASTEROID }
+{ id: 456, label: Entity.IDS.BUILDING }
+{ id: 789, label: Entity.IDS.CREW }
+```
+
+This pattern is used across hooks, action managers, API calls, and cache keys.
+
+---
+
+## Development
+
+```bash
+npm start # Dev server (react-app-rewired)
+npm run build # Production build + server bundle
+npm run analyze # Bundle size analysis
+```
+
+Environment config is selected via `REACT_APP_CONFIG_ENV` (falls back to `NODE_ENV`). See `appConfig/` for available settings per environment.
diff --git a/README.md b/README.md
index 863412e2..015570f7 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,13 @@
The browser game client for Influence.
+## License
+This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0).
+Commercial use is not permitted without a separate license from Unstoppable Games, Inc.
+
+For the avoidance of doubt:
+The licensor considers non-commercial use under this license to include deployments or uses that collect funds solely to recover the reasonable costs of operating, maintaining, or administering the software, provided that such use is not primarily intended for or directed toward commercial advantage or monetary compensation, and that no profit is distributed to operators, contributors, or participants.
+
## Test Environment
1. Initialize your .env file:
```
@@ -12,7 +19,7 @@ The browser game client for Influence.
REACT_APP_CONFIG_ENV=prerelease
REACT_APP_APP_VERBOSELOGS=1" > .env
```
-1. Adjust or fill in any missing .env variables as needed. Most values are preset in
+1. Adjust or fill in any missing .env variables as needed. Most values are preset in
`src/appConfig/prerelease.json`. However, if you need to overwrite any of these presets,
you can do so in your local env file by following the instructions in `src/appConfig/index.js`
- For example, adding these settings may make development less cumbersome:
diff --git a/package-lock.json b/package-lock.json
index 679fafdf..8c9b78fe 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7,6 +7,7 @@
"": {
"name": "influence-client",
"version": "1.0.0",
+ "license": "CC-BY-NC-4.0",
"hasInstallScript": true,
"dependencies": {
"@argent/x-sessions": "^6.7.4",
diff --git a/package.json b/package.json
index e69e35dc..80dd79ce 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,8 @@
{
"name": "influence-client",
"version": "1.0.0",
+ "author": "Unstoppable Games, Inc.",
+ "license": "CC-BY-NC-4.0",
"private": true,
"engines": {
"node": "20.x"
diff --git a/src/ErrorBoundary.js b/src/ErrorBoundary.js
index 6e12f758..30cdc66d 100644
--- a/src/ErrorBoundary.js
+++ b/src/ErrorBoundary.js
@@ -141,7 +141,7 @@ class ErrorBoundary extends Component {
This Hopper's Gone Rogue...
Influence has experienced an unexpected error.
- Please report the error in Discord by copying the error log below and then pasting it in the #bug-report channel.
+ Please report the error in Discord by copying the error log below and then pasting it in the #support channel.
You can then refresh the tab to try again. If the problem persists, click "Reload State" below