Lumi/knowledge/plugins/economy-games.md
2026-06-25 14:10:04 +02:00

85 lines
4.7 KiB
Markdown

---
id: plugin.economy-games
title: Economy Games
scope: plugins
status: active
priority: 10
visibility: user
category: Plugin
tags: plugin, economy-games
generated: true
editable: false
updated_at: "2026-06-25T12:06:11.231Z"
---
# Economy Games
Cross-platform mini-games that use the Economy currency framework.
## Metadata
Plugin ID: economy-games
Version: 0.1.7
Default state: enabled
## Web Routes
- /plugins/economy-games
- GET /plugins/economy-games
- POST /plugins/economy-games/settings/hotpotato
- POST /plugins/economy-games/settings/coinflip
- POST /plugins/economy-games/settings/mystery
- POST /plugins/economy-games/settings/responses
## Route Reference
### MOUNT /plugins/economy-games
- Purpose: Mounts the plugin router at this base WebUI path.
- Inputs: No request parameters detected by static analysis.
- Response format: Plugin router mount point.
- Access: Access is controlled by the mount options and individual plugin routes.
- Side effects: No direct route action; child routes handle requests.
- Limits/notes: Mount metadata is inferred from static source scanning.
### GET /plugins/economy-games
- Purpose: Renders or serves the economy-games plugin page.
- Inputs: No request parameters detected by static analysis.
- Response format: HTML page rendered from an EJS view
- Access: No explicit access guard detected in the route handler; check surrounding router/mount middleware.
- Side effects: Usually read-only.
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations.
### POST /plugins/economy-games/settings/hotpotato
- Purpose: Processes the economy-games plugin action for settings hotpotato.
- Inputs: body: `hotpotato_aliases`, `hotpotato_enabled`, `hotpotato_loss_additive`, `hotpotato_loss_multiplier`, `hotpotato_max_cost`, `hotpotato_min_cost`, `hotpotato_name`, `hotpotato_platform_discord`, `hotpotato_platform_twitch`, `hotpotato_platform_youtube`, `hotpotato_presence_window`, `hotpotato_toss_max`, `hotpotato_toss_min`, `hotpotato_trigger`
- Response format: HTTP redirect after handling the request
- Access: admin access expected; logged-in session required or used
- Side effects: writes or mutates server-side state
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. Most non-API POST routes are browser form submissions and usually redirect after completion.
### POST /plugins/economy-games/settings/coinflip
- Purpose: Processes the economy-games plugin action for settings coinflip.
- Inputs: body: `coinflip_aliases`, `coinflip_cooldown`, `coinflip_enabled`, `coinflip_max_bet`, `coinflip_min_bet`, `coinflip_multiplier`, `coinflip_name`, `coinflip_platform_discord`, `coinflip_platform_twitch`, `coinflip_platform_youtube`, `coinflip_trigger`
- Response format: HTTP redirect after handling the request
- Access: admin access expected; logged-in session required or used
- Side effects: writes or mutates server-side state
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. Most non-API POST routes are browser form submissions and usually redirect after completion.
### POST /plugins/economy-games/settings/mystery
- Purpose: Processes the economy-games plugin action for settings mystery.
- Inputs: body: `mystery_aliases`, `mystery_cooldown`, `mystery_enabled`, `mystery_max_bet`, `mystery_min_bet`, `mystery_multiplier`, `mystery_name`, `mystery_platform_discord`, `mystery_platform_twitch`, `mystery_platform_youtube`, `mystery_trigger`
- Response format: HTTP redirect after handling the request
- Access: admin access expected; logged-in session required or used
- Side effects: writes or mutates server-side state
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. Most non-API POST routes are browser form submissions and usually redirect after completion.
### POST /plugins/economy-games/settings/responses
- Purpose: Processes the economy-games plugin action for settings responses.
- Inputs: body: full submitted body is passed to a helper; exact fields are defined by the matching form/service
- Response format: HTTP redirect after handling the request
- Access: admin access expected; logged-in session required or used
- Side effects: writes or mutates server-side state
- Limits/notes: Generated from static route source analysis; confirm exact behavior in the handler before changing integrations. Most non-API POST routes are browser form submissions and usually redirect after completion.
## Commands
- No plugin command triggers detected.
## Source
Plugin folder: plugins/economy-games