the setup will come in two component, a discord bot and a server plugin, optionally web support high level overview it will allow in game users to link to their discord account which consist of sending a command in MCPE/discord bot's PM and verifying on the other side example: steve used `/link SteveMc#6969` which the plugin will generate a auth phrase and tell the discord bot the plugin will tell steve to PM the bot !linkauth 133769(assume it's a code) once steve PMed the bot, the bot will tell the plugin that it's successfully linked, and will fire a link success event(for the Plugin) and do something same on the bot's side so both sides can be integrated say the bot will ask the plugin for a list of roles it has(or role if you used Pureperms because it cant have more then one role) and then add the relevant roles bindings onto steve's discord this will allow servers to make it easier to reward them off the MCPE server, and integrations can allow devs and server owner to make their own actions Low level: there's the plugin and the bot, ideally they both will be hosted on the same system using localhost ports, and reading off the same links file to eliminate the need for MYSQL or somehow picking between plugin or bot as master and one as slave who will read the data and sync with the mater or more complicated method of timestamping all links and try to perform a git merge style between plugin and bot ideally both will be able to be selfhosted, and not really be expected for public uses(like a public rank assign bot) the integration is not decided as it's very confusing when both parts the bot and the plugin cant communicate efficiently when it's outside of it's prescribed duty say: to add some unique role onto someone after linking from the plugin api side, or to ban someone after they are linked since the connection api is only capable of predescribed duties