CommandHook 1.0.6

Allow vanilla selectors in command blocks

  1. _NewAge
    Native Minecraft Version:
    1.14
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    This plugin adds the possibility to use vanilla selectors in non-vanilla commands written in CommandBlock.

    Since it hooks into vanilla functions, all of the selector arguments are parsed (@p[distance=..5])

    Keep in mind
    Selecting entities other than player isn't probably of any use, because after the result is obtained, it parses the command with entity name (Player or mob name), however all of the selectors should work.

    @p - targets nearest player
    @a - targets all players
    @r - targets random player
    @e - targets all entities
    @s - targets the executor (that is command block, not Player!)

    FAQ
    Q: Vanilla commands are not working.
    A: Plugin scans if the command inside the block starts with /minecraft: or minecraft: so the syntax is ex.: minecraft:kill @p[name="RandomPlayer"]
    TL;DR: just add minecraft: before it.

    If you have a problem or you have found an error, please text me with a short brief (logs are welcomed help)

Recent Updates

  1. Player Level fix
  2. 1.14 support
  3. QuickFix for newer Spigot!

Recent Reviews

  1. jeroen053
    jeroen053
    5/5,
    Version: 1.0.6
    Solved all my problems! Thanks for this! You are awesome!
    Did not expect someone to fix this
  2. Heath
    Heath
    3/5,
    Version: 1.0.6
    It would be really nice if this could work with players too, and was open-source...
  3. Minecreeper.Isi
    Minecreeper.Isi
    1/5,
    Version: 1.0.6
    not working on paper. And no anser off all negative reports. not good support. Already deletet
  4. MCwaffles
    MCwaffles
    5/5,
    Version: 1.0.6
    This plugin does what it says it does, it gives back the option to use the @ in command blocks etc. which is awesome!
  5. Chipimunk
    Chipimunk
    5/5,
    Version: 1.0.6
    This plugin is great and has worked for me in the past, but for some reason now whenever I try to add a GroupManager suffix to a player with a command block, it doesn't add it. It says: Variable suffix:'suffix' added to user null

    I don't know why it doesn't work, I've tried everything. I use bukkit 1.14.4, and yes I have command blocks enabled with GroupManager
  6. Magicgive
    Magicgive
    2/5,
    Version: 1.0.6
    Having problems using selectors with the sudo command from essentials. Here's the command in question: "sudo @e[name=drJones] /pos1"
    1. _NewAge
      Author's Response
      Hey, that's strange as both @e[name=...] and @p[name=...] works for me. If you would like to, we can discuss via DM.
  7. diannetea
    diannetea
    5/5,
    Version: 1.0.6
    This plugin is extremely easy to use and works perfectly on 1.15.2, thank you for your hard work!
  8. Mr_redstone5230
    Mr_redstone5230
    3/5,
    Version: 1.0.6
    Super good concept, and it works ! The only thing is that it breaks my /execute commands with bukkit 1.15
    1. _NewAge
      Author's Response
      Hey, if you are using vanilla /execute, try it with /minecraft:execute - that should do it! PM me if you have any issues.
  9. silverhonecat
    silverhonecat
    5/5,
    Version: 1.0.6
    Paper Java 1.15.1 server: Just drop into plugins folder and restart the server- BAM; Works like a charm! Thank you!!
  10. jacked1900
    jacked1900
    3/5,
    Version: 1.0.6
    doesn't work on my serwer :(
    the file .jar does not unpack. Spigot 1.14.4 why :((((((
    1. _NewAge
      Author's Response
      Hey, the jar is a plugin, it's not unpackable. Just place it into plugins folder and that's it!