SPluginsSPlugins

📌 Information EL

Description

ExecutableLevers adds small levers that run commands. You place one on any face of a block, at the exact point you aim at, and a right-click flips it. Turning it on runs one list of commands, turning it off runs another.

A lever is a switch for commands: open a door, start an event, give an effect, send a message. It is not a redstone part and gives no redstone signal.

It requires the free SCore library plugin, and Minecraft 1.19.4 or above. Players need no resource pack and no mod.

Support

Need help, report a bug or submit a suggestion? Something is not in the wiki or poorly explained ?

Get it

How it works

  1. /el give 3 gives you three levers.
  2. Right-click a block with the lever in your hand. It appears where you aim, on the top, the bottom or a side of the block, and you keep the item. Several levers fit on one block.
  3. Sneak while looking at the lever, within 5 blocks: its editor opens.
  4. Right-click the lever to flip it.

The editor of a lever

Each placed lever has its own settings:

  • Scale: the size of the lever. The default, 0.5, is half a vanilla lever.
  • Glow when powered: the lever glows while it is on.
  • Activators: what the lever runs. A lever takes as many activators as you want.
  • The red button removes the lever. The item is not given back.

Activators

An activator is a trigger, some optional conditions, and the commands to run.

SettingConfig keyWhat it is
TriggeroptionLEVER_ENABLE_POWER (the lever turns on) or LEVER_DISABLE_POWER (it turns off)
Player commandsplayerCommandsRun for the player who flipped the lever: the player commands of SCore
Block commandsblockCommandsRun on the block where the lever stands
Player conditionsplayerConditionsSee the custom conditions
Block conditionsblockConditions
World conditionsworldConditionsThe weather and the time
Placeholder conditionsplaceholdersConditionsAny PlaceholderAPI placeholder
Player cooldowncooldownFeaturesA cooldown for each player, in seconds or in ticks
Global cooldownglobalCooldownFeaturesA cooldown for everyone
Silence outputsilenceOutput

A line of a command list that is not one of the SCore commands is run by the console, as a normal server command.

Commands and permissions

Give levers

  • Command: /el give [amount]
  • The levers go to the player who types the command.
  • Permission: el.cmd.give

Permissions

  • el.cmds: every command
  • el.*: every permission of ExecutableLevers
Warning

In the versions up to 2.26.11.28, the editor of a lever opens for any player who sneaks while looking at it. From the next release it needs the permission el.editor (given to operators by default).

Good to know

  • A lever gives no redstone signal. It only runs commands.
  • Every player can flip a lever. Use a condition (a permission, a region) to choose who runs its commands.
  • A lever has no cost and no use limit: conditions can check a level, experience or items, but they take nothing.
  • A lever is not tied to its block: if the block is broken, the lever stays.
  • The messages of the plugin are in English. The editor is translated in 13 languages.
Created Nov 29, 2026Last updated Nov 29, 2026 by Ssomar
Edit this page on GitHub