Tournaments: Implement player cap

You can just do `params.shift()`. It returns `undefined` if the array is empty. Do `params.shift() || false` if you really need it to be false if the param doesn't exist, but it looks like `undefined` is good enough.