Core Gameplay
INFO
This page explains the six core concepts of Epiphany in depth from a player's perspective. For developer-oriented field definitions, see the For Developers section.
Concept Overview
| Concept | Description |
|---|---|
| Module | An independent, self-contained skill tree unit |
| Insight | Incremental upgrade nodes within a module |
| Epiphany | A qualitative ability reward earned by completing a module |
| Path | A categorization label for epiphanies |
| Aptitude | An experience reservoir — when full, it converts into Insight Points |
| Insight Point | The "skill points" used for spending |
1. Aptitude
Aptitude is the player's experience reservoir.
1.1 Acquisition
Aptitude acquisition rules are defined by datapacks. Modpack authors can configure:
- Which behaviors reward aptitude (over a dozen built-in behaviors, including slaying, mining, entering biomes, and earning advancements)
- Whether each target grants a fixed amount or an amount chosen at random within a range
- Whether each player receives an extra reward for their first kill or first completion
- Which targets grant no reward (exclusion list)
- The gain multiplier through the player's
epiphany:aptitude_gain_multiplierattribute
Which behaviors grant aptitude, and how much they grant, depends on the datapacks in use.
1.2 Level-Up Formula
When aptitude reaches the current requirement, that amount is deducted and the player gains 1 Insight Point. Any remaining aptitude is retained. A large aptitude reward can grant multiple points at once.
For example, the first two points on the default curve cost 10 and 11 aptitude. Starting from zero, gaining 25 aptitude grants 2 Insight Points and leaves 4 aptitude.
The required aptitude is determined by the growth curve, based on the player's spent + unspent Insight Points. The default curve increases the requirement by 1 aptitude per point:
| Current Total Points | Aptitude Needed for Next Point |
|---|---|
| 0 | 10 |
| 1 | 11 |
| 2 | 12 |
| 5 | 15 |
| 10 | 20 |
Modpacks can use a segmented curve to set different requirements for each stage, with constant, linear, quadratic, exponential, and convergent functions. See Config · Growth Curve for details.
1.3 Characteristics
- Each level-up deducts only the aptitude required for that point; the remainder continues to accumulate
- Aptitude is retained on death
- Aptitude gains stop at the total Insight Point cap; excess aptitude is discarded when the cap is reached
2. Insight Points
Insight Points are the "skill points" used for spending.
2.1 Sources
| Source | Description |
|---|---|
| Aptitude bar full | Automatic +1 |
| Commands | /epiphany insight points add <player> <amount> |
| Reward chain | Certain reward types in datapacks can directly grant Insight Points |
2.2 Spending
| Scenario | Default Cost | Notes |
|---|---|---|
| Selecting a module | moduleSelectCost = 1 | Uniform across all modules; cannot be set per-module |
| Unlocking an insight | Insight JSON cost field (default 1) | Each insight can set its own cost |
2.3 Characteristics
- The total point cap is configurable by the modpack and is unlimited by default
- Retained on death
- Cannot be actively discarded or traded by the player
2.4 Total Point Cap
The cap counts spent + unspent Insight Points. With a cap of 50, a player who has spent 40 points and has 10 left has reached the cap. Spending points does not make room to earn more, and normal refunds do not change the total.
At the cap, the aptitude bar fills and displays "Maxed out", and the player stops gaining new aptitude and points. Points granted directly by commands or rewards are also subject to this cap.
Lowering the cap preserves existing points; raising it allows progression to resume. Set the cap in Growth Configuration: -1 means unlimited, and 0 prevents new points from being earned.
3. Modules
A module is an independent, self-contained skill tree unit.
3.1 Initial State
Modules have two possible initial states that determine their starting visibility and selectability:
| State | Meaning |
|---|---|
locked | Player cannot see or select it initially. If the module has a condition, it auto-unlocks when the condition is met, with a notification. If no condition is defined, it can only be unlocked via admin command / API. |
selectable | Player can see and select it from the start. These modules typically have no condition. |
3.2 Unlock Flow
3.3 Selection
- Selecting a module uniformly costs
moduleSelectCostInsight Points (default 1) - There is a cap on simultaneous selected modules:
maxSelectedModules(default 8) - Upon selection, the module's
on_select_rewardtakes effect immediately; rewards can be items, attributes, commands, effects, etc.
TIP
Module selection is a Pre-event cancellable timing point. Modpack authors can intercept via KubeJS.
3.4 Completion
When all insights within a module are unlocked, the module is automatically completed:
- Triggers
on_complete_reward(if defined) - +1 Epiphany Slot
- Post notification event
Module completion itself cannot be manually cancelled — it triggers as soon as all insights are lit. However, the Pre event allows third-party interception to leave it pending re-trigger (in which case no slot is granted, no reward is given, and the module stays incomplete).
3.5 Reset
- Players cannot undo a module selection
- Admins can use:
/epiphany module reset <player> <moduleId>— reset a single module (back to unselected)/epiphany reset select <player>— clear all selections (refund Insight Points)/epiphany reset all <player>— full reset (aptitude also cleared)
4. Insights & Insight Tree
Insights are incremental upgrade nodes within a module.
4.1 Tree Structure (depth)
A module defines its insight tree via an insights list in JSON, with each entry carrying a depth field:
depth = 0— root nodes (topmost layer)depth = N— its parent is the most recent preceding insight atdepth = N-1in the array- Multiple insights at the same depth —AND relationship: you must unlock all of them before the next layer unlocks
4.2 Unlock Prerequisites
To unlock an insight, you must simultaneously satisfy:
- The owning module is selected
- All mandatory ancestor insights at the same and shallower depths are already unlocked
- Enough Insight Points to cover the
cost
4.3 Characteristics
- Insight
costin JSON defaults to 1 and can be set independently per insight - Insight rewards tend toward quantitative: minor stat boosts, effects, items, etc.
- Unlocking is irreversible on the player side — only admin commands (
/epiphany insight reset) can undo - If an insight reward is "persistent" (e.g., attribute modifier), it is automatically reapplied after death / dimension change
5. Epiphanies
Epiphanies are qualitative ability rewards.
5.1 Unlock & Selection
- Epiphanies exist in a global pool, decoupled from specific modules
- Epiphanies also have
locked/selectableinitial states, with the same semantics as modules - Players must spend an Epiphany Slot to activate an epiphany
5.2 Epiphany Slots
| Rule | Description |
|---|---|
| Acquisition | +1 slot per completed module |
| Cap | maxEpiphanySlots (default 8) |
| Usage | 1 slot = 1 active epiphany |
| Release | Resetting an epiphany frees up its slot |
WARNING
If you complete modules beyond the slot cap, they still count as "completed" but no extra usable slots are granted. You'll need to reset old epiphanies to free up space.
5.3 Path Grouping
- An epiphany can specify a
pathfield to assign it to a Path, which is used for pagination/grouping in the UI - The relationship is one-way: Epiphany → Path; a Path does not hold a list of epiphanies
- Epiphanies without a
pathfall into the default group - Paths are purely for display and do not affect game logic
5.4 Characteristics
- Epiphany effects lean toward qualitative: new mechanics, powerful passives, rule changes
- Persistent epiphany rewards are automatically reapplied after death / dimension change
- Epiphanies cannot be individually undone by the player — only
/epiphany epiphany reset <player> <epiphanyId>works
6. Paths
A Path is a categorization label for epiphanies with no gameplay effect of its own.
- Optional: epiphanies don't have to specify one
- One-way: Epiphany → Path
- UI: epiphanies are displayed grouped by Path
- Default group: epiphanies without a
pathfield are assigned here automatically
7. Events & Notifications
7.1 Player-Visible Notifications
Epiphany sends chat messages + sound effects at the following events (temporary solution; planned to become Toasts in the future):
| Notification Toggle | When It Fires |
|---|---|
notifyInsightPoints | When Insight Points are gained (bar fill, command grant, reward grant) |
notifyModuleUnlock | When a locked module with a condition auto-unlocks. selectable modules do not notify. |
notifyEpiphanyUnlock | When a locked epiphany with a condition auto-unlocks. selectable epiphanies do not notify. |
Each notification can be toggled independently in the config.
7.2 Reward Persistence Across Death / Dimension Change
- All data (aptitude, Insight Points, module progress, epiphany choices) is retained on death
- Rewards marked as
PersistentReward(currently including attribute modifiers, effects, unlock/lock module/epiphany, etc.) are automatically reapplied on player respawn and dimension change - Instantaneous rewards (item grants, command execution, experience, particles) are not re-triggered
8. Full Lifecycle Diagram
Next Steps
- Config Reference — all adjustable parameters
- Command Reference — the
/epiphanycommand tree - For Developers — custom skill trees & extension development