key value pairs must be legit for the object you are creating, you cant just make up your own (what mod is this for???) You also must set the location of an entity before dispatchingspawn. If you are not sure what the valid key value pairs are for an entity, load a map in notepad or something (it'll take a while to load) and then search for the entity name. You should realize how entities are described in the map after you look at it for a bit and every entity's key value pair that is required will be listed. I notice that message is "" and its possible you dont even need the key value pair. Before messing with key value pairs however, try to recreate the entity that is on the map exactly at it is first.