philstyle Posted August 14, 2020 Posted August 14, 2020 As per the title, is there a way to turn off the chat, server side, so it is disabled for all players (except maybe the server admin)? On YouTube: https://www.youtube.com/philstylenz Storm of War WW2 server website: https://stormofwar.net/
Grimes Posted August 15, 2020 Posted August 15, 2020 Add a callback for onPlayerTrySendChat in gameGUI, have admins checked as exempt from it, for everyone else return false. Disabling chat, for whatever the reason, is a rather extreme decision and probably isn't the best idea in my opinion. 1 The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
chromium Posted August 25, 2021 Posted August 25, 2021 It seems also that onPlayerTrySendChat, even if returned false or "" as per API description, will deny the chat to appear serverside... but clients still can see everything. Check here also: Author of DSMC, mod to enable scenario persistency and save updated miz file Stable version & site: https://dsmcfordcs.wordpress.com/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
Recommended Posts