Using it

Lobby protection

Every rule is a switch under protection in config.yml. true means that thing is blocked. The rules apply in the worlds listed in lobby-worlds (every world when the list is empty). Players with mchub.bypass ignore all of them.

KeyBlocks
enabledMaster switch for every rule
block-break, block-placeBreaking, placing, and filling or emptying buckets
interactionsRight clicking blocks (chests, doors, levers ...), item frames, armor stands, hitting item frames and animals, trampling farmland. allow-buttons keeps buttons usable
damageAll damage to players
hungerHunger loss (food stays full)
mob-spawnsNatural and spawner mobs. Spawn eggs and commands still work
item-drops, item-pickupsDropping and picking up items
weatherRain and storms (also clears existing weather)
explosionsBlock damage from explosions
fireBurning blocks and fire spreading
pvpPlayer against player damage (the lobby arena is exempt)
fall-damageFall damage (only matters when damage is off)
leaf-decayLeaves decaying
fixed-timeKeeps the time of day at this value (0 to 24000). -1 turns it off

The void return and respawn rules are under spawn (see Spawn).

What the bypass permission skips#

The bypass permission (mchub.bypass, op by default) skips only the rules listed in protection.bypass-rules. By default that is block-break, block-place, interactions, item-drops, item-pickups, fire, void and spawn-area. So an op can build, but still loses no hunger, takes no damage and sees no rain, exactly like a normal player. Add a rule name to the list to let operators skip it too, or set protection.bypass-everything: true to skip every rule.

I am an op and I lose hunger

That happens when hunger is in the bypass list or bypass-everything is true. By default it is not.

mcHub does not change any game rules. The time is set again every two seconds in lobby worlds, and weather changes are cancelled.