NiklasEi / gamebox

Minecraft plugin with a vast selection of inventory games
http://gamebox.nikl.me
GNU General Public License v3.0
16 stars 13 forks source link

Don't give tokens to the "winner" when the other player closes the menu #44

Closed hafarooki closed 6 years ago

hafarooki commented 6 years ago

Currently, if in e.g. battleship a player leaves midgame, the other player gets a free token. This could be exploited to get free items

NiklasEi commented 6 years ago

This works only after setting all the ships, exactly to prevent massive missuse. If I wouldn't pay out the token, loosing players could quit early to deny the other player any reward.

hafarooki commented 6 years ago

Fair, I see your point. Didn't know it was only after setting all ships though, guess that solves that