Skip to content
Success

Changes

Summary

  1. Endgame Update (#4840) (commit: 2594dc1) (details)
Commit 2594dc1bca27548e560cf514aa9285e925d1a612 by github
Endgame Update (#4840)

General
Added Crossbows Skill, this skill is a WIP and feedback on discord is appreciated.
Added Tridents Skill, this skill is a WIP and feedback on discord is appreciated.
Added the "endgame" triple drop subskill 'Mother Lode' to Mining
Added the "endgame" triple drop subskill 'Clean Cuts' to Woodcutting
Added the "endgame" triple drop subskill 'Verdant Bounty' to Herbalism
Added /mmopower command which simply shows your power level (aliases /mmopowerlevel /powerlevel)

Config
Added 'Send_To_Console' settings to chat.yml to toggle sending party or admin chat messages to console.
Replaced 'Experience_Formula.Modifier' in experience.yml with 'Experience_Formula.Skill_Multiplier' which is easier to understand and less prone to divide by zero bugs.
child.yml config is gone now, feel free to delete it.

Tweaks
Tree Feller now drops 90% less non-wood block rewards (leaves/etc) on average from Knock on Wood.
Treasure drop rate from Shake, Fishing, Hylian, and Excavation now benefit from the Luck perk.
Updated advanced.yml with entries for the new skills

Permission nodes
Added 'mcmmo.commands.mmopower' permission node for the new /mmopower command
Added 'mcmmo.commands.crossbows' permission node
Added 'mcmmo.ability.crossbows.crossbowslimitbreak' permission node
Added 'mcmmo.ability.crossbows.trickshot' permission node
Added 'mcmmo.ability.herbalism.verdantbounty' permission node
Added 'mcmmo.ability.mining.motherlode' permission node
Added 'mcmmo.ability.woodcutting.cleancuts' permission node

Locale
Added locale entries for motherlode, cleancuts, and verdant bounty.

Codebase
Major rewrite for how random chance was handled in the code.
Many skills with RNG elements now send out a SubSkillEvent (which can be used to modify probability or cancel the results), some skills without RNG still send out this event when activated, this event is cancellable so it can be used to make a skill fail.
A lot of new unit tests were added to help keep mcMMO stable as part of this update, of course, more could always be added.

NOTES:
One feature of this update is to provide an endgame benefits to some skills that you can grind for a long time, ideally for a long while. I will likely expand upon this idea in future updates.
A few skills have these endgame-oriented subskills, these new subskills provide a small benefit at first that grows and scales up to level 10,000 (or 1,000 for Standard mode which no one uses) and does not have ranks (other than the initial rank to unlock it).
These endgame sub skills unlock at level 1000 for users with default mcMMO settings, or 100 for those using the optional Standard scaling.
You can tweak the benefits of these skills in advanced.yml, the default settings are meant to be a good starting point.

Crossbows and Tridents are WIP skills, I would like feedback on discord about them.

More info on the new Triple Drop skills (Mother Lode, Clean Cuts, Verdant Bounty):
Currently these start at about 5%  chance and can reach a maximum 50% chance if a player acquired 10,000 skill, you can adjust this in advanced.yml
These skills respect double drop settings from config.yml just like the corresponding Double Drop skills do, if a double drop is disabled for an item, then it's disabled for triple drops too.
I added a new Power Level Command, for now this just shows you your current power level. If I ever add features based on power level, this command will likely display output related to those features.

Regarding Maces, I will likely add that as a WIP skill when the next Minecraft update drops.
(commit: 2594dc1)
The file was modified src/main/java/com/gmail/nossr50/util/Misc.java (diff)
The file was addedsrc/main/java/com/gmail/nossr50/util/random/SkillProbabilityType.java
The file was modified src/main/java/com/gmail/nossr50/chat/message/PartyChatMessage.java (diff)
The file was modified src/main/java/com/gmail/nossr50/events/skills/McMMOPlayerSkillEvent.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/FishingCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/ArcheryCommand.java (diff)
The file was addedsrc/test/resources/olderdb.users
The file was modified src/main/resources/plugin.yml (diff)
The file was modified src/main/java/com/gmail/nossr50/datatypes/player/McMMOPlayer.java (diff)
The file was addedsrc/test/java/com/gmail/nossr50/skills/excavation/ExcavationTest.java
The file was modified src/test/resources/healthydb.users (diff)
The file was addedsrc/test/java/com/gmail/nossr50/MMOTestEnvironment.java
The file was modified src/main/java/com/gmail/nossr50/commands/party/alliance/PartyAllianceAcceptCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/party/PartyAcceptCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/datatypes/party/Party.java (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/swords/SwordsManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/party/PartyManager.java (diff)
The file was addedsrc/main/java/com/gmail/nossr50/commands/skills/CrossbowsCommand.java
The file was modified src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java (diff)
The file was addedsrc/main/java/com/gmail/nossr50/util/skills/ProjectileUtils.java
The file was modified src/main/java/com/gmail/nossr50/util/skills/SkillTools.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/RepairCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/axes/AxesManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/config/experience/ExperienceConfig.java (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/acrobatics/AcrobaticsManager.java (diff)
The file was addedsrc/main/java/com/gmail/nossr50/skills/crossbows/CrossbowsManager.java
The file was modified src/main/java/com/gmail/nossr50/commands/party/teleport/PtpCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/MaterialMapStore.java (diff)
The file was modified src/main/resources/config.yml (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/unarmed/UnarmedManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/Permissions.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/scoreboards/ScoreboardWrapper.java (diff)
The file was removedsrc/main/java/com/gmail/nossr50/util/random/RandomChanceExecution.java
The file was modified src/main/java/com/gmail/nossr50/api/ExperienceAPI.java (diff)
The file was modified Changelog.txt (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/woodcutting/WoodcuttingManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/chat/PartyChatCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/party/PartyDisbandCommand.java (diff)
The file was addedsrc/main/java/com/gmail/nossr50/skills/tridents/TridentsManager.java
The file was removedsrc/main/java/com/gmail/nossr50/util/random/InvalidActivationException.java
The file was removedsrc/main/java/com/gmail/nossr50/util/random/RandomChanceStatic.java
The file was modified src/main/java/com/gmail/nossr50/commands/party/PartyCreateCommand.java (diff)
The file was modified src/test/java/com/gmail/nossr50/util/text/TextUtilsTest.java (diff)
The file was modified src/main/java/com/gmail/nossr50/listeners/BlockListener.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/MetadataConstants.java (diff)
The file was modified src/main/java/com/gmail/nossr50/datatypes/skills/PrimarySkillType.java (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/smelting/SmeltingManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/listeners/PlayerListener.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/party/PartyJoinCommand.java (diff)
The file was modified pom.xml (diff)
The file was modified src/main/resources/advanced.yml (diff)
The file was modified src/main/java/com/gmail/nossr50/runnables/skills/RuptureTask.java (diff)
The file was modified src/main/java/com/gmail/nossr50/events/skills/secondaryabilities/SubSkillRandomCheckEvent.java (diff)
The file was removedsrc/main/java/com/gmail/nossr50/util/random/RandomChanceSkillStatic.java
The file was addedsrc/main/java/com/gmail/nossr50/api/exceptions/ValueOutOfBoundsException.java
The file was removedsrc/main/java/com/gmail/nossr50/skills/child/FamilyTree.java
The file was modified src/main/java/com/gmail/nossr50/commands/party/PartyRenameCommand.java (diff)
The file was removedsrc/main/resources/child.yml
The file was modified src/main/resources/skillranks.yml (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/party/PartyChangeOwnerCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/database/flatfile/FlatFileDataUtil.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/MobHealthbarUtils.java (diff)
The file was modified src/main/java/com/gmail/nossr50/config/GeneralConfig.java (diff)
The file was removedsrc/main/java/com/gmail/nossr50/listeners/CommandListener.java
The file was modified src/main/java/com/gmail/nossr50/util/EventUtils.java (diff)
The file was modified src/main/java/com/gmail/nossr50/datatypes/treasure/Treasure.java (diff)
The file was addedsrc/main/java/com/gmail/nossr50/commands/skills/PowerLevelCommand.java
The file was modified src/main/resources/chat.yml (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/party/PartyQuitCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/UnarmedCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/database/DatabaseManagerFactory.java (diff)
The file was modified src/main/java/com/gmail/nossr50/datatypes/skills/SubSkillType.java (diff)
The file was modified src/main/resources/experience.yml (diff)
The file was modified src/main/java/com/gmail/nossr50/database/FlatFileDataProcessor.java (diff)
The file was removedsrc/test/java/com/gmail/nossr50/util/random/RandomChanceTest.java
The file was modified src/main/java/com/gmail/nossr50/listeners/EntityListener.java (diff)
The file was addedsrc/test/java/com/gmail/nossr50/skills/woodcutting/WoodcuttingTest.java
The file was modified src/main/java/com/gmail/nossr50/skills/excavation/ExcavationManager.java (diff)
The file was modified src/main/resources/locale/locale_en_US.properties (diff)
The file was addedsrc/main/java/com/gmail/nossr50/util/random/ProbabilityImpl.java
The file was addedsrc/main/java/com/gmail/nossr50/util/random/Probability.java
The file was addedsrc/main/java/com/gmail/nossr50/commands/skills/TridentsCommand.java
The file was modified src/main/java/com/gmail/nossr50/runnables/items/TeleportationWarmup.java (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/mining/MiningManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/BlockUtils.java (diff)
The file was removedsrc/main/java/com/gmail/nossr50/util/random/RandomChanceUtil.java
The file was modified src/main/java/com/gmail/nossr50/datatypes/skills/subskills/acrobatics/Roll.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/skills/SkillUtils.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/ExcavationCommand.java (diff)
The file was removedsrc/test/java/com/gmail/nossr50/util/skills/SkillToolsTest.java
The file was modified src/main/java/com/gmail/nossr50/datatypes/skills/ToolType.java (diff)
The file was addedsrc/main/java/com/gmail/nossr50/util/random/ProbabilityUtil.java
The file was modified src/main/java/com/gmail/nossr50/commands/skills/MiningCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/SmeltingCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/api/PartyAPI.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/SalvageCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/HerbalismCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/AlchemyCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/archery/ArcheryManager.java (diff)
The file was modified src/test/java/com/gmail/nossr50/database/FlatFileDatabaseManagerTest.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/party/PartyInviteCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/config/AdvancedConfig.java (diff)
The file was modified src/main/java/com/gmail/nossr50/config/ChatConfig.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/text/TextComponentFactory.java (diff)
The file was modified src/main/java/com/gmail/nossr50/chat/mailer/AdminChatMailer.java (diff)
The file was modified src/main/java/com/gmail/nossr50/datatypes/skills/SuperAbilityType.java (diff)
The file was modified src/main/java/com/gmail/nossr50/runnables/party/PartyAutoKickTask.java (diff)
The file was addedsrc/test/java/com/gmail/nossr50/util/random/ProbabilityTest.java
The file was modified src/main/java/com/gmail/nossr50/commands/skills/SwordsCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/salvage/SalvageManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/commands/CommandRegistrationManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/database/FlatFileDatabaseManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/repair/RepairManager.java (diff)
The file was addedsrc/test/java/com/gmail/nossr50/util/random/ProbabilityUtilTest.java
The file was modified src/main/java/com/gmail/nossr50/util/ItemUtils.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/AxesCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/TamingCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/party/alliance/PartyAllianceCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/AcrobaticsCommand.java (diff)
The file was addedsrc/main/java/com/gmail/nossr50/skills/crossbows/Crossbows.java
The file was addedsrc/test/java/com/gmail/nossr50/database/SQLDatabaseManagerTest.java
The file was addedsrc/test/java/com/gmail/nossr50/skills/tridents/TridentsTest.java
The file was modified src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java (diff)
The file was modified src/test/java/com/gmail/nossr50/party/PartyManagerTest.java (diff)
The file was removedsrc/main/java/com/gmail/nossr50/skills/child/ChildConfig.java
The file was modified src/main/java/com/gmail/nossr50/commands/skills/WoodcuttingCommand.java (diff)
The file was removedsrc/main/java/com/gmail/nossr50/util/random/RandomChanceSkill.java
The file was modified src/main/java/com/gmail/nossr50/commands/party/alliance/PartyAllianceDisbandCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/mcMMO.java (diff)
The file was modified src/main/java/com/gmail/nossr50/runnables/skills/AbilityCooldownTask.java (diff)
The file was modified src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/party/PartyKickCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/datatypes/player/PlayerProfile.java (diff)
The file was modified src/main/java/com/gmail/nossr50/runnables/SaveTimerTask.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/skills/SkillCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/CommandManager.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/party/alliance/PartyAllianceInviteCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/util/skills/RankUtils.java (diff)
The file was modified src/main/java/com/gmail/nossr50/commands/party/PartyInfoCommand.java (diff)
The file was modified src/main/java/com/gmail/nossr50/skills/taming/TamingManager.java (diff)