A simple bot for sending commands to a Minecraft server via RCON through the VK platform.
- Sends RCON commands to a server directly from VK messages.
- Easy setup and configuration.
- Lightweight and simple to use.
- Multilingual support: The bot supports multiple languages, with easy customization of all messages.
- Command prefix: Ability to specify a custom prefix for commands.
- Quick commands: Add predefined quick commands for frequent actions.
- Command blocking: Option to block specific unwanted commands from being executed.
- Download the latest release of the bot.
- Run the following command to start the bot:
java -jar VkRconBot-<Version>.jar
After the first run of the bot, a configuration file config.yml will be generated. You will need to edit this file before the bot can function properly.
# Available languages: eng (English), rus (Русский)
language: "rus"
# VK settings
vk:
groupId: 123 # VK group Id
accessToken: "token" # VK group token
# RCON settings
rcon:
host: "localhost" # RCON address
port: 19132 # RCON port
password: "password" # RCON password
# Command settings
commands:
# A character before the command to send the command. For example '/'.
# Leave blank if not required.
prefix: '/'
# Fast commands
# (Displayed when “Start”, “Rcon” is entered)
fast-commands: ["ver", "status", "stop"]
# Blocked commands
blocked-commands: ["stop"]
To build the project from source:
- Clone the repository:
git clone https://github.com/MEFRREEX/Vk-Rcon-Bot.git
- Navigate to the project directory:
cd Vk-Rcon-Bot
- Build the JAR file using Gradle:
gradle build
The project uses the following libraries:
- Vk-Java-Sdk - for VK API integration.
- Configuration - for managing configuration files.