The Democracy Intrigue data pack offers a one of a kind experience for Minecraft servers. Players can elect a King, who becomes server operator and has access to all the luxuries that come with it. But the King is not immortal. Players can topple the King by killing them, or hitting them with a splash potion of oozing. Have a rival who you think will beat you in the election? Assassinate them! players who are killed respawn as immortal reapers who can cause all sorts of fun chaos with a limited amount of arrows, a scythe, and an unlimited number of snowballs. The catch is... they cannot participate in elections! Players remain in reaper mode for at most 10 minutes, but killing players and mobs makes the time reduce faster!
The data pack only works in Hardcore mode on multiplayer servers. Fear not, you will be able to respawn as normal.
It is highly recommended for server hosts to set "op-permission-level" to "2" inside "server.properties" this prevents ops from shutting down the server and banning, kicking and oping players.
You MUST set "function-permission-level" to "4" in "server.properties" in order for the pack to function.
Don't use this with keepinventory.
/trigger startelection
/trigger setvote
/function democracyintrigue:checkop
/function democracyintrigue:opreset