VentureChat API Wiki

Jun 20, 2016
VentureChat API Wiki
  • VentureChat API Wiki
    (Under Construction)


    The MineverseChatPlayer Node

    To do any of the below things, a MineverseChatPlayer version of a player is required.
    Code (Text):
    MineverseChatPlayer mcp = MineverseChatAPI.getOnlineMineverseChatPlayer(Player / String / UUID);
    Without acquiring this, you won't be able to get any info from that player regarding VentureChat.


    Acquiring the Channel a Player is talking in

    To get the specific channel that a player would speak in if they typed and hit enter (Without use of commands to quick message other channels) use this method from the API. This will get the NAME of the channel in a STRING, so make sure you get

    Getting Channels a Player is Listening to

    To get a list of channels that the player is listening to, make sure you have the MineverseChatPlayer version of said player, and use this in your code go create a list of the channels.
    Code (Text):
    Set<String> channels = mcp.getListening();
  • Loading...
  • Loading...