Bibliothèques

liste des bibliothèques s&box

Discord API

mbk.discord_api

No summary provided.

À propos

Discord API

https://github.com/Mbk10201/-SBOX-Discord-API-/

Supported broadcasting services

- Websocket
- Client websocket

Résumé

This library has been made to manage / announce your server
informations to a discord server and vice versa.

Installation (package referencing)

First of all you have to add the library reference to your gamemode
- S&Box editor →
- Right click on your gamemode →
- Project Settings →
- Packages →
- Click on + and enter (mbk.discord_api) without ```( )``

Whitelist of URI'S

Now we need to add the api uri's to the whitelist of your gamemode
- S&Box editor →
- Right click on your gamemode →
- Project Settings →
- Http →
- Click on + and enter (https://discord.com/api/) also (wss://gateway.discord.gg/) without the ```( )```

Configuration (In-Game)

And finally
- Open the UI in the game →
- Go to Token page and set up your token →
- If you want to use the webhook service instead, go to the event page and configure them by your taste.

Informations

There is already by default game events hooked such as Client Connect & Client Left.

Everything is customisable the UI Settings by pressing 'Slot9' key.

This library is still in massive development so if you encounter any problems, you are free to make a issue.

01
Vignette de Admin
Admin mbk.admin

No summary provided.

+0 24 h
4favoris
3votes positifs
53%Terry Score
02
Vignette de Vehicles
Vehicles mbk.vehicles

WIP, on big development

+0 24 h
4favoris
3votes positifs
53%Terry Score
03
Vignette de Roleplay API
Roleplay API mbk.roleplay_api

No summary provided.

+0 24 h
3favoris
4votes positifs
60%Terry Score
06
Vignette de Taiga UI
Taiga UI mbk.taiga_ui

No summary provided.

+0 24 h
1favoris
2votes positifs
43%Terry Score