Spigot Plugin Development - 71 - Understanding Packets with ProtocolLib

Spigot Plugin Development - 71 - Understanding Packets with ProtocolLib

Channel:
Subscribers:
32,299
Published on ● Video Link: https://www.youtube.com/watch?v=2FcnwD2MHOA



Duration: 49:08
33,070 views
591


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/protocollib.1997/
Code: https://github.com/Spigot-Plugin-Development-Tutorial/packets-with-protocollib

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







Tags:
spigot
packets
packets with protocollib
minecraft packets
plugin packets
packets tutorial