Silly511 - Original inspiration for the mod, and code for setting gamerules was sourced from ConnectionHandler.class in the "Keeping Inventory" mod, this works within the custom license conditions.