Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 2.17 KB

README.md

File metadata and controls

63 lines (45 loc) · 2.17 KB

Webhook API

Easier way to send your Discord messages!

🔎 WHAT'S PURPOSE?

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.

🌐 START USING OUR API!

To start using this API, you must do these 3 simple steps:

  1. 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"
            ]
        }
  2. 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"
    }
  3. 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.


📢 SUPPORT

You can check here if your enviroment (server source) is supported:

Enviroment Is supported?
BDS
World
Realms