For one of my plugins I want a player when pressing on a certain thing in a GUI to get open the /buy menu from Buycraft. Here's my code (Excluding GUIs and stuff!): Code (Java): Bukkit.getServer().dispatchCommand(event.getWhoClicked(), "buy"); I have 3 other commands being triggered using this technique, and those work fine. But when using /buy this way, I always get the error saying the command was not found. But doing /buy normally ingame does work. Does anyone know how to fix this?