Skip to content

Instantly share code, notes, and snippets.

View mzcydev's full-sized avatar
:fishsticks:

mzcydev mzcydev

:fishsticks:
View GitHub Profile
@Snowiiii
Snowiiii / AntiCheat.md
Last active November 12, 2025 17:34
How to Develop an Anti-Cheat

Note

Many of the Information here is not only Minecraft related and can be used for different Anti-Cheats as well

For Beginners

Hello! With this post, I want to share my knowledge and provide tips on how to start and continue developing a Minecraft/General anti-cheat system. I'll cover tips for both Minecraft Java and Minecraft Bedrock/Pocket Edition.

Language

To start programming something, you'll need to learn a programming language. the options are Java or Kotlin, but for PocketMine Software, it uses PHP.

@mzcydev
mzcydev / ItemBuilder.java
Created February 20, 2025 13:55
Simple ItemBuilder for 1.20.4. Requires paperweight.paperDevBundle.
package dev.mzcy.util.builder.item;
import com.destroystokyo.paper.profile.PlayerProfile;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonObject;
import net.kyori.adventure.text.Component;
import net.minecraft.nbt.CompoundTag;
import net.minecraft.nbt.ListTag;
import org.bukkit.*;