Jump to content

Archived

This topic is now archived and is closed to further replies.

  • 0
ImportBot

Server time

Question

Originally Posted by intyiciya*:

 

Help me

 

Server time!!!

what commands?

what plagin?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Recommended Posts

Originally Posted by MorpheusX(AUT)*:

 

1) Please don't create multiple threads for the same question

2) What exactly are we supposed to make of this post? What's your questions? What's your problem?

3) If you're having a problem, provide more information about what you have tried so far

4) If you need some help, try actually describing what you're looking for/having troubles with


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by PapaCharlie9*:

 

I'm tempted to reply admin.shutDown or ALT+F4, but that would be trolling.

 

Please explain in more detail what you are looking for. Also, what is your native language? It might be easier to find someone who can communicate with you in a language you understand, rather than relying on Google Translate (at least I hope you are using Google Translate ...)


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

Server time

 

how many time the server is running


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

understand_)


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

1) Please don't create multiple threads for the same question

2) What exactly are we supposed to make of this post? What's your questions? What's your problem?

3) If you're having a problem, provide more information about what you have tried so far

4) If you need some help, try actually describing what you're looking for/having troubles with

sorri

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by EBassie*:

 

My server uptime is 18 hours 10 minutes and 30 secs. Thanks for asking :smile:


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

my server uptime is 18 hours 10 minutes and 30 secs. Thanks for asking :smile:

wery lol

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

Plagin uptime


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by PapaCharlie9*:

 

understand_)

No. I'm starting to suspect juvenile trolling.

 

Are you asking for a plugin to tell you the server's uptime? That uptime is already visible in Procon (top right, just below the server name). Why do you need a plugin to tell you the same information?

 

What language do you speak?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

No. I'm starting to suspect juvenile trolling.

 

Are you asking for a plugin to tell you the server's uptime? That uptime is already visible in Procon (top right, just below the server name). Why do you need a plugin to tell you the same information?

 

What language do you speak?

No trolling!!!I need that everything seen in the chat how long the server is running

 

Russia


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

No. I'm starting to suspect juvenile trolling.

 

Are you asking for a plugin to tell you the server's uptime? That uptime is already visible in Procon (top right, just below the server name). Why do you need a plugin to tell you the same information?

 

What language do you speak?

I need help ftw trolling!!!?

 

I need that everything seen in the chat how long the server is running

 

Russia


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by PapaCharlie9*:

 

I will try to find you some help from a person that speaks Russian.

 

Until then, explain with more words what you want. We can understand Google Translate better if you describe what you want in several different ways, but always describe the same thing. For example:

 

Russian (Google Translate):

??? ???????? ???? ?????. ????? ??? ??? ??????? ???????. ???????????? ??????? ????? ???? ?????. ? ?? ?????? ???, ?? ????? ? ?????, ? ??? ?????.

 

It is very clear what I am talking about, right?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

I need a plugin which displays the time or date,as the server is running,so that was shown in the chat during the game

 

don't you understand?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by trans-am*:

 

I can help you with display server's date & time

Download this plugin

myrcon.net/.../proconrulz-v44j1-weapon-limits-and-other-event-triggered-admin-actions

 

Add in this code Code:

######  show server time & date
On Say;Text !time; say Time: %hms% Date:%ymd%[YMD];PlayerYell Time: %hms% Date:%ymd% [YMD]
When type !time , it will show time & date on chat and also yell to the player who type in that command.

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

I can help you with display server's date & time

Download this plugin

myrcon.net/.../proconrulz-v44j1-weapon-limits-and-other-event-triggered-admin-actions

 

Add in this code Code:

######  show server time & date
On Say;Text !time; say Time: %hms% Date:%ymd%[YMD];PlayerYell Time: %hms% Date:%ymd% [YMD]
When type !time , it will show time & date on chat and also yell to the player who type in that command.

thank you

but I need another plugin,there is no need to type in the chat team,he shows how much time the server is running


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by PapaCharlie9*:

 

I need a plugin which displays the time or date,as the server is running,so that was shown in the chat during the game

 

don't you understand?

Nyet.

 

I understand that you don't want someone to type a chat command. But I still do not understand which date and time exactly you mean?

 

* Current calendar date and current time? And if so, the time local to the player, local to the server, local to the layer, or some universal time like UTC? (And most importantly, why would you want to spam this in chat_)

 

* Uptime of the server in days, hours, minutes and seconds?

 

* Elapsed time for the round, but then why do you need date?

 

How often do you want this to be spammed in chat?

 

It would help if you explained why you need this information? What problem are you trying to solve? Again, use more words. The more details you provide, the easier it is for us to piece together what you want.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

Nyet.

 

I understand that you don't want someone to type a chat command. But I still do not understand which date and time exactly you mean?

 

* Current calendar date and current time? And if so, the time local to the player, local to the server, local to the layer, or some universal time like UTC? (And most importantly, why would you want to spam this in chat_)

 

* Uptime of the server in days, hours, minutes and seconds?

 

* Elapsed time for the round, but then why do you need date?

 

How often do you want this to be spammed in chat?

 

It would help if you explained why you need this information? What problem are you trying to solve? Again, use more words. The more details you provide, the easier it is for us to piece together what you want.

* Uptime of the server in days, hours, minutes and seconds?

 

why do I need this_)

to know when did restart the server

the server must be rebooted for 100% hit

 

 

where is that this plugin was,but was can't find it


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by EBassie*:

 

* Uptime of the server in days, hours, minutes and seconds?

 

why do I need this_)

to know when did restart the server

the server must be rebooted for 100% hit

 

 

where is that this plugin was,but was can't find it

But... why would you need this in the ingame chat, as the server's uptime is shown in Procon?

 

Posted Image


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by PapaCharlie9*:

 

* Uptime of the server in days, hours, minutes and seconds?

 

why do I need this_)

to know when did restart the server

the server must be rebooted for 100% hit

 

 

where is that this plugin was,but was can't find it

Okay, now we are getting somewhere.

 

Why isn't the uptime shown in Procon good enough, as EBassie points out in screenshot above? Why must it be in chat?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

But... why would you need this in the ingame chat, as the server's uptime is shown in Procon?

 

Posted Image

so that was shown during the game in the chat

 

I need


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by Zaeed*:

 

You want the server uptime in game?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by Phil_K*:

 

Hi.

 

Take a look at my "AdminIn & Spawn Message" plugin found here -> showthread....-2-2014-02-10)*

 

It has the options to send the round time and server uptime via the chat.

Maybe you came along a server with that.

 

Greets

Phil.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

Zaeed

 

 

Yes


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by PapaCharlie9*:

 

Zaeed

 

 

Yes

Why? Why in chat? How often in chat?

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by Proteas*:

 

UltimateMapManager: INFO -> Current day/time on this system: Mittwoch, 18:02 Ultimate-Map-Manager*

OR

Server uptime

idVZPuL.png


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by LCARSx64*:

 

For spamming server uptime:

 

Install and setup this plugin: ...*

 

Then add this limit (change the value highlighted in red to the frequency you would like in seconds, minimum 10 seconds):

 


Spam Server Uptime

 

Create a new limit to evaluate OnIntervalServer. Set the evaluation_interval to 60 seconds. Set action to None.

 

Set first_check to this Code:

Code:

// Show Server Uptime

TimeSpan servUp = TimeSpan.FromSeconds(server.TimeUp);
String msg = "Server Uptime: " + servUp.Days.ToString() + "d " + servUp.Hours.ToString() + "h ";
int iMins = servUp.Minutes;
int iSecs = servUp.Seconds;

if (iMins < 10) msg = msg + "0";
msg = msg + iMins.ToString() + "m ";
if (iSecs < 10) msg = msg + "0";
msg = msg + iSecs.ToString() + "s";

plugin.SendGlobalMessage(msg);

return false;

End of post!


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by intyiciya*:

 

hi.

 

Take a look at my "adminin & spawn message" plugin found here -> showthread....-2-2014-02-10)*

 

it has the options to send the round time and server uptime via the chat.

Maybe you came along a server with that.

 

Greets

phil.

good.very nice men)

* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by HATANO_KENJI*:

 

For spamming server uptime:

 

Install and setup this plugin: ...*

 

Then add this limit (change the value highlighted in red to the frequency you would like in seconds, minimum 10 seconds):

 


Spam Server Uptime

 

Create a new limit to evaluate OnIntervalServer. Set the evaluation_interval to 60 seconds. Set action to None.

 

Set first_check to this Code:

Code:

// Show Server Uptime

TimeSpan servUp = TimeSpan.FromSeconds(server.TimeUp);
String msg = "Server Uptime: " + servUp.Days.ToString() + "d " + servUp.Hours.ToString() + "h ";
int iMins = servUp.Minutes;
int iSecs = servUp.Seconds;

if (iMins < 10) msg = msg + "0";
msg = msg + iMins.ToString() + "m ";
if (iSecs < 10) msg = msg + "0";
msg = msg + iSecs.ToString() + "s";

plugin.SendGlobalMessage(msg);

return false;

End of post!

Excuse me, Can your code be changed to the current time?

 

Like this:

Current time: 2018/06/29 - AM:07:00

 

Nyet.

 

I understand that you don't want someone to type a chat command. But I still do not understand which date and time exactly you mean?

 

* Current calendar date and current time? And if so, the time local to the player, local to the server, local to the layer, or some universal time like UTC? (And most importantly, why would you want to spam this in chat_)

 

* Uptime of the server in days, hours, minutes and seconds?

 

* Elapsed time for the round, but then why do you need date?

 

How often do you want this to be spammed in chat?

 

It would help if you explained why you need this information? What problem are you trying to solve? Again, use more words. The more details you provide, the easier it is for us to piece together what you want.

I have a requirement to show the current time, Because of my server, No players have joined the server during daytime in my time zone, So I need the player to provide screenshots of the current time to do "Thank you for helping populate!"

 

How can I solve this problem for this?

 

My time zone is GMT+8, Perhaps the current time directly targeting the player will be the best solution.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites

Originally Posted by maxdralle*:

 

@HATANO_KENJI

 

DateTime.Now is what you need.

this sample returns the current server time:

Code:

plugin.SendGlobalMessage("Current Server Time: " + DateTime.Now.ToString("yyyy/MM/dd HH:mm"));
you can format the DateTime string like this:

DateTime.Now.ToString("MM/dd/yyyy"); // 07/21/2007

DateTime.Now.ToString("dddd, dd MMMM yyyy"); //Saturday, 21 July 2007

DateTime.Now.ToString("dddd, dd MMMM yyyy HH:mm"); // Saturday, 21 July 2007 14:58

DateTime.Now.ToString("dddd, dd MMMM yyyy hh:mm tt"); // Saturday, 21 July 2007 03:00 PM

DateTime.Now.ToString("dddd, dd MMMM yyyy H:mm"); // Saturday, 21 July 2007 5:01

DateTime.Now.ToString("dddd, dd MMMM yyyy h:mm tt"); // Saturday, 21 July 2007 3:03 PM

DateTime.Now.ToString("dddd, dd MMMM yyyy HH:mm:ss"); // Saturday, 21 July 2007 15:04:10

DateTime.Now.ToString("MM/dd/yyyy HH:mm"); // 07/21/2007 15:05

DateTime.Now.ToString("MM/dd/yyyy hh:mm tt"); // 07/21/2007 03:06 PM

DateTime.Now.ToString("MM/dd/yyyy H:mm"); // 07/21/2007 15:07

DateTime.Now.ToString("MM/dd/yyyy h:mm tt"); // 07/21/2007 3:07 PM

DateTime.Now.ToString("MM/dd/yyyy HH:mm:ss"); // 07/21/2007 15:09:29

DateTime.Now.ToString("MMMM dd"); // July 21

DateTime.Now.ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK"); // 2007-07-21T15:11:19.1250000+05:30

DateTime.Now.ToString("ddd, dd MMM yyyy HH':'mm':'ss 'GMT'"); // Sat, 21 Jul 2007 15:12:16 GMT

DateTime.Now.ToString("yyyy'-'MM'-'dd'T'HH':'mm':'ss"); // 2007-07-21T15:12:57

DateTime.Now.ToString("HH:mm"); // 15:14

DateTime.Now.ToString("hh:mm tt"); // 03:14 PM

DateTime.Now.ToString("H:mm"); // 5:15

DateTime.Now.ToString("h:mm tt"); // 3:16 PM

DateTime.Now.ToString("HH:mm:ss"); // 15:16:29

DateTime.Now.ToString("yyyy'-'MM'-'dd HH':'mm':'ss'Z'"); // 2007-07-21 15:17:20Z

DateTime.Now.ToString("dddd, dd MMMM yyyy HH:mm:ss"); // Saturday, 21 July 2007 15:17:58

DateTime.Now.ToString("yyyy MMMM"); // 2007 July


* Restored post. It could be that the author is no longer active.

Share this post


Link to post
Share on other sites



  • Our picks

    • Hi All,

      So I've been thinking about doing something like this for a while but I always talked myself out of it. I want to get some feedback on this idea and how many would think about using it if it was offered.

      In the past I know how hard it was for some users to get a MySQL database going and running the BFACP (since it's a bit requirement heavy in some cases). What I would be doing is offering to manage both of these for you.

      If enough interest was shown in something like this I would definitely think about doing it. Of course, I also know the risks I would be taking in something like this, but to list what I would be offering I guess is this.

      MySQL Hosting


      Daily backups of the database to a remote site & option to download it yourself.


      No limit on how big your database can be (within reason).




      BFACP Hosting (If running AdKats on your layers)


      This would run the newest version (v3.0)


      Will still be available to run on your own hardware


      Will have extra features that are not available for an open source setup (still need to think of good things )


      Able to use your own domain name with the proper DNS setup.




      Both Above



      Please let me know what you think of this idea and vote in the poll. Again not confirming anything like this will happen but if I get enough interest from the community for something like this then please let me know.

      Disclaimer: This will NOT be something affiliated with MyRCON but will be ran through it in terms of a payment processor.
      • 10 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.