This looks like basic communication between discord and roblox, you are using loadstring to allow scripts to be added into the game, this is just plain risky.
As for the admin operation side of things its still controlled via game manually typing commands. Ideally you would want to cut it down so you only have to enter a players name, from there you make options appear like ban them and the other thing you can do is get the server the player is in and join them.
You need to think outside the box, for example when i made my ‘Third eye’ admin gui it had the capabilities to take a capture of the area around the player and display it on my screen. Not only that but the last 100 messages in game chat get sent along with all players that have joined that server, and the target players friends, groups account age ect. Not only that it also allows access to the players datastores so i can correct any data or even check for things out of place.
You are able to communicate with servers with http so you can easily pull all kinds of things.
I’m not using loadstring, I’m using a Lua VM. I did this using only GET requests. For discord code execution, the bot writes the code to a database then every 2 seconds the Lua script asks an expressjs server to retrieve code from the database. Basically the same thing for all other discord commands. Changing stuff from the game only goes 1-way via asking the expressjs server to write to a database. And what do you mean by displaying the area around the player? You send an image of the area around the player to a discord server or you can view it from the game? Datastores are also inefficient as data loss and datastores going down are a problem. I’m using a google database, so that will probably not go down any time soon. And if you think spamming chat or textboxes is a problem (as i have textbox and chat logs) it won’t be a problem as i have a command called $ratelimit which limits the amount of requests sent to my webhook. And what do you mean by cutting down to enter player names and make options appear.
And not only via Discord, a website too, and I can also execute Lua from Discord. A webserver would have to return a value to a Lua script which is what I’m doing.
Not at all, I’m using google firebase and I can just type $ban playername inf reason in Discord and they will be banned in every server that they are in currently.
Probably not because it requires you to have a discord server, express server, a database, Lua scripts, and a bunch of requirements. And I also don’t really like my things open-sourced, but I’m sure somebody will release something just like this someday!
dude this is so cool i have never seen like that in my life
may be you can make a game in roblox which can be played on discord using commands like u use for dankmemer
I mean it would be possible but the problem is every packet would be sent every like 450 requests per minute aka 1 request every 0.125 seconds. Meaning that the average player would have a ping of 150. And some people in Roblox have pings of like 220 so that means pings of 250 for bad connections. I mean it would be playable but competitive wouldn’t be so good.
As for getting the area around the player what I do is I turn the area around the player into text like a basic part saver. I use palls to retrieve all the properties and this is then combined, this text can then loaded. Saving this way is very quick which means I could even take multiple captures over the course of a few seconds to basically spectate the player from another server. This isn’t exactly compatible with discord though, you could save and retrieve the data from discord but you would have to be in game to load all the parts.
You are using webhooks so if the players account is linked to their discord account in the database you can call the players name and have the bot respond. You can then react with emojis and the bot can detect that.