drollking0658

Minecraft Among Us Style Plugin (Full Specification with Examples)

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

Minimum Player Rule:

If players are less than 3:

Show on screen to all players: "❌ Not enough players to start the game!" Game should NOT start

Example: 2 players try /start → Game does not start → Show message to all players

Game Start:

When /start is used:

Show scrolling titles:

Imposter, Crewmate, Sheriff, Detective

Role Assignment Logic: 2 players → Game cannot start 3 players → 1 Imposter, rest Crewmates 4 players → 1 Imposter, rest Crewmates 5 players → 1 Imposter, 1 Sheriff, 1 Detective, rest Crewmates 6 players → 2 Imposters, 1 Sheriff, 1 Detective, rest Crewmates 7+ players → SAME as 6 players

Examples: 3 players → 1 Imposter, 2 Crewmates 5 players → 1 Imposter, 1 Sheriff, 1 Detective, 2 Crewmates 6 players → 2 Imposters, 1 Sheriff, 1 Detective, 2 Crewmates 8 players → 2 Imposters, 1 Sheriff, 1 Detective, 4 Crewmates

Role Visibility Rules:

Players can ONLY see their own role Roles must NOT be shown in chat, tab list, above heads, or server messages

Example:

If Rahul is Imposter and Aman is Crewmate → Aman should NOT know Rahul is Imposter

Role Display:

Each player sees ONLY their OWN role as a title

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 Goat Horn (Meeting Horn)

Meeting System:

Players use Goat Horn to call meeting On use:

* All players teleport to spawn * Players are NOT frozen * All players receive Voting Book

Meeting Message: "📯 Meeting called by <PlayerName>"

Example: "📯 Meeting called by Rahul"

Voting:

Voting time = 1 minute Players write vote in book

Example votes:

Rahul votes Aman Aman votes Rahul Rohit votes skip

Voting Result:

Most voted player → Spectator If "skip" wins → no one eliminated

Example:

Votes → Aman = 2, Rahul = 1 → Aman becomes Spectator Votes → skip = highest → no one eliminated

After Meeting:

Voting books removed Original items returned Horn stays usable

Kill System:

Only Imposter and Sheriff can kill Others cannot attack

Kill Rules:

No chat message No death message No notification

Example:

Rahul kills Aman → No message shown anywhere → Aman silently becomes spectator

On Death:

Player becomes Spectator instantly No item drops

Spectator System:

Dead players can use: /tp <playername>

Dead Body System:

Diamond block at death location Sign displays: "RIP <PlayerName>" Button placed to report

Example:

Diamond block + sign: "RIP Aman"

Report System:

On button press:

Meeting starts Message: "💀 RIP <DeadPlayerName> | Reported by <ReporterName>"

Example: "💀 RIP Aman | Reported by Rahul"

Detective Ability: /ability 1 <player> Shows target role ONLY to detective Cooldown: 5 minutes

Example:

Detective uses: /ability 1 Rahul → Chat shows ONLY to detective: "Rahul is Imposter"

Imposter Abilities: /ability 1 - Blindness/Darkness (1 min) /ability 2 - Reduce target to 5 hearts /ability off

Example:

Imposter uses /ability 1 → All players get darkness for 1 minute

Cooldown:

All abilities = 5 minutes

Win Conditions:

Crewmates win → All imposters eliminated Imposters win → All other players killed

Examples:

All imposters dead → Crewmates WIN Only imposters alive → Imposters WIN

End Screen:

WIN (Green) LOSS (Red)

Game End:

Game stops automatically Abilities disabled Players teleported to spawn

Reset System:

Inventory cleared Spectators → Survival Roles cleared Game fully reset

After Game:

Ready for next round

Core Rules:

No item drops No kill messages Roles always hidden

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

No files in this session

Code