ModsFinder

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.

FabricForgeClient and serverGNU Lesser General Public License v2.1 onlyOpen source1.18.2 – 1.20.1

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

  1. Custom triggers in scripts

    A script defined in the startup event can register a new trigger that advancements then reference.

  2. Break and touch triggers

    The blockDestroyed trigger fires when a player breaks a block, and playerTouch fires when a player touches an entity.

  3. 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.

  4. Custom rewards

    Scripts can define custom rewards that are granted when an advancement completes.

  5. Built-in examples

    The /advjs command generates example scripts that show how triggers and rewards are written.

Compatibility

Latest build for each game version and loader.

1.20.12001fabric-2.9.42001forge-2.9.4
1.19.21902fabric-2.6.01902forge-2.6.0
1.18.21802fabric-1.6.11802forge-1.9.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

KubeJSEdit recipes, add new custom items, script world events, all in JavaScript!
Required

Optional 1

Better AdvancementsBetter Advancements tries to improve the UI and UX for the advancements system in minecraft 1.12+ in a modded environment
Optional

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Advancement JSFabric and Forge1.18.2 – 1.20.1Client and server2024-05-14
AdvancementSyncFabric and Forge1.16.5 – 1.20.4Server-side only2024-03-21
KubeVSFabric and Forge1.18.2 – 1.20.1Client or server, optional2025-12-25
Advancement TweakerFabric and Forge1.18.2 – 1.20.2Server-side only2024-12-05

Questions

Does Advancement JS need KubeJS?

Yes. KubeJS is a required dependency, and the scripts that define triggers and rewards run through it.

Must Advancement JS be installed on the client?

Every player and the server need a copy of the mod.

Which game versions does Advancement JS support?

Files exist for 1.18.2, 1.19.2 and 1.20.1. The latest file is 2001fabric-2.9.4 for 1.20.1.

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

All projects

Similar mods

Official listing

Owner
westernat233
Published
2023-12-28
Updated on Modrinth
2024-05-14
Facts verified
2026-10-15

Tags