Skip to content

Instantly share code, notes, and snippets.

View Gusttavo13's full-sized avatar
💎
Low Profile

Gustavo Sousa Gusttavo13

💎
Low Profile
  • Brazil
View GitHub Profile
@nathanfranke
nathanfranke / NickPlugin.kt
Created February 27, 2022 09:37
Seamless Name, UUID, and Skin Disguise on Paper 1.18 (ProtocolLib)
package me.nathanfranke.nickplugin
import com.comphenix.protocol.PacketType
import com.comphenix.protocol.ProtocolLibrary
import com.comphenix.protocol.events.PacketAdapter
import com.comphenix.protocol.events.PacketContainer
import com.comphenix.protocol.events.PacketEvent
import com.comphenix.protocol.wrappers.EnumWrappers
import com.comphenix.protocol.wrappers.PlayerInfoData
import com.comphenix.protocol.wrappers.WrappedChatComponent
@justisr
justisr / TitleUpdater.java
Last active July 6, 2023 03:26
Update an inventory name while opened without NMS
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import com.gmail.justisroot.autoecon.data.ServerSpecs;