▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
XpGet

XpGet

Allows players to convert their xp into experience bottles when there are empty glass bottles (with GUI interface).

78
1

XpGet

A plugin that allows you to convert your experience into experience bottles when you have empty glass bottles. Supports both fixed amounts and automatic maximum calculation. Features a GUI interface for more convenient conversion.

📸 Screenshots

Menu

⚙️ Command

CommandDescription
/xpgetOpen GUI menu for experience conversion
/xpget [amount | max]Converts the specified amount of experience or the maximum possible
/xpget reloadReloads the configuration

Examples:

  • /xpget 10 — create 10 experience bottles (if enough experience and bottles)
  • /xpget max — create the maximum possible number of bottles

🧾 Permissions

PermissionDefaultDescription
xpget.use✅ trueAllows usage of the /xpget command
xpget.reloadopAllows usage of the /xpget reload command

⚙️ Configuration

# XPGet Configuration
exp-per-bottle: 7 # How much experience is needed to fill one bottle

# You can add your own items, available actions: [close], [cmd]
gui:
  size: 27
  title: "<gold>Experience Conversion</gold>"

  divider:
    enabled: true
    material: "GRAY_STAINED_GLASS_PANE"
    name: "<gray>"

  close:
    slot: 22
    material: "BARRIER"
    name: "<red>Close"
    actions:
      - "[close]"

#  main-menu:
#    slot: 0
#    material: "STONE"
#    name: "Main Menu"
#    lore:
#      - "<yellow>Click to go to main menu"
#    actions:
#      - "[close]"
#      - "[cmd] menu"

  items:
    one:
      slot: 11
      material: "EXPERIENCE_BOTTLE"
      amount: 1
      name: "<green>1 Experience Bottle"
      lore:
        - "<gray>Click to convert"
        - ""
        - "<yellow>Required:"
        - "<gray>• <white>{exp} experience</white>"
        - "<gray>• <white>1 empty bottle</white>"

    stack:
      slot: 13
      material: "EXPERIENCE_BOTTLE"
      amount: 64
      name: "<yellow>64 Experience Bottles"
      lore:
        - "<gray>Click to convert"
        - ""
        - "<yellow>Required:"
        - "<gray>• <white>{exp} experience</white>"
        - "<gray>• <white>64 empty bottles</white>"

    max:
      slot: 15
      material: "ENCHANTED_BOOK"
      amount: 1
      name: "<gold>Maximum"
      lore:
        - "<gray>Click to convert"
        - "<gray>to the maximum possible number of bottles"
        - ""
        - "<yellow>Will be spent:"
        - "<gray>• <white>{exp} experience</white>"
        - "<gray>• <white>{max_bottles} empty bottles</white>"

messages:
  player-only: "<red>This command is for players only!"
  no-permission: "<red>You don't have permission to use this command!"

  usage: |
    <gold>Usage:
    <yellow>/xpget [amount|max]
    <gold>Examples:
    <yellow>/xpget 10 <gray>- convert experience into 10 bottles
    <yellow>/xpget max <gray>- convert the maximum possible amount
    <gold>Note: You can convert any number of bottles

  config-reloaded: "<green>Configuration successfully reloaded!"

  invalid-amount: "<red>Invalid amount! Use a number or 'max'"

  not-enough-exp: "<red>Not enough experience! Needed: <yellow>{required}</yellow> experience, you have: <yellow>{current}</yellow>"
  not-enough-empty: "<red>Not enough empty bottles! Needed: <yellow>{needed}</yellow>, you have: <yellow>{current}</yellow>"
  not-enough-space: "<red>Not enough inventory space! Space available for: <yellow>{available}</yellow> bottles"

  no-empty-bottles: "<red>You have no empty bottles!"
  not-enough-exp-for-one: "<red>You don't have enough experience to create even one bottle!"
  not-enough-space-even: "<red>Not enough inventory space even considering bottle replacement!"

  success-specific: "<green>Successfully converted <yellow>{amount}</yellow> experience bottles!"
  success-max: "<green>Successfully converted <yellow>{actual}</yellow> experience bottles!"

📦 Installation

  1. Download the latest release
  2. Place it in the /plugins folder
  3. Restart the server
  4. Configure config.yml if needed and use /xpget reload
  5. You're ready to use it: use /xpget in-game

Совместимость

Minecraft: Java Edition

1.21.x1.20.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:MIT
Опубликован:3 месяца назад
Обновлён:2 месяца назад
Главная