1.7.5 came with the ability to implement your own SimpleAdmin Pro commands to interact with your own game from Discord. Here’s how you can do it with a package!
Code:
Server, Service = nil, nil
return function()
-- Server.CustomProRequest will be automatically added to the environment when you install Pro.
Server.CustomProRequest:Connect(function(Action, Target) -- You can have as many arguments as you'd like.
if Action == "kill" then
Target = Service.Players:FindFirstChild(Target)
if Target then
Target.Character.Humanoid.Health = 0
end
end
end)
end
Now, say there’s someone in-game named “Bob” that I want to kill, I would simply do…
You cannot communicate from roblox to discord and vice versa without a web server. We’re the only admin system that offers this as well. Neither Kohls nor Adonis can do this. If you’d like to further this conversation, I would love to talk to you in our Discord.
He is paying a web hosting, since http requests are being handled for Roblox communication. That’s why it is payed, maybe a free hosting service should solve, but it would not have the same security/availability. And I am almost sure it would not be possible without hosting it.
I think you might be confusing this system with Discord webhooks, which posts messages.
Since it’s a Discord bot (which requires hosting) and a Roblox game communicating with the bot via a web, Pro would definitely cost money to maintain the service so it doesn’t go down.
I made something like this on my own, I could kick ban checkban, execute lua and everything from discord. I also made a feature to do it all from a website.
What is the delay on commands running externally (like discord), surely you cant be running http requests every second as this could cause issues for the developer who may heavily rely on http requests themselfs (like saving/storing data externally.) Although 500 requests may look like its hard to hit, but it really isn’t
Typically requests get handled within a fraction of a second, nearly instant. We’ve never had reports of SimpleAdmin Pro hitting rate limits even in games where HTTP requests are frequent.
Its unreal your making this use money, you don’t even need a webserver because webhooks can send and read data anyway. (Discord should really consider removing reading data, it can be used to steal stuff.)
The UI is not that pretty either, made in like 5 minutes and I don’t really like it. I’d buy it if the UI was more pretty though.
You cannot do this with a webhook. We use long-polling on our VPS to communicate to and from Roblox. In regards to the UI, the program shown in the video is an example C# app that I used to showcase the API. We have a proprietary Discord bot along with a beautiful upcoming web panel.
If you’d like to join our Discord, I would be more than happy to give you a free trial and change your mind.
EDIT: I know I am very late but if there is a chance that any one can learn something from this then sure, why not.
That’s completely different than @crywink’s system, What you are doing here is basically listening to the .Chatted event and then sending the information to a discord webhook(That means, you are giving information to a webhook internally) . You can’t make webhooks read information from your game externally.