local OPCODE = 47 -- change this function init() ProtocolGame.registerOpcode(OPCODE, setMapShader) end function terminate() ProtocolGame.unregisterOpcode(OPCODE) end function setMapShader(protocol, msg) local map = modules.game_interface.getMapPanel() local action = msg:getU8() local shader = msg:getString() if action == 1 then map:setShader(shader) else map:setShader('Default') end end