TriggerReactor

TriggerReactor

24.6k Downloads

Note

  • If you are using GraalVM Java 16
    • Use 3.2.x-Release or 3.3.0.x-Beta version
      • For 1.5.2 ~ 1.12.2 server, use bukkit-legacy
      • For 1.13 ~ latest server, use bukkit-latest
  • If you are using any other JVM
    • Same as the case as GraalVM Java 16, yet you have to install a third-party plugin, such as JShader. Though, it should work with any plugin that provides nashorn script engine.
  • If you are Sponge user
    • Stay with 3.1.x version. Sponge API 8 support is coming soon for the later versions, but not at the moment.

You can find them in this link

Support Us:

We dedicate our time to provide support for this plugin, so please support us if our plugin helped you!

https://patreon.com/TriggerReactor

Description:
Want to create in-game based scripts? Have you tried VariableTrigger? Are you an expert Skript programmer? Give a chance to TriggerReactor. TriggerReactor is Script Engine that has the in-game interaction features of VariableTrigger, and the advanced scripting system of Skript.

You can also create trigger for walking on the block, clicking the block, command, enter/exit area, and all of the Bukkit Events, Custom Permissions, and Third party plugin's Event! (You can hook up Events from plugins like Factions, MCMMO, etc. and do whatever you want. I personally am giving Guild experience based on Guild members' portion of MCMMO experience)

Have Questions?
You may ask questions in discord

English: https://discord.gg/Df8vgut

Korean: https://discord.gg/KubaFcd


Features(written by MidnightSugar):

  • Multi-threading capability (No lag)
  • 6 Trigger Types: Click, Walk, Command, Named, Inventory, Repeating
    • Or create custom triggers from any event
  • Includes 49+ Executors and 43+ Placeholders for ease of use
    • Or create your own Executors and interact with other plugins
  • Use methods directly from javadocs
  • Create dynamic variables
  • Robust conditions system
  • Create and use loops and arrays
  • Access third party plugin API

Commands:

/trg - type it to see more commands

Permissions:

triggerreactor.admin - give access to all of the /trg commands, and TriggerReactor tools.

Tools:
There are some tool to make your life easier

1. Bone : inspection tool. Left click with it to delete the trigger at the clicked location or Right click to see the brief information

2. Shear: cut tool. Right click to cut a trigger at clicked location and Left click to paste it on another place.

3. Paper: copy tool. Right click to copy a trigger at clicked location and Left click to paste it on another place.

Some Examples:

<button class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" style="margin: 5px 0px; padding: 0px 10px; font: 600 12px / 36px 'droid sans', Arial, sans-serif; color: #535353; background-color: #d9d9d9; border-width: 0px; border-top-color: #ffffff; border-radius: 3px; text-align: center; outline: none; display: inline-block; cursor: pointer; box-sizing: border-box; box-shadow: rgba(0, 0, 0, 0.1) 0px -2px 0px inset; appearance: none; height: 36px; max-width: 99%;" type="button" data-target="&gt; .SpoilerTarget">Spoiler: Examples</button>


A lot of Information You Must See:

Can be found in Wiki

Bug report/Suggestions:

Please report/suggest it on the Issue tab of github site. (will be greatly appreciated.)

Hey, you know some java?

Please help me add up more useful Executors and Placeholders. Executors and Placeholders are all written in Javascript, and you only need very basic knowledge to make a lot of things.

Look at the $isop placeholder's code:

Code (Text):
function isop(args){
    if(player == null)
        return null;
 
    return player.isOp();
}

That's literally all you need to know to help me out! So if you are willing to help me out, please don't hesitate to do so!


Donations:

overload : $50 - Surprisingly huge amount of money. Thank you!