I'm currently making a map that uses book and quill placed and removed from lecterns as it's main concept, however I tried it and it only works in survival mode.
So what I came up with was to keep the player in adventure mode until the player gets close to a lectern where it would then switch the gamemode to survival so that the player can place and take books on the lectern. This concept of switching gamemodes, however, keeps giving a notification whenever the gamemode changes.
The question is: Are there any way I can fully use the lectern in adventure mode? If not, are there any way to silence the gamemode change notification?
*I've tried setting the gamerule commandBlockOutput and logAdminCommands to false