1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Discord Account Linker

Discussion in 'Requests' started by Thunder33345, Apr 25, 2018.

  1. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    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
     
    Last edited: Apr 25, 2018
  2. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    are u asking for the plugin or are u makihg it
     
  3. EdwardHamHam

    EdwardHamHam Skeleton

    Messages:
    962
    GitHub:
    edwardhamham
    This is requests, so I would assume he was asking for it.
     
    corytortoise and Thunder33345 like this.
  4. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    yes this is in request forum for a reason
     
  5. BLOCKSTORM

    BLOCKSTORM Witch

    Messages:
    67
    I would really like that bridge
     
  6. Soulstar07

    Soulstar07 Spider

    Messages:
    6
    GitHub:
    soulstarop
    I love this topic but :(
     
  7. Axon

    Axon Zombie

    Messages:
    276
    Please don't bump topics that are older than 1 year.
     
    NTT and EdwardHamHam like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.