Elementium Sign in
Contents

Logic · Step

Player name entity: set persistent

Changes the player name entity's persistent before the server goes on with it. Paper: this will set the mob to be persistent. Only before any Wait.

Basic plan m.on.player_name_entity.set_persistent

In a flow

“When a player names a mob → Player name entity: set persistent → Done”

When a player names a mob → Player name entity: set persistent → Done

What it does

Changes the player name entity's persistent before the server goes on with it. Paper: this will set the mob to be persistent. Only before any Wait. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Logic in the palette.

When to use it

Use it to decide what happens next: changes the player name entity's persistent before the server goes on with it. Paper: this will set the mob to be persistent. Only before any Wait.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Persistent Yes / no

The player name entity's new persistent.

What goes there: Type it in the side panel, or wire in true or false. e.g. true

If it's empty: Optional. Left alone, it's off.

Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more

Often next

Related in Logic

Wires and sockets · Data values · Plans