Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing method #203

Closed
Rocologo opened this issue Jan 23, 2017 · 2 comments
Closed

Missing method #203

Rocologo opened this issue Jan 23, 2017 · 2 comments

Comments

@Rocologo
Copy link

Rocologo commented Jan 23, 2017

Hi I'm the developer of MobHunting. I'm trying to add support / hook into MinigamesAPI.

I have succeded to make the hook and can get

MinigamesAPI.getAPI()

But I need a method

MinigamesAPI.getAPI().isPlayingAMiniGame(Player); which return true if the player has joined a game and false if not.

I hope you will make this method for me, so I am able to add support for your plugin?

Kind regards
Rocologo

@mepeisen mepeisen added this to the 1.14.15 milestone Jan 23, 2017
@Rocologo
Copy link
Author

I see you accepted the feature request for 1.14.15, please let me know when I can start testing on a snapshot.

@mepeisen
Copy link
Collaborator

version 1.14.15 and above: check with getArenaForPlayer(playerName) != null
version 2 and above: MinigamesLibInterface.instance().getPlayer(uuid).getArena() != null

Latest snapshot can be found at http://www.minigameslib.de/downloads_en.php within the next two hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants