Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-3980

ServerCommandEvent does not fire when another plugin uses the command

XMLWordPrintable

    • 1.12.2

      I came across a problem while developing and posted about it in the forums. No one seemed to have an answer and then I was advised to post a bug report as a member tried it and it seemed to not work for him either. Here is the post:

      https://www.spigotmc.org/threads/servercommandevent-problem-not-blocking-commands-from-other-plugins.326181/#post-3052499

       

      When the ServerCommandEvent fires it only fires when the user puts the command into the console directly but it does not fire when a different plugin uses the Bukkit.dispatchCommand(
      Bukkit.getConsoleSender()

            Unassigned Unassigned
            FlameKnight Levi D
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: