API for developers

Oct 11, 2019
API for developers
  • These instructions are valid from plugin version 2.0.0 BETA 8
    eFlame API for developers

    Void method for sending player check request:
    Code (Java):
    me.efla.api.API.CheckPlayer(Player player, Boolean sendInstructions)
    • player - player you want to get checked
    • sendInstructions - true if you want to send instructions from instructions.txt, false if you don't want to send instructions

    Boolean method returning true if player is currently being checked
    Code (Java):
    me.efla.api.API.isChecked(Player player)
    • player - player you want check if he is being checked at the moment

    Event triggered when player gets checked each time continously
    Code (Java):
    me.efla.api.PlayerCheckedEvent
    Methods:

    • getPlayer() - returns the checked player
    • hasCheat() - returns true if player has a cheat, false if not
  • Loading...
  • Loading...