There are some features that can be done totally in server side (for instance, the boss reward chest), and features that needs protocol changes (store, prey, market, etc).
I think they use the most recent engine available (tfs, otservbr, otx, etc) and they disable the features they don't want...