name: VillageFinder
main: mou141.villagefinder.VillageFinderPlugin
version: 1.0
author: Mou141
description: Lists villages and allows teleportation to them.

commands:
    list-villages:
        description: Lists all villages in a specific world.
        usage: /list-villages [world]
   
    tp-village:
        description: Teleports a player to a randomly selected village in their world.
        usage: /tp-village

permissions:
    villagefinder.*:
        description: Gives access to all VillageFinder commands.
        children:
            villagefinder.list-villages: true
            villagefinder.tp-village: true
    
    villagefinder.list-villages:
        description: Allows you to list all available villages.
        default: op
    
    villagefinder.tp-village:
        description: Allows you to teleport to a random village.
        default: true