Have you ever wanted to create a true RPG modpack with multiple custom skill trees, but found out you could only lock one tree behind a GameStage? This addon fixes that.
Passive Skill Tree: RPG Stages is an integration bridge between Passive Skill Tree, GameStages, and CraftTweaker. It allows modpack developers to safely link dozens of different skill trees to specific GameStages without overriding variables or causing conflicts. Perfect for creating unique classes with unique skill trees in your modpack!
It all started when I was building a simple RPG server with a friend. We wanted every class in our world to have its own dedicated skill tree. The original Passive Skill Tree Stages mod was okay, but it could only lock a single tree (usually the main_tree).
My friend suggested creating one giant tree that branched out into different classes, making it impossible to access other paths once a choice was made. Honestly, I felt that looked visually cluttered and aesthetically "ugly". Daripher's work on the Passive Skill Tree is incredibly beautiful, and I didn't want to drop his mod because of this limitation.
So, I decided to create this mod to solve the problem once and for all. Feel free to use it in your modpacks and build epic RPG classes! :)
/skilltree open <treeId> command, allowing you to open specific trees via command blocks, NPCs, or quest rewards outside of the editor mode!This mod currently uses the 0.6.x versions of the Passive Skill Tree mod (e.g., 0.6.14a) because the author is still developing and finalizing the newer versions (0.7+). I might release an updated version of this addon in the future once the new version is fully complete!
Simply add your rules inside any .zs script file in your scripts folder:
// Format: mods.pstrpg.Integration.setTreeStage(<Tree_Resource_Location>, "gamestage_name");
mods.pstrpg.Integration.setTreeStage(<resource:skilltree:paladin_tree>, "paladin_stage");
mods.pstrpg.Integration.setTreeStage(<resource:skilltree:necromancer_tree>, "necro_stage");
// To allow a tree to be opened without any GameStage:
mods.pstrpg.Integration.setTreeStage(<resource:skilltree:basic_tree>, "none");
This mod is an integration bridge and heavily relies on the amazing work of these creators. Please ensure you download their mods (they are required):