Mafia

READ TO THE END, OR AT LEAST SKIM OVER TO IT.

(Continued from http://forums.bukkit.org/threads/fun-rpg-misc-minecraft-mafia-v1-2-a-plugin-of-lies-and-deception-1-2-5-r4-0.83645/) Minecraft Mafia is a party game of lies and deception. This plugin is heavily inspired by the SC2 custom game 'Mafia', so if you've ever had the chance to play that, this plugin will come naturally to you. If not, basically the goal of the game is to either lynch all the mafia if you're town, or to kill all the town if you're mafia. Each class has unique abilities and your job is to use those to help your group (Town/Mafia). There are also neutrals included which have their own unique goals and aren't affiliated with anyone.

-How to play-

To start a game of mafia, an op must do /mafia start. All players who wish to join the game have 15 seconds to type /join. All players are told their individual role and the players are given time to discuss. Then, it's voting time. Depending on whether or not NoVoteOnFirstDay is enabled, players can type /vote [player] to put a player on trial. If the player is put on trial, he is given time to defend himself, then players can type /innocent or /guilty. If he is found guilty, he will be lynched and his role will be revealed. If innocent, the night will start just like if no trial was initiated that day. At night, each player can use their respective abilities by typing their role as a command. Once night is over, everyone is teleported to a normal house. If someone was role blocked, they are sent to a special place. If mafia killed someone, that person is killed (unless the doctor was able to heal them) and their role is revealed. Whoever the sheriff checked's role is also revealed to the sheriff. Then, the cycle repeats until there is either no town left or no mafia left.

-Commands-

/commands : Gives a list of common commands.

/join : Joins the game of Mafia during the 15 second waiting period.

/clock : Tells the current day, the section of day you're on, and how many seconds until the next section.

/role : Tells you your role.

/players : Shows a list of players currently alive in the game of Mafia.

/graveyard : Shows a list of dead players and their role.

/lastwill [message] : Shows the written message when you die.

/vote [player] : Votes to put this player on trial.

/cancelvote : Cancels your vote for putting the player on trial.

/innocent : Votes the player on trial innocent.

/guilty : Votes the player on trial guilty.

/[sheriff|doctor|escort|citizen|gf|mafioso|jester] : Shows the list of subcommand actions you can perform at night if you are this role.

Within /mafia:

/mafia start: Starts a game of mafia.

/mafia stop: Stops the game of mafia.

/mafia setminplayers [min]: Sets the minimum amount of players.

/mafia setmaxplayers [max]: Sets the maximum amount of players.

/mafia settrial [id]: Sets the trial location of the id to the player's position.

/mafia sethouse [id]: Sets the house location of the id to the player's position.

/mafia setpodium: Sets the location of the podium to the player's position.

/mafia setsheriff: Sets the location of the sheriff's office to the player's position.

/mafia setdoctor: Sets the location of the doctor's office to the player's position.

/mafia setmafia: Sets the location of the mafia bunker to the player's position.

/mafia setrb: Sets the location of the place player's are sent when roleblocked to the player's position.

/mafia trialradius [radius]: Sets the radius of the trial to the given amount.

/mafia lynchradius [radius]: Sets the radius of the podium's lynching area to the given amount.

Mafia Reward Commands:

/mafia reward itemflag [true/false]: Sets whether or not items are given as a reward.

/mafia reward additem: Add's the item in the player's hand to the item rewards list.

/mafia reward clearitems: Clears the list of items given as rewards.

/mafia reward xpflag [true/false]: Sets whether or not xp is given as a reward.

/mafia reward xpamount [amount]: Sets how much xp is given.

-Permissions-

Mafia.*

Mafia.sheriff

Mafia.doctor

Mafia.escort

Mafia.citizen

Mafia.vigilante

Mafia.mafioso

Mafia.gf

Mafia.consort

Mafia.jester

Mafia.arsonist

Mafia.clock

Mafia.vote

Mafia.cancelvote

Mafia.role

Mafia.commands

Mafia.join

Mafia.innocent

Mafia.guilty

Mafia.players

Mafia.graveyard

Mafia.mafia

Mafia.mafia.start

Mafia.mafia.stop

Mafia.mafia.setminplayers

Mafia.mafia.setmaxplayers

Mafia.mafia.settrial

Mafia.mafia.sethouse

Mafia.mafia.setpodium

Mafia.mafia.setsheriff

Mafia.mafia.setdoctor

Mafia.mafia.setmafia

Mafia.mafia.setrb

Mafia.mafia.trialradius

Mafia.mafia.lynchradius

-Roles-

Town:

Sheriff: The sheriff has the ability to check a person's role at night.

/sheriff check [player] : Checks this player's role at night.

Doctor: The doctor has the ability to heal someone at night.

/doctor heal [player] : Heals this player at night, preventing them from being killed.

Escort: The escort has the ability to roleblock someone at night.

/escort rb [player] : Roleblocks this player at night, disallowing them to use their ability, and sending them to a special building.

Citizen: The citizen is a generic town role who wins if town wins.

/citizen vest : COMING SOON!

Vigilante: The vigilante can shoot people at night.

/vigilante kill [player] : Shoots the selected player at night.

Mafia:

Godfather: The godfather is the lead mafia who can override who to kill at night.

/gf kill [player] : Selects this player to be hit by the mafia.

/gf team : Displays a list of all the mafia.

Mafioso: The mafioso has the ability to kill someone at night for mafia.

/mafioso kill [player] : Suggests the mafia kill this player at night.

/mafioso team : Displays a list of all the mafia.

Consort: The consort has the ability to roleblock someone at night for the mafia.

/consort rb [player] : Roleblocks this player this night.

/consort team : Displays a list of all the mafia.

Neutral:

Jester: The jester achieves his objective if he is lynched at trial, giving him the win bonus.

/annoy [player]

Arsonist: The arsonist can douse people in gasoline at night or chose to light all doused players on fire!

/arsonist douse [player] : Douses the player with gasoline.

/arsonist ignite : Ignites all doused players.

-Configuration-

Just edit the provided config file to your liking. I do suggest you use the provided file, though.

How to make your own map for Mafia:

Make your town where all the trials and lynchings will happen.

Set the locations where the player's will spawn into the trial by using /mafia settrial [id].

Set the location of where the podium is using /mafia setpodium.

Create enough buildings to individually house the maximum number of players (adjustable using /mafia setmaxplayers [max]). Space the houses at least 64 blocks apart so that player's cant see eachothers name tags.

Set the location of each house using /mafia sethouse [id].

Now you need to create the buildings for the sheriff, doctor, and mafia. Again, space each at least 64 blocks apart.

Set the location of each building using /mafia setsheriff, /mafia setdoctor, /mafia setmafia respectively.

Now create the place where roleblocked people will be sent at night.

Set the location of the building using /mafia setrb.

And your map is done!

(Optional) Set the rewards the winners get using /mafia reward. In the config (possibly within the plugin) edit the positions of the houses if you choose to use the provided map.

Download the map (made by the original creator, theninthworldix): https://dl.dropbox.com/u/51784213/Mafia.zip

-Possible Future Features-

A point system.

-Possible Future Roles-

Mafia

Disguiser (Harder to make)

Neutral

Serial Killers

Mass Murderers

-Planned Roles-

Mafia

Framer

Blackmailer

Neutral

Witch

Executioner

Contact Me and Further Info on the plugin

First, contact. My email is [email protected]

Only use that for more private matters.

Second, Next, and Last. The reason of the item rewards I put in, Gold and Iron, are because I am thinking, if I make a point system, gold will be the points! Each win you get 64 gold. Always store your gold in a Ender Chest by the way, and always have a couple on you. I will list a recommended plugins to help this. Plus, gold works with Lottery, making it where you can auction points off! Also, you could (or I could) make a shop using gold as a currency. This would work without point systems. Pretty much this is how you can make your own point system, just with 2 plugins and using the recommended config file! Also, you know, setting up the shop and lottery ya know. But yeah. Also, about the iron, diamond seemed too generous. Iron tools can be helpful.

Recommended Plugins to Help

Lottery

ChestShop


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    61278
  • Created
    Jul 10, 2013
  • Last Released File
    Never
  • Total Downloads
    1,661
  • License

Categories

Members

Recent Files