VariableTriggers

VTV2

VTV2

Fourms {{|Tickets / Bug Reports Share Scripts Video Examples Permissions About VT


Make your own plugin like features and more using VariableTriggers

This is a very powerful plugin that has unlimited potential. Create triggers that run lines of script when a player Clicks or Walks on a block (dirt, door, switch, trigger, torch, any block) or Create Event Triggers such as PlayerDeath , EntityDeath, BlockBreak, BlockPlaced, Join, Quit, Respawn, Interact and EntitySpawn that also run scripts. You can define Area Triggers and Command Triggers as well. You can use Dynamic Object variables and conditional IF and ELSE statements in the scripts. You can run any command that a player or OP can run and many speacial built-in commands to Teleport, Spawn Entities, Play Effects Visual or Sound, Set Blocks, Toggle Blocks, Check Players Heath and much more!. The scripts are executed on their own threads to take the strain off of the main server thread.

Arrow Vault

Arrow Script Commands

Arrow Triggers

Arrow Place Holders

Arrow Functional Place Holders

Arrow Dynamic Objects

Arrow Scripts

Arrow In-Game Commands

Arrow Notepad++ UDL

Arrow GitHub

Arrow

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Beardyboy3332 Beardyboy3332 Jul 18, 2016 at 20:44 UTC - 0 likes

    Hi,

    First of all, I would like to congratulate you on making this fantastic plugin. From what I've seen from videos, it is perfect for what my server needs.

    However, I seem to have a large issue. I have gone through the installation notes and done what is meant to be done, but the server does not recognise any commands. If I simply just put /vtc it just says /vtclick or /vtwalk? If, however, I input something like /vtc @PLAYER Hello, the server says Alexb333 has run command /vtc @PLAYER and does nothing else. I cannot figure out how to fix it. If you could learn me on how to fix it, I would be very grateful.

    Thank you for your time ;D

    Alex

  • Avatar of wysohn wysohn Jul 17, 2016 at 09:37 UTC - 0 likes

    @Lyoko_Firelyte: Go

    for the making new thread thing, can you please address the problem with the spigot?

    as Spigot doesn't allow asynchronous access to Bukkit API, it spams the console with the AsynchronousAccess something exception if the trigger script tries to access Bukkit API.I think this can be easily addressed by you :D (Using queue or something) The script itself works fine anyway, but throwing exception always slow down the execution time in Java as far as I know. Most of all, it's distracting! So if you are aware of the performance, please address this issue.

    + vtw edit seems not working. Or maybe edit for other commands(like vte) too; I tested only vtw. It says that updated the script, but the script never change when I check it with vtw view.

    And I strongly suggest to add an insertion command, so people can insert script between the script; deleting entire scripts to add a single line before the another scripts is quite a lot of work. Of course, we can modify it directly with the text file, but I would like to do it in-game wise. We use script to make the simple codes work, so insertion command will be quite useful feature.

    Thank you :)

  • Avatar of Zomblad Zomblad Jul 13, 2016 at 12:09 UTC - 0 likes

    Hi everyone. I have a question. Is it possible to make that mobs while wonders and after death can make another sound, like I want to creeper have wondering sound (as example) of falling anvil with a special pitch, and I want him to make sound of broken anvil after death? Is it even possible to make???

    WHAT DO U WANT FROM ME?!! WHAT DO U WANT?!!1!1!1

  • Avatar of Lyoko_Firelyte Lyoko_Firelyte Jul 11, 2016 at 00:11 UTC - 0 likes

    @Daconway: Go

    VT makes a new thread to run each thing you do and then it is removed, in order to not slow down the server with all of the intensive script reading. My guess is that one of your other plugins combined with VT are making too many threads for your server to handle, resulting in the out of memory error. I may release a version that keeps everything on the main thread soon if I find the time. It looks like the issue is also related to an area enter event with the player move, so maybe you've got too many areas set up for it to handle. The code is a couple years old on this so I'm not surprised if it's pretty inefficient with memory handling.

    BFAK:90735004,cc5ec88dfba6293887a2f34e5fe38c9ae259b0e4f38968f5b8717c4323db9c06

  • Avatar of Daconway Daconway Jul 10, 2016 at 06:51 UTC - 0 likes

    Frequently getting crashes from a specific error. Been using VariableTriggers for 2 years and never had this problem. http://hastebin.com/halozomoyi.avrasm

    Server is definitely not running out of memory either. Not sure what exactly is causing it, help would be greatly appreciated

    minevast

  • Avatar of bzahwhq bzahwhq Jul 06, 2016 at 11:34 UTC - 0 likes

    this is my favorite plugin. i appreciate you making it. but i dont know how to use the V2.

    i used spigot for 1.9.4. there are some test results:

    1.@SETBLOCK and @TOGGLEBLOCK don't work,and console got a warn. [Thread-119/WARN]: java.lang.ArrayIndexOutOfBoundsException: 1 [Thread-119/WARN]: at com.github.lyokofirelyte.VariableTriggers.VTParser.parse(VTParser.java:413) [Thread-119/WARN]: at com.github.lyokofirelyte.VariableTriggers.VTParser$1.run(VTParser.java:107) [Thread-119/WARN]: at java.lang.Thread.run(Unknown Source)

    2.when i run a script command of Effects,nothing happened even the console.

    3.i set override of command a few moments and then it will back to FALSE.

    4.Sometimes triggers disappeard after restart console. Even I used /vt ss ,/vt st

  • Avatar of Fluxty Fluxty Jul 03, 2016 at 07:20 UTC - 0 likes

    Event triggers that teleport a player are giving me this:

    http://pastebin.com/X99USi8T

    Command should not be dispatched Async by variable triggers. Any help? FYI: This was happening both with Spigot and Paper

  • Avatar of pammykool pammykool Jun 28, 2016 at 00:19 UTC - 0 likes

    console keeps giving " Could not pass event PlayerMoveEvent to VariableTriggers v2'' error, any suggestions?

  • Avatar of shadowkek00 shadowkek00 Jun 18, 2016 at 10:35 UTC - 0 likes

    The @SETBLOCK is a bit buggy for me.Sometime the block won't appear, I need to left or right click on the position that the block supposed to appear to make the block appear.Please fix it.

  • Avatar of Surfcash Surfcash Jun 17, 2016 at 16:29 UTC - 0 likes

    I get an error when attempting to run any script on PlayerRespawn.

    http://imgur.com/BvF5xfg Here's the error in console and PlayerRespawn event file. It's running a command called /maxhealth that just reloads a users maximum health. Server is running on Spigot 1.9.4.

    Last edited Jun 17, 2016 by Surfcash

Facts

Date created
May 27, 2012
Categories
Last update
Jun 12, 2016
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
VariableTriggers
Downloads
62,248
Recent files

Authors