local OPCODE = 47 -- change thisfunction init() ProtocolGame.registerOpcode(OPCODE, setMapShader)endfunction terminate() ProtocolGame.unregisterOpcode(OPCODE)endfunction 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') endend