I think what you mean is using the keepinv command in the console and that is very easy if you know how to open up the console because all you need to do is type in /gamerule keepInventory true
camoMcW
but how do i allow myself to use commonds on my server it isnit allowing me??