Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

We need more API! #37

Closed
msjyoo opened this issue Jan 8, 2013 · 6 comments
Closed

We need more API! #37

msjyoo opened this issue Jan 8, 2013 · 6 comments
Assignees
Milestone

Comments

@msjyoo
Copy link
Member

msjyoo commented Jan 8, 2013

Shogicp, Can we have an event that triggers when a new players join the server? like player.join or something. I need this for my @#$%^&&^%$#$%^ plugin.

Thanks.

@ghost ghost assigned shoghicp Jan 8, 2013
@shoghicp
Copy link
Member

shoghicp commented Jan 8, 2013

Sure!
Adding more events for multiple things :D

@msjyoo
Copy link
Member Author

msjyoo commented Jan 9, 2013

And a documentation like javadoc for the APIs would be nice

@shoghicp
Copy link
Member

shoghicp commented Jan 9, 2013

Add like a BanAPI that handles the whitelist.txt, ipban and normal bans.
That was the think I was thinking about :D

@msjyoo
Copy link
Member Author

msjyoo commented Jan 10, 2013

I finished it :) Requested Pull Request.

By the way the Ban IP you programmed needs some more work. When I just type in username and not ip with banip add, it adds the username to banned-ip and not the ip of the player.

Not sure if this was intended or not :)

Also, I think the Ban API should be in PlayerAPI and not ConsoleAPI to prepare for chat release of PE.

@shoghicp
Copy link
Member

The BanAPI will be a standalone file, that command in the console was a temp. one ;)

@msjyoo
Copy link
Member Author

msjyoo commented Jan 11, 2013

Issue #49

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

No branches or pull requests

2 participants