๐ฉ๏ธ Static Family โ
Static Families are optimized to work best with stateful servers.
What is a Stateful server?
Stateful servers contain state which changes over extended periods of time.
For example, if a player joins a server and places a block. That action will be remembered next time the Loader restarts.
Examples of stateful servers would be Survival, Skyblock, or Plots.
The inverse of a stateful servers is a stateless server; such as a Lobby server, or PVP server. If you have stateless servers, RustyConnector already ships with Scalar Families which are great for stateless servers.
Installation โ
Download the version of rcm_staticFamily
that supports your current version of RustyConnector.
Static families can be configured in the static_family
folder. They are represented by a configuration file containing the family's name followed by the suffix .static.yml
.
Parent Family โ
Parenting allows you to establish hierarchies between your families.
When you setup family parents, players will be connected to a family's parent if they are kicked or disconnected from their current family. If a parent family isn't established, the player will be connected to the root family.
If you setup the hub feature in Dynamic Teleport, it will also direct a player to the parent family of the one they're connected to.
๐ฅ DANGER
Setting a parent family for the root familly is forbidden and will be ignored.
Player Residence โ
Exclusive to static families, Player Residences are the resident of a player.
When a player first joins a Static Famile, they are subject to the family's . Once a player is connected to a Loader for the first time, that Loader will be registered as that player's Residence.
When the player attempts to connect to the family again in the future; they will be connected back into that Loader again in the future.
๐ INFO
If a player's residence isn't available, you can assign an algorithm which will respond to the request:
Stops the player from connecting to this family and tell them that their residence was unavailable and that they should try again later.