Solved EchoPet activating a pet from a different plugin

Discussion in 'Plugin Development' started by TheCakeMaster, Nov 9, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    TheCakeMaster

    So I am making a gadget plugin, where as a donor perk player can activate certain pets, and I am making a custom GUI for this because I don't really like the layout of the default one. The problem is, I have no idea how to activate a pet. If anyone could do some looking around and find a method for activating pets, that would be awesome.
    And yes, EchoPet license does allow this.
    Thanks!
     
  2. Offline

    teej107

    Here. It's as good as you're going to get. Other than that, do your own research.
     
  3. Offline

    TheCakeMaster

    Well, thanks for the help...
    Anyway I can just use player.performCommand("command; eg. pet pig") to activate a pet for anyone who may see this thread.
     
  4. Offline

    DSH105

    Internally, EchoPet uses that type of thing in the in-built pet GUI. If you need anything else there is (some) documentation over on the wiki previously linked or the IRC channel in which I can help you out :).
     
    TheCakeMaster likes this.
  5. Offline

    TheCakeMaster

    Awesome! Thanks for that, it has a lot more flexibility than just running the command :)
     
    DSH105 likes this.
Thread Status:
Not open for further replies.

Share This Page