On this page

🖱 Click Types & Action Chains

Every slot can have up to 5 different action chains based on how the player clicks it.


The Five Click Types

TabTriggerCommon Use
LEFTLeft mouse buttonPrimary action (buy, teleport, equip)
RIGHTRight mouse buttonSecondary action (sell, info)
MIDMiddle/scroll wheel clickBulk action (buy 16, preview)
S-LShift + Left clickStack action, fast tier
S-RShift + Right clickBulk sell, alternate option
💡 Bedrock Tip: Bedrock players can't shift-click in GUIs reliably. If you support Bedrock, use Left/Right/Middle and avoid Shift variants for critical actions.

How Action Chains Execute

Actions run top to bottom, in order. If any [require], [take], or [cooldown] fails, the chain stops immediately and remaining actions are skipped.

Example chain on a "Buy Diamond" button:

  1. [require] %vault_eco_balance% >= 500 &cYou need $500!
  2. [require] %player_empty_slots% >= 1 &cInventory full!
  3. [console] eco take %player% 500
  4. [give] DIAMOND 1
  5. [sound] ENTITY_EXPERIENCE_ORB_PICKUP
  6. [message] &aPurchased!

If the player has $400, step 1 fails and they get the deny message. Steps 2–6 never run.


Reordering Actions

Each action card has a drag handle in the header. Click and drag to reorder. The order is critical — always put gatekeeper actions ([require], [take], [cooldown]) before reward actions.


Copy & Paste Actions

Each action card has a copy icon (⎘). Click to copy that single action to clipboard. Then click the paste icon (⇣) on any other slot's tab to paste it. Massive time-saver for repeated logic across slots.


The 50-Action Loop Limit

To prevent server crashes from bad menu design, action chains are limited to 50 sequential actions per click. If you somehow chain 50+ actions, the runtime aborts and logs a warning. This is generous — most chains are 5–10 actions.


Spam Protection

NxMenu has built-in protection:

  • 150ms click debounce — Prevents accidental double-clicks from running the chain twice.
  • 50ms menu open spam guard — Prevents rapid-fire menu opening.
  • Chain processing lock — A new chain can't start while a previous one is still mid-execution.

Last updated July 11, 2026