@metabyter i think it is more technically correct to phrase the question as in a url, should i encode the spaces using %20 or + in the query part of a url? because while the example. Since it's not mentioned anywhere in. The % character is encoded as %25.
我的世界永久获得夜视效果的指令是/effect @a night_vision 99999999 255 true或/effect @a night_vision 99999 250。 在《我的世界》游戏中,玩家可以通过指令来获得各种效. The common space character is encoded as %20 as you noted yourself. As the aforementioned rfc does not include any reference of encoding spaces as +, i guess using %20 is the way to go today.
I am interested in knowing why '%20' is used as a space in urls, particularly why %20 was used and why we even need it in the first place. If you look at rfc 3986 appendix a, you will see that space is simply not mentioned anywhere in the grammar for defining a url.