Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Server-control-http is a mod/plugin that allow you to receive request from http, to send message or commands.
Setup :
There's some option to configure it. All thoses options are editables from commands except the listening port.
- server.port :
define which port the plugin/mod will be listening
- ban-list :
define a list of users that are banned from executing commands, or message
- op-players :
define a list of users that are allowed from executing the custom list of op commands
- op-required-commands :
commands that are allowed to be executed by the op-players
- banned-commands :
list of commands that are fully prohibited from execution
Exemple of request :
Send message to Minecraft chat
Url :
http://localhost:8080/SendMsg
Payload :
{
"Username": "Tibo",
"Msg": "Hello, I'm texting from another website!"
}

Send command to Minecraft chat
http://localhost:8080/ExecCmd
Payload :
{
"Username": "Tibo",
"Cmd": "give @a diamond[item_name=\"Gift from Tibo !\"] 4"
}

Note : make sure to send valid json, by putting a \ before every "
exemple :
the command
give @a copper_axe[item_name="My best pickaxe !"]
must be sent by this way
{
"Username": "Tibo",
"Cmd": "give @a copper_axe[item_name=\"My best pickaxe !\"]"
}


