Skip to content

Instantly share code, notes, and snippets.

View Phoenix616's full-sized avatar
πŸ”₯
πŸ‘€

Max Lee Phoenix616

πŸ”₯
πŸ‘€
View GitHub Profile
@Owen1212055
Owen1212055 / custom-player-entity-names.md
Last active December 6, 2024 16:06
Custom Player Entity Names

Note

As of 24w33a text displays now render similarly enough to item displays, however may not be identical when it comes to sneaking.

Warning

As of 24w33a interaction entities properly resync their bounding boxes now.

Custom Player Names

@kennytv
kennytv / readme.md
Last active May 4, 2025 13:42
Signed Chat and Chat Types

Signed chat

This gist intends on clearing up some of the misinformation surrounding signed chat/the reporting feature Mojang has added to Minecraft 1.19.1. Here you can find both technical information as well as a general explanation of how these work.

Profile keys

After joining a server, clients now send a profile key used for verifying a message's authenticity. This key and thus the whole signing process is optional, but by default, servers enforce secure profiles for clients to send chat messages. Whenever the player sends a chat message and has a key associated, the message will be signed using their own private key, which the server then verifies using the public key sent after join. Assuming signature, timestamp, and message contents line up, the message goes through.

On the other end, clients can also require all broadcasted player messages to be signed, disregarding the ones without sender verified signatures.

Message signatures

@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active February 3, 2025 09:49
Recommended OptiFine alternatives on Fabric

The list is moving out!

If you share this list, please use this link instead: https://lambdaurora.dev/optifine_alternatives

It may still be only a redirection link, but it will have a better web display of the list soon. And the list being on GitHub/GitHub pages improves load times.

The gist version of this list will stop being updated.

Why?

@mikroskeem
mikroskeem / fw.sh
Last active December 21, 2024 00:31
Allow only TCPShield IPs to connect to your server, using iptables & ipset
#!/bin/sh
iptables -A INPUT -m set --match-set tcpshield-ips src -p tcp --dport 32767 -j ACCEPT
iptables -A INPUT -p tcp --dport 32767 -j DROP
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active May 12, 2025 14:47
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@Drovolon
Drovolon / 1.14.x-chunk-loading-final.md
Created August 11, 2019 14:36
An overview of chunk loading mechanics in Minecraft 1.14, tested empirically in 1.14.4.

1.14.x Chunk Loading

Chunk loading operates differently in 1.14 than in previous Minecraft versions. This document is intended to be an overview of the 1.14 system.

In 1.14, chunk loading starts with tickets. A ticket is:

  • a ticket type
  • a load level
  • optionally, a time-to-live
@Novex
Novex / api-server.py
Created May 19, 2018 11:53
Sony fdr-x3000 ustream mitm setup
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from http.server import HTTPServer
from http.server import BaseHTTPRequestHandler
import json
class MyHandler(BaseHTTPRequestHandler):
def do_GET(self):

Objective

The goal is being able to mix your microphone and desktop audio into a single track, while leaving Discord out of the equation. This allows you to stream your desktop audio and talk while in a call, without your partners hearing themselves.

Voicemeeter Setup

Download Voicemeeter

Voicemeeter Banana

@MiniDigger
MiniDigger / GlobalEventListener.java
Created May 29, 2017 17:42
GlobalEventListener for Spigot/Bukkit, licenced under GPLv3
package me.minidigger.test.test;
/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@MiniDigger
MiniDigger / StructureUtil.java
Last active May 27, 2021 09:07
Small util to load and save structures, using nms and reflection
import java.lang.reflect.Constructor;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.util.Vector;
/**
* Small util to load and save structures<br>