Home›Java›Mods›:: CommandMySQL ::
:: CommandMySQL ::
ModsJava

:: CommandMySQL ::

Java mod listed for Minecraft 1.12–1.17. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
CommandMySQL is a plugin for sending console commands from MySQL database!

- You can specify multiple servers, as well as BungeeCord, where there is no RCON server.
- Also you can add command execution when the player is on the server or logged in.



Example MySQL:
Code (Text):
INSERT INTO `run_commands` (`command_id`, `command_status`, `command_server`, `command_player`, `command_command`) VALUES (NULL, '1', 'global', NULL, 'say hi!');

Example MySQL with player:
Code (Text):
INSERT INTO `run_commands` (`command_id`, `command_status`, `command_server`, `command_player`, `command_command`) VALUES (NULL, '1', 'global', 'player', 'msg Hello player!');


- command_id: AUTO_INCREMENT MySQL
- command_status: 1 - enable run command, 0 - disable
- command_server: server name execute command
- command_player: player nickname execute command on logged server
- command_command: the command that runs on the server



Config file:
Code (YAML):
server : "global"

storage_mysql
:
  hostname
: "hostname"
  username
: "username"
  password
: "password"
  database
: "database"
  port
: "3306"

  table_commands
: "run_commands"
  column_commands
:
    id
: "command_id"
    status
: "command_status"
    server
: "command_server"
    player
: "command_player"
    command
: "command_command"


Preview video:

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

:: CommandMySQL :: is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13, 1.14, 1.15 and newer. Downloaded 76 times (via Spigot). Download it and open it directly in the game.

Explore more