# Placeholders

## PlaceholderAPI

Placeholders to use with **PlaceholderAPI** installed plugin.

### Core

* `%sunlight_world_name_localized_[world]%` - Localized world name of the `[world]` world. World names are stored in the `/nightcore/lang` config.
* `%sunlight_world_name_localized%` - Localized name of the player's world. World names are stored in the `/nightcore/lang` config.
* `%sunlight_nick%` - Returns custom player nick.
* `%sunlight_command_is_on_cooldown_<id>%` - Returns whether or not command is on cooldown. Where `<id>` is cooldown section name from `commands.yml`.
* `%sunlight_command_cooldown_<id>%` - Returns amount of time left for command cooldown expiration. Where `<id>` is cooldown section name from `commands.yml`.

### Afk Module

* `%sunlight_afk_state%` - Returns whether or not player is in AFK mode.
* `%sunlight_afk_mode%` - Returns custom text depending on player's AFK state.
* `%sunlight_afk_idle_time%` - Returns amount of seconds of player's idleness.
* `%sunlight_afk_idle_time_formatted%` - Returns formatted player's idle time.
* `%sunlight_afk_since%` - Returns amount of time passed since player enters AFK mode.

### Extras Module

* `%sunlight_chairs_state%` - Returns whether or nor player have Chairs enabled.
* `%sunlight_chestsort_state%` - Returns whether or not player have Chest Sort enabled.

### GodMode Modue

* `%sunlight_god_state%` - Returns whether or not player have God Mode enabled.
* `%sunlight_foodgod_state%` - Returns whether or not player have Food God enabled.

### Homes Module

* `%sunlight_homes_limit%` - Returns max. amount of player homes.
* `%sunlight_homes_amount%` - Returns current amount of player homes.
* `%sunlight_homes_respawn_home%` - Returns home name that set as respawn point.
* `%sunlight_homes_default_home%` - Returns home name that set as default home.
* `%sunlight_homes_can_set%` - Returns whether or not player can set home at their current location.

### Kits Module

* `%sunlight_kits_is_on_cooldown_<kitId>%` - Returns whether or not specified kit is on cooldown.
* `%sunlight_kits_cooldown_raw_<kitId>%` - Returns timestamp for kit cooldown expiration.
* `%sunlight_kits_cooldown_<kitId>%` - Returns amount of time left for kit cooldown expiration.
* `%sunlight_kits_is_available_<kitId>%` - Returns whether or not kit is available for player.
* `%sunlight_kits_can_afford_<kitId>%` - Returns whether or not player can afford kit.
* `%sunlight_kits_has_permission_<kitId>%` - Returns whether or not player have permission for kit.

### NerfPhantoms Module

* `%sunlight_nophantom_state%` - Returns whether or not player have Anti-Phantom enabled.

### PTP Module

* `%sunlight_teleport_requests_state%` - Returns whether or not player have Teleport Requests enabled.

### Scoreboard Module

* `%sunlight_scoreboard_state%` - Returns whether or not player has scoreboard enabled.

### Vanish Module

* `%sunlight_vanish_state%` - Returns whether or not player have Vanish enabled.

### Warps Module

* `%sunlight_warps_limit%` - Returns max. amount of warps player can create.
* `%sunlight_warps_amount%` - Returns amount of created player's warps.
* `%sunlight_warps_is_on_cooldown_<warpId>%` - Returns whether or not warp is on cooldown.
* `%sunlight_warps_cooldown_raw_<warpId>%` - Returns timestamp for warp cooldown expiration.
* `%sunlight_warps_cooldown_<warpId>%` - Returns amount of time left for warp cooldown expiration.
* `%sunlight_warps_is_available_<warpId>%` - Returns whether or not warp is available for player.
* `%sunlight_warps_can_afford_<warpId>%` - Returns whether or not player can afford warp visit.
* `%sunlight_warps_has_permission%` - Returns whether or not player have permission for warp visit.

### Worlds Module

* `%sunlight_worlds_autowipe_next_date_[world]%` - Date of the next world's auto-reset.
* `%sunlight_worlds_autowipe_next_timeleft_[world]%` - Time left before next world's auto-reset.
* `%sunlight_worlds_autowipe_latest_date_[world]%` - Date of the latest world's auto-reset.
* `%sunlight_worlds_autowipe_latest_since_[world]%` - Time passed since latest world's auto-reset.


---

# 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/utility/placeholders.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.
