A more controlable and safer successor to the ConsoleMC mod
Find a file
Jonas_Jones 311346f047 push
2023-08-07 20:59:09 +02:00
.github/workflows some random github stuff 2022-12-15 21:27:31 +01:00
.ideauwu push 2023-08-07 20:59:09 +02:00
gradle/wrapper push for first alpha 2022-12-15 21:28:40 +01:00
src/main code cleanup 2022-12-15 23:23:40 +01: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 push for first alpha 2022-12-15 21:28:40 +01:00
gradle.properties removed debug code and bumped up version number 2022-12-15 23:16:52 +01:00
gradlew push for first alpha 2022-12-15 21:28:40 +01: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 fixed mod badges 2023-04-21 00:14:56 +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

  • It is only possible to define a single command at this point - subject to change once I figure out how to do things
  • Execution Timeout and Execution block Timeout have no effect on the command at this point.
  • The command mode has no effect on the command feedback itself. in any case, the output will be sent in chat
  • the console is spamed with debug messages
  • threads are not closed after a task exits
  • and many more....