Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: Show Server-To-Computer Notifications

  1. #1
    Junior Member
    Join Date
    Feb 2018
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Show Server-To-Computer Notifications

    I want to know possibilities to send a notification through my minecraft server to the players who are online.

    I already have a code that sends the notification only to the server where the plugin is running. I saw that the creator said he has a way to send, but unfortunately he disappeared.

    https://dev.bukkit.org/projects/noti...67798/download

    I will be grateful to anyone who presents me with ways to send the notification to other machines besides the machine that is running.


    This plugin executes a notification in windows. But only for the machine that is running it in the SERVER case. I wanted to run the notification for clients

    Ht5IWz4_Ta_3OhB8SclxVg.jpg

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,387
    Thanks
    52
    Thanked 2,304 Times in 2,262 Posts

    Default Re: Show Server-To-Computer Notifications

    Are you asking how to write code to send messages between two PCs
    or about how to use someone else's code to do the task?

    Also posted here: http://www.dreamincode.net/forums/to...notifications/
    If you don't understand my answer, don't ignore it, ask a question.

  3. #3
    Junior Member
    Join Date
    Feb 2018
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Show Server-To-Computer Notifications

    Yes. From my "Server" machine. I run notifications from people who are connected.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,387
    Thanks
    52
    Thanked 2,304 Times in 2,262 Posts

    Default Re: Show Server-To-Computer Notifications

    If its your code and you want the server to be able to send messages to its clients, one way would be for the clients to open a ServerSocket and have the server connect to them with a Socket and send the message.
    If you don't understand my answer, don't ignore it, ask a question.

  5. #5
    Junior Member
    Join Date
    Feb 2018
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Show Server-To-Computer Notifications

    I would not want to write a server without a computer. But he did receive information from minecraft, so he would send a notification to him.

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    21,387
    Thanks
    52
    Thanked 2,304 Times in 2,262 Posts

    Default Re: Show Server-To-Computer Notifications

    I would not want to write a server
    Sorry, I thought you were asking how to write a program to solve your problem.

    If this question is not about writing a program I will move it to a better section.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. Receive Server Sent Event Notifications in JAVA SERVER PAGE (JSP)
    By amritasenthilkumar in forum Web Frameworks
    Replies: 1
    Last Post: August 17th, 2012, 02:30 PM
  2. connection to a database on another computer(server)
    By myke in forum JDBC & Databases
    Replies: 12
    Last Post: May 31st, 2012, 03:09 AM
  3. Sending data from a computer to a server autonomously(spelling?)
    By Zula in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: February 7th, 2012, 05:57 AM
  4. Beginner: Show Image in Label when Results Show Up
    By Big Bundy in forum Java Theory & Questions
    Replies: 3
    Last Post: April 4th, 2011, 02:43 PM
  5. Replies: 6
    Last Post: September 19th, 2010, 08:33 PM