VariableTriggers

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.
















-
View User Profile
-
Send Message
Posted Jun 28, 2013@Fantomera
The documentation, located directly above this post, has a "Script Commands" section with lots of stuff in it that you should read. The information for setting sign text is in there.
-
View User Profile
-
Send Message
Posted Jun 28, 2013@Byamarro
Why would you need to do that? You can make scripts to do anything that would accomplish. Or I'm just not understanding your goal :\
-
View User Profile
-
Send Message
Posted Jun 28, 2013It's possible to change text signs with vt ?
-
View User Profile
-
Send Message
Posted Jun 27, 2013I need to. I want to generate variable triggers code. Something like:
If I will use
then I will need to right click after every line to set location.
-
View User Profile
-
Send Message
Posted Jun 27, 2013@Byamarro
You can't run a VT command with a VT walk trigger, you're using it wrong :P Just put what you have /test do for the walk trigger instead.
-
View User Profile
-
Send Message
Posted Jun 27, 2013Thanks for scoreboard. BTW I added new command "/test" via /vtcommand. Later is use /vtw @CMDOP /test And this don't work. "Unknown command..." I really need it.
-
View User Profile
-
Send Message
Posted Jun 27, 2013@Byamarro
You can use @CMDOP scoreboard <....>
Also, for @CALL, I don't understand what you mean. It just directs you to another script. You can set up tests to handle arguments such as @IF i <cmdargcount> = 1 or @IF si <cmdarg:1> = help...
-
View User Profile
-
Send Message
Posted Jun 27, 20131. Any interactions with scoreboards planned? 2. Is it possible to call script with arguments? Example: @Call test:testsctript arg1
-
View User Profile
-
Send Message
Posted Jun 25, 2013@John__B
Right, <entitytype> is only for interact and spawn events. You can't use it for entity death. Use <whodied>.
-
View User Profile
-
Send Message
Posted Jun 25, 2013@Lyoko_Firelyte
that plus i put the wrong var in it :P but that dose work. (when its the right var and the initial IF is removed because <entitytype> dosent work.
Try it.
-
View User Profile
-
Send Message
Posted Jun 25, 2013@John__B
This script makes no sense. You called an @AND way later on in the script, and there's no endifs to close anything. Second, <entitytype> and <entityname> ONLY work for Interact & EntitySpawn events. Use <whodied> instead and that will show you what died.
-
View User Profile
-
Send Message
Posted Jun 25, 2013BUG
EntityDeath is not calling entity statistics, @TELL yourself the type/name and it will not show details of the mobs u kill.
-
View User Profile
-
Send Message
Posted Jun 24, 2013@kevcraft
The console is simply not skilled enough to handle the power of VariableTriggers.
-
View User Profile
-
Send Message
Posted Jun 24, 2013Hello, how come when I type commands in the server console it says I don't have permission for it :P
-
View User Profile
-
Send Message
Posted Jun 24, 2013@jasoncher
Add "true" where it says Override in the command triggers, or type /vtcmdo <command> true
Also, you could literally copy/paste my script and it would work fine. XD
-
View User Profile
-
Send Message
Posted Jun 24, 2013@jasoncher
type /vtcommandoverride <command> true This will get rid of the unknown command problem, but makes it override existing commands.
-
View User Profile
-
Send Message
Posted Jun 23, 2013Also, does anyone know how to get the "Unknown command. Type "help" for help. to stop showing up after commands if using a command made with VT.
-
View User Profile
-
Send Message
Posted Jun 23, 2013@Lyoko_Firelyte Hmm. I have an idea to make it a little more advanced, but here is what it would require.
It would constantly check for the players world, so the moment the player gets into the Minigame world, it would run the rest of the script. Is that possible?
-
View User Profile
-
Send Message
Posted Jun 23, 2013@jasoncher
Alright, well if that works for you then awesome :)
-
View User Profile
-
Send Message
Posted Jun 23, 2013:D I figured it out! I finally feel like im getting the hang of this plugin. Here's what I did for anyone wondering :
parkour: Override: true Script: - '@CMD warp parkour' - '@PAUSE 10' - '@IF b <haspermission:worldin.minigame> = false' - '@PLAYER &4You moved, try again' - '@ENDIF' - '@IF b <haspermission:worldin.minigame> = true' - '@PLAYER &bGood!' - '@ENDIF'
Note : I added the permission "worldin.minigame" to the Minigames world ONLY.