At a bare minimum you would implement what is called long polling in your Roblox game. Essentially what this does is your game will, in a loop, constantly call to your webserver waiting for a response. In long polling your webserver is expected to not respond to the request and let it timeout if there is nothing to respond with.
Anything you submit on your admin panel should then check for any requests waiting from the long poll and give them a response.
Trello isn’t really used so much as an admin panel, rather it’s used as a database for storing permissions tables outside of the script so that the owner and other users may change admins or add bans or whatever without updating the actual game.
It’s worth noting that Trello isn’t meant to be used as a database, so using it to store external lists like that is not proper use of the product. Trello also becomes very slow once you start adding a mass of cards… iirc the speed is O(n^2) (which is terrible - most databases are O(log n)).
That’s the same concept I described. It’s not really “Trello admin”, rather than it is storing tables outside of the engine and pulling them in via a GET request so that the game doesn’t need to be updated in order to update various admin configurations.
It’s convenient and you as the user are deciding how you use that product, however that is not the intended use of Trello.
You might, but others may not. That’s why I said it, for the sake of clarification. Remember that others also read these threads, discussion isn’t just between us.
Subtle reminder about adding empty replies to threads that don’t contribute to discussion - please try to remain on discussion.
@Deferend From my experience, by far one of the most popular languages for setting up web servers is Node.js. I’m personally taking a dive into it as well.
Just to be clear when you say web-game: do you mean web to game explicitly, game to web or both? For the former, you’d have to perform some kind of polling on your server since you can’t send requests to Roblox servers directly.
If I were to make an admin panel for my game, I’d totally go for Node.js, As well as long polling which @NovusTheory mentioned. Likely though I’d go for express. Express is lovely. That and socket.io which is irrelevant to this post but I couldn’t help but plug it.
Now that I mentioned it I wonder if using Electron in combination would allow me to make an application that opens up the admin panel. The possibilities are endless really. The more disappointing part of all of this is that the implementation could be much easier had we the ability to send data through web hooks / web socket to our servers.
As everyone else said, I’d recommend against using Trello… for anything Roblox related other than project management. For more than obvious reasons.
You can absolutely store bans off-site. I probably wouldn’t recommend doing calls each time they join. But honestly I wouldn’t recommend doing a full load of all bans when a server start either.
You’re probably right about doing the check when a person join. I mean there’s a physical limitation to how many times they can join in a matter of minutes. I might be overthinking it. My first priority when building an API is to prevent all the ways it can be abused because those calls can add up to be expensive.
Though depending on how you’ll be hosting your admin panel you should be fine.