SGReborn Unified Changelog
Version: 2.2.5 (Unified Release)
New Features & Improvements
- Configuration Refresh: It’s highly recommended to reset all your config files to take full advantage of the new setup.
- Database & Cross-Server Communication:
- MySQL support has been completely removed in favor of MongoDB.
- MongoDB now also powers Cross-Server Communication, paving the way for our upcoming Lobby Addon.
- Revamped Profiling System:
- Completely recoded profiling system integrating:
- Leveling System
- MMR System
- Leaderboard System
- Playtime Tracking
- Settings Management
- Enhanced Messaging: Most in-game messages now utilize the Adventure API for rich text formatting, hoverable text, and cross-version compatibility.
- New Music & Sound Integration: Enjoy dynamic custom noteblock sounds triggered by specific game events.
- Leaderboard & Commands Overhaul: The leaderboard system has been optimized with a new, responsive command.
- Improved Timers: New bossbar and actionbar timers provide polished countdowns and event timing.
- Boosters Integration: Boosters now operate seamlessly with MongoDB, ensuring a smoother experience.
- Achievements System:
- Introducing two types of achievements – Regular and Tiered.
- Achievements require MongoDB connectivity.
- An extensive API is available for creating custom achievements.
![[IMG]](//proxy.spigotmc.org/aa100586375eb989cb158dad2152d4d0cb311987/68747470733a2f2f692e696d6775722e636f6d2f6357497442596e2e706e67)
Code (Java):
public
class CustomAchievementsExample
{
public CustomAchievementsExample
(SGReborn sgReborn
)
{
AchievementAPI.
registerAchievement
(
new CustomAchievementExample
(
)
)
;
}
private
static
class CustomAchievementExample
extends AbstractAchievement
{
public CustomAchievementExample
(
)
{
super
(
"Custom Achievement",
"CUSTOM",
Arrays.
asList
(
"Complete a special task."
),
"complete_special_task",
100,
50
)
;
}
@EventHandler
public
void onPlayerCompleteSpecialTask
(PlayerJumpEvent event
)
{
AchievementAPI.
completeAchievement
(event.
getPlayer
(
),
this
)
;
}
}
}
- Ranks System: Create custom ranks linked directly with MMR.
Code (Text):
mmr:
allowed: true
starting-mmr: 1000
suicide-scaling: 0.2
k-factors: 0:1000:25,1001:1400:20,1401:1800:15,1801:2200:10,2201:3000:5
default-k-factor: 25
win: 1
loss: 0
ranks:
- Bronze;0;§6[☰ Bronze]§r
- Silver;1000;§7[⚪ Silver]§r
- Gold;1400;§e[✪ Gold]§r
- Platinum;1800;§b[◆ Platinum]§r
- Diamond;2200;§3[❖ Diamond]§r
- Champion;2600;§5[✦ Champion]§r
- Deathmatch Arena Voting: Added voting for the Deathmatch arena (currently supports common deathmatch mode).
- Levels Rewards System: Introduced levels rewards via levels.yml, allowing execution of custom commands when a player levels up (supports ranges and specific levels).
- External Plugin Items Support:
- Full support for items from external plugins (MMOItems, MythicCrucible, Nexo, QualityArmory).
- Use prefixes (e.g. nexo:itemid) and the new subcommand [/B]/sg getitemid[/B] to identify custom items.
- Glowing Blocks & Entities: Added glowing effects to blocks and entities across various systems.
- Lobby PvP Practice: New Lobby PvP practice mode is now available.
- Dependency Injection Optimization: Implemented dependency injection to reduce file size.
- Java 17 Update: The plugin is now updated to Java 17. (Note: Although it still supports 1.8.8, Java 8 will no longer load the plugin.)
Bug Fixes and Improvements
- Fixed leaderboards GUI loading issues caused by improper asynchronous method usage.
- Resolved map world loading and saving issues.
- Corrected the nametag system’s bounty objective update problem.
- Fixed graves not spawning heads correctly on 1.8.8.
- Addressed various minor bugs to enhance overall plugin stability.
Upcoming Features (v2.3 - v2.5)
- Bus System
- Challenge System
- Quests System
After countless hours of development and community testing, we are proud to deliver this comprehensive update. Enjoy SGReborn 2.0 and all its new enhancements!