Elementium Sign in
Contents

Plugins · Step

Set an NPC's click cooldown

Choose how long a player must wait between clicks on an NPC, so the trigger can't be spammed.

Basic plan m.npc.set_cooldown

In a flow

“When the server starts → Set an NPC's click cooldown: guide, 2 seconds.”

When the server starts → Set an NPC's click cooldown: guide, 2 seconds.

What it does

Choose how long a player must wait between clicks on an NPC, so the trigger can't be spammed. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Plugins in the palette.

When to use it

Use it when the flow needs to: choose how long a player must wait between clicks on an NPC, so the trigger can't be spammed.

When not to

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

Typical wiring

Sockets: settings you can wire

Wait Number

How long between clicks it answers, for each player. 20 ticks are one second.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 20.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more

Often next

Related in Plugins

Wires and sockets · Data values · Plans