Skip to content

Commands

Dieter Nuytemans edited this page May 16, 2020 · 2 revisions

Commands

This page contains all /bettersleeping or in short /bs commands. Every command also has an abbreviation. For example, /bs buffs can also be executed with /bs b. Alternatively, tab-support has been implemented for both console and player. The format below is as follows:

  • Permission node
  • Default access
  • An explanation.

/bs or /bs help

  • bettersleeping.help
  • Everyone has access by default
  • Players will only see the commands they have access to. Admins with the permission bettersleeping.help.admin will also see the required permission nodes.

/bs buffs

  • bettersleeping.buffs
  • Everyone has access by default
  • Shows all buffs and debuffs that a player will get whenever they sleep (or don't sleep).

/bs reload

  • bettersleeping.reload
  • OP has access by default
  • Reloads BetterSleeping. This wil reset all internal counters so players may have to re-enter their beds to skip the night.

/bs status

  • bettersleeping.status
  • Everyone has access by default
  • Shows some information on the current world and its sleeping status: world name, how many are sleeping, how many sleepers are required in total and how many extra sleepers are required.

/bs version

  • bettersleeping.version
  • OP has access by default
  • Shows the current version of the plugin

Permissions

These nodes are used to give access to all commands. This does not include the bypass permission bettersleeping.bypass. This is on purpose. Both nodes are completely identical, this is due to legacy support.

bettersleeping.*:
        bettersleeping.help: true
        bettersleeping.reload: true
        bettersleeping.status: true
        bettersleeping.buffs: true
        bettersleeping.help.admin: true
        bettersleeping.version: true
bettersleeping.admin:
        bettersleeping.reload: true
        bettersleeping.status: true
        bettersleeping.help: true
        bettersleeping.help.admin: true
        bettersleeping.buffs: true
        bettersleeping.version: true

This node contains all BetterSleeping permissions that a regular user should have.

bettersleeping.user:
        bettersleeping.reload: false
        bettersleeping.status: true
        bettersleeping.help: true
        bettersleeping.help.admin: false
        bettersleeping.buffs: true
        bettersleeping.version: false

Wiki navigation

BetterSleeping v4

Commands and permissions

Commands & permissions

Bypass permissions

Config files

Sleeping settings

Buffs

Developer API

Dev API (see Spigot)


BetterSleeping v3

Commands and permissions

Commands

Config files

Config

Sleeping settings

Bypass permissions

Buffs

Developer API

Dev API


BetterSleeping v2

Commands and permissions

Configuration

PlaceholderAPI

Clone this wiki locally