Giter Site home page Giter Site logo

althalusavan / twitchmc Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 2.17 MB

The easy way to create a sub-only Minecraft server

Home Page: https://twitchmc.io

License: GNU General Public License v3.0

Java 30.53% JavaScript 2.10% TypeScript 67.25% CSS 0.11%
minecraft minecraft-plugin minecraft-server twitch

twitchmc's People

Contributors

althalusavan avatar dependabot[bot] avatar hedgehog1029 avatar janpio avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

twitchmc's Issues

User Caching

In order to minimize API calls, create a user cache within the plugin. Users are saved for 24 hours - during this period, they can connect without the plugin reaching out to the API again.

Create a secondary cache in the API, keeping track of users in more detail - we'll also need this if we're going to implment a grace period (#5)

Ideally in future we'd like to be able to pull a "remaining sub duration" from Twitch, but we may be able to find a workaround for this by counting forward from the sub start date.

Configurable grace period for users whose subs have ended

This feature would be useful, but is tricky to implement. There's no indication in the Twitch API Route we currently use of how long a sub has been active or inactive. In order to implement this we'd need to do a regular list update of all subs using a different endpoint and place expired users in the grace period. This is doable, but not sure if it's actually useful.

Account unlinking

Need to consider how this works.

We want users to be able to correct mistakes or change to a new account.

We may also want users to be able to connect a separate Bedrock account for multi-platform servers.

However, we don't want this to be abusable.

Welcome to any input.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.