I hereby claim:
- I am phit on github.
- I am phit (https://keybase.io/phit) on keybase.
- I have a public key whose fingerprint is FB69 B092 8B92 1C45 DC11 2272 48F8 4F35 867B 8C9D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
First we will setup the assets, forge & libs to be called from the curse installation, to avoid duplication and to make Forge installed by Curse available in the Vanilla launcher. You might have to the delete the original folders from the the .minecraft directory, then run this in an elevated command prompt.
SET CURSEDIR=yourcursepathhere
mklink /D %CURSEDIR%\Minecraft\Install\assets %appdata%\.minecraft\assets
mklink /D %CURSEDIR%\Minecraft\Install\versions %appdata%\.minecraft\versions
mklink /D %CURSEDIR%\Minecraft\Install\libraries %appdata%\.minecraft\libraries
The official docs are actually useful now, so refer to those for up-to-date information.
@ECHO OFF | |
SETLOCAL EnableDelayedExpansion | |
goto check_Permissions | |
:check_Permissions | |
echo Administrative permissions required. Detecting permissions... | |
net session >nul 2>&1 | |
if %errorLevel% == 0 ( | |
echo Success: Administrative permissions confirmed. |
const express = require('express'), | |
bodyParser = require('body-parser'), | |
request = require('unirest'), | |
app = express(); | |
function HEXToVBColor(rrggbb) { | |
return parseInt(rrggbb, 16); | |
} | |
app.disable('x-powered-by'); |
//META{"name":"dblClickEdit"}*// | |
var dblClickEdit = function () {}; | |
dblClickEdit.prototype.start = function () { | |
document.addEventListener("dblclick", dblClickEventListener); | |
}; | |
dblClickEdit.prototype.load = function () {}; | |
dblClickEdit.prototype.unload = function () { |
long maxTickTime = server.getMaxTickTime(); // value from server.properties | |
long i = this.server.getCurrentTime(); // starttime of current tick | |
long j = MinecraftServer.getCurrentTimeMillis(); // current time | |
Thread.sleep(i + maxTickTime - j); // error is thrown when the sleep time is negative | |
long cutoff = i + maxTickTime; // cutoff time for current tick | |
cutoff - j // if this result < 0 then somehow a tick took longer than the cutoff allowed but it wasnt killed, | |
Get your minecraft_server.1.12.2.jar
from the root of your server, download the last bundled jetty 4.1 version https://repo1.maven.org/maven2/io/netty/netty-all/4.1.68.Final/netty-all-4.1.68.Final.jar
Open your server jar with 7zip and navigate to minecraft_server.1.12.2.jar\io\netty\
open the netty jar file you downloaded and go to netty-all-4.1.68.Final.jar\io\netty\
//META{"name":"lazyload_patcher"}*// | |
//jshint esversion: 6 | |
//TODO: somehow reload/redraw the Channels object, for seamless patching | |
//TODO: find Channels prototype without it being added to the DOM, also for seamless patching | |
var lazyload_patcher = function() { | |
this.pluginName = 'LazyLoad Patcher'; |
@-moz-document domain("news.ycombinator.com") { | |
* { | |
color: #93A1A1 !important; | |
background-color: #323234 !important; | |
} | |
body > center > table > tbody > tr:first-child * { | |
background-color: #996a24 !important; | |
} | |
body > center > table > tbody > tr:first-child * a:hover { | |
background: #996a24 !important; |