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
    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. 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.
  2. 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!!
  3. 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!
  4. Ajsmith0429
    Ajsmith0429
    5/5,
    Version: 1.0.6
    Been using this plugin for several months ever since 1.13. Drag and drop. Do no need to touch config settings. Update on occasion. Perfect, no issues or complaints. Works with Essentials X flawlessly.
  5. Daaasd2
    Daaasd2
    5/5,
    Version: 1.0.6
    Amazing, Works Perfectly. Definitely recommended to server owners!
    A must have plugin.
  6. asdf1234
    asdf1234
    5/5,
    Version: 1.0.6
    --------------------------------
    nice working !
    i love
    --------------------------------
  7. sannielollie
    sannielollie
    5/5,
    Version: 1.0.6
    OMG this is what i have been searching for my whole day already. Since i have updated my server from 1.12.2 to 1.14.4 a lot of commandblocks werent working anymore. This fixes it COMPLETELY! Thank you SO MUCH for this plugin! Will recommend this to friends and others :) A++
  8. Andross
    Andross
    5/5,
    Version: 1.0.6
    Tested on 1.13.2 and works well. Lightweight and well coded. Good job. If you can open-source it, it will be nice.If you can found a way to use @s to get the exact player, it would be perfect.
  9. HassyRassy
    HassyRassy
    4/5,
    Version: 1.0.4
    I'm not sure if this is supposed to allow me to use @p @a, etc in plugin commands or not. but nothing has changed after I installed this. vanilla commands work with "minecraft:" in front of them just as it was before. plugin commands cant use with @p @, etc.
  10. Redned
    Redned
    5/5,
    Version: 1.0.4
    Simple yet outstanding plugin that fixed many problems with my server when updating to 1.13. It even has an extra side bonus of updating radius in selectors to the new distance replacement in 1.13.

    Amazing piece of work and cannot be more grateful for this plugin. Keep up the great work!