Skip to content

Instantly share code, notes, and snippets.

@kennytv
kennytv / readme.md
Last active May 8, 2024 06:32
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

@triphora
triphora / minecraftlinkingexceptiontothegpl.txt
Last active October 1, 2023 04:55
GPL exception for Minecraft
"MINECRAFT" LINKING EXCEPTION TO THE GPL
Linking this mod statically or dynamically with other modules is making a
combined work based on this mod. Thus, the terms and conditions of the GNU
General Public License cover the whole combination.
In addition, as a special exception, the copyright holders of this mod give you
permission to combine this mod with free software programs or libraries that
are released under the GNU LGPL and with code included in the standard release
of Minecraft under All Rights Reserved (or modified versions of such code, with
@TrueCP6
TrueCP6 / forge-to-fabric-ports.md
Last active January 29, 2024 16:09
A list of decently sized Forge mods ported or being ported to Fabric
@comp500
comp500 / big_list_of_modpack_things.md
Last active June 26, 2024 07:48
Big List of Modpack Things

Big List of Modpack Things

Also see the Modrinth Awesome list, and a (probably somewhat outdated) list of curse modpack downloaders at https://gist.github.com/jikuja/f44533a16ad04624c3eb8e99e7a3e494/

This list is a bit outdated in places, but I'm still adding things here so that I don't forget them.

Distribution platforms

Name Type Number of mods/packs Popularity (Similarweb rank) Official launcher Third-party support Open Source backend Author rewards
CurseForge Public 31,000 mods; 38,000 modpacks #1410 Yes Many No Yes
Modrinth Public 2000 mods #79,182 In development ATLauncher, packwiz, pacmc, modweaver Yes Planned
@limingjie
limingjie / terminalcolors.py
Last active November 29, 2023 06:03
check if terminal supports 256 colors
#!/usr/bin/env python
# Copyright (C) 2006 by Johannes Zellner, <johannes@zellner.org>
# modified by mac@calmar.ws to fit my output needs
# modified by crncosta@carloscosta.org to fit my output needs
# Original source: https://github.com/incitat/eran-dotfiles/blob/master/bin/terminalcolors.py
import sys
import os
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 19, 2024 20:54
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname