Spigot Plugin Development - 71 - Understanding Packets with ProtocolLib

Опубликовано: 06 Октябрь 2024
на канале: Kody Simpson
39,786
673

In this episode, I show you how to listen for and create packets using ProtocolLib. I explain what packets are, how to extract and set data in packets, and more. #Spigot #SpigotTutorial

Packet Reference: https://wiki.vg/Protocol
ProtocolLib: https://www.spigotmc.org/resources/pr...
Code: https://github.com/Spigot-Plugin-Deve...

⭐ 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_me...

Join the Community! -   / discord  

Want to Support the Channel?
Become a Member:    / @kodysimpson  
or: https://paypal.me/kodysimpson

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

0:00:00 - Intro
0:02:22 - What are packets?
0:04:22 - Play packets
0:06:31 - Importing ProtocolLib
0:08:15 - Client to server packet listeners
0:13:46 - Extracting information from a packet
0:19:54 - Setting the scope to provided (IMPORTANT)
0:20:30 - Testing the plugin
0:21:34 - Server to client packet listeners
0:29:08 - Cancelling packets
0:32:55 - Creating packets
0:46:30 - Outro

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