📄 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.

To get access to commands inside a command group, players must have command group permission!

Executors

List of all SunLight command executors and their permissons.

All other permissions used in commands can be found on Permissions page.

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

Core

Executors provided by the main plugin (no modules).

Executor
Description
Default Alias(es)
Permission

air_add

Add air ticks.

/air add

sunlight.command.air.add sunlight.command.air.add.others

air_set

Set air ticks amount.

/air set

sunlight.command.air.set sunlight.command.air.set.others

air_remove

Removes air ticks.

/air remove

sunlight.command.air.remove sunlight.command.air.remove.others

broadcast

Broadcast a message.

/broadcast /bc

sunlight.command.broadcast

condense

Condense items into blocks.

/condense

sunlight.command.condense

container_anvil

Open portable (virtual) Anvil.

/anvil /portable anvil /container anvil

sunlight.command.container.anvil sunlight.command.container.anvil.others

container_crafting

Open portable (virtual) Workbench.

/workbench /portable workbench /container workbench

sunlight.command.container.crafting sunlight.command.container.crafting.others

container_enchantment

Open portable (virtual) Enchanting Table.

/enchanting /portable enchanting /container enchanting

sunlight.command.container.enchantment sunlight.command.container.enchantment.others

container_grindstone

Open portable (virtual) Grindstone.

/grindstone /portable grindstone /container grindstone

sunlight.command.container.grindstone sunlight.command.container.grindstone.others

container_loom

Open portable (virtual) Loom.

/loom /portable loom /container loom

sunlight.command.container.loom sunlight.command.container.loom.others

container_smithing

Open portable (virtual) Smithing Table.

/smithing /portable smithing /container smithing

sunlight.command.container.smithing sunlight.command.container.smithing.others

container_cartography

Open portable (virtual) Cartography Table.

/cartography /portable cartography /container cartography

sunlight.command.container.cartography sunlight.command.container.cartography.others

container_stonecutter

Open portable (virtual) Stonecutter.

/stonecutter /portable stonecutter /container stonecutter

sunlight.command.container.stonecutter sunlight.command.container.stonecutter.others

dimension

Teleport to another world.

/dimension /dim

sunlight.command.dimension sunlight.command.dimension.others

disposal

Open virtual disposal.

/disposal

sunlight.command.disposal sunlight.command.disposal.others

enchant

Enchant player's item in a slot.

/enchant

sunlight.command.enchant

enderchest_clear

Clear enderchest.

/enderchest clear

sunlight.command.enderchest.clear sunlight.command.enderchest.clear.others

enderchest_copy

Copy enderchest content.

/enderchest copy

sunlight.command.enderchest.copy sunlight.command.enderchest.copy.others

enderchest_fill

Fill enderchest with an item.

/enderchest fill

sunlight.command.enderchest.fill

enderchest_open

Open enderchest.

/enderchest open /ec /endersee

sunlight.command.enderchest.open sunlight.command.enderchest.open.others

enderchest_repair

Repair all items in enderchest.

/enderchest repair

sunlight.command.enderchest.repair sunlight.command.enderchest.repair.others

exp_add

Add experience points or levels.

/experience add

sunlight.command.experience.add sunlight.command.experience.add.others

exp_set

Set experience points or levels

/experience set

sunlight.command.experience.set sunlight.command.experience.set.others

exp_remove

Remove experience points or levels.

/experience remove

sunlight.command.experience.remove sunlight.command.experience.remove.others

exp_view

View experience status.

/experience view

sunlight.command.experience.view sunlight.command.experience.view.others

fire_set

Set player fire ticks.

/fire set /ignite

sunlight.command.fire.set sunlight.command.fire.set.others

fire_reset

Reset player fire ticks to 0.

/fire reset /extinguish /ext

sunlight.command.fire.reset sunlight.command.fire.reset.others

fly

Toggle fly state.

/fly

sunlight.command.fly sunlight.command.fly.others

flyspeed

Change fly speed.

/flyspeed

sunlight.command.flyspeed sunlight.command.flyspeed.others

foodlevel_add

Add player food points.

/foodlevel add

sunlight.command.foodlevel.add sunlight.command.foodlevel.add.others

foodlevel_set

Set player food points.

/foodlevel set

sunlight.command.foodlevel.set sunlight.command.foodlevel.set.others

foodlevel_remove

Remove player food points.

/foodlevel remove

sunlight.command.foodlevel.remove sunlight.command.foodlevel.remove.others

foodlevel_restore

Restore player food points to max.

/foodlevel restore /feed

sunlight.command.foodlevel.restore sunlight.command.foodlevel.restore.others

gamemode_adventure

Set gamemode to Adventure.

/gamemode adventure /gma

sunlight.command.gamemode.adventure sunlight.command.gamemode.adventure.others

gamemode_creative

Set gamemode to Creative.

/gamemode creative /gmc

sunlight.command.gamemode.creative sunlight.command.gamemode.creative.others

gamemode_survival

Set gamemode to Survival.

/gamemode survival /gms

sunlight.command.gamemode.survival sunlight.command.gamemode.survival.others

gamemode_spectator

Set gamemode to Spectator.

/gamemode spectator /gmsp

sunlight.command.gamemode.spectator sunlight.command.gamemode.spectator.others

hat

Put item in hand on head slot.

/hat

sunlight.command.hat

health_add

Add healths points to a player.

/health add

sunlight.command.health.add sunlight.command.health.add.others

health_remove

Remove health points off a player.

/health remove

sunlight.command.health.remove sunlight.command.health.remove.others

health_set

Set healths points for a player.

/health set

sunlight.command.health.set sunlight.command.health.set.others

health_restore

Restore player's healths points.

/health restore /heal

sunlight.command.health.restore sunlight.command.health.restore.others

ignore_add

Block a player.

/ignore add /addignore

sunlight.command.ignore.add

ignore_list

View list of blocked players.

/ignore list /ignorelist

sunlight.command.ignore.list sunlight.command.ignore.list.others

ignore_remove

Unblock a player.

/ignore remove /unignore

sunlight.command.ignore.remove

inventory_clear

Clear player's inventory.

/inventory clear /clearinv

sunlight.command.inventory.clear sunlight.command.inventory.clear.others

inventory_copy

Copy player's inventory content.

/inventory copy

sunlight.command.inventory.copy sunlight.command.inventory.copy.others

inventory_fill

Fill player's inventory with an item.

/inventory fill

sunlight.command.inventory.fill

inventory_open

Open player's inventory.

/inventory open /invsee

sunlight.command.inventory.open

inventory_repair

Repair all items in player's inventory.

/inventory repair /repairall /fixall

sunlight.command.inventory.repair sunlight.command.inventory.repair.others

item_amount

Change amount of an item in hand.

/item amount

sunlight.command.item.amount

item_damage

Set durability damage value of an item in hand.

/item damage

sunlight.command.item.damage

item_enchant

Enchant an item in hand.

/item enchant

sunlight.command.item.enchant

item_get

Get an item.

/item get

sunlight.command.item.get

item_give

Give an item to a player.

/item give

sunlight.command.item.give

item_lore_add

Add lore to an item in hand.

/itemlore add

sunlight.command.item.lore

item_lore_remove

Remove lore from an item in hand.

/itemlore remove

sunlight.command.item.lore

item_lore_clear

Clear lore of an item in hand.

/itemlore clear

sunlight.command.item.lore

item_model

Set custom model data for an item in hand.

/item model

sunlight.command.item.model

item_name

Change display name of an item in hand.

/item name /rename

sunlight.command.item.name

item_potion

Add potion effect to a potion item in hand.

/item potion

sunlight.command.item.potion

item_repair

Repair an item in hand.

/item repair /repair /fix

sunlight.command.item.repair

item_spawn

Spawn an item at certain location.

/item spawn

sunlight.command.item.spawn

item_take

Take an item from a player.

/item take

sunlight.command.item.take

item_unbreakable

Toggle unbreakable state of an item in hand.

/item unbreakable

sunlight.command.item.unbreakable

mob_clear

Kills all mobs in a radius.

/mob clear

sunlight.command.mob.clear

mob_kill

Kill specific mobs.

/mob kill /killmob

sunlight.command.mob.kill

mob_spawn

Spawn a mob.

/mob spawn /spawnmob

sunlight.command.mob.spawn

near

List of players in a certain radius to you.

/near

sunlight.command.near

nick_change

Change your display name.

/nick change /changename

sunlight.command.nick.change

nick_clear

Remove player's custom display name.

/nick reset /clearnick

sunlight.command.nick.clear sunlight.command.nick.clear.others

nick_set

Set player's custom display name.

/nick set /setnick

sunlight.command.nick.set

playerinfo

Info about a player.

/playerinfo

sunlight.command.playerinfo

skull_custom

Get a custom head by Minecraft Texture URL.

/skull custom /customhead

sunlight.command.skull.custom

skull_player

Get a player's head.

/skull player /playerhead

sunlight.command.skull.player sunlight.command.skull.player.others

smite

Strike a player with lightning.

/smite

sunlight.command.smite sunlight.command.smite.others

spawner

Change spawner's type.

/spawner

sunlight.command.spawner sunlight.command.spawner.<type>

speed

Change player's walk speed.

/speed

sunlight.command.speed sunlight.command.speed.others

staff

List of online staff.

/staff

sunlight.command.staff

sudo_chat

Force player to send a chat message.

/sudo chat

sunlight.command.sudo.chat

sudo_command

Force player to send a command.

/sudo command

sunlight.command.sudo.command

suicide

Commit suicide.

/suicide

sunlight.command.suicide

teleport_location

Teleport to specific coordinates.

/teleport location /tploc /tppos

sunlight.command.teleport.location sunlight.command.teleport.location.others

teleport_send

Teleport one player to another.

/teleport send /tpplayer

sunlight.command.teleport.send

teleport_summon

Summon a player to you.

/teleport summon /summon

sunlight.command.teleport.summon

teleport_to

Teleport to a player.

/teleport to /tpto

sunlight.command.teleport.to

teleport_top

Teleport to the highest block above you.

/teleport top /toppos

sunlight.command.teleport.top

time_set

Set world time.

/time set

sunlight.command.time.set

time_show

Show world time.

/time show

sunlight.command.time.show

time_personal_set

Set personal time.

/ptime set

sunlight.command.time.personal.set sunlight.command.time.personal.set.others

time_personal_reset

Reset personal time

/ptime reset

sunlight.command.time.personal.reset sunlight.command.time.personal.reset.others

weather_clear

Set clear weather.

/weather clear /sun

sunlight.command.weather.clear

weather_storm

Set rain weather.

/weather storm /rain

sunlight.command.weather.storm

weather_thunder

Set thunderstorm weather.

/weather thunder /thunderstorm

sunlight.command.weather.thunder

Afk Module

Executor
Description
Default Alias(es)

afk

Toggle AFK state.

/afk

sunlight.afk.command.afk

Back Location Module

Executor
Description
Default Alias(es)
Permission

back

Teleport to previous location.

/back

sunlight.backlocation.command.back sunlight.backlocation.command.back.others

deathback

Teleport to death location.

/deathback /dback

sunlight.backlocation.command.deathback sunlight.backlocation.command.deathback.others

Bans Module

Executor
Description
Default Alias(es)
Permission

banhistory

View ban history of a player/IP.

/banhistory

sunlight.bans.command.banhistory

warnhistory

View warn history of a player.

/warnhistory

sunlight.bans.command.warnhistory

mutehistory

View mute history of a player.

/mutehistory

sunlight.bans.command.mutehistory

banlist

Open ban list.

/banlist

sunlight.bans.command.banlist

mutelist

Open mute list.

/mutelist

sunlight.bans.command.mutelist

warnlist

Open warn list.

/warnlist

sunlight.bans.command.warnlist

unban

Unban a player or IP.

/unban

sunlight.bans.command.unban

unmute

Unmute a player.

/unmute

sunlight.bans.command.unmute

unwarn

Unwarn a player.

/unwarn

sunlight.bans.command.unwarn

kick

Kick a player.

/kick

sunlight.bans.command.kick

ban

Ban a player.

/ban

sunlight.bans.command.ban

banip

Ban an IP address.

/banip

sunlight.bans.command.banip

mute

Mute a player.

/mute

sunlight.bans.command.mute

warn

Warn a player.

/warn

sunlight.bans.command.warn

alts

List players from same IPs.

/alts

sunlight.bans.command.alts

Chat Module

Executor
Description
Default Alias(es)
Permission

channel_join

Join a channel.

/chatchannel join /joinchannel

sunlight.chat.command.channel.join

channel_leave

Leave a channel.

/chatchannel leave /leavechannel

sunlight.chat.command.channel.leave

channel_set

Set active channel.

/chatchannel set /setchannel

sunlight.chat.command.channel.set

clearchat

Clear chat.

/clearchat

sunlight.chat.command.clearchat

mentions_toggle

Toggle mentions.

/mentions

sunlight.chat.command.mentions sunlight.chat.command.mentions.others

me

Show an action.

/me

sunlight.chat.command.me

pm_send

Send private message.

/pm, /whisper, /w /tell, /msg

sunlight.chat.command.tell

pm_reply

Reply on private message.

/reply /r

sunlight.chat.command.reply

pm_toggle

Toggle private messages.

/pmtoggle

sunlight.chat.command.togglepm sunlight.chat.command.togglepm.others

spy_logger

Toggle SpyLogger for a player.

/spylogger

sunlight.chat.command.chatspy.logger

spy_mode_social

Toggle social spy.

/spymode social /socialspy

sunlight.chat.command.spymode.social sunlight.chat.command.spymode.social.others

spy_mode_command

Toggle command spy.

/spymode command /commandspy

sunlight.chat.command.spymode.command sunlight.chat.command.spymode.command.others

spy_mode_chat

Toggle chat spy.

/spymode chat /chatspy

sunlight.chat.command.spymode.chat sunlight.chat.command.spymode.chat.others

Custom Text Module

Executor
Description
Default Alias(es)
Permission

custom_text

Displays content of specific text.

/customtext

sunlight.customtext.command.text

Extras Module

Executor
Description
Default Alias(es)
Permission

chairs_toggle

Toggle Chairs.

/chairs

sunlight.extras.command.chairs sunlight.extras.command.chairs.others

chairs_sit

Sit on a block.

/sit

sunlight.extras.command.sit sunlight.extras.command.sit.others

chestsort_toggle

Toggle ChestSort.

/chestsort

sunlight.extras.command.chestsort sunlight.extras.command.chestsort.others

GodMode Module

Executor
Description
Default Alias(es)
Permission

god_toggle

Toggle God mode.

/god

sunlight.godmode.command.god sunlight.godmode.command.god.others

foodgod_toggle

Toggle FoodGod mode.

/foodgod

sunlight.godmode.command.foodgod sunlight.godmode.command.foodgod.others

Homes Module

Executor
Description
Default Alias(es)
Permission

home_admin_create

Create a home for a player.

/homesadmin create /setplayerhome

sunlight.homes.command.homes.set.others

home_admin_delete

Delete player's home.

/homesadmin delete /deleteplayerhome

sunlight.homes.command.homes.delete.others

home_delete

Delete a home.

/homes delete /delhome

sunlight.homes.command.homes.delete

home_list

Browse homes.

/homes list /homelist

sunlight.homes.command.homes.list sunlight.homes.command.homes.list.others

home_set

Create a home.

/homes set /sethome

sunlight.homes.command.homes.set

home_teleport

Teleport to a home.

/homes teleport /home

sunlight.homes.command.homes.teleport

home_visit

Visit a player's home.

/homes visit /visithome

sunlight.homes.command.homes.visit sunlight.homes.command.homes.visit.all

home_invite

Invite player to a home.

/homes invite /homeinvite

sunlight.homes.command.homes.invite

Kits Module

Executor
Description
Default Alias(es)
Permission

kit_editor

Open Kits Editor.

/kits editor /editkit

sunlight.kits.command.kits.editor

kit_get

Get a kit. Give kit to a player.

/kits give /kit

sunlight.kits.command.kits.get sunlight.kits.command.kits.give

kit_list

Browse kits.

/kits list /kitlist

sunlight.kits.command.kits.list sunlight.kits.command.kits.others

kit_reset_cooldown

Reset kit cooldown for a player.

/kits resetcooldown

sunlight.kits.command.kits.resetcooldown

kit_set_cooldown

Set kit cooldown for a player.

/kits setcooldown

sunlight.kits.command.kits.setcooldown

kit_preview

Preview a kit.

/kits preview /viewkit

sunlight.kits.command.kits.preview sunlight.kits.command.kits.preview.others

NerfPhantoms Module

Executor
Description
Default Alias(es)
Permission

nophantom_toggle

Toggle Anti-Phantom.

/nophantom

sunlight.nerfphantoms.command.nophantom sunlight.nerfphantoms.command.nophantom.others

PTP Module

Executor
Description
Default Alias(es)
Permission

ptp_accept

Accept teleport request.

/ptp accept /tpyes

sunlight.ptp.command.accept

ptp_decline

Decline teleport request.

/ptp decline /tpno

sunlight.ptp.command.decline

ptp_request

Send teleport request.

/ptp request /call /tpa

sunlight.ptp.command.request

ptp_invite

Send teleport invite.

/ptp invite /tphere

sunlight.ptp.command.invite

ptp_toggle

Toggle teleport requests.

/ptp toggle /tptoggle

sunlight.ptp.command.toggle sunlight.ptp.command.toggle.others

RTP Module

Executor
Description
Default Alias(es)
Permission

rtp

Random teleportation.

/rtp

sunlight.rtp.command.rtp

Scoreboard Module

Executor
Description
Default Alias(es)
Permission

scoreboard_toggle

Toggle scoreboard.

/scoreboard /board /sb

sunlight.scoreboard.command.scoreboard sunlight.scoreboard.command.scoreboard.others

Spawns Module

Executor
Description
Default Alias(es)
Permission

spawn_create

Create a spawn.

/spawns create /setspawn

sunlight.spawns.command.spawns.create

spawn_delete

Delete a spawn.

/spawns delete /delspawn

sunlight.spawns.command.spawns.delete

spawn_editor

Open spawn editor.

/spawnseditor /editspawn

sunlight.spawns.command.spawns.editor

spawn_teleport

Teleport to a spawn.

/spawns teleport /spawn

sunlight.spawns.command.spawns.teleport sunlight.spawns.command.spawns.teleport.others

Vanish Module

Executor
Description
Default Alias(es)
Permission

vanish_toggle

Toggle Vanish.

/vanish /v

sunlight.vanish.command.vanish sunlight.vanish.command.vanish.others

Warps Module

Executor
Description
Default Alias(es)
Permission

warp_create

Create a warp.

/warps create /setwarp

sunlight.warps.command.warps.create sunlight.warps.command.warps.create.others

warp_delete

Delete a warp.

/warps delete /delwarp

sunlight.warps.command.warps.delete sunlight.warps.command.warps.delete.others

warp_list

Browse warps.

/warps list /warplist

sunlight.warps.command.warps.list sunlight.warps.command.warps.list.others

warp_reset_cooldown

Reset warp cooldown for a player.

/warps resetcooldown

sunlight.warps.command.warps.resetcooldown

warp_set_cooldown

Set warp cooldown for a player.

/warps setcooldown

sunlight.warps.command.warps.setcooldown

warp_teleport

Teleport to a warp.

/warps teleport /warp

sunlight.warps.command.warps.teleport sunlight.warps.command.warps.teleport.others

Worlds Module

Executor
Description
Default Alias(es)
Permission

world_create

Create a new world.

/worldmanager create /createworld

sunlight.worlds.command.createworld

world_delete

Delete a world.

/worldmanager delete /deleteworld

sunlight.worlds.command.deleteworld

world_editor

Open worlds editor.

/worldmanager editor /editworld

sunlight.worlds.command.editor

world_load

Load a world.

/worldmanager load /loadworld

sunlight.worlds.command.loadworld

world_unload

Unload a world.

/worldmanager unload /unloadworld

sunlight.worlds.command.unloadworld

Last updated