name: MariaCraft
description: Maria's box of mini plugin thingies
website: https://gitlab.sbmf21.nl/sbmf/mariacraft/-/wikis/home
version: 1.6.0
main: nl.sbmf21.mariacraft.Maria

api-version: "1.20"
softdepend:
  - dynmap
  - WorldGuard
libraries:
  - org.jetbrains.kotlin:kotlin-stdlib:1.9.0
  - org.jetbrains.kotlin:kotlin-reflect:1.9.0
  - org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.2
  - org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.2
  - io.ktor:ktor-client-core:2.3.2
  - io.ktor:ktor-client-core-jvm:2.3.2
  - io.ktor:ktor-client-cio:2.3.2
  - io.ktor:ktor-client-cio-jvm:2.3.2
  - com.google.code.gson:gson:2.10.1

commands:
  maria:
    description: Manage the plugin
    permission: maria.manage
    usage: /maria
  back:
    description: Go back to your previous location
    permission: maria.back
    usage: /back [amount]
  keep-inventory:
    description: Toggle if your inventory gets saved when you die
    permission: maria.keep-inventory
    usage: /keep-inventory [yes|no]
  home:
    description: Teleport to one of your homes
    permission: maria.home
    usage: /home [set|delete|list] <name>
  spawn:
    description: Teleports a player to spawn
    permission: maria.spawn
    usage: /spawn [player]
  setspawn:
    description: Sets the spawn of the server
    usage: /setspawn
    permission: maria.spawn.set
    permission-message: You don't have permission to change the spawn!
  spleef:
    description: All Spleef things
    usage: /spleef

permissions:
  maria.manage:
    description: Lets you manage the plugin
    default: op
  maria.back:
    description: Use the /back command
    default: true
  maria.keep-inventory:
    description: Use the /keep-inventory command
    default: true

  maria.home:
    description: Use the /home command
    default: true
  maria.home.ignore-max:
    description: Ignores the "max-homes" setting allowing for infinite homes.
    default: op
  maria.home.*:
    description: Gives access to all home.
    default: op
    children:
      maria.home: true
      maria.home.ignore-max: true

  maria.spawn:
    description: Use the /spawn command
    default: true
  maria.spawn.other:
    description: Gives access to teleport other players to spawn
    default: op
  maria.spawn.set:
    description: Gives access to set the spawn
    default: op
  maria.spawn.*:
    description: Gives access to all spawn commands
    default: op
    children:
      maria.spawn: true
      maria.spawn.other: true
      maria.spawn.set: true

  maria.spleef.passthrough:
    description: Lets you pass through Spleef arenas at all times
    default: op
