CurseForge · Minecraft mod
WhatsUp
Allows datapacks to query external APIs and run functions based on the result
Quick answer
Which WhatsUp release matches 1.19.4 Forge?
WhatsUp [Forge] v1.0.0 targets 1.19.4 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 2 required mods have matching files.
Where it goes
Is WhatsUp required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does WhatsUp [Forge] v1.0.0 need?
WhatsUp [Forge] v1.0.0 on 1.19.4 Forge. Every mod below is checked against that same setup.
Install GroovyModLoader (GML), GroovyModLoader (GML) first. We found matching files for this game-version and loader setup.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add WhatsUp without breaking your instance.
Built for WhatsUp [Forge] v1.0.0 on 1.19.4 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use WhatsUp [Forge] v1.0.0. It targets 1.19.4 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install GroovyModLoader (GML), GroovyModLoader (GML) first. We found matching files for this game-version and loader setup.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside WhatsUp [Forge] v1.0.0. It opens that exact file at the source.
About this project
What does WhatsUp add?
WhatsUp
Quilt version requires: QSL and GroovyDuvet
Forge version requires: GML
WhatsUp is a tool for datapacks that allows servers to query a provided web endpoint at a given frequency, and execute functions (the normal .mcfunction type) based on the results returned by that endpoint.
WhatsUp defines both listeners and predicates. listeners are defined at data/[namespace]/whatsup/listeners/[name].json, and take the following structure:
endpoint- The URL to be queried by the listenerfrequency- An integer representing how many seconds should pass between queries of the endpointactions- A list of actions to do based on the returned result of the endpoint. Each takes the following form:predicate- The resource location of a predicate to check against the endpoint's resultfunction- The resource location of a function to execute if the predicate passeslevels- (Optional; defaults to["overworld"]) A list of dimensions to run the provided function inthen- (Optional) a list of locations of other listeners to chain after this listenerstorage- (Optional) a map of property names to resource locations specifying command data storage that the predicate has access to
Predicates are stored at data/[namespace]/whatsup/predicates/[name].groovy, and are groovy scripts. The groovy environment the predicates run in has access to the context variable, which has the following properties:
text- The unprocessed response textjson- The a Map of the response parsed as JSON, ornullif the response is not a JSON objectstorage- Contains a property for every command data storage specified in the action; data storages can be queried and mutated.
This context object is also available as the delegate of the script, so a leading context. to access these properties is optional.
An example datapack can be found on the GitHub releases.
The mod also provides the /whatsup command for easily testing datapacks; this can be used to run any listener immediately.
Project description from CurseForge.
Pick your setup
WhatsUp by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.20.1
2 loader builds1.19.4
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
WhatsUp versions and loaders
WhatsUp [Forge] v1.0.0
whatsup-forge-1.19.4-1.0.0.jar
19 Jun 2023
WhatsUp [Forge] v0.1.2
whatsup-forge-1.19.4-0.1.2.jar
17 Jun 2023
WhatsUp [Forge] v0.1.1
whatsup-forge-1.19.4-0.1.1.jar
17 Jun 2023
0.1.0
whatsup-forge-1.19.4-0.1.0.jar
17 Jun 2023
WhatsUp [Forge] v0.1.0
whatsup-forge-1.19.4-0.1.0.jar
17 Jun 2023
Looking for an older file? The official CurseForge project page is in Resources.