This is a preserved product reference. Check the current listing for release-specific dependencies and support. Ask for help.
Reference information
Guide version: v1.0.1
Supported versions: Paper 1.21.1+ · Java 21+
Guide updated: November 2026
Overview
CrystalProfiles gives every player a persistent profile and a social interface on a Paper server. A profile stores identity fields, privacy choices, statistics, badges, activity and reputation. The plugin also provides friend requests, a trusted-player leaderboard, profile visits, themes and a small API for other plugins.
It is self-contained: there is no hard dependency on an economy, permissions, PlaceholderAPI or other gameplay plugin. Optional integrations register through the Paper service registry.
• /profiles social hub and /profile navigation
• Online and offline profile views with first join, last seen and live status
• Native and custom statistics: playtime, K/D, distances, blocks and messages
• Data-driven badges and achievements
• Friend requests, accept, decline, removal and favorites
• Positive, neutral and negative reputation with abuse controls
• Per-section privacy: everyone, friends or only the owner
• Profile visits and unique visitor counts
• Permission-gated animated themes
• SQLite or MySQL storage with automatic, transactional migrations
• Asynchronous database work with bounded concurrency and an expiring cache
| Requirement | Supported value |
|---|---|
| Server software | Paper 1.21.1 or newer (Paper 1.21 API) |
| Java | 21 or newer |
| Hard dependencies | None |
| Storage | SQLite (default) or MySQL |
| Database drivers | Bundled in the release JAR |
Installation & Updating
1. Stop the server completely. Do not swap the JAR while the server runs and do not use /reload.
2. Back up plugins/CrystalProfiles/, especially profiles.db or your MySQL database.
3. Remove every older CrystalProfiles-*.jar from plugins/.
4. Copy CrystalProfiles-1.0.1.jar into plugins/.
5. Start Paper on Java 21+ and wait for the CrystalProfiles enabled console message.
6. Join and run /profiles and /profile to confirm everything works.
On first start the plugin creates its data folder, saves missing YAML files, opens the database, applies migrations and loads profiles for players already online. Always deploy the release JAR, never a *-plain.jar development build.
Updating
Stop the server, back up the data folder and database, replace the JAR, keep your existing YAML files and start again. Migrations run automatically and are recorded in cp_schema_history. New default keys are only written when a file is missing, so compare new release resources manually.
plugins/CrystalProfiles/
├── config.yml
├── messages.yml
├── badges.yml
├── themes.yml
├── achievements.yml
└── profiles.db # SQLite onlyCommands
Player commands first require crystalprofiles.use and then the feature permission. /profile has the aliases /cp and /playerprofile; /profiles has no aliases. Tab completion offers subcommands and online player names. The console can run /profile reload only.
| Command | Permission | Purpose |
|---|---|---|
| /profile | crystalprofiles.use | Open the Social Hub |
| /profile <player> | crystalprofiles.use | Open a stored profile (the player must have joined this server) |
| /profile settings | crystalprofiles.customize | Privacy and profile settings |
| /profile badges | crystalprofiles.use | Open your Badge Cabinet |
| /profile friends | crystalprofiles.social | Open your friends list |
| /profile customize | crystalprofiles.customize | Open the theme selector |
| /profile statistics | crystalprofiles.use | Open your statistics screen |
| /profile reload | crystalprofiles.admin · console | Reload config.yml, messages and catalogs (database changes need a restart) |
| /profiles | crystalprofiles.use | Open the Social Hub |
Permissions
crystalprofiles.use is checked before every feature permission, so granting crystalprofiles.social alone does not unlock /profile friends. crystalprofiles.admin bypasses profile privacy and includes every other CrystalProfiles permission. A theme with an empty permission in themes.yml is available to everyone.
/lp group default permission set crystalprofiles.use true
/lp group default permission set crystalprofiles.social true
/lp group vip permission set crystalprofiles.theme.galaxy true
/lp group staff permission set crystalprofiles.admin true| Permission | Default | Allows |
|---|---|---|
| crystalprofiles.use | Everyone | Use /profile, /profiles and profile screens |
| crystalprofiles.customize | Everyone | Open settings and themes; equip unlocked themes |
| crystalprofiles.social | Everyone | Friends, friend requests and reputation |
| crystalprofiles.privacy.location | Everyone | Change the location privacy setting |
| crystalprofiles.theme.emerald | Operator | Use the Emerald theme |
| crystalprofiles.theme.fire | Operator | Use the Inferno theme |
| crystalprofiles.theme.galaxy | Operator | Use the Galaxy theme |
| crystalprofiles.admin | Operator | Reload, bypass privacy and all CrystalProfiles permissions |
Privacy, Friends & Reputation
Privacy
The Settings screen cycles each section between EVERYONE, FRIENDS and NOBODY: PROFILE, STATISTICS, FRIENDS, LOCATION and PLAYTIME (BALANCE and VISITORS are stored for future use). New profiles start with everything on EVERYONE, except LOCATION and VISITORS on FRIENDS. Owners always see their own sections; crystalprofiles.admin bypasses privacy.
Friends
Send, accept, decline and remove friend requests. Pending requests expire after friends.request-expiry-days, both players must stay below friends.maximum-friends, and accepted friends receive an online notice with a sound when friends.notify-online is enabled.
Reputation
Players can rate others positive (+1), neutral (0) or negative (-1). Self-ratings, ratings before the required playtime, repeat ratings within the cooldown and, with prevent-same-address, ratings from an address already used on that target are rejected. Addresses are stored only as a SHA-256 hash. The leaderboard ranks players by reputation.
Themes, Badges & Achievements
Themes are loaded from themes.yml, badges from badges.yml and achievements from achievements.yml; all three reload with /profile reload. The bundled badges are owner, developer, moderator, og and beta_tester; badges are sorted by weight and hidden badges never appear on profiles. Achievement progress is calculated from statistics whenever the menu opens, shown with a ten-segment progress bar, and secret achievements stay hidden until reached. In 1.0.1 the reward-badge field is metadata only and does not grant badges.
| Theme ID | Display name | Permission | Animated |
|---|---|---|---|
| crystal_blue | Crystal Blue | None | Yes |
| emerald | Emerald | crystalprofiles.theme.emerald | Yes |
| fire | Inferno | crystalprofiles.theme.fire | Yes |
| galaxy | Galaxy | crystalprofiles.theme.galaxy | Yes |
| minimal | Minimal | None | No |
Configuration
Edit plugins/CrystalProfiles/config.yml and run /profile reload. Values below a minimum are raised to that minimum. Database settings require a full restart: if a reload changes them, it fails and the active database stays in use.
database:
type: MYSQL
mysql:
host: db.example.net
port: 3306
database: crystalprofiles
username: crystalprofiles
password: "REPLACE_ME"
parameters: useSSL=true&serverTimezone=UTC
pool:
maximum-connections: 12
connection-timeout-millis: 5000| Path | Default | Purpose |
|---|---|---|
| database.type | SQLITE | SQLITE or MYSQL (restart required) |
| database.sqlite-file | profiles.db | SQLite file inside the plugin folder |
| database.pool.maximum-connections | 10 (min 2) | Connection pool size |
| performance.io-parallelism | 8 (min 2) | Parallel database operations |
| performance.cache-expire-minutes | 10 | Idle profile cache lifetime |
| performance.cache-maximum-entries | 10000 | Profile cache capacity |
| performance.autosave-minutes | 5 | Online statistics flush interval |
| performance.animation-ticks | 10 (min 4) | Menu animation interval in ticks |
| profile.default-theme | crystal_blue | Theme for new profiles |
| profile.default-bio | This player is still writing their story. | Bio for new profiles |
| reputation.cooldown-hours | 24 | Repeat interval per author and target |
| reputation.require-playtime-minutes | 30 | Playtime needed before rating others |
| reputation.prevent-same-address | true | Block ratings from the same address |
| friends.request-expiry-days | 7 | Pending request lifetime |
| friends.maximum-friends | 200 | Friend limit per player |
| friends.notify-online | true | Online notices to friends |
| gui.sounds | true | Open and click sounds |
| gui.fill-empty-slots | true | Filler glass in menus |
Developer API
Load CrystalProfilesApi from the Bukkit services manager (package me.CrystalDevs.crystalProfiles.api) and keep the integration optional. Storage operations return a CompletableFuture: never call join() or get() on the server thread, and schedule inventory or entity work back onto the main thread. Version 1.0.1 publishes no custom Bukkit events.
CrystalProfilesApi api = Bukkit.getServicesManager().load(CrystalProfilesApi.class);
if (api == null) return; // CrystalProfiles is not enabled
api.profile(playerId); // CompletableFuture<Optional<Profile>>
api.recordActivity(playerId, "AUCTION_WON", "Won a rare item");
api.grantBadge(playerId, "beta_tester", staffUuid); // badge must exist in badges.yml
api.registerButton(new ProfileButton(
"crystalstaff", "crystalstaff.staff_profile", "<red>Staff Profile", "SHIELD",
List.of("<gray>View moderation history."), 38,
(viewer, targetId) -> staffGui.open(viewer, targetId)));Current Limitations
• No PlaceholderAPI expansion and no built-in economy or balance display.
• The customization screen equips themes only; bio, quote, banner, color, relationship status and country cannot be edited in-game.
• Notifications are stored, but there is no notification inbox menu.
• There is no visitor-list menu; visit counts are shown on profiles.
• profile.show-country and profile.notify-on-view are loaded but not used yet.
• A shared MySQL database works across servers, but there is no proxy messaging or live cross-server sync.
FAQ & Troubleshooting
The plugin does not load.
Check Java 21+, Paper 1.21.1+, a single CrystalProfiles JAR and that you deployed CrystalProfiles-1.0.1.jar rather than a *-plain.jar. The 1.0.1 release replaces the incompatible paper-plugin.yml packaging of 1.0.0.
Database migration failed.
Read the nested SQL exception, verify MySQL credentials and privileges or that the SQLite folder is writable, fix the database block and restart. Migrations are transactional.
A player sees This profile is private.
The target has restricted that section. Ask the owner to change it or become accepted friends; crystalprofiles.admin bypasses privacy.
Playtime in the database looks lower than in the menu.
Online statistics are shown live and flushed on autosave, quit and shutdown.
A theme shows Locked.
Grant the permission set for that theme in themes.yml.
Reputation is refused.
Wait for the cooldown, meet reputation.require-playtime-minutes and review prevent-same-address.
Does it require Vault, LuckPerms or PlaceholderAPI?
No. All of them are optional.
Support
For help, join the official Crystal Developments Discord: https://discord.gg/j6rHpCSKeJ, or email contact@crystaldevs.xyz. Include the CrystalProfiles version, Paper and Java versions, your storage type, the first relevant console error with its stack trace and the related configuration with database passwords removed.
Changelog
v1.0.1
• Fixed the startup crash of 1.0.0: the plugin now ships a plugin.yml instead of paper-plugin.yml.
• Deterministic shaded packaging with unrelocated SQLite and MySQL drivers.
• Build-time check of the release JAR contents.
• Existing database data is preserved through automatic migrations.