-
Notifications
You must be signed in to change notification settings - Fork 29
Message Channels
Noxesium communicates with the server over the plugin messaging channel, but through the use of Fabric Packets. This implementation means packets are defined in Noxesium's code as they would be in Minecrafts source code. Clientbound and
serverbound packets are implemented separately since both only need to be handled on the client-side. Noxesium currently sends and receives all packets on the noxesium-v2
namespace. This version identifier should not change often, but it changes whenever any changes in Mojang's packet structure require it to.
If you are interested in understanding what packets Noxesium can receive and which it can send, feel free to look through the network.clientbound
and network.serverbound
packages. Packets are documented in their respective classes and
should offer insights into their capabilities through the variable names and constructor arguments.
Server Rules are a special system similar to Game Rules but able to be modified whenever desired. Server Rule settings are cleared whenever a player disconnects from a server. These values allow a server to affect the client's state easily. The exact syntax of all server rules can be found in the source code. Server rules are added frequently enough that a list quickly becomes outdated.
Entity Rules are an extension to the base server rules system. These allow setting values specific to certain entity ids. This allows you to e.g. change the color of guardian/end crystal beams, or remove the bubbles from a guardian beam.