Lode Runner
One of the first games that supported user modifications as packaged was "Lode Runner" (1983), which included a level editor which users could make and save levels to share with other players at the same computer.