[option] Disable commands popping up in chat
Moderator: ickputzdirwech
-
- Inserter
- Posts: 48
- Joined: Sun Jan 03, 2016 10:28 am
- Contact:
[option] Disable commands popping up in chat
I'll just get straight to it. I have a mod, and it sends the game an rcon request every few ticks. The game then goes "bleep" and prints a gray line in chat.
My game is a bleepfest. There is no way to substitute rcon for my purpose as I cannot read files with lua mods.
So I propose a simple checkbox in the options > others section that makes commands not show up in the chat or make bleeps.
My game is a bleepfest. There is no way to substitute rcon for my purpose as I cannot read files with lua mods.
So I propose a simple checkbox in the options > others section that makes commands not show up in the chat or make bleeps.
Re: [option] Disable commands popping up in chat
Not so good idea. I would suggest to tell your script - however that works and whatever it does - to supresses it's output instead. Somehting like pipe all to dev/null
Something like
script >/dev/nul 2>&1
Which should write stdout and stderr to dev/null
Something like
script >/dev/nul 2>&1
Which should write stdout and stderr to dev/null
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Inserter
- Posts: 48
- Joined: Sun Jan 03, 2016 10:28 am
- Contact:
Re: [option] Disable commands popping up in chat
https://github.com/Danielv123/factorioClusterio
Client.js sends "/c remote.call('clusterio', 'import', '" + g[0] + "', " + g[1] + ")"
where g[0] is item-name and g[1] is count.
Spamming down the log for the script/server log is not a problem at all. The problem is that every time the command is executed the players get a small beep. How do I suppress that?
Client.js sends "/c remote.call('clusterio', 'import', '" + g[0] + "', " + g[1] + ")"
where g[0] is item-name and g[1] is count.
Spamming down the log for the script/server log is not a problem at all. The problem is that every time the command is executed the players get a small beep. How do I suppress that?
Re: [option] Disable commands popping up in chat
I to would like to be able to suppress the beep.
1st reason, debugging on tickets stuff. I wouldon't like to suppress the beep until I need the beep.
2nd reason. To print a message in chat while playing a totally different sound.
1st reason, debugging on tickets stuff. I wouldon't like to suppress the beep until I need the beep.
2nd reason. To print a message in chat while playing a totally different sound.
-
- Inserter
- Posts: 48
- Joined: Sun Jan 03, 2016 10:28 am
- Contact:
Re: [option] Disable commands popping up in chat
Looks like this can be managed by turning down GUI sounds in options>sound.Nexela wrote:I to would like to be able to suppress the beep.
But then again, I like GUI sounds!
I was also able to make everything in the chat dissappear in a tick with a setting, but getting chat is kinda important. Disabling this just for commands would be great.
Re: [option] Disable commands popping up in chat
Instead of a gui option that every player has to toggle this should be a parameter when sending an rcon command, to execute it silently.
Re: [option] Disable commands popping up in chat
Hm. I have looked a bit into docs. And my current thought about this is, that remote.interfaces should be able to be bound to other "devices" than the in-game-console (streams or files).
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Re: [option] Disable commands popping up in chat
I have added /silent-command to 0.14.5. /silent-command works just like /c, except it doesn't print the command ran to everyone's game console. It is only available to admins and over RCON/server console.
- aubergine18
- Smart Inserter
- Posts: 1264
- Joined: Fri Jul 22, 2016 8:51 pm
- Contact:
Re: [option] Disable commands popping up in chat
Added note about /silent-command to wiki: https://wiki.factorio.com/index.php?tit ... g_commands
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.
-
- Long Handed Inserter
- Posts: 74
- Joined: Sat Sep 03, 2016 12:00 am
- Contact:
Re: [option] Disable commands popping up in chat
Could you make it if the command was run as a silent command that if the command had an error it still would not spam all players?
3Ra Gaming Owner
join us on discord @ http://www.3RaGaming.com/discord
join us on discord @ http://www.3RaGaming.com/discord