rpg in a box is pretty bad optimized and is really hard to handle large maps
here are some things I know help with optimizing
-"map loaders" which is something I created, where when entering certain parts of the map, add zones that hide groups of tiles that the player isn't in line of sight with, so it's not always rendering them. put another zone near line of sight to show group
-add custom collision to complex models
having a simple cube collider instead of a complex mesh is better and less laggy, so you should make your character etc have custom collision with less cubes
-p.s you should probably separate each floor into its own map lol