config.yml

The main configuration file for the Shards plugin.

License

License-Key: "YOUR-LICENSE-KEY"

Get your license key from discord.gg/pikzstudiosarrow-up-right

General Settings

Option
Type
Default
Description

Currency

String

"Shard"

The name of your currency displayed in messages

Command

String

"shard"

Main command name (e.g., /shard, /shards, /points)

pay-enabled

Boolean

true

Allow players to send shards to each other

Currency: "Shard"
Command: "shard"
pay-enabled: true

Feature Toggles

Enable or disable specific plugin features:

Features:
  AFK-Teleport: true    # /afk command and AFK teleportation system
  Shop: true            # In-game shop where players can spend shards
  Leaderboard: true     # Shard leaderboard GUI

Shard Generation (AFK Zones)

Configure passive shard generation in WorldGuard regions:

Option
Type
Description

AFK-Regions

List

WorldGuard region names where players earn shards

Shard-Delay

Integer

Time in seconds between each shard generation

Generation Bonus Nodes

Grant bonus shards per generation based on permissions:

Players with shard.gennodes.extra_two will receive +2 bonus shards per generation cycle.

Kill Rewards

Configure shards earned from PvP kills:

Option
Type
Default
Description

Shard-Kill

Integer

15

Base shards awarded for killing a player

Kill-Nodes.prevent_abuse

Boolean

true

Prevent farming by blocking rewards for killing the same player twice in a row

AFK Teleport System

Configure the /afk teleportation command:

Leaderboard Settings

Note: Minimum recommended refresh rate is 300 seconds (5 minutes) to avoid performance issues.

Time Formatting

Customize how time is displayed in messages:

Database Configuration

Shards supports both SQLite and MySQL:

SQLite (Default):

MySQL:

Last updated