Extending a Player class...

Discussion in 'Plugin Development' started by tech6425, Jul 7, 2013.

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

    tech6425

    I am developing an API, and I have a class that is extending the Player class.

    I have a function that allows plugins to send text achievements; The name is awardTextAchievement(String name, String goal, int points);

    If my users put a player, than a period, can they list the function and make it award the achievement?
    Code:
    player.awardTextAchievement("Good Game", "Win a game", 5);
    
     
Thread Status:
Not open for further replies.

Share This Page