Skip to content

/task Command

Manage tasks in Secret Life.

Availability

This command is only available in Secret Life.

What are Tasks?

In Secret Life, players receive secret tasks they must complete during the session. Successfully completing tasks rewards hearts, while failing costs hearts.


Task Management

/task succeed

Marks a player's task as successfully completed.

/task succeed <player/s>

Arguments:

  • <player/s> - Target player or players

Permissions: Operator

INFO

This is usually not necessary to run, the Secret Keeper buttons handle the logic automatically.

/task fail

Marks a player's task as failed.

/task fail <player/s>

Arguments:

  • <player/s> - Target player or players

Permissions: Operator

INFO

This is usually not necessary to run, the Secret Keeper buttons handle the logic automatically.

/task reroll

Re-rolls a player's current easy task, giving them a new, hard one.

/task reroll <player/s>

Arguments:

  • <player/s> - Target player or players

Permissions: Operator

INFO

This is usually not necessary to run, the Secret Keeper buttons handle the logic automatically.

WARNING

Only works if the target's current task is an Easy task.


Information Commands

/task get

Tells you if a player has a task in their inventory.
Shows an additional, clickable message in chat that can show you the task itself.

/task get <player>

Arguments:

  • <player> - Target player

Permissions: Operator

/task clearTask

Removes the task book from a player's inventory.

/task clearTask <player/s>

Arguments:

  • <player/s> - Target player or players

Permissions: Operator


Task Assignment

/task assignRandom

Assigns a random task to one or more players.

/task assignRandom <player/s>

Arguments:

  • <player/s> - Target player or players

Permissions: Operator

Session Start

This is run automatically when the session starts.

/task set

Sets a specific task for a player on their next task assignment.

/task set <player/s> <difficulty> <task>

Arguments:

  • <player/s> - Target player or players
  • <difficulty> - Task difficulty: easy, hard, or red
  • <task> - Task identifier or description

Examples:

# Set an easy task for Grian
/task set Grian easy "Make someone laugh"

# Set a hard task for Scar
/task set Scar hard "Kill the Wither"

Permissions: Operator

INFO

This command overwrites the players current task, if they have one in their inventory.
If they don't have a task in their inventory, this command pre-assigns a task to them - meaning they will be given this task when the next randomization happens.

Config

You should use the config to set custom tasks, not this command. This command is only for one-time changes.
See Secret Life Tasks Config



Command Permissions Summary
CommandPermission Required
/task assignRandomOperator
/task setOperator
/task succeedOperator
/task failOperator
/task rerollOperator
/task getOperator
/task clearTaskOperator

Documentation for the Life Series mod