Webhook API is a API created to send your webhooks to Discord channel easier than before. It provides you classes, interfaces and even more to have full control of messages.
You can visit our documentation by clicking it right there.
To start using this API, you must do these 3 simple steps:
-
Check your BDS (Bedrock Dedicated Server) configuration file (
config/default/permissions.json
) and add the@minecraft/server-net
module if it's not present. Your configuration file should look like this:{ "allowed_modules": [ // other @minecraft/* modules "@minecraft/server-net" ] }
-
Push
@minecraft/server-net
module to your pack's manifest, by pasting this inside your dependencies in manifest:{ // You can remove comments, if they're causing warning in your IDE. // Name of required module. "module_name": "@minecraft/server-net", // Version of a module. "version": "1.0.0-beta" }
-
Check if your world has experimental scripting API's enabled. It's really important part.
If you did everything right, you should be able to start using our API and send fancy messages to your server! Just paste
api
folder into your scripts! Detailed tutorials you can find on the bottom of README.
Tip
If you're troubling some problems with installation, contact me directly on Discord: @m0lc14kk
Important
Check our documentation and examples, to simplify process of learning usage of API.
You can check here if your enviroment (server source) is supported:
Enviroment | Is supported? |
---|---|
BDS | ✅ |
World | ❌ |
Realms | ❌ |