▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Questborn
73
1
Все версииROTATION Engine & Global Database Update

ROTATION Engine & Global Database Update

Release1 нед. назад

Список изменений

🚨 Make a full backup of the Questborn plugin folder (especially player data and configs) before updating!


The New ROTATION Engine Introducing the completely new ROTATION engine! It is perfect for creating daily, weekly, or other cyclical quests:

  • Quest Pools: Automatic and randomized quest generation from pre-configured pools.
  • Reset Timers: Flexible configuration for progress resets (daily, every few days, or at a specific time).
  • Individual Generation: You can now configure it so every player gets their own unique set of quests from a pool, or keep it the same for everyone.
  • GUI Display: Full support for configuring specific slots where selected quests will appear for each type (rotation-slots).
  • Built-in Quests Updated: The default daily and weekly quests have been completely rewritten to utilize the new ROTATION engine features!

This is how it looks now (daily.yml):

# Unique identifier for this quest type
id: daily

# Directory where quests of this type are stored
folder: quests/daily

# Display name in the GUI
display-name: "<#fffb99>☀ Daily Quests"

# Optional: Overrides the default GUI title for this quest type.
# gui-type-title: "<#fffb99>☀ Daily Quests &8| &f{page}/{total}"

# Optional: Overrides the default quest details GUI title.
# gui-quest-title: "<#fffb99>☀ Daily - {quest}"

# Optional: Overrides the default item transfer GUI title.
# gui-transfer-title: "<#fffb99>☀ Transfer - {quest}"

# Lore displayed in the GUI
lore:
- "<#cccccc>Fresh tasks available every day."
- "<#cccccc>Complete them to earn"
- "<#cccccc>useful rewards."
- ""
- "<#fffb99>Today's Progress:"
- " <#a7ff99>✔ <#ffffff>{cooldown}/{total} <#cccccc>completed"
- ""
- "<#7dd3ff>Click to open"

# Icon material in the GUI
material: CREEPER_SPAWN_EGG
# Slot position in the Main Menu GUI
slot: 20

# Quest engine operation mode
# Choose how quests in this category behave:
# - DEFAULT: All quests are always available, handled individually.
# - CHAIN: Players unlock the next quest only after finishing the previous one.
# - ROTATION: Players get N random quests that reset periodically.
engine: ROTATION

# Number of quests from each pool to include in the rotation
# If not specified, a 'default' pool is created matching the number of rotation-slots
rotation-pools:
  common: 3
  rare: 2

# GUI slots where assigned quests will appear
rotation-slots:
  - 20
  - 21
  - 22
  - 23
  - 24

# Reset every 1 day
reset-period: "1d"
# Optional: Set a specific time of day for global reset
reset-time: "00:00"
# Optional: 1=Mon, 2=Tue...7=Sun. Anchor day for global reset.
# reset-anchor-day: 1

# Optional: Requirements to unlock this quest type
# requirements:
#   permission: "questborn.type.daily"
#   quest-completed: "starter_chain_01_wood_call"
#   type-completed: "starter_chain"

# Optional: Description of requirements displayed in GUI when locked
# requirements-lore:
#   - "<#ff5555>Requires completion of:"
#   - " <#ff5555>• <#ffffff>Starter Chain"

# Set to false to completely disable this quest type (it won't be loaded by the plugin)
enabled: true

Global Database Update The progress storage system has been written entirely from scratch to provide better performance and stability.

  • Supported Databases: The plugin now supports H2, SQLite, MySQL, PostgreSQL, MongoDB, and YAML.
  • New Standard: The default database type is now H2. This guarantees much faster, more stable, and reliable saves compared to regular .yml files.
  • Automatic Migration: Don't worry about your old data! On the first launch of version 1.5.0, your old playerdata.yml file will be automatically recognized, and all player data will be seamlessly migrated to the new H2 format.

This is how it looks now (config.yml):

# ------------------------------
#   STORAGE
# ------------------------------

storage:
  # Storage backend to use for player data.
  # Options:
  #   H2 - H2 file-based database (fast alternative to SQLite, recommended default)
  #   YAML  - Individual YAML files per player (legacy)
  #   MYSQL - MySQL / MariaDB database (recommended for networks with multiple servers)
  #   POSTGRESQL - PostgreSQL database (alternative to MySQL)
  #   SQLITE - SQLite file-based database (good middle-ground for single servers)
  #   MONGODB - MongoDB via official driver (requires internet or local server)
  type: H2

  # MySQL / MariaDB settings (used only when type: mysql)
  mysql:
    host: localhost
    port: 3306
    database: questborn
    username: root
    password: ""
    # Connection pool size
    pool-size: 5
    # Connection timeout in milliseconds
    connection-timeout: 30000
    # Use SSL for connection
    use-ssl: false

  # PostgreSQL settings (used only when type: postgresql)
  postgresql:
    host: localhost
    port: 5432
    database: questborn
    username: postgres
    password: ""
    # Connection pool size
    pool-size: 5
    # Use SSL for connection
    use-ssl: false

  # MongoDB settings (used only when type: mongodb)
  mongodb:
    uri: "mongodb://localhost:27017"
    database: questborn
    collection: player_data
    # Timeouts in milliseconds
    connect-timeout: 5000
    read-timeout: 5000

  # SQLite settings (used only when type: sqlite)
  # The database file is located in the plugin's data folder.
  sqlite:
    file: questborn.db

Enjoy using the update!

Файлы

Questborn-1.5.0.jar(2.02 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.5.0

Загрузчики

Paper
Purpur

Версии игры

1.16–1.21.11

Загрузок

9

Дата публикации

1 нед. назад

Загрузил

ID версии

Главная