ButtonCommands — Execute Commands with Buttons in Minecraft

ButtonCommands: Transform Your Minecraft Server with Command-Activated Buttons Running a Minecraft server often means juggling dozens of plugins, permissions, and command sequences. Wouldn't it be great if players could trigger complex actions just by pressing a simple button? That is exactly wha...

Download ButtonCommands

Original name: ButtonCommands

FileVersionLoaderSize
ButtonCommands.jar——8 КБDownload

ButtonCommands: Transform Your Minecraft Server with Command-Activated Buttons

Running a Minecraft server often means juggling dozens of plugins, permissions, and command sequences. Wouldn't it be great if players could trigger complex actions just by pressing a simple button? That is exactly what the ButtonCommands plugin delivers. It turns ordinary wooden or stone buttons into powerful command interfaces, letting you execute everything from teleportation and kit giveaways to full server announcements without typing a single slash command. This lightweight Bukkit plugin hooks straight into the standard API, avoiding messy NMS or CraftBukkit dependencies, so it stays reliable across most modern server versions.

How ButtonCommands Works

At its core, ButtonCommands listens for player interactions with buttons placed in the world. When a button is pressed, the plugin checks a configuration file to see if that button location is linked to any commands. If it finds a match, it runs those commands instantly, either as the player or as the console. This means you can design adventure maps, spawn hubs, or minigame lobbies where a single click handles multiple steps. The plugin supports three distinct execution modes: normal player commands, console commands with elevated privileges, and redstone-triggered commands that respond to power changes. You can even chain multiple commands together using aliases, making it a versatile tool for server automation.

Key Features at a Glance

  • Multi-command execution: Run one or several commands from a single button press, cutting down repetitive admin tasks.
  • Console command sender: Execute commands with full server permissions, even if the player lacks them, perfect for spawning restricted items or modifying world settings.
  • Redstone integration: Trigger commands when a button is powered by redstone circuits, allowing automatic farms, door sequences, or puzzle mechanics.
  • Alias commands: Bundle multiple normal and console commands under a single alias, then assign that alias to any button for clean configuration.
  • Command white-list: Restrict which commands can be used on signs or buttons, preventing abuse while keeping essential functions available.
  • Variable support: Insert dynamic placeholders like player names or coordinates before commands are processed, adding personalization and context.
  • Sign compatibility: Buttons placed near command signs will execute the sign's commands, blending seamlessly with existing command-sign setups.

Setting Up ButtonCommands on Your Server

Installation is straightforward. After downloading the plugin JAR file, place it into your server's plugins folder and restart the server. A default configuration file will be generated automatically. Open plugins/ButtonCommands/config.yml to start defining your button-command pairs. Each entry links a world name, button coordinates, and the command string. For players who want to skip manual file transfers, using a modern launcher like foxygame.net can simplify the process dramatically. The foxygame.net launcher lets you browse and install plugins directly from its menu, so you can get ButtonCommands running in seconds without ever touching a file manager. Once installed, test your setup by placing a button, pressing it, and watching the console or chat for the expected output.

Command White-Listing and Aliases

Security is a major concern on public servers. ButtonCommands includes a flexible white-list system that lets you lock down which commands can be triggered via buttons. You can either white-list all commands or specify only the ones you trust. This is separate from the normal button commands, giving you granular control. Aliases take convenience a step further. Instead of typing a long sequence like give @p diamond 1 and say Welcome! every time, you create an alias called "starterkit" that bundles both. Then you assign that alias to a button, keeping your config tidy and easy to edit. The alias configuration file supports variables, so you can still insert player-specific data on the fly.

Redstone Integration and Automation

Redstone commands are a standout feature for technical players. The plugin recognizes three reliable setups: a button directly powering a command sign, a button connected via redstone dust to a sign, or a button triggering a command block that then updates a sign. As long as you avoid exotic redstone components or conflicting plugins, these methods work consistently. This opens up possibilities like automatic welcome messages when a player steps on a pressure plate, or a hidden door that runs a console command to change the time of day. The documentation includes visual examples of the three wiring methods, making it easy even for redstone beginners.

Variables and Customization

Variables add a layer of dynamism that static commands lack. You can insert {player} to reference the player who pressed the button, {world} for the current world name, or custom placeholders from other plugins. For instance, a button in a shop could run eco take {player} 50 and give {player} diamond 1 in one click, deducting money and handing over the item seamlessly. Color codes are also supported, so you can style any messages sent to chat. The plugin's documentation provides a full list of available variables and color codes, and you can even combine them with alias commands for maximum flexibility.

Conclusion

ButtonCommands strips away the complexity of command blocks and bulky command signs, giving server owners a clean, Bukkit-native way to make buttons interactive. Whether you are building a roleplay hub, a parkour course with instant checkpoints, or an automated admin panel, this plugin handles it with minimal overhead. Its white-list and alias systems keep things secure and organized, while redstone support extends functionality to the physical world. Best of all, because it relies only on the Bukkit API, you can expect it to work across future updates without breaking. If you are tired of typing the same commands over and over, install ButtonCommands, map a few buttons, and watch your server become more intuitive and engaging for everyone.