/AutoStreamingAssistant

A Minecraft Fabric Automated Live Streaming Assistant Mod.

Primary LanguageJavaOtherNOASSERTION

AutoStreamingAssistant

A Minecraft Fabric Automated Live Streaming Assistant Mod.

中文版

Mod Functions:

  • Automatic full screen when starting a game
  • Specify the monitor on which to display the game window
  • Keep window full screen
  • Keep window maximized
  • Disable mouse lock

Get window name:

Game:

Run command in game:

/autostreamingassistant listmonitor

Linux:

Run this command in terminal:

shell$ xrandr -q

Screen 0: minimum 8 x 8, current 1024 x 768, maximum 16384 x 16384
VGA-0 connected primary 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
...

The name of the screen is VGA-0.

Other OS:

Run this code in java

PointerBuffer buffer = GLFW.glfwGetMonitors();

for (int i = 0; i < buffer.capacity(); i++) {
    long pointer = buffer.get(i);
    String name = GLFW.glfwGetMonitorName(pointer1);
    
    log.info("Monitor #" + i + " Name: " + name);
}

Config:

The config file is located in .minecraft/config/autostreamingassistant.json.

{
    "autoFullScreen": true,
    "fullScreenMonitorName": "Generic PnP Monitor",
    "keepMaximizing": true,
    "keepFullScreen": true,
    "disableMouseLock": true
}

Or you can use the mod's config screen to change the config.

System Quirks:

Linux Mint:

Because Cinnamon handles window minimization differently than other desktop environments, on Linux Mint it is not possible to prevent manual minimization by the user, only automatic minimization by Cinnamon.

Precautions:

  • This Mod depends on Fabric API, Cloth-Conf
  • This Mod has only been tested on Minecraft 1.20.2 version, other versions have not been tested

License:

This project uses GPLv3 license, please refer to LICENSE file for details.


Support me and buy me a coffee!

afdian