A simple 1v1 coin toss plugin with monetary bets.
- Place the plugin in the plugins folder of your server.
- Start and stop your server. This will generate the config file.
- Edit the configuration to your liking.
- Start your server again.
- Give the permission "cointoss.use" to everyone that should be able to use the cointoss command.
- Done.
- You challenge someone with /cointoss challenge <player> <bet>
- The person you challenged gets a notification, and he has to type /cointoss accept <heads/tails>
- The coin toss will start, and after a second it will end and reward the winning user.