I have tried many times on my realm to set keepinvintory to true using a command block and changing the capitalization but it wont work. Whenever I /kill I still lose my stuff. Is it possible to do on a realm? Or what am I doing wrong?
Late to comment, but for anyone else that ends up on this thread...
1.13 Aquatic Update now has tab auto-completion for commands. So, you just have to type enough to isolate the command you want then hit the tab key to auto-complete it and move to the next part you need to fill in.
/gamerule keepinventory true ...
/gamer is enough to isolate
/gamerule, so tab will auto-complete that
ke is enough to isolate
keepinventory in the gamerule arguments
t is enough to isolate
true out of true/false
Of all the updates in 1.13, I think the auto-completion intellisense is the most useful.