So me and a bunch of buddies have a minecraft realm and have access to the nether too. We don't have any gamerules changed at this point but I (as the owner) got some complaints about losing items in the nether due to them burning in lava and Creepers blowing up the houses at spawn.
I can definitely see these things being annoying so I wanted to change some gamerules but not everywhere.
What I'm asking is, if it's possible to set gamerules based on location on realms? (I'm specifically saying realms because I know plugins like on servers could be a solution but because it's a realm I can't get those on there)
What I mean by that is if it's possible to turn on
/gamerule keepInventory true only for the players in the nether and turn on
/gamerule doMobGriefing false in a specific area. (maybe it's possible to do something like this with commandblocks)
I'm very grateful for any help or advice and thank you in advance.