![]() Example Plugins Some well-made plugins that do interesting things with ProtocolLib. It's remarkably consistent across different versions. ![]() Essentially, no name is hard coded - every field, method and class is deduced by looking at field types, package names or parameter types. How is this possible? It all comes down to reflection in the end. It's likely that I won't have to update ProtocolLib for anything but bug fixes and new features. Aside from package changes, it should be resilient against future changes. One of the main goals of this project was to achieve maximum compatibility with different versions of Minecraft. Ignore version check : None #Force ProtocolLib to start for a specified Minecraft version, even if it is incompatible. Set it to FALSE to opt-out.īackground compiler : true #If TRUE, ProtocolLib will try and improve performance by replacing reflection with compiled code on-the-fly. Metrics : true #If TRUE, ProtocolLib will publish anonymous usage data to. The installation will take effect when the server restarts.Īuto lay : 43200 #The number of seconds between each check for a new update.Īuto updater.last : 0 #This simply records the last time (in seconds since ) an update check was performed. If you're using Maven, you'll be able to automatically download the jar, JavaDoc and associated sources from the following repository:Īuto updater.notify : true #Inform any player with the permission when a new version of ProtocolLib is out.Īuto updater.download : false #Automatically download and install the newest version of ProtocolLib. It is essentially a mechanism to send and receive raw packets without structure modifiers or wrappers. ![]() TinyProtocol There is a lightweight alternative to ProtocolLib called TinyProtocol. A new tutorial is in progress on the wiki. For developers A somewhat dated tutorial can be found here. It doesn't do anything on its own, it simply allows other plugins to function. Just download ProtocolLib from the link above. ![]() Provide any stack traces or "errors" using pastebin.Provide your ProtocolLib version and Spigot version. Provide as much information as possible.Please search for duplicates before reporting a new issue! Use the issue tracker! Don't report bugs in the reviews.If you don't see that anywhere, it's not ProtocolLib. Read the stack trace and make sure it's an error with ProtocolLib.Look for an update for ProtocolLib, there's a good chance your error or bug has already been fixed.ProtocolLib often doesn't need to be updated for minor updates, especially if there are few code changes (i.e. It is updated with most Minecraft updates so, ideally, individual plugins don't have to. It handles most of the overhead required with reflection and channel injection and provides wrappers to simplify packet modification. ProtocolLib is a library that allows read and write access to the Minecraft protocol. This is quite cumbersome to do, however, and most implementations will break as soon as a new version of Minecraft has been released, mostly due to obfuscation. A common technique is to modify incoming and outgoing packets or to inject custom packets into the stream. It really means a lot!Ĭertain tasks are impossible to perform with the standard Bukkit API and may require working with and even modifying Minecraft directly. If you love ProtocolLib or it has made your life significantly easier, consider a one-time donation, sponsoring the project or leaving a positive review below. Source Code: Contributors: dmulloy2 and aadnk Donation Link: ProtocolLib Use the latest release for 1.8 through 1.19.4 Thanks for over 2 million downloads everyone! Native Minecraft Version: 1.17 Tested Minecraft Versions:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |