[JS] CraftTime

xEnt

Retired Staff
Retired Staff
Sep 6, 2014
48
17
8
You will need to uncomment the part that stops JS plugins from loading then rebuild Pluton. this will be done automatically soon.

Usage: you must set the crafting multiplier inside the script, then in game write /setcrafting to lock it in!
This will change the speed of crafting

JavaScript:
CRAFTING_MULTIPLIER = 10;

function On_Command(cmd){
    if(cmd.cmd == "setcrafting")
        Server.CraftingTimeScale = CRAFTING_MULTIPLIER;
}
 
Last edited by a moderator:
  • Like
Reactions: DreTaX
You will need to uncomment the part that stops JS plugins from loading then rebuild Pluton. this will be done automatically soon.

Usage: you must set the crafting multiplier inside the script, then in game write /setcrafting to lock it in!
This will change the speed of crafting

C#:
CRAFTING_MULTIPLIER = 10;

function On_Command(cmd){
    if(cmd.cmd == "setcrafting")
        Server.CraftingTimeScale = CRAFTING_MULTIPLIER;
}
Why don't u use the JavaScript Syntax on the web for JS? Edited It.