# ⛔ Permissions

Permissions are listed in a parent-children tree. Giving access to parent permission will give access to all child permissions as well.

Permissions for **command executors** can be found on the [**Commands**](https://nightexpress.gitbook.io/sunlight/general/commands) page.

## Core

* `sunlight.*` - Access to all plugin functions.
* `sunlight.command.*` - Access to all core (including no modules) plugin commands.
  * `sunlight.command.nick.colors` - Allows to use colors in names.
  * `sunlight.command.nick.bypass.words` - Allows to use names with forbidden words.
  * `sunlight.command.nick.bypass.regex` - Allows to use names with any characters.
  * `sunlight.command.nick.bypass.length` - Allows to use names with any size.
* `sunlight.bypass.*` - Bypass all core (including no modules) plugin restrictions.
  * `sunlight.bypass.command.cooldown` - Bypass [command cooldowns](https://nightexpress.gitbook.io/sunlight/general/command-cooldowns).
  * `sunlight.bypass.ignore.pm` - Allows to send private messages to players who blocked you.
  * `sunlight.bypass.ignore.teleport` - Allows to send teleport requests to players who blocked you.

## Afk Module

* `sunlight.afk.*` - Access to all Afk module functions.
* `sunlight.afk.command.*` - Access to all Afk module commands.

## BackLocation Module

* `sunlight.backlocation.*` - Access to all BackLocation module functions.
* `sunlight.backlocation.command.*` - Access to all BackLocation module commands.
* `sunlight.backlocation.bypass.*` - Bypass all BackLocation module restrictions.
  * `sunlight.backlocation.bypass.previous.worlds` - Allows to teleport on previous location in disabled worlds.
  * `sunlight.backlocation.bypass.previous.causes` - Allows to teleport on previous location for disabled teleport causes.
  * `sunlight.backlocation.bypass.death.worlds` - Allows to teleport on death location in disabled worlds.

## Bans Module

* `sunlight.bans.*` - Access to all Bans module functions.
* `sunlight.bans.command.*` - Access to all Bans module commands.
* `sunlight.bans.bypass.*` - Bypass all Bans module restrictions.
  * `sunlight.bans.bypass.duration.limit` - Allows to punish players for any time.
* `sunlight.bans.punishment.remove` - Allows to remove expired punishments from the database using the GUI.
* `sunlight.bans.punishment.expire` - Allows to force expire punishments using the GUI.

## Chat Module

* `sunlight.chat.*` - Access to all Chat module functions.
* `sunlight.chat.command.*` - Access to all Chat module commands.
* `sunlight.chat.bypass.*` - Bypass all Chat module restrictions.
  * `sunlight.chat.bypass.pm.disabled` - Allows to send private messages to a player who disabled them.
  * `sunlight.chat.bypass.mention.cooldown` - Allows to use the same mentions without a cooldown.
  * `sunlight.chat.bypass.mention.amount` - Allows to use unlimited mentions in the same message.
  * `sunlight.chat.bypass.channel.distance.hear` - Allows to see player messages when out of a channel range.
  * `sunlight.chat.bypass.channel.distance.speak` - Allows to send messages to all players in a channel bypassing the channel range.
  * `sunlight.chat.bypass.cooldown.message` - Allows to send messages without a cooldown.
  * `sunlight.chat.bypass.cooldown.command` - Allows to send commands without a cooldown.
  * `sunlight.chat.bypass.anticaps` - Bypass the AntiCaps feature.
  * `sunlight.chat.bypass.antispam` - Bypass the AntiSpam feature.
  * `sunlight.chat.bypass.rules` - Bypass the Chat Rules feature.
* `sunlight.chat.mention.*` - Allows to mention any player/rank.
* `sunlight.chat.color` - Allows to use colors in chat messages.

## Custom Text Module

* `sunlight.customtext.*` - Access to all Custom Text module functions.
* `sunlight.customtext.command.*` - Access to all Custom Text module commands.

## Extras Module

* `sunlight.extras.*` - Access to all Extras module functions.
* `sunlight.extras.command.*` - Access to all Extras module commands.
* `sunlight.extras.signs.color` - Allows to use colors on signs.
* `sunlight.extras.anvils.color` - Allows to use colors in anvils.

## GodMode Module

* `sunlight.godmode.*` - Access to all GodMode module functions.
* `sunlight.godmode.command.*` - Access to all GodMode module commands.
* `sunlight.godmode.bypass.*` - Bypass all GodMode module restrictions.
  * `sunlight.godmode.bypass.worlds` - Allows to use god mode in disabled worlds.

## Homes Module

* `sunlight.homes.*` - Access to all Homes module functions.
* `sunlight.homes.command.*` - Access to all Homes module commands.
* `sunlight.homes.bypass.*` - Bypass all Homes module restrictions.
  * `sunlight.homes.bypass.unsafe` - Allows to create and visit homes at unsafe locations.
  * `sunlight.homes.bypass.creation.worlds` - Allows to create homes in disabled worlds.
  * `sunlight.homes.bypass.creation.protection` - Allows to create homes in protected/claimed areas.

## Kits Module

* `sunlight.kits.*` - Access to all GodMode module functions.
* `sunlight.kits.command.*` - Access to all GodMode module commands.
* `sunlight.kits.bypass.*` - Bypass all GodMode module restrictions.
  * `sunlight.kits.bypass.cost.money` - Allows to use paid kits for free.
  * `sunlight.kits.bypass.cooldown` - Allows to use kits without a cooldown.
* `sunlight.kits.kit.*` - Allows to use all kits.
  * `sunlight.kits.kit.[kit]` - Allows to use certain kit. Replace `[kit]` with **kit identifier**.

## NerfPhantoms Module

* `sunlight.nerfphantoms.*` - Access to all NerfPhantoms module functions.
* `sunlight.nerfphantoms.command.*` - Access to all NerfPhantoms module commands.

## PTP Module

* `sunlight.ptp.*` - Access to all PTP module functions.
* `sunlight.ptp.command.*` - Access to all PTP module commands.

## RTP Module

* `sunlight.rtp.*` - Access to all RTP module functions.
* `sunlight.rtp.command.*` - Access to all RTP module commands.

## Scoreboard Module

* `sunlight.scoreboard.*` - Access to all Scoreboard module functions.
* `sunlight.scoreboard.command.*` - Access to all Scoreboard module commands.

## Spawns Module

* `sunlight.spawns.*` - Access to all Spawns module functions.
* `sunlight.spawns.command.*` - Access to all Spawns module commands.

## Vanish Module

* `sunlight.vanish.*` - Access to all Vanish module functions.
* `sunlight.vanish.command.*` - Access to all Vanish module commands.
* `sunlight.vanish.bypass.*` - Bypass all Vanish module restrictions.
  * `sunlight.vanish.bypass.see` - Allows to see vanished players.

## Warmups Module

* `sunlight.warmups.*` - Access to all Warmups module functions.
* `sunlight.warmups.command.*` - Access to all Warmups module commands.
* `sunlight.warmups.bypass.*` - Bypass all Warmups module restrictions.
  * `sunlight.warmups.bypass.teleport` - Bypasses teleport warmups.

## Warps Module

* `sunlight.warps.*` - Access to all Warps module functions.
* `sunlight.warps.command.*` - Access to all Warps module commands.
* `sunlight.warps.bypass.*` - Bypass all Warps module restrictions.
  * `sunlight.warps.bypass.description.size` - Allows to set any size description.
  * `sunlight.warps.bypass.creation.safe` - Allows to create warps at unsafe locations.
  * `sunlight.warps.bypass.creation.world` - Allows to create warps in disabled worlds.
  * `sunlight.warps.bypass.visit.cost` - Allows to use paid warps for free.
  * `sunlight.warps.bypass.visit.cooldown` - Allows to use warps without cooldowns.
  * `sunlight.warps.bypass.visit.time` - Allows to use warps when out of visit time.
* `sunlight.warps.editor.*` - Allows to use all editor features.
  * `sunlight.warps.editor.others` - Allows to edit other player's warps.
  * `sunlight.warps.editor.visit.cost` - Allows to set visit cost.
  * `sunlight.warps.editor.visit.cooldown` - Allows to set visit cooldown.
  * `sunlight.warps.editor.visit.times` - Allows to set visit times.
  * `sunlight.warps.editor.command.shortcut` - Allows to set dedicated warp command.
  * `sunlight.warps.editor.type` - Allows to change warp type.
  * `sunlight.warps.editor.permission` - Allows to toggle warp permission.
* `sunlight.warps.warp.*` - Allows to use all warps.
  * `sunlight.warps.warp.[warp]` - Allows to use certain warp. Replace `[warp]` with **warp identifier**.

## Worlds Module

* `sunlight.worlds.*` - Access to all Worlds module functions.
* `sunlight.worlds.command.*` - Access to all Worlds module commands.
* `sunlight.worlds.bypass.*` - Bypass all Worlds module restrictions.
  * `sunlight.worlds.bypass.commands` - Allows to use any commands in any worlds.
  * `sunlight.worlds.bypass.fly` - Allows to fly in any worlds.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nightexpress.gitbook.io/sunlight/general/permissions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
