Skip to content
Beta: this is a preview of the new SplitScreen.Me. Data may be reset before launch.

Minecraft · handler “Minecraft: Java Edition”

Version 9

Release notes

Scroll wheel fix

Released
Size
1.3 KB
Downloads
1,017
Check
Verified
SHA-256
6c523a789b3a391ff8b9d659c2169fafb922d985122247b87ea56455fdffa90a
Download v9 (.nc)All versions

Files 1

PathSize
handler.js2.8 KB

handler.js

Plain text
Hub.Handler.Version = 9; // Released at https://hub.splitscreen.me/ on Sun Mar 21 2021 07:53:25 GMT+0000 (UTC).
Hub.Handler.Id = "QC7TTYjjZzaQ6Y6Nw";
Hub.Maintainer.Name = "Talos91";
Hub.Maintainer.Id = "eeL7HAz8zJovChWw4";

Game.NeedsSteamEmulation = false;
Game.HandlerInterval = 100;
Game.SymlinkExe = false;
Game.SymlinkGame = false;
Game.ExecutableName = "MultiMC.exe";
Game.SteamID = "13";
Game.GUID = "Minecraft Java Edition - MultiMC";
Game.GameName = "Minecraft Java Edition - MultiMC";
Game.MaxPlayers = 16;
Game.MaxPlayersOneMonitor = 16;
Game.HideTaskbar = true;
Game.NotTopMost = true;
Game.Hook.ForceFocus = false;
Game.Hook.ForceFocusWindowName = "Minecraft";
Game.HasDynamicWindowTitle = true;
Game.FakeFocus = true;
Game.HookFocus = true;
Game.PreventGameFocus = true;
Game.RefreshWindowAfterStart = true;
Game.Hook.DInputEnabled = false;
Game.Hook.XInputEnabled = true;
Game.Hook.XInputReroute = false;
Game.Hook.CustomDllEnabled = false;
Game.Description =
  "Java version only. If you use keyboards and mice after the instances open press the END key to lock the input for all instances to have their own cursor. Press the END key again to unlock the input. You can also use CTRL+Q to close Nucleus and all its instances. If you are going to use controllers you need to have Forge installed and the Controllable mod.";
Game.ForceProcessPick = true;
Game.PauseBetweenProcessGrab = 25;
Game.PauseBetweenStarts = 30;

Game.SupportsMultipleKeyboardsAndMice = true;

Game.HookSetCursorPos = true;
Game.HookGetCursorPos = true;
Game.HookGetKeyState = true;
Game.HookGetAsyncKeyState = true;
Game.HookGetKeyboardState = false;
Game.HookFilterRawInput = true;
Game.HookFilterMouseMessages = false;
Game.HookUseLegacyInput = false;
Game.HookDontUpdateLegacyInMouseMsg = false;
Game.HookMouseVisibility = false;

Game.SendNormalMouseInput = true;
Game.SendNormalKeyboardInput = true;
Game.SendScrollWheel = true;
Game.ForwardRawKeyboardInput = false;
Game.ForwardRawMouseInput = false;
Game.HookReRegisterRawInput = true;
Game.HookReRegisterRawInputMouse = true;
Game.HookReRegisterRawInputKeyboard = false;
Game.DrawFakeMouseCursor = true;
Game.LockInputAtStart = false;
Game.LockInputToggleKey = 0x23;

Game.Play = function() {
  /*if (Context.PlayerID == 0) {

  var username = System.Environment.UserName;

  if (System.IO.File.Exists("C:\\Users\\" + username + "\\AppData\\Roaming\\.minecraft\\options.txt")) {

  var txtPath = "C:\\Users\\" + username + "\\AppData\\Roaming\\.minecraft\\options.txt";
  var dict = [               
  Context.FindLineNumberInTextFile(txtPath, "fullscreen:", Nucleus.SearchType.StartsWith) + "|fullscreen:false" 
  ];
  Context.ReplaceLinesInTextFile(txtPath, dict);

  } 
  }*/

  if (Context.HasKeyboardPlayer !== true) {
    Game.SupportsMultipleKeyboardsAndMice = false;
  }
};