Using other plugins with CommandHelper

Discussion in 'CommandHelper' started by MPKingJulian, Aug 25, 2017.

  1. MPKingJulian

    MPKingJulian New Member

    Hello,

    I have recently installed this disguise plugin to my server: https://www.spigotmc.org/resources/nicknamer-integrated-api.5341/

    It works fine although I'm wondering if I can use this with Commandhelper.


    For example something simple like this:
    Code (Text):
    *:/whoami = >>>
    msg('You are '.player().'')
    <<<
    This would give an outcome of your real Minecraft name instead of your disguised name.

    What I'd like it to do is get your disguised name.

    Honestly, I don't know if this is possible but interested if anyone knew anyway to do this.

    Thanks!
  2. PseudoKnight

    PseudoKnight Well-Known Member

    That depends on how the plugin works. Sometimes a plugin may store data in a way that is accessible via Bukkit methods. Other times you're forced to use the plugin's API, if any. It looks like with NickNamer you're forced to use their API. This means an extension must be created to get this information into CommandHelper scripts.