General Config
Every option in config.yml, with its default and what it does.
Where to find the file
Open your server's files, go to plugins/PowerGems/, and open config.yml.
Restart after editing
After changing any option, fully restart your server. /reloadconfig (/rc) doesn't reliably
apply config changes, and many options are only read on startup.
Most options are true / false. Times are in seconds unless noted otherwise.
Getting and keeping gems
| Option | Default | Description |
|---|---|---|
giveGemOnFirstLogin | true | Give players a random gem the first time they join. |
gemStartingLevel | 1 | The level new gems start at. |
allowOnlyOneGem | false | Limit each player to a single gem. |
canDropGems | false | Let players drop their gems. |
keepGemsOnDeath | true | Let players keep their gems when they die. |
doGemDecay | true | Gems kept on death lose 1 level. |
doGemDecayOnLevel1 | false | With doGemDecay on, also decay level 1 gems, which destroys them. |
allowMovingGems | false | Let players put gems into chests and other containers. Players with powergems.movegems can always do this. |
gemsHaveDescriptions | true | Show ability descriptions in the gem's lore. |
gemCreationAttempts | 10 | How many times to try picking a random gem that's turned on. Raise this if you've turned off lots of gems and players sometimes get none. |
Crafting and upgrading
| Option | Default | Description |
|---|---|---|
canCraftGems | true | Allow crafting new gems. |
canUpgradeGems | true | Allow upgrading gems with the upgrade recipe. |
allowGemCraftingUsage | false | Allow gems to be used as ingredients in normal recipes (for example, gems that look like emeralds being used to craft emerald blocks). |
maxGemLevel | 5 | The highest level a gem can reach. |
upgradeGemOnKill | false | Level up a player's gem when they get a kill. |
Abilities
| Option | Default | Description |
|---|---|---|
unlockNewAbilitiesOnLevelX | 3 | The level that unlocks extra gem features. By default the passive effect starts once a gem is above this level. |
giveGemPermanentEffectOnLevelX | true | Give the gem's passive effect once it passes the unlock level. |
unlockShiftAbilityOnLevelX | false | Lock the Shift Click ability until the gem reaches the unlock level. |
cooldownBoostPerLevelInSeconds | 2 | Seconds taken off every cooldown per gem level. |
delayToUseGemsOnJoin | 30 | Seconds players have to wait after joining before they can use gems. |
dragonEggHalfCooldown | true | Carrying a dragon egg halves your gem cooldowns. |
explosionDamageAllowed | true | Let gem explosions break blocks and start fires. Set to false to keep the world intact. |
preventGemPowerTampering | true | Stop players from interfering with things gems create, like deflecting fireballs. |
blockedReplacingBlocks | BEDROCK, WATER, NETHERITE_BLOCK | Blocks that abilities are never allowed to replace. |
doDebuffForTemperature | true | Slow down players carrying a gem that clashes with the biome: Fire or Lava gems in cold biomes, Water or Ice gems in hot ones. |
Looks
| Option | Default | Description |
|---|---|---|
randomizedColors | false | Give every gem name a random color instead of the colors in GemNames.yml. |
allowCosmeticParticleEffects | true | Show particles around players holding gems. |
cosmeticParticleEffectInterval | 5 | Ticks between cosmetic particles. Lower is more frequent but heavier on the server. |
Integrations
| Option | Default | Description |
|---|---|---|
isWorldGuardSupportEnabled | true | Respect WorldGuard regions that block gem use. |
isCombatLogXSupportEnabled | true | Tag players as in combat when they use gems on each other. |
Language
| Option | Default | Description |
|---|---|---|
languageCode | en | Language of the plugin's messages. |
countryCode | US | Country or region of the language. |
Together these pick the language, for example en + US. Available languages are English
(en_US), German (de_DE), French (fr_FR), Hungarian (hu_HU), Italian (it_IT), Turkish
(tr_TR), Chinese (zh_CN), Hindi (hi_IN) and Hinglish (hg_IN), plus a few joke ones: Pirate
(pi_US), Shakespearean (sp_US) and UwU (hm_US).
Updates, metrics and troubleshooting
| Option | Default | Description |
|---|---|---|
runUpdater | true | Tell admins when a new version is available. |
allowMetrics | true | Send anonymous usage statistics that help improve the plugin. |
analyticsID | random | An anonymous ID for your server's statistics. Created automatically; don't change it. |
debugMode | false | Log extra information to help track down problems. Can be noisy. |
attemptFixOldGems | true | Automatically update gems created by older versions of the plugin. |
gemCacheExpireTime | 5 | Seconds that information about a player's gems is remembered before being checked again. |
configVersion | Set by the plugin. Don't change it. |