Skip to content

Instantly share code, notes, and snippets.

View AnnikenYT's full-sized avatar

Leo AnnikenYT

View GitHub Profile
@AnnikenYT
AnnikenYT / cnpc_locked_door.js
Created February 15, 2022 12:47
A simple lockable door for Custom NPCS
//Lockable Door Script by AnnikenYT
var key_name = "Anniken's key" // Du brauchs ein Item mit EXAKT diesem Namen um die Tür zu öffnen.
var door_name = "Door" // Dieser name wird in den Nachrichten angezeigt.
var locked = true; // Wenn true ist die Tür standartmäßig verschlossen, wenn false nicht.
// DONT CHANGE!
function init(event) {
event.block.setBlockModel("minecraft:iron_door");
}
@AnnikenYT
AnnikenYT / gradient_json.py
Last active March 17, 2022 16:21
Json text gradient generator for minecraft
from colour import Color
import json
import pyperclip3 as pc
def menu():
print(f"""
Press "c" to get the {bcolors.OKCYAN}JSON{bcolors.ENDC} as a string and {bcolors.OKBLUE}copy it{bcolors.ENDC} to the clipboard.
Press "s" to get the {bcolors.OKGREEN}Sign Command{bcolors.ENDC} as a string and {bcolors.OKBLUE}copy it{bcolors.ENDC} to the clipboard.
@AnnikenYT
AnnikenYT / blender-render.ipynb
Last active April 19, 2023 08:52
Blender Render.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{%- set filename = invoice['invoice.date']|date('Y-m-d') ~ '_' ~ invoice['invoice.number']|replace({'/' : '-'}) ~ '_' ~ invoice['customer.company']|default(invoice['customer.name'])|replace({' ' : '-'}) -%}
{%- set option = pdfContext.setOption('filename', filename) -%}
{%- set option = pdfContext.setOption('format', 'A4-P') -%}
{% set company = 'Leas Porscha' %}
{% set tagline = 'Timesheet' %}
{% set highlight = '#008000' %}
{% set suppress = '#424242' %}
{% set logoUrl = config('theme.branding.logo') %}
@AnnikenYT
AnnikenYT / BYOJ_FA26B.xml
Created July 22, 2024 19:41
X56 Keymap for VTOL VR's FA26B
<?xml version="1.0" encoding="utf-8"?>
<Bindings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<KeyboardBindings />
<JoystickBindings>
<JoystickBinding>
<Target>Joystick Pitch</Target>
<JoystickId>322b5300-4848-11ef-8006-444553540000</JoystickId>
<Input>Y</Input>
<RequiresModifier>false</RequiresModifier>
<Invert>false</Invert>
@AnnikenYT
AnnikenYT / 20.1.2025.md
Last active January 20, 2025 19:33
A small journey into dockerizing a minecraft minigame network

A small journey into dockerizing a minecraft minigame network

Today I've started my journey into creating a Minecraft Server.

Skip the yapping

Now, why the f*ck would I start a Minecraft server in 2025?

I was fed up with having 300 Ping on Hypixel, and was unable to find a drop in replacement that had

  • full-ish lobbies
@AnnikenYT
AnnikenYT / skid.md
Created March 10, 2025 21:02
Mateusz on tiktok asked for this so

_minecraft._tcp.hypixel.net. 36 IN SRV 1 1 25565 mc.hypixel.net. ->

;QUESTION
mc.hypixel.net. IN A
;ANSWER
mc.hypixel.net. 120 IN CNAME sp.mc.production.hypixel.io.
sp.mc.production.hypixel.io. 300 IN A 172.65.236.36
sp.mc.production.hypixel.io. 300 IN A 172.65.238.120
sp.mc.production.hypixel.io. 300 IN A 172.65.254.166