Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for NTT

Towny and datapack/vanilla commands simple interop using teams and tags

Report TownyTeams?

TownyTeams

A little bridge between towny and other plugins, or possibly datapacks - utilising vanilla mc features

  • If enabled plugin creates a Team in a main scoreboard for each Nation

  • Players are automatically assigned to the nation teams

  • Depending on player status plugin automatically assigns following scoreboard tags to all players

isKing,isMayor,hasNation,hasTown,nation-{nation name},town-{town name},isPleb (players that are not mayors, or kings)

  • Following tags rely on player move event, their tracking is opt in isInEnemyTerritory,isInAllyTerritory,isInOwnTown,isInWilderness

you can use these tags in vanilla mc selectors for example /kill @a[tag=hasTown]

Information

Category
Admin Tools
Published
October 17, 2026
License
Unspecified
2Downloads
0Stars
Addon

Pinned Versions

Members

1