SQL Based Lottery System Adapted for the Ghost Realms Network