Hi,
I’ve been browsing the JavaDocs, I’m trying to complete the Ban API for Foundation. I need a method that disconnects the player, i.e. Player.disconnect(“foo”); or Player.kick(“Get kicked boy!”);
Currently nothing has turned up, not even a setBanned(Player).
@Nack_Seerosja Thanks for your input.
Also, suggestion: You don’t need a ! at the end of every sentence. To correct this, Press ALT+F4 at the end of a game you are about to win.
To answer this more directly, the methods you are looking for are probably not implemented into the API yet and will most likely be available at a later date.
@Nack_Seerosja Sorry but I need to correct you. Sponge does NOT need Forge. Yes there will be an implementation of the Sponge API for Sponge but it doesn’t necessarily need Forge. Take Granite for example we’re implementing the Sponge API so you don’t need Forge you just need an implementation of the SpongeAPI.