Spigot Plugin Development - 72 - Understanding NMS

Spigot Plugin Development - 72 - Understanding NMS

Channel:
Subscribers:
32,299
Published on ● Video Link: https://www.youtube.com/watch?v=5AVezxCH-oM



Duration: 1:09:20
31,179 views
0


In this video, I introduce you to the topic of NMS, which stands for net.minecraft.server and is the vanilla server code for Minecraft. We start from the ground up by introducing the source code of CraftBukkit, Bukkit, NMS, Spigot, and the Spigot API. Using these things and understanding how they work will allow you to start diving into using NMS in your projects. I demonstrate how to use both the Spigot and the Mojang mappings and I do a lot of talking in this video because I try to be as detailed as possible. #Spigot #SpigotTutorial #MinecraftNMS

Code: https://github.com/Spigot-Plugin-Development-Tutorial/understanding-nms
Post: https://www.spigotmc.org/threads/spigot-bungeecord-1-17-1-17-1.510208/
How to do Buildtools: https://www.youtube.com/watch?v=B0CyGUDxkDI

⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've tried it and it's awesome! https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=kodysimpson&utm_content=description-only

Join the Community! - https://discord.gg/cortexdev

Want to Support the Channel?
Become a Member: https://www.youtube.com/channel/UC_LtbK9pzAEI-4yVprLOcyA/join
or: https://paypal.me/kodysimpson

My Socials:
Github: https://github.com/KodySimpson
Instagram: https://www.instagram.com/kody_a_simpson/
Twitter: https://twitter.com/kodysimp

0:00:00 - Introduction
0:01:35 - What is NMS, CraftBukkit, Bukkit, and Spigot?
0:05:37 - Finding BuildTools for the source code
0:06:17 - Why use NMS and its downsides?
0:07:37 - I have no idea how to pronounce obfuscate
0:08:40 - Decompiled NMS code and mappings
0:10:00 - md5 responded to me!
0:10:50 - Bukkit API
0:13:00 - CraftBukkit
0:15:10 - NMS within CraftBukkit
0:16:55 - CraftBukkit uses NMS
0:17:25 - Spigot
0:19:00 - Summary of what I just showed you
0:20:00 - A new plugin to test NMS with
0:21:00 - How to import NMS and CraftBukkit with Maven
0:21:32 - Using CraftBukkit
0:23:25 - Handles to get NMS objects
0:26:25 - Getting an EntityPlayer from CraftPlayer
0:27:10 - Getting a PlayerConnection to send a Packet
0:28:45 - My recommended process for figuring out NMS
0:30:15 - How I figured out how to send weather change packets
0:35:20 - Sending the packet with NMS
0:36:35 - Sending a message with NMS
0:39:15 - Old man style
0:39:31 - Testing it on the server
0:41:35 - Intro to Mojang Mappings using Spigot 1.17+
0:46:15 - Spigot 1.17 Post on NMS
0:50:10 - Difference between spigot-api and spigot dependencies
0:50:50 - Running BuildTools with the remapped flags
0:52:30 - Using the classifier to get Mojang Mappings
0:54:00 - Sending a Packet with Mojang Mappings
0:59:25 - The remapping Maven plugin
1:00:35 - Compilation
1:01:30 - Thanks Obama
1:02:30 - JDGUI for Decompilation of JAR files
1:05:00 - Conclusion

More Videos coming soon.
Leave a comment for any future video suggestions.







Tags:
spigot
plugin
spigot plugin
plugins
plugin development
plug-in (software genre)
plugin coding
bukkit plugin
plugin tutorials
minecraft plugins
spigot coding
custom pet plugin
custom mob plugin
bukkit plugin tutorial
minecraft mob plugins
craftbukkit plugin
spigot 1.17