▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Roleplay Mod
4.4K
6
Все версииRoleplay Mod V5

Roleplay Mod V5

Release8 мес. назад

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

Highlights

  • Major stability refactor of registrations (blocks/items/entities/etc.)
  • Fixed Forge registry synchronization crash on startup (duplicate registrations)
  • Improved database (MySQL) safety and reliability
  • Better Discord bot initialization and error reporting
  • General code cleanup, package reorganization, and consistency

Fixes

  • Resolved Forge registry sync error:
    “One or more entry values did not copy to the correct id”
    • Root cause: duplicate block/item registration paths (legacy + new).
      Now registered exactly once via a centralized manager
  • Fixed several missing imports and inconsistent package declarations (notably Discord classes)
  • Corrected commented-out class causing references to fail (CommandHudc), restoring its package and availability
  • Removed sources of NPEs during registration by adding null-checks and consistent ordering
  • Prevented duplicate ItemBlock registration for blocks like atm

Improvements

Centralized registration system

  • All block/item registrations routed through a single manager for consistency and crash prevention
  • Clean separation of model registration (client-only) from core registration

Economy (EcoGlobal) hardening

  • Replaced string-concatenated SQL with prepared statements (prevents SQL injection)
  • Proper try-with-resources for connections/statements/result sets (prevents resource leaks)
  • Added logging and safer error handling; returns are predictable on failure

Database bootstrap (MySQLCreate)

  • Safer table creation/update with structured checks for missing columns
  • Robust error logging and clearer flow; autoReconnect and SSL flags handled in connection URL

Discord integration (DiscordBotStart)

  • Better initialization flow with clear logging
  • Graceful handling of missing/invalid tokens and interruptions

Main mod class

  • Safer registration flows: skip nulls and already-registered entries to avoid duplicates
  • Clearer, more defensive logic for legacy item list handling

Compatibility

  • No breaking changes to gameplay or data formats are intended
  • Existing worlds/configs should load as before
  • MySQL features remain optional; if disabled, economy gracefully returns default values

https://minewache.de/refersaro.php

Файлы

Minewache-Roleplay-Mod-V5.jar(13.95 MiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

V5

Загрузчики

Forge

Версии игры

1.12.2

Загрузок

62

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

8 мес. назад

Загрузил

ID версии

Главная