This plugin was published and got updated on a Vietnamese Minecraft Forum (minecraftvn) before it got translated and now ready to be published on spigotMC!
Description
Tai Xiu (or Sic Bo in English) is a game in the form of betting. In the game, there are three 6-sided dice numbered from 1-6. The dealer (system) will take the sum of the 03 dice that appear to give a final number to the player.
The player's task is to predict whether the result is Tai or Xiu. Xiu is the sum of 3 dice from 3-10, and Tai is 11-18. If the guess is correct, the player will win and receive money.
System requirements
This software runs on Spigot and NMS. Spigot forks without compiled NMS code are not supported. Officially supported servers are spigot, paper, and folia. You must use Java 11 or newer.
System.
out.
println("Sic bo session number #"+ sessionData.
getSession()+" result is "+ result
); System.
out.
println("There is "+(result
== TaiXiuResult.
TAI? taiPlayers.
size(): xiuPlayers.
size())+" players betted on "+ result
); }
@EventHandler
publicvoid betEvent
(PlayerBetEvent event
){ Player p
= event.
getPlayer(); TaiXiuResult bet
= event.
getBet(); Long money
= event.
getMoney(); System.
out.
println(p.
getName()+" just betted on "+ bet.
toString()+" with the amount of "+ money
); }
Contact Report a bug or need help with something? You're welcome to my discord server