name: BetterEssentials
description: Basic commands to make your server better
version: '1.3'
author: _tud
main: me.tud.betteressentials.BetterEssentials
api-version: 1.17
commands:
  betteressentials:
    permission: be.betteressentials
    description: Reloads the config
    usage: /<command> <checkforupdates/reload>
    aliases: [be, bessentials]

  spawn:
    permission: be.spawn
    description: Teleports player to spawn
    usage: /<command> [<player>]
  setspawn:
    permission: be.setspawn
    description: Teleports player to spawn
    usage: /<command>

  time:
    permission: be.time
    description: Set or add to the time of your current world
    usage: /<command> [<set/add>] <time>

  heal:
    permission: be.heal
    description: Heals player to max health
    usage: /<command> [<player>]
  feed:
    permission: be.feed
    description: Feeds player to max saturation
    usage: /<command> [<player>]

  gmc:
    permission: be.gamemodes.creative
    description: Sets player's gamemode to creative
    usage: /<command> [<player>]
  gms:
    permission: be.gamemodes.survival
    description: Sets player's gamemode to survival
    usage: /<command> [<player>]
  gma:
    permission: be.gamemodes.adventure
    description: Sets player's gamemode to adventure
    usage: /<command> [<player>]
  gmsp:
    permission: be.gamemodes.spectator
    description: Sets player's gamemode to spectator
    usage: /<command> [<player>]

  craft:
    permission: be.craft
    description: Opens a workbench inventory for player
    usage: /<command>
    aliases: [workbench, crafting, craftingtable]

  broadcast:
    permission: be.broadcast
    description: Broadcast a message in chat
    usage: /<command> <message>
    aliases: bc
  sudo:
    permission: be.sudo
    description: Force a player to say something
    usage: /<command> <player> <message>

  rawmessage:
    description: Sends a raw formatted message to you
    usage: /<command>
    aliases: [rm, rawm, rmessage]
  broadcastrawmessage:
    description: Sends a raw formatted message to you
    usage: /<command>
    aliases: [broadcastrm, broadcastrawm, broadcastrmessage, brm, brmessage]

  playercount:
    description: Returns how many players are on
    usage: /<command>
    aliases: [pc, playerc, pcount]
  skin:
    description: Set or reset your skin
    usage: /<command> <playerName|-reset>

  tphere:
    permission: be.tp.here
    description: Teleport a player to you
    usage: /<command> <player>
  tpall:
    permission: be.tp.all
    description: Teleport all players to you
    usage: /<command>
  center:
    permission: be.center
    description: Centers you to a block
    usage: /<command>
#  gothere:
#    permission: be.gothere
#    description: Teleports you to the highest location of your targeted block
#    usage: /<command>
#    aliases: [jumpto]


  walkspeed:
    permission: be.speed.walk
    description: Set or get your walking speed
    usage: /<command> [<speed>]
  flyspeed:
    permission: be.speed.fly
    description: Set or get your flying speed
    usage: /<command> [<speed>]
  fly:
    permission: be.fly
    description: Toggles flight for player
    usage: /<command> [<player>]

  item:
    permission: be.item
    description: Gives you an item
    usage: /<command> <item> [<amount>]
    aliases: [i]
  give:
    permission: be.give
    description: Gives a player an item
    usage: /<command> <player> <item> [<amount>]
    aliases: [giveitem]
  itemedit:
    permission: be.itemedit
    description: Edit your held item
    usage: /<command>
    aliases: [iedit, iteme, ie]
  enchant:
    permission: be.enchant
    description: Enchants your held item
    usage: /<command> <enchantment> [<level>]
  disenchant:
    permission: be.disenchant
    description: Disenchants your held item
    usage: /<command> <enchantment>


  god:
    permission: be.godmode
    description: Toggles god mode for player
    usage: /<command>
    aliases: godmode

  kill:
    permission: be.kill
    description: Kills a player
    usage: /<command> [<player>]
  killall:
    permission: be.killall
    description: Kills a player
    usage: /<command> [<entity>]
  suicide:
    permission: be.suicide
    description: Kills yourself
    usage: /<command>
    aliases: killme

  hat:
    permission: be.hat
    description: Sets your helmet slot to your held item
    usage: /<command> [<remove>]
  skull:
    permission: be.skull
    description: Gives you a player's skull
    usage: /<command> <player>
    aliases: [gethead, head, getskull, playerhead, getplayerhead]
