# 📄 Commands

## Introduction

SunLight commands consists of **Executor** and **Aliases**. **Executor** defines what command does, and **Aliases** is a list of command names to use in-game or from console.

Command configuration located in the `command-map.yml` file. There you can edit or disable default commands and add your own ones.

## Command Groups

In command configuration file there is a `Commands` -> `Groups` section, where you can create custom command groups.

**Command Group** is simply a command that contains certain SunLight commands. For example, by default there is **/item** command group with **/item get**, **/item give**, and other item related commands.

**Command Groups** are **fully optional**, they are not directly related to any commands. It's safe to completetly disable them.

{% hint style="warning" %}
To get access to commands inside a command group, players must have **command group permission**!
{% endhint %}

## Executors

List of all SunLight command executors and their permissons.

All other permissions used in commands can be found on [**Permissions**](https://nightexpress.gitbook.io/sunlight/general/permissions) page.

Permissions ends with `.others` allows to execute a command invoking other players.

### Core

Executors provided by the main plugin (no modules).

<table data-full-width="true"><thead><tr><th width="256">Executor</th><th>Description</th><th width="162">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>air_add</code></td><td>Add air ticks.</td><td>/air add</td><td>sunlight.command.air.add<br>sunlight.command.air.add.others</td></tr><tr><td><code>air_set</code></td><td>Set air ticks amount.</td><td>/air set</td><td>sunlight.command.air.set<br>sunlight.command.air.set.others</td></tr><tr><td><code>air_remove</code></td><td>Removes air ticks.</td><td>/air remove</td><td>sunlight.command.air.remove<br>sunlight.command.air.remove.others</td></tr><tr><td><code>broadcast</code></td><td>Broadcast a message.</td><td>/broadcast<br>/bc</td><td>sunlight.command.broadcast</td></tr><tr><td><code>condense</code></td><td>Condense items into blocks.</td><td>/condense</td><td>sunlight.command.condense</td></tr><tr><td><code>container_anvil</code></td><td>Open portable (virtual) Anvil.</td><td>/anvil<br>/portable anvil<br>/container anvil</td><td>sunlight.command.container.anvil<br>sunlight.command.container.anvil.others</td></tr><tr><td><code>container_crafting</code></td><td>Open portable (virtual) Workbench.</td><td>/workbench<br>/portable workbench<br>/container workbench</td><td>sunlight.command.container.crafting<br>sunlight.command.container.crafting.others</td></tr><tr><td><code>container_enchantment</code></td><td>Open portable (virtual) Enchanting Table.</td><td>/enchanting<br>/portable enchanting<br>/container enchanting</td><td>sunlight.command.container.enchantment<br>sunlight.command.container.enchantment.others</td></tr><tr><td><code>container_grindstone</code></td><td>Open portable (virtual) Grindstone.</td><td>/grindstone<br>/portable grindstone<br>/container grindstone</td><td>sunlight.command.container.grindstone<br>sunlight.command.container.grindstone.others</td></tr><tr><td><code>container_loom</code></td><td>Open portable (virtual) Loom.</td><td>/loom<br>/portable loom<br>/container loom</td><td>sunlight.command.container.loom<br>sunlight.command.container.loom.others</td></tr><tr><td><code>container_smithing</code></td><td>Open portable (virtual) Smithing Table.</td><td>/smithing<br>/portable smithing<br>/container smithing</td><td>sunlight.command.container.smithing<br>sunlight.command.container.smithing.others</td></tr><tr><td><code>container_cartography</code></td><td>Open portable (virtual) Cartography Table.</td><td>/cartography<br>/portable cartography<br>/container cartography</td><td>sunlight.command.container.cartography<br>sunlight.command.container.cartography.others</td></tr><tr><td><code>container_stonecutter</code></td><td>Open portable (virtual) Stonecutter.</td><td>/stonecutter<br>/portable stonecutter<br>/container stonecutter</td><td>sunlight.command.container.stonecutter<br>sunlight.command.container.stonecutter.others</td></tr><tr><td><code>dimension</code></td><td>Teleport to another world.</td><td>/dimension<br>/dim</td><td>sunlight.command.dimension<br>sunlight.command.dimension.others</td></tr><tr><td><code>disposal</code></td><td>Open virtual disposal.</td><td>/disposal</td><td>sunlight.command.disposal<br>sunlight.command.disposal.others</td></tr><tr><td><code>enchant</code></td><td>Enchant player's item in a slot.</td><td>/enchant</td><td>sunlight.command.enchant</td></tr><tr><td><code>enderchest_clear</code></td><td>Clear enderchest.</td><td>/enderchest clear</td><td>sunlight.command.enderchest.clear<br>sunlight.command.enderchest.clear.others</td></tr><tr><td><code>enderchest_copy</code></td><td>Copy enderchest content.</td><td>/enderchest copy</td><td>sunlight.command.enderchest.copy<br>sunlight.command.enderchest.copy.others</td></tr><tr><td><code>enderchest_fill</code></td><td>Fill enderchest with an item.</td><td>/enderchest fill</td><td>sunlight.command.enderchest.fill</td></tr><tr><td><code>enderchest_open</code></td><td>Open enderchest.</td><td>/enderchest open<br>/ec<br>/endersee</td><td>sunlight.command.enderchest.open<br>sunlight.command.enderchest.open.others</td></tr><tr><td><code>enderchest_repair</code></td><td>Repair all items in enderchest.</td><td>/enderchest repair</td><td>sunlight.command.enderchest.repair<br>sunlight.command.enderchest.repair.others</td></tr><tr><td><code>exp_add</code></td><td>Add experience points or levels.</td><td>/experience add</td><td>sunlight.command.experience.add<br>sunlight.command.experience.add.others</td></tr><tr><td><code>exp_set</code></td><td>Set experience points or levels</td><td>/experience set</td><td>sunlight.command.experience.set<br>sunlight.command.experience.set.others</td></tr><tr><td><code>exp_remove</code></td><td>Remove experience points or levels.</td><td>/experience remove</td><td>sunlight.command.experience.remove<br>sunlight.command.experience.remove.others</td></tr><tr><td><code>exp_view</code></td><td>View experience status.</td><td>/experience view</td><td>sunlight.command.experience.view<br>sunlight.command.experience.view.others</td></tr><tr><td><code>fire_set</code></td><td>Set player fire ticks.</td><td>/fire set<br>/ignite</td><td>sunlight.command.fire.set<br>sunlight.command.fire.set.others</td></tr><tr><td><code>fire_reset</code></td><td>Reset player fire ticks to 0.</td><td>/fire reset<br>/extinguish<br>/ext</td><td>sunlight.command.fire.reset<br>sunlight.command.fire.reset.others</td></tr><tr><td><code>fly</code></td><td>Toggle fly state.</td><td>/fly</td><td>sunlight.command.fly<br>sunlight.command.fly.others</td></tr><tr><td><code>flyspeed</code></td><td>Change fly speed.</td><td>/flyspeed</td><td>sunlight.command.flyspeed<br>sunlight.command.flyspeed.others</td></tr><tr><td><code>foodlevel_add</code></td><td>Add player food points.</td><td>/foodlevel add</td><td>sunlight.command.foodlevel.add<br>sunlight.command.foodlevel.add.others</td></tr><tr><td><code>foodlevel_set</code></td><td>Set player food points.</td><td>/foodlevel set</td><td>sunlight.command.foodlevel.set<br>sunlight.command.foodlevel.set.others</td></tr><tr><td><code>foodlevel_remove</code></td><td>Remove player food points.</td><td>/foodlevel remove</td><td>sunlight.command.foodlevel.remove<br>sunlight.command.foodlevel.remove.others</td></tr><tr><td><code>foodlevel_restore</code></td><td>Restore player food points to max.</td><td>/foodlevel restore<br>/feed</td><td>sunlight.command.foodlevel.restore<br>sunlight.command.foodlevel.restore.others</td></tr><tr><td><code>gamemode_adventure</code></td><td>Set gamemode to Adventure.</td><td>/gamemode adventure<br>/gma</td><td>sunlight.command.gamemode.adventure<br>sunlight.command.gamemode.adventure.others</td></tr><tr><td><code>gamemode_creative</code></td><td>Set gamemode to Creative.</td><td>/gamemode creative<br>/gmc</td><td>sunlight.command.gamemode.creative<br>sunlight.command.gamemode.creative.others</td></tr><tr><td><code>gamemode_survival</code></td><td>Set gamemode to Survival.</td><td>/gamemode survival<br>/gms</td><td>sunlight.command.gamemode.survival<br>sunlight.command.gamemode.survival.others</td></tr><tr><td><code>gamemode_spectator</code></td><td>Set gamemode to Spectator.</td><td>/gamemode spectator<br>/gmsp</td><td>sunlight.command.gamemode.spectator<br>sunlight.command.gamemode.spectator.others</td></tr><tr><td><code>hat</code></td><td>Put item in hand on head slot.</td><td>/hat</td><td>sunlight.command.hat</td></tr><tr><td><code>health_add</code></td><td>Add healths points to a player.</td><td>/health add</td><td>sunlight.command.health.add<br>sunlight.command.health.add.others</td></tr><tr><td><code>health_remove</code></td><td>Remove health points off a player.</td><td>/health remove</td><td>sunlight.command.health.remove<br>sunlight.command.health.remove.others</td></tr><tr><td><code>health_set</code></td><td>Set healths points for a player.</td><td>/health set</td><td>sunlight.command.health.set<br>sunlight.command.health.set.others</td></tr><tr><td><code>health_restore</code></td><td>Restore player's healths points.</td><td>/health restore<br>/heal</td><td>sunlight.command.health.restore<br>sunlight.command.health.restore.others</td></tr><tr><td><code>ignore_add</code></td><td>Block a player.</td><td>/ignore add<br>/addignore</td><td>sunlight.command.ignore.add</td></tr><tr><td><code>ignore_list</code></td><td>View list of blocked players.</td><td>/ignore list<br>/ignorelist</td><td>sunlight.command.ignore.list<br>sunlight.command.ignore.list.others</td></tr><tr><td><code>ignore_remove</code></td><td>Unblock a player.</td><td>/ignore remove<br>/unignore</td><td>sunlight.command.ignore.remove</td></tr><tr><td><code>inventory_clear</code></td><td>Clear player's inventory.</td><td>/inventory clear<br>/clearinv</td><td>sunlight.command.inventory.clear<br>sunlight.command.inventory.clear.others</td></tr><tr><td><code>inventory_copy</code></td><td>Copy player's inventory content.</td><td>/inventory copy</td><td>sunlight.command.inventory.copy<br>sunlight.command.inventory.copy.others</td></tr><tr><td><code>inventory_fill</code></td><td>Fill player's inventory with an item.</td><td>/inventory fill</td><td>sunlight.command.inventory.fill</td></tr><tr><td><code>inventory_open</code></td><td>Open player's inventory.</td><td>/inventory open<br>/invsee</td><td>sunlight.command.inventory.open</td></tr><tr><td><code>inventory_repair</code></td><td>Repair all items in player's inventory.</td><td>/inventory repair<br>/repairall<br>/fixall</td><td>sunlight.command.inventory.repair<br>sunlight.command.inventory.repair.others</td></tr><tr><td><code>item_amount</code></td><td>Change amount of an item in hand.</td><td>/item amount</td><td>sunlight.command.item.amount</td></tr><tr><td><code>item_damage</code></td><td>Set durability damage value of an item in hand.</td><td>/item damage</td><td>sunlight.command.item.damage</td></tr><tr><td><code>item_enchant</code></td><td>Enchant an item in hand.</td><td>/item enchant</td><td>sunlight.command.item.enchant<br>sunlight.command.item.enchant.unlimited</td></tr><tr><td><code>item_get</code></td><td>Get an item.</td><td>/item get</td><td>sunlight.command.item.get</td></tr><tr><td><code>item_give</code></td><td>Give an item to a player.</td><td>/item give</td><td>sunlight.command.item.give</td></tr><tr><td><code>item_lore_add</code></td><td>Add lore to an item in hand.</td><td>/itemlore add</td><td>sunlight.command.item.lore</td></tr><tr><td><code>item_lore_remove</code></td><td>Remove lore from an item in hand.</td><td>/itemlore remove</td><td>sunlight.command.item.lore</td></tr><tr><td><code>item_lore_clear</code></td><td>Clear lore of an item in hand.</td><td>/itemlore clear</td><td>sunlight.command.item.lore</td></tr><tr><td><code>item_model</code></td><td>Set custom model data for an item in hand.</td><td>/item model</td><td>sunlight.command.item.model</td></tr><tr><td><code>item_name</code></td><td>Change display name of an item in hand.</td><td>/item name<br>/rename</td><td>sunlight.command.item.name</td></tr><tr><td><code>item_potion</code></td><td>Add potion effect to a potion item in hand.</td><td>/item potion</td><td>sunlight.command.item.potion</td></tr><tr><td><code>item_repair</code></td><td>Repair an item in hand.</td><td>/item repair<br>/repair<br>/fix</td><td>sunlight.command.item.repair</td></tr><tr><td><code>item_spawn</code></td><td>Spawn an item at certain location.</td><td>/item spawn</td><td>sunlight.command.item.spawn</td></tr><tr><td><code>item_take</code></td><td>Take an item from a player.</td><td>/item take</td><td>sunlight.command.item.take</td></tr><tr><td><code>item_unbreakable</code></td><td>Toggle unbreakable state of an item in hand.</td><td>/item unbreakable</td><td>sunlight.command.item.unbreakable</td></tr><tr><td><code>mob_clear</code></td><td>Kills all mobs in a radius.</td><td>/mob clear</td><td>sunlight.command.mob.clear</td></tr><tr><td><code>mob_kill</code></td><td>Kill specific mobs.</td><td>/mob kill<br>/killmob</td><td>sunlight.command.mob.kill</td></tr><tr><td><code>mob_spawn</code></td><td>Spawn a mob.</td><td>/mob spawn<br>/spawnmob</td><td>sunlight.command.mob.spawn</td></tr><tr><td><code>near</code></td><td>List of players in a certain radius to you.</td><td>/near</td><td>sunlight.command.near</td></tr><tr><td><code>nick_change</code></td><td>Change your display name.</td><td>/nick change<br>/changename</td><td>sunlight.command.nick.change</td></tr><tr><td><code>nick_clear</code></td><td>Remove player's custom display name.</td><td>/nick reset<br>/clearnick</td><td>sunlight.command.nick.clear<br>sunlight.command.nick.clear.others</td></tr><tr><td><code>nick_set</code></td><td>Set player's custom display name.</td><td>/nick set<br>/setnick</td><td>sunlight.command.nick.set</td></tr><tr><td><code>playerinfo</code></td><td>Info about a player.</td><td>/playerinfo</td><td>sunlight.command.playerinfo</td></tr><tr><td><code>skull_custom</code></td><td>Get a custom head by Minecraft Texture URL.</td><td>/skull custom<br>/customhead</td><td>sunlight.command.skull.custom</td></tr><tr><td><code>skull_player</code></td><td>Get a player's head.</td><td>/skull player<br>/playerhead</td><td>sunlight.command.skull.player<br>sunlight.command.skull.player.others</td></tr><tr><td><code>smite</code></td><td>Strike a player with lightning.</td><td>/smite</td><td>sunlight.command.smite<br>sunlight.command.smite.others</td></tr><tr><td><code>spawner</code></td><td>Change spawner's type.</td><td>/spawner</td><td>sunlight.command.spawner<br>sunlight.command.spawner.&#x3C;type></td></tr><tr><td><code>speed</code></td><td>Change player's walk speed.</td><td>/speed</td><td>sunlight.command.speed<br>sunlight.command.speed.others</td></tr><tr><td><code>staff</code></td><td>List of online staff.</td><td>/staff</td><td>sunlight.command.staff</td></tr><tr><td><code>sudo_chat</code></td><td>Force player to send a chat message.</td><td>/sudo chat</td><td>sunlight.command.sudo.chat</td></tr><tr><td><code>sudo_command</code></td><td>Force player to send a command.</td><td>/sudo command</td><td>sunlight.command.sudo.command</td></tr><tr><td><code>suicide</code></td><td>Commit suicide.</td><td>/suicide</td><td>sunlight.command.suicide</td></tr><tr><td><code>teleport_location</code></td><td>Teleport to specific coordinates.</td><td>/teleport location<br>/tploc<br>/tppos</td><td>sunlight.command.teleport.location<br>sunlight.command.teleport.location.others</td></tr><tr><td><code>teleport_send</code></td><td>Teleport one player to another.</td><td>/teleport send<br>/tpplayer</td><td>sunlight.command.teleport.send</td></tr><tr><td><code>teleport_summon</code></td><td>Summon a player to you.</td><td>/teleport summon<br>/summon</td><td>sunlight.command.teleport.summon</td></tr><tr><td><code>teleport_to</code></td><td>Teleport to a player.</td><td>/teleport to<br>/tpto</td><td>sunlight.command.teleport.to</td></tr><tr><td><code>teleport_top</code></td><td>Teleport to the highest block above you.</td><td>/teleport top<br>/toppos</td><td>sunlight.command.teleport.top</td></tr><tr><td><code>time_set</code></td><td>Set world time.</td><td>/time set</td><td>sunlight.command.time.set</td></tr><tr><td><code>time_show</code></td><td>Show world time.</td><td>/time show</td><td>sunlight.command.time.show</td></tr><tr><td><code>time_personal_set</code></td><td>Set personal time.</td><td>/ptime set</td><td>sunlight.command.time.personal.set<br>sunlight.command.time.personal.set.others</td></tr><tr><td><code>time_personal_reset</code></td><td>Reset personal time</td><td>/ptime reset</td><td>sunlight.command.time.personal.reset<br>sunlight.command.time.personal.reset.others</td></tr><tr><td><code>weather_clear</code></td><td>Set clear weather.</td><td>/weather clear<br>/sun</td><td>sunlight.command.weather.clear</td></tr><tr><td><code>weather_storm</code></td><td>Set rain weather.</td><td>/weather storm<br>/rain</td><td>sunlight.command.weather.storm</td></tr><tr><td><code>weather_thunder</code></td><td>Set thunderstorm weather.</td><td>/weather thunder<br>/thunderstorm</td><td>sunlight.command.weather.thunder</td></tr></tbody></table>

### Afk Module

<table data-full-width="true"><thead><tr><th width="178">Executor</th><th>Description</th><th width="198">Default Alias(es)</th><th></th></tr></thead><tbody><tr><td><code>afk</code></td><td>Toggle AFK state.</td><td>/afk</td><td>sunlight.afk.command.afk</td></tr></tbody></table>

### Back Location Module

<table data-full-width="true"><thead><tr><th width="152">Executor</th><th width="255">Description</th><th width="156">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>back</code></td><td>Teleport to previous location.</td><td>/back</td><td>sunlight.backlocation.command.back<br>sunlight.backlocation.command.back.others</td></tr><tr><td><code>deathback</code></td><td>Teleport to death location.</td><td>/deathback<br>/dback</td><td>sunlight.backlocation.command.deathback<br>sunlight.backlocation.command.deathback.others</td></tr></tbody></table>

### Bans Module

<table data-full-width="true"><thead><tr><th width="201">Executor</th><th width="269">Description</th><th width="160">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>banhistory</code></td><td>View ban history of a player/IP.</td><td>/banhistory</td><td>sunlight.bans.command.banhistory</td></tr><tr><td><code>warnhistory</code></td><td>View warn history of a player.</td><td>/warnhistory</td><td>sunlight.bans.command.warnhistory</td></tr><tr><td><code>mutehistory</code></td><td>View mute history of a player.</td><td>/mutehistory</td><td>sunlight.bans.command.mutehistory</td></tr><tr><td><code>banlist</code></td><td>Open ban list.</td><td>/banlist</td><td>sunlight.bans.command.banlist</td></tr><tr><td><code>mutelist</code></td><td>Open mute list.</td><td>/mutelist</td><td>sunlight.bans.command.mutelist</td></tr><tr><td><code>warnlist</code></td><td>Open warn list.</td><td>/warnlist</td><td>sunlight.bans.command.warnlist</td></tr><tr><td><code>unban</code></td><td>Unban a player or IP.</td><td>/unban</td><td>sunlight.bans.command.unban</td></tr><tr><td><code>unmute</code></td><td>Unmute a player.</td><td>/unmute</td><td>sunlight.bans.command.unmute</td></tr><tr><td><code>unwarn</code></td><td>Unwarn a player.</td><td>/unwarn</td><td>sunlight.bans.command.unwarn</td></tr><tr><td><code>kick</code></td><td>Kick a player.</td><td>/kick</td><td>sunlight.bans.command.kick</td></tr><tr><td><code>ban</code></td><td>Ban a player.</td><td>/ban</td><td>sunlight.bans.command.ban</td></tr><tr><td><code>banip</code></td><td>Ban an IP address.</td><td>/banip</td><td>sunlight.bans.command.banip</td></tr><tr><td><code>mute</code></td><td>Mute a player.</td><td>/mute</td><td>sunlight.bans.command.mute</td></tr><tr><td><code>warn</code></td><td>Warn a player.</td><td>/warn</td><td>sunlight.bans.command.warn</td></tr><tr><td><code>alts</code></td><td>List players from same IPs.</td><td>/alts</td><td>sunlight.bans.command.alts</td></tr></tbody></table>

### Chat Module

<table data-full-width="true"><thead><tr><th width="219">Executor</th><th width="261">Description</th><th width="174">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>channel_join</code></td><td>Join a channel.</td><td>/chatchannel join<br>/joinchannel</td><td>sunlight.chat.command.channel.join</td></tr><tr><td><code>channel_leave</code></td><td>Leave a channel.</td><td>/chatchannel leave<br>/leavechannel</td><td>sunlight.chat.command.channel.leave</td></tr><tr><td><code>channel_set</code></td><td>Set active channel.</td><td>/chatchannel set<br>/setchannel</td><td>sunlight.chat.command.channel.set</td></tr><tr><td><code>clearchat</code></td><td>Clear chat.</td><td>/clearchat</td><td>sunlight.chat.command.clearchat</td></tr><tr><td><code>mentions_toggle</code></td><td>Toggle mentions.</td><td>/mentions</td><td>sunlight.chat.command.mentions<br>sunlight.chat.command.mentions.others</td></tr><tr><td><code>me</code></td><td>Show an action.</td><td>/me</td><td>sunlight.chat.command.me</td></tr><tr><td><code>pm_send</code></td><td>Send private message.</td><td>/pm, /whisper, /w<br>/tell, /msg</td><td>sunlight.chat.command.tell</td></tr><tr><td><code>pm_reply</code></td><td>Reply on private message.</td><td>/reply<br>/r</td><td>sunlight.chat.command.reply</td></tr><tr><td><code>pm_toggle</code></td><td>Toggle private messages.</td><td>/pmtoggle</td><td>sunlight.chat.command.togglepm<br>sunlight.chat.command.togglepm.others</td></tr><tr><td><code>spy_logger</code></td><td>Toggle SpyLogger for a player.</td><td>/spylogger</td><td>sunlight.chat.command.chatspy.logger</td></tr><tr><td><code>spy_mode_social</code></td><td>Toggle social spy.</td><td>/spymode social<br>/socialspy</td><td>sunlight.chat.command.spymode.social<br>sunlight.chat.command.spymode.social.others</td></tr><tr><td><code>spy_mode_command</code></td><td>Toggle command spy.</td><td>/spymode command<br>/commandspy</td><td>sunlight.chat.command.spymode.command<br>sunlight.chat.command.spymode.command.others</td></tr><tr><td><code>spy_mode_chat</code></td><td>Toggle chat spy.</td><td>/spymode chat<br>/chatspy</td><td>sunlight.chat.command.spymode.chat<br>sunlight.chat.command.spymode.chat.others</td></tr></tbody></table>

### Custom Text Module

<table data-full-width="true"><thead><tr><th width="208">Executor</th><th>Description</th><th width="190">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>custom_text</code></td><td>Displays content of specific text.</td><td>/customtext</td><td>sunlight.customtext.command.text</td></tr></tbody></table>

### Extras Module

<table data-full-width="true"><thead><tr><th width="220">Executor</th><th width="244">Description</th><th width="159">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>chairs_toggle</code></td><td>Toggle Chairs.</td><td>/chairs</td><td>sunlight.extras.command.chairs<br>sunlight.extras.command.chairs.others</td></tr><tr><td><code>chairs_sit</code></td><td>Sit on a block.</td><td>/sit</td><td>sunlight.extras.command.sit<br>sunlight.extras.command.sit.others</td></tr><tr><td><code>chestsort_toggle</code></td><td>Toggle ChestSort.</td><td>/chestsort</td><td>sunlight.extras.command.chestsort<br>sunlight.extras.command.chestsort.others</td></tr></tbody></table>

### GodMode Module

<table data-full-width="true"><thead><tr><th width="216">Executor</th><th width="225">Description</th><th width="160">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>god_toggle</code></td><td>Toggle God mode.</td><td>/god</td><td>sunlight.godmode.command.god<br>sunlight.godmode.command.god.others</td></tr><tr><td><code>foodgod_toggle</code></td><td>Toggle FoodGod mode.</td><td>/foodgod</td><td>sunlight.godmode.command.foodgod<br>sunlight.godmode.command.foodgod.others</td></tr></tbody></table>

### Homes Module

<table data-full-width="true"><thead><tr><th width="224">Executor</th><th width="233">Description</th><th width="191">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>home_admin_create</code></td><td>Create a home for a player.</td><td>/homesadmin create<br>/setplayerhome</td><td>sunlight.homes.command.homes.set.others</td></tr><tr><td><code>home_admin_delete</code></td><td>Delete player's home.</td><td>/homesadmin delete<br>/deleteplayerhome</td><td>sunlight.homes.command.homes.delete.others</td></tr><tr><td><code>home_delete</code></td><td>Delete a home.</td><td>/homes delete<br>/delhome</td><td>sunlight.homes.command.homes.delete</td></tr><tr><td><code>home_list</code></td><td>Browse homes.</td><td>/homes list<br>/homelist</td><td>sunlight.homes.command.homes.list<br>sunlight.homes.command.homes.list.others</td></tr><tr><td><code>home_set</code></td><td>Create a home.</td><td>/homes set<br>/sethome</td><td>sunlight.homes.command.homes.set</td></tr><tr><td><code>home_teleport</code></td><td>Teleport to a home.</td><td>/homes teleport<br>/home</td><td>sunlight.homes.command.homes.teleport</td></tr><tr><td><code>home_visit</code></td><td>Visit a player's home.</td><td>/homes visit<br>/visithome</td><td>sunlight.homes.command.homes.visit<br>sunlight.homes.command.homes.visit.all</td></tr><tr><td><code>home_invite</code></td><td>Invite player to a home.</td><td>/homes invite<br>/homeinvite</td><td>sunlight.homes.command.homes.invite</td></tr></tbody></table>

### Kits Module

<table data-full-width="true"><thead><tr><th width="235">Executor</th><th>Description</th><th width="184">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>kit_editor</code></td><td>Open Kits Editor.</td><td>/kits editor<br>/editkit</td><td>sunlight.kits.command.kits.editor</td></tr><tr><td><code>kit_get</code></td><td>Get a kit.<br>Give kit to a player.</td><td>/kits give<br>/kit</td><td>sunlight.kits.command.kits.get<br>sunlight.kits.command.kits.give</td></tr><tr><td><code>kit_list</code></td><td>Browse kits.</td><td>/kits list<br>/kitlist</td><td>sunlight.kits.command.kits.list<br>sunlight.kits.command.kits.others</td></tr><tr><td><code>kit_reset_cooldown</code></td><td>Reset kit cooldown for a player.</td><td>/kits resetcooldown</td><td>sunlight.kits.command.kits.resetcooldown</td></tr><tr><td><code>kit_set_cooldown</code></td><td>Set kit cooldown for a player.</td><td>/kits setcooldown</td><td>sunlight.kits.command.kits.setcooldown</td></tr><tr><td><code>kit_preview</code></td><td>Preview a kit.</td><td>/kits preview<br>/viewkit</td><td>sunlight.kits.command.kits.preview<br>sunlight.kits.command.kits.preview.others</td></tr></tbody></table>

### NerfPhantoms Module

<table data-full-width="true"><thead><tr><th width="235">Executor</th><th width="212">Description</th><th width="170">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>nophantom_toggle</code></td><td>Toggle Anti-Phantom.</td><td>/nophantom</td><td>sunlight.nerfphantoms.command.nophantom<br>sunlight.nerfphantoms.command.nophantom.others</td></tr></tbody></table>

### PTP Module

<table data-full-width="true"><thead><tr><th width="219">Executor</th><th width="267">Description</th><th width="168">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>ptp_accept</code></td><td>Accept teleport request.</td><td>/ptp accept<br>/tpyes</td><td>sunlight.ptp.command.accept</td></tr><tr><td><code>ptp_decline</code></td><td>Decline teleport request.</td><td>/ptp decline<br>/tpno</td><td>sunlight.ptp.command.decline</td></tr><tr><td><code>ptp_request</code></td><td>Send teleport request.</td><td>/ptp request<br>/call<br>/tpa</td><td>sunlight.ptp.command.request</td></tr><tr><td><code>ptp_invite</code></td><td>Send teleport invite.</td><td>/ptp invite<br>/tphere</td><td>sunlight.ptp.command.invite</td></tr><tr><td><code>ptp_toggle</code></td><td>Toggle teleport requests.</td><td>/ptp toggle<br>/tptoggle</td><td>sunlight.ptp.command.toggle<br>sunlight.ptp.command.toggle.others</td></tr></tbody></table>

### RTP Module

<table data-full-width="true"><thead><tr><th width="215">Executor</th><th width="263">Description</th><th width="176">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>rtp</code></td><td>Random teleportation.</td><td>/rtp</td><td>sunlight.rtp.command.rtp</td></tr></tbody></table>

### Scoreboard Module

<table data-full-width="true"><thead><tr><th width="226">Executor</th><th width="203">Description</th><th width="167">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>scoreboard_toggle</code></td><td>Toggle scoreboard.</td><td>/scoreboard<br>/board<br>/sb</td><td>sunlight.scoreboard.command.scoreboard<br>sunlight.scoreboard.command.scoreboard.others</td></tr></tbody></table>

### Spawns Module

<table data-full-width="true"><thead><tr><th width="217">Executor</th><th width="201">Description</th><th width="170">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>spawn_create</code></td><td>Create a spawn.</td><td>/spawns create<br>/setspawn</td><td>sunlight.spawns.command.spawns.create</td></tr><tr><td><code>spawn_delete</code></td><td>Delete a spawn.</td><td>/spawns delete<br>/delspawn</td><td>sunlight.spawns.command.spawns.delete</td></tr><tr><td><code>spawn_editor</code></td><td>Open spawn editor.</td><td>/spawnseditor<br>/editspawn</td><td>sunlight.spawns.command.spawns.editor</td></tr><tr><td><code>spawn_teleport</code></td><td>Teleport to a spawn.</td><td>/spawns teleport<br>/spawn</td><td>sunlight.spawns.command.spawns.teleport<br>sunlight.spawns.command.spawns.teleport.others</td></tr></tbody></table>

### Vanish Module

<table data-full-width="true"><thead><tr><th width="236">Executor</th><th width="188">Description</th><th width="173">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>vanish_toggle</code></td><td>Toggle Vanish.</td><td>/vanish<br>/v</td><td>sunlight.vanish.command.vanish<br>sunlight.vanish.command.vanish.others</td></tr></tbody></table>

### Warps Module

<table data-full-width="true"><thead><tr><th width="252">Executor</th><th width="197">Description</th><th width="200">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>warp_create</code></td><td>Create a warp.</td><td>/warps create<br>/setwarp</td><td>sunlight.warps.command.warps.create<br>sunlight.warps.command.warps.create.others</td></tr><tr><td><code>warp_delete</code></td><td>Delete a warp.</td><td>/warps delete<br>/delwarp</td><td>sunlight.warps.command.warps.delete<br>sunlight.warps.command.warps.delete.others</td></tr><tr><td><code>warp_list</code></td><td>Browse warps.</td><td>/warps list<br>/warplist</td><td>sunlight.warps.command.warps.list<br>sunlight.warps.command.warps.list.others</td></tr><tr><td><code>warp_reset_cooldown</code></td><td>Reset warp cooldown for a player.</td><td>/warps resetcooldown</td><td>sunlight.warps.command.warps.resetcooldown</td></tr><tr><td><code>warp_set_cooldown</code></td><td>Set warp cooldown for a player.</td><td>/warps setcooldown</td><td>sunlight.warps.command.warps.setcooldown</td></tr><tr><td><code>warp_teleport</code></td><td>Teleport to a warp.</td><td>/warps teleport<br>/warp</td><td>sunlight.warps.command.warps.teleport<br>sunlight.warps.command.warps.teleport.others</td></tr></tbody></table>

### Worlds Module

<table data-full-width="true"><thead><tr><th width="202">Executor</th><th width="195">Description</th><th width="223">Default Alias(es)</th><th>Permission</th></tr></thead><tbody><tr><td><code>world_create</code></td><td>Create a new world.</td><td>/worldmanager create<br>/createworld</td><td>sunlight.worlds.command.createworld</td></tr><tr><td><code>world_delete</code></td><td>Delete a world.</td><td>/worldmanager delete<br>/deleteworld</td><td>sunlight.worlds.command.deleteworld</td></tr><tr><td><code>world_editor</code></td><td>Open worlds editor.</td><td>/worldmanager editor<br>/editworld</td><td>sunlight.worlds.command.editor</td></tr><tr><td><code>world_load</code></td><td>Load a world.</td><td>/worldmanager load<br>/loadworld</td><td>sunlight.worlds.command.loadworld</td></tr><tr><td><code>world_unload</code></td><td>Unload a world.</td><td>/worldmanager unload<br>/unloadworld</td><td>sunlight.worlds.command.unloadworld</td></tr></tbody></table>


---

# 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/commands.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.
