Skip to content

Instantly share code, notes, and snippets.

View sorae42's full-sized avatar

manywonders sorae42

View GitHub Profile
{
"name": "Modpack Name",
"version": "1.0.2",
"resource_set_hash": "9734d58e8f054472fb99735e5f6734ce881a6eff",
"patches": null,
"resources": [
{
"path": "mods/AnvilNeverTooExpensive-1.20.1-1.1.jar",
"hash": "099ac070195ec98a5bf2c7c5aef88f00a9fd2c12",
"size": 7903,
#include <iostream>
#include <fstream>
#include <vector>
using namespace std;
#include <iostream>
#include <queue>
using namespace std;
struct Node {
@sorae42
sorae42 / AIMDiscordSend.plugin.js
Created December 3, 2022 17:57
Play a AIM sound when sending a message. To be used with DevilBro's Notification Sounds.
/**
* @name AOL
* @author sorae42
* @description Play AIM Send sound or any customized sound on send message.
* @version 0.0.1
*/
module.exports = class AOL {
constructor(meta) {}
/*=============================================================================*
* ONELINE PROTON *
* *
* description : An oneline userChrome.css theme for Firefox, which aims to *
* keep the Proton experience. *
* compatibility : Firefox 89+ *
* repository : https://github.com/lr-tech/OnelineProton/ *
* *
* THANKS FOR USING MY USERCHROME! <3 *
*============================================================================*/
@sorae42
sorae42 / logger.ts
Created March 10, 2021 17:20
Chat and Command logger for BDSX2
// Enable the ability to log chat and commands, just like Java server.
// soraboken / Rosetta Emerson (c) 2021
// YOUR SERVER NEED TO BE RUNNING BDSX2: https://github.com/bdsx/bdsx
console.log("[LOGGER] Prepare logging, please wait...!");
import { command, nethook, MinecraftPacketIds } from 'bdsx';
nethook.before(MinecraftPacketIds.Text).on((packet, networkIdentifier) => {
const name = packet.name;
const message = packet.message;
console.log(`[LOGGER] <${name}> ${message}`);