The Maldives welcomes visitors from all countries, issuing a 30-day stamp on arrival. Citizens of India, Pakistan, Bangladesh or Nepal are given a 90-day stamp. If you want to stay longer you’ll either need to apply for a visa or leave the country when your 30 days is up, then return.
While officially you’re supposed to show US$30 for every day’s stay, this is not usually enforced, and showing a credit card will usually placate concerns. However, you should know the name of your hotel and be able to show a return air ticket out of the country, if asked by immigration officials.