im still at a loss with an aspect of staying onsite,Tix & DDP

if you stay onsite do you have to buy your tix from disney to be able to take advantage of having the DDP?

or

can you buy your tix elsewhere?