IDENTITY SMP
Minecraft Paper/Spigot Plugin — Part 1
- CORE GAME CONCEPT
Create a complete, production-ready Minecraft Paper/Spigot plugin called Identity SMP.
Identity SMP is a long-term social deduction, survival, investigation, deception, stealth, and voting-based SMP system.
This is NOT a normal minigame where players simply fight each other.
The core gameplay is:
Hidden Identity + Tasks + Investigation + Trust + Suspicion + Secret Kills + Voting + Survival
---
- ROLE ASSIGNMENT
A normal Identity SMP round/game session supports exactly:
- 10 active players
- 9 Detectives
- 1 Spy
The Spy is randomly selected.
Players must never receive a public announcement revealing who the Spy is.
Each player receives exactly ONE Identity Card.
There are two internal card types:
- Detective Identity Card
- Spy Identity Card
However, these cards must look 100% identical to players.
The Spy's card must NOT visually reveal that it is a Spy card.
The Detective's card must NOT visually reveal that it is a Detective card.
---
- IDENTICAL CARD SYSTEM
Both Identity Cards must use the same:
- Item type
- Item name
- Display name
- Lore
- CustomModelData
- Texture/model
- Enchant appearance
- Visible metadata
Example visible name:
"[ IDENTITY CARD ]"
Do NOT display:
"SPY"
or
"DETECTIVE"
on the visible card.
The actual role must be stored internally by the plugin.
If:
- The Spy holds their card in their hand
- A Detective holds their card in their hand
- A player looks at another player's card
there must be no visual difference.
Players cannot identify the Spy simply by looking at the card.
---
- CARD PROTECTION
Players must NOT be able to use another player's Identity Card to discover their role.
Prevent:
- Card trading
- Card dropping
- Card stealing
- Card duplication
- Card copying
- Card transferring
- Forced card insertion
- Role extraction
- NBT inspection through normal gameplay
- Exploiting the card system
- Using glitches to reveal hidden role data
Cards should be bound to:
- Player UUID
- Current game ID
- Internal role data
If a duplicated or invalid card is detected, invalidate it and log the event.
Normal players must not have any command that reveals another player's role.
---
- DETECTIVE ROLE
There are normally 9 Detectives.
The Detectives' main objective is:
«Find the real Spy before the Spy eliminates everyone.»
Detectives do NOT begin with all abilities unlocked.
Their abilities must be earned through difficult objectives/tasks.
---
- DETECTIVE TASK SYSTEM
Every Detective receives an Identity Objective.
Do NOT call it:
"Detective Task"
because this could expose the player's role.
Use a neutral name such as:
"IDENTITY OBJECTIVE"
Tasks should not be extremely easy.
They should require actual gameplay.
Possible task categories:
- Exploration
- Mining
- Crafting
- Finding a hidden location
- Collecting specific items
- Visiting multiple locations
- Completing a parkour route
- Surviving for a certain period
- Interacting with specific blocks
- Finding hidden objects
- Completing a multi-step objective
Tasks should be configurable.
Example:
tasks: enabled: true difficulty: HARD same-task-system-for-all-roles: true
IMPORTANT:
The Spy should also receive a task from the same task system.
This prevents players from saying:
«"Only Detectives get tasks, so this player must be a Detective."»
The Spy receives an objective too.
However:
The Spy does NOT need to complete the task to unlock Spy abilities.
The Spy's abilities are already available from the beginning.
---
- DETECTIVE ABILITY SYSTEM
Detective abilities begin locked.
Example status:
"SPY DETECTOR: LOCKED"
After completing the required Identity Objective:
"SPY DETECTOR: READY"
The plugin should privately notify the player.
Do NOT announce task completion publicly.
Do NOT broadcast:
"Player X unlocked Spy Detector!"
---
- SPY DETECTOR
The primary Detective ability is:
SPY DETECTOR
Default settings:
detection-range: 20 detection-duration: 3 detection-cooldown: 3
When a Detective activates Spy Detector:
- Check for the Spy within 20 blocks.
- If the Spy is inside the range:
- Make the Spy glow for 3 seconds.
- If the Spy is outside the range:
- Do nothing.
- Do NOT reveal the Spy's coordinates.
- Do NOT give distance information.
- Do NOT provide a compass direction.
- Do NOT show an arrow pointing toward the Spy.
The ability only answers:
«Is the Spy currently within detection range?»
The Detective still needs to be smart enough to determine what to do with that information.
---
- SPY ROLE
Exactly one player becomes the Spy.
The Spy's objective:
«Eliminate the Detectives while remaining unidentified.»
The Spy starts with abilities unlocked.
Example:
SPY ABILITIES
Invisible Movement: READY Invisible Kill: READY
The Spy does not need to complete their objective to activate these powers.
---
- SPY — INVISIBILITY
The Spy has an invisibility ability.
Default:
invisibility: duration: 10 cooldown: 30 particles: false
When activated:
- Spy becomes invisible.
- No obvious activation particles.
- No public announcement.
- Other players should not receive a notification that invisibility was activated.
The ability must have a configurable cooldown.