Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name Hri's MPP bot
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Uses object-oriented commands.
// @author You
// @match http://www.multiplayerpiano.com/*
// @grant none
// ==/UserScript==
float flimit(float n, float low, float high)
{
return max(min(n, high), low);
}
float fmap(float n, float start1, float stop1, float start2, float stop2)
{
float newval = (n - start1) / (stop1 - start1) * (stop2 - start2) + start2;
if (start2 < stop2)
// ==UserScript==
// @name Eval
// @namespace Violentmonkey Scripts
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 4/21/2023, 7:12:33 AM
// ==/UserScript==
// ==UserScript==
// @name Gigachad Template
// @namespace Violentmonkey Scripts
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 11/9/2023, 10:33:05 PM
// ==/UserScript==
// ==UserScript==
// @name GlassMPP
// @namespace Violentmonkey Scripts
// @match https://mppclone.com/*
// @match https://www.multiplayerpiano.org/*
// @match https://multiplayerpiano.net/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 8/12/2023, 4:53:24 PM
// ==UserScript==
// @name Jacored banned words fix
// @namespace Violentmonkey Scripts
// @match *://multiplayerpiano.com/*
// @match *://*.multiplayerpiano.com/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 10/5/2023, 10:02:52 AM
// ==/UserScript==
@Hri7566
Hri7566 / notdumdum.md
Created September 25, 2023 16:42
How to install node on a Linux server without being a dumdum

How to install node on a Linux server without being a dumdum

I keep having people login to my VPS and use node the wrong way. This document is to stop people from trying to install it with apt and do crazy things with npm that don't make sense.

Install fnm

Do not use the version of node from apt. It is older than the Pyramids of Giza. Instead, use fnm.

$ curl -fsSL https://fnm.vercel.app/install | bash
// ==UserScript==
// @name Sideways Piano
// @namespace Violentmonkey Scripts
// @match https://mppclone.com/*
// @match https://multiplayerpiano.org/*
// @match https://smnmpp.hri7566.info/*
// @grant none
// @version 1.0
// @author Hri7566
// @description 9/12/2023, 8:55:33 PM
// ==UserScript==
// @name Old CSS
// @namespace Violentmonkey Scripts
// @match https://mppclone.com/*
// @grant none
// @version 1.0
// @author -
// @description 9/10/2023, 1:18:45 AM
// ==/UserScript==
-- Concrete factory
-- by Hri7566
local powderChest = peripheral.wrap("front")
local concreteChest = peripheral.wrap("right")
function isEmpty()
-- Check if we have powder
local hasPowder = false