No chat to show

This project's files are all here to explore.

Files
config.yml
events.yml
gui.yml
shop.yml
Code
4 1,803
config.yml


# Your license key for this plugin
license:
  key: "83735fdf-901b-4295-9561-78034463ba7d"

storage:
  # sqlite or mysql
  type: sqlite
  mysql:
    host: localhost
    port: 3306
    database: gemslevel
    username: root
    password: ""
    use-ssl: false
    pool-size: 10

# how often (in minutes) player data is force-saved to storage
autosave-minutes: 5

# Balance caps. 0 = no cap. A player who holds the matching permission below ignores their cap

# they don't touch whatever a player already has if you lower the number later.
limits:
  max-gems: 0
  max-coins: 0
  max-reward-xp-level: 250
  max-shards: 0
  # permissions that bypass each cap: gems.uncapped, coins.uncapped, rewardxp.uncapped, shards.uncapped
announcer:
  messages:
    enabled: "&#30C8B9Announcer &8▶ &aYou will now see {announcer} announcements."
    disabled: "&#30C8B9Announcer &8▶ &cYou will no longer see {announcer} announcements."
    not-ready: "&#30C8B9Announcer &8▶ &cYour data isn't loaded yet, try again in a moment."
# Gemslevel: passive Gems income from purchasable upgrades
gemslevel:
  # highest level a player can purchase
  max-level: 3000
  # price of the first level
  base-price: 1000000
  # how much the price rises for every level above the first
  price-increase: 1000000
  # gems earned per payout = (level + 1) * gems-per-level, so level 0 (no upgrades) still earns gems-per-level
  gems-per-level: 1
  # how often (in seconds) online players are paid out
  payout-interval-seconds: 60
  # how often (in seconds) the actionbar/placeholder countdown refreshes
  update-interval-seconds: 5

  # extra multiplier on top of the normal Gems payout for players with these permissions.
  # if a player has more than one, the highest applies. No permission = no boost (1.0).
  boost:
    gemslevel.boost.vip: 1.5
    gemslevel.boost.mvp: 2.0

gems-command:
  balance: "&#FF45AAGems &8▶ &fYou have: &#FF45AA{amount} Gems&f."
  give: "&#FF45AAGems &8▶ &aYou received &#FF45AA+{amount} Gems&a."
  take: "&#FF45AAGems &8▶ &#FF45AA{amount} Gems &cwere taken from you."
  set: "&#FF45AAGems &8▶ &aThe Gems were set to &#FF45AA{amount}&a."
  not-enough: "&#FF45AAGems &8▶ &cThat player doesn't have enough Gems."

# Coins
coins:
  give: "&#FFD900Coins &8▶ &aYou received &#FFD900+{amount} Coins&a."
  take: "&#FFD900Coins &8▶ &#FFD900{amount} Coins &cwere taken from you."
  set: "&#FFD900Coins &8▶ &aThe Coins were set to &#FFD900{amount}&a."
  not-enough: "&#FFD900Coins &8▶ &cThat player doesn't have enough Coins."
  balance: "&#FFD900Coins &8▶ &fYou have: &#FFD900{amount} Coins&f."

# Passive Coins income. Unlike Gems there's no base amount - you get 0 Coins per interval
# unless you have one of these permissions. Highest match wins if you have more than one.
coins-income:
  enabled: true
  interval-seconds: 60
  action-bar: "&#FFD900Coins &8▶ &#FFD900+{amount} Coins &fhave been added to your account&#FFD900!"
  amounts:
    coinsincome.koth: 1
    coinsincome.mvp: 100

# extra Gems every interval-seconds while standing in this WorldGuard region. Requires WorldGuard.
gems-region-income:
  enabled: true
  interval-seconds: 5
  amount: 10
  world: Spawn
  region: swordtrap
  action-bar: "&d⭐ +{amount} Gems &7(/gemshop)"

# extra Coins every interval-seconds while standing in this WorldGuard region. Requires WorldGuard.
coins-region-income:
  enabled: false
  interval-seconds: 60
  amount: 10
  world: world
  region: coins-farm
  action-bar: "&6+{amount} Coins &7(region bonus)"

# Reward XP: passive/kill income and purchasable Reward Levels
reward:
  # base XP awarded on this interval, before the per-level bonus below. (also considered Max-amount)
  passive-amount: 25

  passive-interval-minutes-min: 5
  passive-interval-minutes-max: 10


  min-amount: 25

  # how much extra XP is added per Reward Level, on top of the base amount.
  # applies to both passive income and kill XP: amount = base + xp-increase-per-level * reward-level.
  # example with the defaults above: at reward level 10 you'd earn 8 + 9*10 = 98 XP per passive tick.
  xp-increase-per-level: 9

  # base XP for killing a mob that isn't listed in mob-xp below, before the per-level bonus above.
  default-mob-xp: 15
  # XP for killing another player, before the per-level bonus above.
  pvp-xp: 0
  # mobs spawned from a monster spawner won't grant XP if true
  exclude-spawner-mobs: true


  # % chance (0-100) that killing a mob grants Reward XP at all - rolled fresh per kill. Keeps
  # easily-farmed mobs from guaranteeing a payout every single time. PvP kills and the boss-mobs
  # list below always ignore this and grant XP every time.
  kill-xp-chance: 45
  # these mobs always grant XP on kill (100%), bypassing kill-xp-chance above.
  boss-mobs:
    - WITHER
    - ENDER_DRAGON
    - WARDEN
    - ELDER_GUARDIAN
    
  # actionbar shown when Reward XP is earned. Set to "" to disable.
  action-bar-kill: "&#99FF00🧪 +{amount} &fKill XP &7(/reward)"
  action-bar-passive: "&#99FF00🧪 +{amount} &fPlaytime XP &7(/reward)"
  can-levelup-message: "&#FF2EBBRewardXP &8▶ &fYou can now Level Up to &#FF2EBB{level}&7! Type &#FF2EBB/reward &7to claim it."

  # extra Reward XP every interval-seconds while standing in this WorldGuard region. Requires WorldGuard.
  region-boost:
    enabled: true
    interval-seconds: 5
    amount: 4
    world: Spawn
    region: macetrap
    action-bar: "&b☂ +{amount} Reward XP &7(/rewards)"

  # extra multiplier on top of the Reward XP earned (kills + passive) for players with these permissions.
  # if a player has more than one, the highest applies. No permission = no boost (1.0).
  boost:
    reward.boost.vip: 1.5
    reward.boost.mvp: 2.0

  mob-xp:
    COW: 15
    ZOMBIE: 15
    HUSK: 15
    DROWNED: 15
    SKELETON: 15
    SPIDER: 15
    SLIME: 15
    MAGMA_CUBE: 15
    ZOMBIFIED_PIGLIN: 15
    PIGLIN: 15
    STRAY: 18
    CAVE_SPIDER: 18
    PHANTOM: 18
    HOGLIN: 18
    CREEPER: 20
    PILLAGER: 20
    GUARDIAN: 20
    ZOGLIN: 20
    ENDERMAN: 22
    WITCH: 22
    BLAZE: 22
    PIGLIN_BRUTE: 22
    VINDICATOR: 25
    GHAST: 25
    SHULKER: 25
    WITHER_SKELETON: 30
    EVOKER: 35
    RAVAGER: 45
    ELDER_GUARDIAN: 60
    WARDEN: 200
    WITHER: 150
    ENDER_DRAGON: 250

  # each Reward Level's XP price and the mix of currencies/perks it grants.
  # reward types: money, gems, coins, gemslevel, invest-limit
  #
  # hand-written levels here always win. Any level not listed below is filled in
  # automatically using levels-generator, so you don't have to write out every
  # level by hand to go up to 100 (or more).
  levels:
    205:
      price: 1800
      rewards:
        - type: money
          amount: 1500000