I've been playing around with the PlayerFishEvent ik how to give my self a item like a sword but how would i make it so when i catch a fish it runs a command like /give player GRASS 64
@Bindfps Check if the state is CAUGHT_FISH, then use Bukkit#dispatchCommand(CommandSender, String). Note: You can use the console as the CommandSender by getting the ConsoleCommandSender using Bukkit#getConsoleSender().