Kingdoms are a way to create factions/guilds/clans. Kingdoms let you protect your builds, provides a Kingdom bank, Chest and Guards. You may also build warp pads and regulators.
Use the command /kingdom create <kindomname> to create a kingdom. This will spawn the nexus at your location. Claim additional land with /kingdom claim, rightclick the nexus for more options.