Closed alfg closed 9 years ago
After some thinking, we should not go with the linked approach above since it wouldn't be too difficult to figure the algorithm links to IDs in sequential order. Therefore, a user would be able to scan through IDs and see people's unique generated pages.
It should just be a url shortener service based on the URL, rather than the ID from the database.
https://github.com/stochastic-technologies/shortuuid another option
It would be nice to have some sort of URL shortener so users can share their server page easier with a smaller url, especially for sharing over a game's chat window.
http://guildbit.com/server/8234cac3-862f-4c30-82fe-f31e4b2b12b0
compared to
http://guildbit.com/FEafe3
It should work like this: http://code.activestate.com/recipes/576918/
Using the ID as the key to output the generated string.