Advancement JS
by westernat233
With Advancement JS, server owners can configure triggers and rewards for advancements through KubeJS scripts instead of editing datapacks by hand.
What it does
Advancement JS is a KubeJS addon for Minecraft Java Edition. It exposes a startup event, AdvJSEvents.trigger, where a script defines custom advancement triggers, and it adds custom rewards that scripts can attach to an advancement. The mod requires KubeJS, and Better Advancements is an optional dependency. Advancement JS runs on the client and the server, so both sides need it. Files are published for Fabric and Forge, and the latest file, 2001fabric-2.9.4 for 1.20.1 released on 2024-05-14, is the same build line on both loaders.
The mod is open source under the GNU Lesser General Public License v2.1 only, and its source code, issue tracker and wiki are public. Game versions with files are 1.18.2, 1.19.2 and 1.20.1. The mod was first published on 2023-12-28. Running the /advjs command generates built-in examples, which serve as a starting point for writing scripts.
Key features
Custom triggers in scripts
A script defined in the startup event can register a new trigger that advancements then reference.
Break and touch triggers
The blockDestroyed trigger fires when a player breaks a block, and playerTouch fires when a player touches an entity.
Boss fight and kill triggers
The bossEvent trigger fires when a player joins a boss fight, and increasedKillScore fires when a player kills an entity.
Custom rewards
Scripts can define custom rewards that are granted when an advancement completes.
Built-in examples
The /advjs command generates example scripts that show how triggers and rewards are written.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Optional 1
Use cases
Modpack scripting
Pack makers who already use KubeJS can add advancement logic in the same scripts.
Custom progression
Servers can tie advancements to specific block breaks, boss fights or kills.
Who it’s for: Server owners and modpack authors who already run KubeJS and want to extend advancements with scripted triggers and rewards.
How it compares
AdvancementSync is server-side only, uses All rights reserved and is not open source, with files for 1.16.5 – 1.20.4. KubeVS runs client or server with the Apache License 2.0 and is open source, with files for 1.18.2 – 1.20.1, the same range as this mod. Advancement Tweaker is server-side only, All rights reserved and not open source, for 1.18.2 – 1.20.2.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Advancement JS | Fabric and Forge | 1.18.2 – 1.20.1 | Client and server | 2024-05-14 |
| AdvancementSync | Fabric and Forge | 1.16.5 – 1.20.4 | Server-side only | 2024-03-21 |
| KubeVS | Fabric and Forge | 1.18.2 – 1.20.1 | Client or server, optional | 2025-12-25 |
| Advancement Tweaker | Fabric and Forge | 1.18.2 – 1.20.2 | Server-side only | 2024-12-05 |
Questions
Does Advancement JS need KubeJS?
Must Advancement JS be installed on the client?
Which game versions does Advancement JS support?
In the catalog
Advancement JS is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from westernat233
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/advancementjs
- Owner
- westernat233
- Published
- 2023-12-28
- Updated on Modrinth
- 2024-05-14
- Facts verified
- 2026-10-15
