Hello! I'll admit I'm very new to the Factorio modding scene, so I apologize if I've missed some information somewhere already.
I was curious about how chat (and/or entering commands) is handled in Multiplayer; where it "originates" and if it can be intercepted and handled -- and potentially modified -- before being passed along and sent as normal.
I don't mind doing some reading if anyone has information sources about it, but from my own searches it looked like something that isn't discussed, or even exists. If it doesn't exist, is it something outside the scope of the current API?
Chat Handling/Parsing
Re: Chat Handling/Parsing
Mods can't parse the chat.
You can build a special command that will launch your mod when typed: http://lua-api.factorio.com/0.12.27/LuaRemote.html
You can build a special command that will launch your mod when typed: http://lua-api.factorio.com/0.12.27/LuaRemote.html
Re: Chat Handling/Parsing
Thanks for the response.
I was hoping to build some kind of "command whitelist" system for some extra administrative abilities on servers, but it looks like that's not something that can be done at this time. Time to work more on familiarizing myself with what the API can do.
I was hoping to build some kind of "command whitelist" system for some extra administrative abilities on servers, but it looks like that's not something that can be done at this time. Time to work more on familiarizing myself with what the API can do.
