Results 1 to 5 of 5
  1. #1
    xwizkid_ is offline Member
    Join Date
    Oct 2014
    Posts
    2
    Rep Power
    0

    Question Creating a program like this...?

    Hello all. I am interested in making a Java program. I have recently been coding Python, but I am not sure if I can do what I want to do with it, but I think Java can. I want to be able to take names from a multiplayer game and check them against a list of names to see if a player is online. Can someone confirm if this is possible, and if so how I would go about it? Thanks! :)

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,993
    Rep Power
    9

    Default Re: Creating a program like this...?

    Three areas of interest here:
    1) Get data from a (running) game
    2) Check said data against a list
    3) Find out if a player is online

    RE: 1. Does the game have an API you can talk to? A webserver, REST etc?
    RE: 2. Where is that list. Is that yours? Is that on the game server?
    RE: 3. Who registers the player online? Does the player do that? Does the game do that? Does your application need to do that?

    It's very vague what you're asking here.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

  3. #3
    xwizkid_ is offline Member
    Join Date
    Oct 2014
    Posts
    2
    Rep Power
    0

    Default Re: Creating a program like this...?

    Sorry, it is my first post! Alrighty so:

    RE: 1. The game is Minecraft. The server is very large, it is called Mineplex. I am not sure what you mean by REST, but I am sure if you explain it I can help answer it.
    RE: 2. The list will be mine which I store the names.
    RE: 3. My application needs to check if the certain players that are in my list are online.

    Sorry again for being vague, won't happen again!

    Thanks:)

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: Creating a program like this...?

    A REST API is a web service that you can make requests to to get information.
    Does the server provide that?
    If not then I'm not sure how you can expect to get the info you need.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  5. #5
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,993
    Rep Power
    9

    Default Re: Creating a program like this...?

    There is a Bukkit plugin called "Friends" that does what you want. If you're lucky the server already has it, or the admin is willing to install it. Friends --- Bukkit Plugin Minecraft Mod
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2 2013

Similar Threads

  1. Need Help With creating a Methods Program
    By jonathan in forum New To Java
    Replies: 5
    Last Post: 07-18-2012, 11:49 PM
  2. Help with creating a program
    By case1001 in forum New To Java
    Replies: 2
    Last Post: 11-28-2011, 02:18 AM
  3. Help with creating a program
    By case1001 in forum New To Java
    Replies: 1
    Last Post: 11-28-2011, 02:16 AM
  4. need help creating a battleship like program
    By ss1 in forum New To Java
    Replies: 12
    Last Post: 08-19-2011, 01:00 AM
  5. I need help creating this program
    By LostinJavaLand in forum New To Java
    Replies: 14
    Last Post: 04-29-2010, 11:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •