For lotteries you can use the promoted fansite - https://tibiopedia.pl/tools/lottery/add Players used to use the popular fansite, http://tibialottery.com however as of April 11th 2020 the fansite is no longer active as noted in this news article.
Lottery tools are to ensure that the chosen players are really random and not something that you have impacted in any way. Head over to Tibiopedia.pl and create a lottery there. You do need to have an account there to create a lottery. Make sure to remember the password in case you want to end the lottery earlier. Set the draw date to a date far away in the future. You will also need to provide a number of available tickets. From my understanding, you cannot edit your lottery once placed so make sure everything is accurate before you press submit. You can always cancel it and start a new lottery.
You also need to announce your lottery to the players - this will usually be your world board, unless you are not making a lottery for the whole world to participate (if that's the case, announce it in any other, suitable way). There are a few things that the announcement should contain:
- The number of available tickets
- The price of a ticket
- The limit on tickets one can buy (if there's a limit)
- The list of prizes (assigned to places)
- The link to the lottery (Tibiopedia.pl generates a link for every created lottery; make sure that the post where you keep the link won't be edited - otherwise it may look as if you attempt to impact lottery results by having several lotteries set up and changing links)
- It is also a good idea to keep and update a list of tickets that have been bought and whether people have already paid for them
Once all the tickets are bought and paid for, edit the lottery and set it to be drawn in a few hours or a day. Announce the date / time of the raffle to the participants. Announce the winners and send the prizes!
Try to make the ticket prices fair - if you make your profit twice as big as the prizes are worth, no one might participate in your lottery.