MPassports v1.6

Plugin Player Passport - Best For Roleplay Servers
123.png


2026-06-04_03.26.04.png
2.png
1.png

3.png


MPassports — Plugin Documentation​


Version: 1.6
Minecraft: 1.20.x – 1.21.x
API: Paper, Spigot, Bukkit



Installation​


  1. Drop MPassports.jar into your server's /plugins/ folder
  2. Restart the server
  3. Plugin generates: config.yml, lang.yml, gui.yml, passports.yml, fines.yml
  4. Edit the files to your liking and run /passport reload



Soft Dependencies​


These plugins are optional. MPassports works without them but gains extra features when present.


PluginFeature unlocked
PlaceholderAPIPassport placeholders available in other plugins
VaultFine payment system (economy)
LuckPermsJob and position lines shown in passport display
MJobJob/position integration via service API



Commands​


All commands start with /passport. Aliases: none.


Player Commands​


CommandDescription
/passport createCreate your passport
/passport guiOpen the passport GUI menu
/passport show [player]Display your own or another player's passport in chat
/passport getReceive a written book copy of your passport
/passport set <field> <value>Edit a field on your own passport
/passport setbirth <DD> <MM> <YYYY>Set your birth date
/passport ask <firstname> <lastname>Request to view another player's passport
/passport acceptAccept a pending passport view request
/passport denyDeny a pending passport view request
/passport historyView your own passport change history

Editable Fields (/passport set)​


FieldDescriptionValidation
firstnameFirst nameAny text
lastnameLast nameAny text
ageAgeNumber 0–99
genderGenderMale or Female only
dcDiscord IDAny text
cityCity of residenceAny text
marriagePartner nameAny text, or clear to remove

Birth date is set separately:

/passport setbirth <DD> <MM> <YYYY>


Example: /passport setbirth 15 06 1998


Admin Commands​


CommandDescription
/passport set <player> <firstname> <lastname> <age> <gender>Set all main fields for another player at once
/passport listList all players who have a passport
/passport reloadReload config, lang, GUI, passports and fines from disk
/passport revoke <player>Delete a player's passport entirely
/passport history <player>View another player's change history
/passport expiry set <player> <DD.MM.YYYY>Set an expiry date for a player's passport
/passport expiry clear <player>Remove the expiry date from a player's passport
/passport expiry check <player>Check when a player's passport expires

Fine Commands​


CommandPermissionDescription
/passport fine give <player> <rule> <amount>passport.fineIssue a fine to a player
/passport fine info <player>passport.fineView all fines for a player



Permissions​


PermissionDescriptionDefault
passport.adminAccess to all admin commands (list, reload, revoke, expiry, history of others, set other player)OP
passport.fineIssue fines and view fine recordsOP
passport.askSend passport view requests to other playerstrue (everyone)
passport.listView the full passport listOP



PlaceholderAPI Placeholders​


Requires PlaceholderAPI to be installed.


PlaceholderReturns
%passport_firstname%Player's first name
%passport_lastname%Player's last name
%passport_age%Player's age
%passport_gender%Player's gender (Male / Female)
%passport_id%Unique passport ID (e.g. A1B2C3D4)
%passport_birthdate%Birth date in DD.MM.YYYY format
%passport_dc%Player's Discord ID
%passport_city%Player's city
%passport_partner%Player's marriage partner
%passport_expiry%Passport expiry date (DD.MM.YYYY) or empty if not set
%passport_expired%true if passport is expired, false otherwise

If a value is not set, the placeholder returns the value of passport-unknow from lang.yml (default: Unknown).



Configuration​


config.yml​

passport:
# Days until a newly created passport expires.
# Set to 0 to disable automatic expiry.
valid-days: 0

# Date format used for birth date display
date-format: "dd.MM.yyyy"


lang.yml​


All messages sent to players are defined in lang.yml. Color codes supported: legacy (&a, &c, &l, etc.) and HEX (&#RRGGBB).


gui.yml​


Controls the appearance of the passport GUI: item materials, slot positions, display names, lore, filler item, and inventory title/size.




GUI Overview​


Open with /passport gui.


When you have no passport:


  • One button in the center to create your passport

When you have a passport:


ButtonSlotAction
Player name10Display only
Passport ID11Display only
First Name12Click to edit via chat
Last Name13Click to edit via chat
Age14Click to edit via chat
Gender15Click to edit via chat
Birth Date16Click to edit via chat
City29Click to edit via chat
Discord ID30Click to edit via chat
Partner31Click to edit via chat
View Passport47Type a player's name to view their passport
Fines49Opens the fines menu (green = no unpaid, red = unpaid)
Ask Passport51Type a player's nickname to send a view request

Type cancel in chat at any prompt to abort without saving.




Fine System​


Police officers (players with passport.fine) can issue fines to players.


Issue a fine:

/passport fine give <player> <rule> <amount>


Example: /passport fine give Steve 1.1 500


View fines:

/passport fine info <player>


Pay a fine (requires Vault economy): Open /passport gui → click the Fines button → click any unpaid fine (red) to pay it.


Fine statuses: PAID (green) / UNPAID (red).




Passport Expiry​


Passports can have an optional expiry date.


Auto-expiry on creation: set passport.valid-days in config.yml to any positive number. New passports will automatically expire after that many days. Set to 0 to disable.


Manual control (admin only):

/passport expiry set <player> <DD.MM.YYYY>
/passport expiry clear <player>
/passport expiry check <player>


When a passport is expired it is clearly marked in /passport show output and in the passport book.




Passport History​


Every time a passport field is changed, the change is recorded with:


  • Date and time
  • Who made the change (player name)
  • Which field changed
  • Old value → New value

Up to the last 50 changes are stored per passport.


View your own history:

/passport history


View another player's history (admin):

/passport history <player>




Data Storage​


All data is stored in YAML files inside the plugin folder (plugins/MPassports/).


FileContents
passports.ymlAll passport data including history and expiry dates
fines.ymlAll issued fines and their payment status
config.ymlPlugin settings
lang.ymlAll player-facing messages
gui.ymlGUI layout and appearance settings

Data is saved automatically when changes are made and on server shutdown.
Buy a license now
$4.49
EULA
Standard EULA
Use on any projects you own with attribution
Support
Standard
Includes:
Download the resource
Access new updates
Support from the creator
Support duration
1 year
Share and earn
Refer this resource and earn a 10% commission.
220 Views
1 Purchases
3 Downloads
Apr 4, 2026 Published
Jun 4, 2026 Updated
Not yet rated
56.7 KB File size
Open source
  1. No
DRM-free
  1. No
Unobfuscated
  1. No
Type
  1. Gameplay
  1. GUI
  1. Fun
Game mode
  1. Survival
  1. Roleplay
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 1.21.11
  1. 1.21.8
  1. 1.21.5
  1. 1.21.4
  1. 1.21.2
  1. 1.21
  1. 1.20
Supported languages
  1. English
  1. Russian
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Lag-free, customizable servers ready in minutes.
Host your adventure today!
Recommended for you
Announcements, Bossbar, ActionBar, 3 type of chats, multi-language
Not yet rated
0 purchases
Economy & Banking Plugin | ATM & PIN System
Not yet rated
1 purchase
Shop, Sell, Easy Configure, You Can Add Everything!
Not yet rated
0 purchases
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 140 ratings
4,162 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 52 ratings
3,077 purchases
Share and earn
Refer this resource and earn a 10% commission.
220 Views
1 Purchases
3 Downloads
Apr 4, 2026 Published
Jun 4, 2026 Updated
Not yet rated
56.7 KB File size
Open source
  1. No
DRM-free
  1. No
Unobfuscated
  1. No
Type
  1. Gameplay
  1. GUI
  1. Fun
Game mode
  1. Survival
  1. Roleplay
Supported software
  1. Spigot
  1. Paper
Supported versions
  1. 1.21.11
  1. 1.21.8
  1. 1.21.5
  1. 1.21.4
  1. 1.21.2
  1. 1.21
  1. 1.20
Supported languages
  1. English
  1. Russian
Creator
Owner
Struggling to cover the costs of your server? Set up your own webstore with Tebex in under 30 seconds.
Lag-free, customizable servers ready in minutes.
Host your adventure today!
Recommended for you
Announcements, Bossbar, ActionBar, 3 type of chats, multi-language
Not yet rated
0 purchases
Economy & Banking Plugin | ATM & PIN System
Not yet rated
1 purchase
Shop, Sell, Easy Configure, You Can Add Everything!
Not yet rated
0 purchases
#1 BuiltByBit Plugin ~ Protects your server from crash packet exploits ~ Folia Support
5.00 star(s) 140 ratings
4,162 purchases
Create items, blocks, mobs, emojis, and more with automatic resourcepack generation!
5.00 star(s) 52 ratings
3,077 purchases
Top