Forum


Notice to all users

We are migrating towards a new forum system located at community.teamspeak.com, as such this forum will become read-only on January 29, 2020

Page 1 of 3 123 LastLast
Results 1 to 15 of 33
  1. #1
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258

    [Suggestion] Custom server shutdown message

    Hello,

    is it possible to add a new parameter to the ts3server_startscript.sh to be able to customize the server restart and shutdown message?

    For example like this:
    Code:
    ./ts3server_startscript.sh stop msg=Maintenance\swork.\sThe\sserver\swill\sbe\sable\sas\ssoon\sas\spossible.
    Quote Originally Posted by TS3 Server
    <16:28:09> Server was stopped: Maintenance work. The server will be able as soon as possible.
    Code:
    ./ts3server_startscript.sh restart msg=Reloading\ssettings.
    Quote Originally Posted by TS3 Server
    <16:28:09> Server was stopped: Reloading settings.
    I think this will be used by many hosters, because "server shutdown" does not say, if it is a crash or an maintenance work. I also want to use this in my TS3UpdateScript to tell the clients, that the server will now be updated.

    What do you think about this little idea? Do you agree with me?

  2. #2
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    Server query gm/instancestop.

  3. #3
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    No hoster want to login as ServerQuery, send a gm and stop the instance... And this for EACH instance... Some hosters for example have more than 18 instances...

    Your solution would need following steps for each instance:
    • Login as ServerQuery
    • Send a global message
    • Logout
    • Stop instance
    • Start instance

    18 instances: 90 steps

    My solution would just need following steps for each instance:
    • Stop instance
    • Start instance

    18 instances: 36 steps

    This reduces the working time for the administrator/hoster tremendously.

  4. #4
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    Quote Originally Posted by Sebi94 View Post
    No hoster want to login as ServerQuery, send a gm and stop the instance...
    Something you might not have heard yet: Scripts. They are used to automate stuff.

    Anyway, if you knew what you are talking about, then you would know that what you want is not easily possible. The start script does not communicate with the server at all. It just kills it.

  5. #5
    Join Date
    October 2003
    Location
    Germany
    Posts
    2,527
    I fully agree (and already suggested some time ago) that custom shutdown messages would be a nice thing. My suggestion is that the ServerQuery commands serverstop and serverprocessstop should support an optional parameter to provide a message.

    For example:

    Code:
    serverstop msg=some\scustom\smessage.
    Shouldn't be too hard to implement and would be a vast improvement since the current default message (Server shutdown) is not even localized.

  6. #6
    Join Date
    June 2008
    Posts
    18,507
    I like that idea of an optional paramter for the query commands "serverprocessstop" and "serverstop".

    ------------------
    What does anybody here think about this?

    There should be a third parameter for a shutdown delay (in combination with msg only).
    Code:
    serverstop msg=some\scustom\smessage. delay=12
    So the message is send and the server waits 12 seconds before shutdown will be performed.
    Of corse the server should not accept any more Query commands or from now on.
    Last edited by dante696; January 8th, 2015 at 03:19 PM.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  7. #7
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    Quite a good idea. I support both.. the message and the delay!

  8. #8
    Join Date
    January 2010
    Location
    Secret Base in Arctic Region
    Posts
    1,671
    Same from here. Both are interesting, like "shutdown" command in Unix/Linux

  9. #9
    Join Date
    May 2006
    Location
    Europe/Czech Rep.
    Posts
    1,616
    Also ok from me, because if you indeed wanted to do graceful shutdown and inform users until now, you had to have
    gm prepared to send few times, wait, then issue
    serverprocessstop

  10. #10
    Join Date
    June 2008
    Posts
    18,507
    But this is and was no problem so far for "professional" hosters and users who know how to use scripts for this.

    Edit
    A ticket for evalution was added for both.
    The delay is an optional request in this ticket (does not mean , that we add this if "msg=" was added.) It could be overkill for our server software.
    Last edited by dante696; January 8th, 2015 at 04:05 PM.
    When sending me private messages: Please make sure to include reference link to your forum thread or post.

    TeamSpeak FAQ || What should i report, when i open a client thread?

  11. #11
    Join Date
    February 2012
    Location
    Nuremberg, Bavaria
    Posts
    258
    The third parameter delay is also very nice, but the "msg" and "delay" parameter should be both optional.

  12. #12
    Join Date
    December 2014
    Posts
    6
    I like this idea.
    this parameter would be a great idea, because if there is a maintainance, and only the message "Server Shutdown" appears, then no one thinks about a maintainance work. So they may write me an E-mail with the content "What the Hell is going on with my TS-Server??" or so. If there is an option for a custom message, then everyone knows, that the server is back online in 10 minutes, ya know? That would make life easier.

    I don't know if the delay parameter would be necessary, because if the server is going to shutdown in 10 seconds or now it doesn't make any difference i think. I think it would be a nice feature, but as you say it could be overkill for the server software.

    Greetings and have a nice weekend,
    binarycode

  13. #13
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    I still don't understand the advantage of this. Just because people do not want to use gm?

  14. #14
    Join Date
    April 2011
    Location
    Germany
    Posts
    1,266
    Quote Originally Posted by numma_cway View Post
    I still don't understand the advantage of this. Just because people do not want to use gm?
    The GM will send a chat message to all users, I've made the experience most users just ignore this. Perhaps a bit more individual info in the shutdown message might be recognized by those ignorant users.

  15. #15
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,368
    Maybe use formatting?
    If you have autoconnect enabled, it will spam your log so fast, the message will go away pretty soon, so that won't help. Maybe a poke bot helps? However, this is a lot of work due to a server bug.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Server randomly shuts down no server shutdown message
    By Hawkins23 in forum Linux / FreeBSD
    Replies: 1
    Last Post: December 19th, 2017, 08:25 AM
  2. [Not possible] Custom Security Level Message
    By pzykotik in forum General Questions
    Replies: 3
    Last Post: May 5th, 2016, 01:40 PM
  3. [Resolved] Ts3 Custom disconnect message
    By vERKE in forum Client Support
    Replies: 2
    Last Post: October 14th, 2012, 10:33 AM
  4. [SUGGESTION] Custom Phonetic Nickname for Contacts
    By KevinGregull in forum Suggestions and Feedback
    Replies: 1
    Last Post: July 6th, 2011, 01:24 PM
  5. [Suggestion] about custom icons for channels
    By dv2236 in forum Suggestions and Feedback
    Replies: 2
    Last Post: February 15th, 2011, 01:02 AM

Tags for this Thread

Posting Permissions

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