A more controlable and safer successor to the ConsoleMC mod
Find a file
J-onasJones f897d7630e Fixed Command Output Buffering
Fixed an issue where the Server would wait for the Command Process to terminate before returning the Command Output
2023-09-26 23:32:49 +02:00
.github/workflows some random github stuff 2022-12-15 21:27:31 +01:00
gradle/wrapper push for first alpha 2022-12-15 21:28:40 +01:00
src/main Fixed Command Output Buffering 2023-09-26 23:32:49 +02:00
.gitattributes Initial commit 2022-12-13 19:57:24 +01:00
.gitignore Initial mod 2022-12-15 21:28:03 +01:00
build.gradle Added lombok getters 2023-09-26 23:28:06 +02:00
gradle.properties code cleanup and respect command return type 2023-09-07 20:23:05 +02:00
gradlew bumped version number 2023-09-07 18:33:44 +02:00
gradlew.bat push for first alpha 2022-12-15 21:28:40 +01:00
LICENSE Initial commit 2022-12-13 19:57:24 +01:00
README.md removed fixed bugs from list 2023-09-12 10:29:57 +02:00
settings.gradle push for first alpha 2022-12-15 21:28:40 +01:00

BetterConsoleMC

License Discord Modrinth

About the mod

This mod allows for simple ingame command creation to allow for system command execution trough a player on the server.

This mod can be looked at as version 2.0 of ConsoleMC which while being powerful enough, has a big security flaw whe used on big and/or public servers in a way that everyone (that is OP) can run any command on the MC server's host system, giving anyone access to the entire machine and allowing for bad actions to be taken by people who shouldn't have access to it.

A detailed documentation with examples is available at this repo's wiki

Fabric/Quilt support goes back to 1.17 Pre-release 1

Forge support isn't part of any of my plans.

Warning

If used wrongly this mod can be a security risk for your server and all devices connected to the network that your server is in.

Beware that anyone who has write access to the MC server's files is able to edit the config files and therefore the commands at any time.

Use at your own risk!

Setup

  1. Download the correct version of the mod including the fabric api if you're using fabric into your mods folder.
  2. Restart Your Minecraft Server and let the mod create the config file. The webserver will be offline by default.
  3. In the config file, enable the webserver and adjust all settings if needed.
  4. Edit the command config file and add your desired commands!
  5. Restart your Minecraft server and You're good to go!

KNOWN ISSUES

  • Execution Timeout and Execution block Timeout have no effect on the command at this point
  • the console is spamed with debug messages
  • threads are not closed after a task exit