-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Toggle suggestions for the RCON backup messages to server #272
Comments
Hey @Jadiction we added that with no toggle for "informing" the players that a lag or a slow-server reaction might be coming in the next 5 seconds. We did that to keep the player informed when stuff happens, when its done and when its over. We would hate it, that someone is in a bossfight and dies because of lags that were not informed and based on backups. Could you please explain in more detail how a solution for opt-in or opt-out and the idea behind the FR is from your point-of-view please? Thanks for taking the time and caring! |
Yeah, that's a valid reason to have it and I'm sure some people appreciate it. I'd prefer to have a cleaner and less spammed chat than to keep informed by a potential small lag spike. My suggestion is to add an environment variable to make it optional. save_and_shutdown_server Or if you wanted, you could do 2 variables such as |
Hey @Jadiction After readind your answer and some thinking about it, i would be open to extend it like this: We already added BUT the value would be on/true by default and for backwards-compability. I really dont like thousands of server to break in an instant, just because the have auto-updates enabled and had not chance to read the patch-notes. Thats a no no. What the server saves before stoping thing affects, i dont want to change that. I a sense to speak of / in a sense you could say, im open to extend the functions of the "backupmanager.sh but im happy with whats in the servermanager.sh i dont want to touch that. Again it comes down to inform the player of events. Server reboot is setup via cron you can do that every 5m or once a month, that what you can already control whats happening and the "spamming" is in the admins control. But messing with this, also does messing with automation for server-management, im not really happy to change that sorry. Again im open to hear more feedback, but thats my current offer to extend this. |
@Jadiction ping |
This would work, but I was also looking for this to include the save message notifications, unless you're thinking about including those for this variable.
I agree, having it inform players is a good default and let it be an option for server admins on where they want it to or not.
I'm confused on what you mean by this. Adding an if statement for a new variable (defaulted to how it is now) wouldn't affect the automation process other than allowing customization to the notifications. |
That would be covered if i understood you correctly.
What i meant was regarding to the first request you wrote "i want to reduce spamming regarding backups" im open to that, thats in a single file called https://github.com/jammsen/docker-palworld-dedicated-server/blob/develop/scripts/backupmanager.sh BUT the other rcon-messages are in the server-manager-part ( https://github.com/jammsen/docker-palworld-dedicated-server/blob/develop/scripts/servermanager.sh ), meaning join/leave/start/stop and i dont consider them spamming. |
Oh yeah, I agree. It's just the backup messages that I consider "spammy." I imagine most people have it backup relatively short, especially with a retention option, it makes sense to have recent backups in the case of world corruption (which has been an issue since beta release). The other notifications are helpful. |
Hey @Jadiction i finally got around to work on this, sorry it took so long. Its no on develop for testing, feel free to load this image tag to try it out Changes and explainers are here: c1704b3 I decided to announce "ERRORS ONLY" still to the ingame chat, no matter what. I think that is one thing we didnt talk about, but it still counts as important to get an important info that you need to research whats happening. Please let me know if that works for you! |
Have you read the Important information text above
Describe the feature
I am suggesting an environment variable to toggle on/off the RCON backup messages. If not many people are talking, it gets pretty "spammy".
![image](https://private-user-images.githubusercontent.com/8557785/344258619-b4084671-7ef6-4ec9-828f-fca13a277808.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU3NzA2MzMsIm5iZiI6MTcyNTc3MDMzMywicGF0aCI6Ii84NTU3Nzg1LzM0NDI1ODYxOS1iNDA4NDY3MS03ZWY2LTRlYzktODI4Zi1mY2ExM2EyNzc4MDgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDkwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA5MDhUMDQzODUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjlhOThkNjUxODdmMTVlMTZkNWMzZjk5ZjhkM2I1YzE5NmZjOTVkMTRhMTY3ZTQwMjYwOTUzMDdiNTk1ZTQ4NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.TjAzKLidvDIhXVwvQ4m-9sbLWQdU9Wj_R622g8AhZY4)
For example, this will be repeated each time:
I do want rcon enabled for the player messages (join/leave/name change), but my players don't need to know when a world is saving or being backed up. It's unnecessary information/spam for them to see constantly.
Additional information
Final checks
The text was updated successfully, but these errors were encountered: