Skip to content

Instantly share code, notes, and snippets.

View nfitzen's full-sized avatar

Nathaniel Fitzenrider nfitzen

  • United States
View GitHub Profile
@kennytv
kennytv / readme.md
Last active September 7, 2024 18:09
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

@nfitzen
nfitzen / dl_css.bat
Last active July 28, 2024 04:46
Downloads Counter-Strike: Source assets for Garry's Mod from Steam's official servers, for free (gratis). Just place in an empty directory and double click.
:: SPDX-License-Identifier: MIT
:: MIT License
::
:: Copyright (C) 2021-2022 nfitzen <https://github.com/nfitzen>
::
:: Permission is hereby granted, free of charge, to any person obtaining a copy
:: of this software and associated documentation files (the "Software"), to deal
:: in the Software without restriction, including without limitation the rights
:: to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
:: copies of the Software, and to permit persons to whom the Software is
@felixjones
felixjones / AutoGamma.zip
Last active February 7, 2024 09:23
Auto Gamma
@LambdAurora
LambdAurora / optifine_alternatives_fabric.md
Last active December 7, 2024 13:15
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?

@nfitzen
nfitzen / add-copyright.py
Last active June 24, 2021 00:06
Adds copyright headers to all files matching a certain pattern.