This is the mod version of datapack Xaero's Map Server Utils.
Introduction
This mod adds some useful commands for server administrators, allowing easy access to make fair modifications needed for gameplay on players' Xaero's Map series of mods.
How it works
See the How do I prohibit the use of cave mode and/or entity radar on my server? section of Xaero's Minimap Mod.
Usage
/function xaero:fairxaero causes the minimap to disable cave mode (including world map) and entity radar (fair-play mode)
/function xaero:nominimap disables the minimap completely
/function xaero:resetxaero reset all the system message flags
/function xaero:xaerowmnetherisfair causes world map cave mode to work in the nether despite the minimap being fair-play
These commands above will tell the player what the server administrator used, if you don't want your players to know which command you used, add silent/ after xaero: (Example: /function xaero:silent/fairxaero) (But the player will still receive a blank message)
Autorun
The newly added autorun feature can automatically execute functions when players join the server, modifying the behavior of their minimap.
/function xaero:autorun/set/disabled disable the feature (default)
/function xaero:autorun/set/... select the function to run automatically