When you find yourself trying to remember a show (or any works) that's on the tip of your tongue but just out of reach, come here - the collective brain of the TVTropes community can probably help. Post all the details you can remember (examples help). If you're looking for a trope, head over to Trope Finder. Have general questions about tropes? Visit Ask The Tropers!
That's a very common kind of questline, so with that being the only information to go on, it makes it hard to identify. Do you remember anything else about it? For example, was it set in modern times/the future/a fantasy world? What was the gameplay like? Every bit of information you can remember helps to narrow it down.
That said, it did make me think of a couple of games I recently played; one was called Frontier and the other was Hands of War. Was it one of those?
Edited by SyssarethIt was Hands of War, thanks for finding it.
This was a game I played last year. I remember that it was probably a flash game and that you played a soldier or something, and you could make alliances with a few different groups. You had to do things like killing enemy soldiers to be able to join the groups. I think one of the groups was a trading guild.