INFINITYCORE FRAMEWORK
  • Getting started Infinity Core
  • INTRODUCTION
    • Framework FAQ
    • The World Map
    • Onesync & Txadmin
    • Chat/Vocal & Discord
    • Multi-Characters
    • Moonshiners DLC Remake
    • Performances
    • Zombies Population (add-on)
  • Roleplay Functions
    • Player commands
    • Admin commands
  • Global Functions
    • Player Datas
    • Notifications
    • Economy & jobs
    • Inventory
    • Levels & XP (RPG)
    • Functions Core
    • Permissions
    • Discord Sync API
    • DEBUG TOOLS
  • CORE TEAM & CREDITS
    • Official Team
    • Credits
Powered by GitBook
On this page
  1. Global Functions

Discord Sync API

Configure your Discord APP + Discord Server

The INFINITYCORE framework uses the Discord API to receive real-time player presence in rich presence on your Discord or on a third-party Discord.

It also allows you to detect the role used on your Discord server in addition to the game server, so you can link a specific role with your server (e.g. admin, VIP, member, police officer, etc.).

This feature also allows for granting special permissions in the game, as well as being able to speak in OOC with your Discord role tag!

Webhooks are also available to transmit real-time chat on your Discord.

Example:

    RoleList = { 
        {0,  "🤠^0Player |^0"},
        {1028727011985854525,  "â­•^1CoreTeam |^0"},
        {1041442964381126737,  "â­•^1CoreDev  |^0"},
    },
PreviousPermissionsNextDEBUG TOOLS

Last updated 1 month ago