
Quests Tweaker
A mod to integrate FTBQuests with CraftTweaker.
About this Mod
QuestsTweaker
A mod to integrate FTBQuests with CraftTweaker.
Features
- Add/set progress for an existing quest from crafttweaker.
- New 'Function' task type that runs a crafttweaker function to check progress.
- New 'Function' reward type that runs a crafttweaker funtion on completion.
CraftTweaker API
mods.questtweaker.QuestManager
Add/set progress for any existing and available task from crafttweaker:
When the task is unavailable (for example has dependencies uncompleted), this function does nothing.QuestManager.addTaskProgress(IPlayer player, string/int id, long progress);QuestManager.setTaskProgress(IPlayer player, string/int id, long progress);
import mods.questtweaker.QuestManager;
// Add progress
// IPlayer player, string/int id, long progress
QuestManager.addTaskProgress(event.player,"4c4bd563",1 as long);
// Or use hex int
QuestManager.addTaskProgress(event.player,0x4c4bd563,1 as long);
// Set progress
// IPlayer player, string/int id, long progress
QuestManager.setTaskProgress(event.player,"4c4bd563",1 as long);
Example when player pickups an item, set the task progress to stack size:
import mods.questtweaker.QuestManager;
events.onPlayerPickupItem(function(event as crafttweaker.event.PlayerPickupItemEvent){
QuestManager.setTaskProgress(event.player,"52725826",event.item.item.amount as long);
});
mods.questtweaker.FunctionManager
Add a new function to use with this mod's 'Function' tasks and rewards:FunctionManager.addFunction(string functionID, function(IPlayer) -> long);
The function must return an long.
Example 1: Player's current altitude
import mods.queststweaker.FunctionManager;
import crafttweaker.player.IPlayer;
// string functionID, function(IPlayer) -> long
FunctionManager.addFunction("height",function(player as IPlayer){
return player.y as long;
});
Example 2: On a Rail on_a_rail.zs
FTBQuests Integration
Function Task
Executes a function peridocally, and uses its return value as the progress.
Parameters:
- Function ID: the function ID registered in scripts.
- Value: The value needed to complete the task.
- Interval: The interval to run the function. Set to 0 for manual submission.
Function Reward
Executes a function when collected.
Parameters:
- Function ID: the function ID registered in scripts.
Dummy Task
Does nothing on its own. Intended to use with the QuestManager above.
Parameters:
- Value: The value needed to complete the task.
Available Versions
How to Install Quests Tweaker on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.12.2).
Install Mod
Open the mod browser in the dashboard and search for "Quests Tweaker". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.12.2
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Quests Tweaker server crashes on startup – what to do?
Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.12.2). You can switch loaders with one click in the panel.
Is Quests Tweaker compatible with forge?
Quests Tweaker officially supports forge for Minecraft 1.12.2. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Quests Tweaker – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Quests Tweaker consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Rent Modded Server
Install Quests Tweaker with just one click on your server.