J
J
JiMoon2021-12-12 08:12:34
Java
JiMoon, 2021-12-12 08:12:34

How to notify the creator about the start of the moderator?

Hello. I'm writing a "JiMoonStaff" plugin for my Minecraft server. I created two functions, they are /work start and /work stop. Please tell me how can I notify the creator at the moment when any administration has registered /work start/stop?

ps I'm already writing the 3rd topic, the first one has a lot of questions, the second one was deleted, moderators, don't delete it <3

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
nowm, 2021-12-12
@nowm

Your questions are likely to be deleted due to the fact that they are not specific. You did not try to do anything on your own, did not come across an error in the process that you do not know how to fix. Instead, you say that you have incomprehensible /work start and /work stop functions (the question has the “Java” tag, but the syntax will not allow creating such functions in it, which means we are talking about something else, and not about Java).
Further, it is not clear who the administration is, who the moderators are, and who the creator is. Is this information hardwired into your plugin or stored in some kind of database?
What does "notify the creator" mean? Write him a message on Telegram, send him an email, show a pop-up window on the site, or send a note in real life?
And a bunch of other questions. All of them arise from the fact that you do not specify the question, hoping that telepathy works for everyone and they can learn the details from your thoughts.

O
Orkhan, 2021-12-12
Hasanly @azerphoenix

Good afternoon.

I’m already writing the 3rd topic, the first one has a lot of questions, the second one was deleted, moderators

So you did not provide more information either last time or this time (which I actually wrote about in your previous question).
As for sending messages, I also noted in the previous question that you need to look towards RabbitMQ || ActiveMQ. At startup, all users subscribe to a message channel. When a message appears on the server, it is sent to the rest of the players.
https://www.rabbitmq.com/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question