Can you have a paywall on a matrix space or matrix room so users will have to pay to join spaces or rooms? Is the following functionality possible for a Matrix room/space?

  1. Private room/spaces were no one can join unless invited
  2. An API call to send a invite to a user to join a room/space
  3. An API call to allow a matrix user to join a private room/space
  4. An API call to remove (not ban) a user from a matrix space/room
  • MentalEdge
    link
    fedilink
    311 months ago

    You could use something like matrix-commander to implement this.

    Matrix servers don’t have an api where you can just make stuff happen, but you can have a user that has admin privileges in the rooms you want to control, and then have that user controlled by whatever you want.

    I use matrix-commander to have my auto-update script notify me when it updates a bridge, for example.

  • @[email protected]
    link
    fedilink
    210 months ago

    there’s nothing stopping you from doing that really, you could probably setup a bot that hooks into something like patreon or whatever and checks to see if they are subbed or whatever and invite their matrix ID to the space then kick them out of the space and rooms when their sub ends