Home›Java›Mods›Redstone-IFTTT
ModsJava

Redstone-IFTTT

Java mod listed for Minecraft 1.14. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Redstone-IFTTT is a plugin that lets you use redstone to control things outside of Minecraft. It does this using the Webhooks service on IFTTT.

Here's a short tutorial and demo video:


Currently, only triggers are supported. However, I'm planning to add the ability to turn on redstone devices with an IFTTT recipe in version 2.0.0.

Plugin Setup
Redstone-IFTTT requires your Webhooks API key from IFTTT. Visit https://ifttt.com/maker_webhooks and click the Documentation button. Your API key will be at the top. Keep this secret to avoid people from controlling your recipes! To set up the plugin with your key. Run /ifttt setup your_api_key. You only have to perform this process once. However, if you regenerate your API key, you will need to repeat the process.

Commands
Permissions
Creating Triggers
Triggers require a name and at least one trigger condition (though they can support multiple.) Triggers can optionally have a scaling factor to scale a redstone signal which is normally in the range of 0 to 15 to some other range (such as 0 to 100 or -10 to 10.)

Notably, when a trigger is activated it sends along the old and new current to IFTTT as value1 and value2 respectively. This, along with scaling, allows you to activate recipes that require some sort of numeric input value.

To create a trigger, use the /ifttt trigger create <name> <conditions> [scaling] command.

Name
A trigger's name should reflect the event name in the Webhooks trigger in your IFTTT recipe.

Conditions
Trigger conditions are checked when a redstone event occurs. A redstone event occurs when the redstone current in a block changes. A trigger condition will act on the old current (before the change) and the new current (after the change.)

There are a few very simple built in conditions for the most common scenarios:
Custom conditions can also be created using simple equations and inequalities. There are two variables, OLD and NEW, which can be used in the inequalities. The integer values in the range of 0-15 can be used on the right hand side of operator. Additionally, multiple conditions can be strung together using a semi-colon ;. Valid operators are =, !=, >, >=, <, <=. Here are some examples:
Scaling
The optional scaling parameter of the create command allows you to specify a new range for the current to be adjusted to when sent to IFTTT. Here are some examples:

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Redstone-IFTTT is a free Minecraft Java mod. Compatible with Minecraft 1.14. Downloaded 294 times (via Spigot). Download it and open it directly in the game.

Explore more