Turning the Server on and off through Discord
Hi. Does anyone know of a discord bot which can turn on and off a Minecraft server that I'm hosting on my computer. Ideally it should be spam proof. But technically all it has to do is run the bat file. Thanks
11 Replies
discordsrv console channel
thats only for turning off though
no clue how you'd start a server through discord
thank you
i just coded it myself (chat gpted it)
You can just use a bot that runs on the server host and have it listen for commands
sounds like a horrible idea if the permissions arent set up properly lol
Assuming the host uses Pterodactyl, the correct way is to just use the Pterodactyl API
Does anyone know how I can know the number of people on the server and optionally who they are
idk maybe through an API or specific console command and some weird ping of the IP
Minecraft query protocol
or a plugin which exposes a way to get this data
Though the query protocol only returns 20 random people after 20 players are on the server iirc
hmm thats a pretty big catch
Yeah, it's a sample rather than a list
okay but its not even that hard to do it
there is literally a tag for discordpy to only permit the use of certain commands to users with certain perms/roles
not tag, decorator
._.