drollking0658

Minecraft Among Us Style Plugin (Full Specification)

Admin Commands: /start - Start game (Admin/Owner only) /stop - Stop game (Admin/Owner only) /rewind - Resume game (Admin/Owner only)

Game Start:

When /start is used:

Show scrolling text on screen:

Imposter, Crewmate, Sheriff, Detective

Role Assignment (Random):

Exactly 2 players are selected as Imposters Exactly 1 player is selected as Detective Exactly 1 player is selected as Sheriff All remaining players are Crewmates

Role Visibility Rules:

Players can ONLY see their own role Roles must NOT be shown in chat, server messages, tab list, or above player heads No player should know another player’s role unless revealed by gameplay (e.g., detective ability)

Role Display:

Each player sees ONLY their OWN role on screen (title) This is random based on assigned role

Role Colors:

Imposter - Red Crewmate - Green Detective - Purple Sheriff - Orange

Items:

Imposter - Diamond Sword (Sharpness V) Sheriff - Iron Sword (Sharpness) Detective - No weapon Crewmate - No weapon All players get a Meeting Horn (Goat Horn)

Meeting System:

Players use the Goat Horn to call a meeting When a player uses the horn:

All players teleport to the server spawn location Players are NOT frozen at any time All players receive a Voting Book

Meeting Announcement:

A global chat message is sent: "📯 Meeting called by <PlayerName>"

Voting:

Voting time is 1 minute Players write their vote in the book If player does not vote, nothing happens

Voting Result:

Player with most votes becomes Spectator If "skip" gets most votes, no one is eliminated

After Meeting:

Voting books are removed Original items are returned Meeting horns remain usable

Kill System:

Only Imposters and Sheriff can kill Other roles cannot attack

Kill Visibility Rules:

When a player is killed by an Imposter or Sheriff:

NO chat message is sent NO death message is shown NO player is notified Kill is completely silent

On Death:

Player immediately becomes Spectator mode No items are dropped

Spectator System:

Dead players can use: /tp <playername>

Dead Body System:

A diamond block appears at the death location A sign board is placed on or above the diamond block The sign displays: "RIP <PlayerName>" A button appears near the block to report the body

Report System:

When a player presses the button:

A meeting is started A global chat message is sent:

"💀 RIP <DeadPlayerName> | Reported by <ReporterName>"

Example: "💀 RIP Rahul | Reported by Aman"

Detective Ability: /ability 1 <player> Shows ONLY to the detective the target player's role in chat Cooldown: 5 minutes

/ability off

Imposter Abilities: /ability 1 - Blindness/Darkness (1 min) /ability 2 - Damage until 5 hearts /ability off

Cooldowns:

All abilities have 5 minutes cooldown

Restrictions:

Only Imposter and Sheriff can kill

Win Conditions:

Crewmates Win:

All imposters are eliminated

Imposters Win:

All other players are killed

Win/Loss Display:

WIN (Green) LOSS (Red)

Game End System:

Game stops automatically All abilities stop All players teleport to spawn

Reset System:

Inventory cleared Spectators → Survival Players reset Roles cleared

After Game:

Ready for next game

Other Rules:

No items drop on death No kill messages at all

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code