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 Oct 12, 2013Hello VT users!
I am trying to make a gambling plugin, and I am making a roulette portion of the plugin.
What my current issue is is this:
- '@IF s <cmdarg:3> = null'
- '@OR i <cmdarg:3> > 36'
- '@OR i <cmdarg:3> < 0'
- '@OR s <cmdarg:2> != red'
- '@OR s <cmdarg:2> != black'
- '@CALL gamble:bhelp'
- '@ELSE'
- '@PLAYER TEST'
I want it so that if cmdarg:2 doesnt equal black OR red, then it calls the help file, but the way it is it will always call the help script as it can never be red AND black at the same time and I do not know how to fix this! Help please?
-
View User Profile
-
Send Message
Posted Oct 11, 2013@Nikecow
I didn't check the console for errors, none should've appeared. I'll check anyways.
-
View User Profile
-
Send Message
Posted Oct 11, 2013@lexlaiden
Nice Job!
Am I the only one getting a huge amount of console spam when using /vt delobj ?
-
View User Profile
-
Send Message
Posted Oct 11, 2013@Obscurity2
Doesn't this throw a big regexreplace error in console (rightfully so) ?
-
View User Profile
-
Send Message
Posted Oct 11, 2013@Obscurity2 :
Maybe your problem is that you changing object variable
USED IN THE SAME <var:> functional place holder !
It's looks like you can't change object variable while using THIS variable (or object). I'm often using <var:> and only fail is when I make more the 2 <var:> in one script line (but not always !). You also can't make <var:$OBJ1.<var:OBJ2.var>> (nested use).
-
View User Profile
-
Send Message
Posted Oct 10, 2013I found a problem with one of the functional place holders. <var:$Obj.Var does not allow you to alter variables using other variables. Here's an example:
'@SETINT $test.1 1'
'@SETINT $test.<var:$test.1> 2'
This should make $test.1 equal 2, but it does not. <var:$Obj.Var is recognized when it stands alone, but not when it has something directly adjacent . Like this:
recognized: <var:$test.1>
not recognized: blarg<var:$test.1>
And I do realize some brackets are missing from my post. They just didn't show up...
-
View User Profile
-
Send Message
Posted Oct 10, 2013@lexlaiden
Just want to throw another beg for you to consider/have a loot at/attempt to fix the Async errors this throws when trying to do a @SETBLOCK on a spigot server.
Since MCPC+ runs from spigot code both these very good servers are incompatible with this aspect of Vtriggers.
Me and a huge bunch of other users would be so greatful if there is any possibility of this being fixed..
Vtriggers is already a great and essentially complete plugin so we don't need new features.. just any sort of working fix to make it compat with spigot.
I'd be happy to help with any testing/info required.
The errors are easily replicated. Start a spigot server with vtriggers and do a "@SETBLOCK" on anything.
-
View User Profile
-
Send Message
Posted Oct 9, 2013@lexlaiden
It's nice that you work on such a prestigious project but what about the features some people donated for? I understand you don't have time for it but then at least make this open source on GitHub so somebody can continue developing this.
-
View User Profile
-
Send Message
Posted Oct 7, 2013@lexlaiden
I hope, that does not mean, you are postponing VT for long time. VT is 90% of my server, and i would like to see a feature, like thread toggle on config, so we can choose which script commands can run in async, and which - in main thread. That would give some future proof against spigot and bukkit.
-
View User Profile
-
Send Message
Posted Oct 7, 2013Hey All,
Sorry I haven't been on here. As I said I have been busy with another not so small project. An online multi player space FPS game with CTF, AAD, and Death Match.
The hard part is mostly done ( networking, physics, all the hard coding ) Now I just need some really nice 3D models and artwork to start alpha testing publicly.
Take a peek. Sorry about the video quality.
Still got tons of work to do. Really need to get some artists and 3D modelers.
-
View User Profile
-
Send Message
Posted Oct 5, 2013@Brocodo
My network uses BungeeCord to connect all of my Bukkit servers, I'm just saying that the "bug" or "error" is the confliction between how Spigot works and what VT's threads are doing - not necessarily a bug in VT itself, but more of an incompatibility for some scripts.
-
View User Profile
-
Send Message
Posted Oct 5, 2013@Lyoko_Firelyte
I know it's made for bukkit. My server is not running from a toaster, it's called a bug or error. Wether my server has 10 players on or 70 players on, VT just has huge lagg spikes randomly. I use spigot because I also use the plugin heroes wich requires spigot and Spigot is way more stable than Bukkit.
There are more people using Spigot that you think... Most of the big servers all use Spigot and don't forget bungeecord is also spigot wich is one of the most used software for big servers. He fixed issues with Spigot before and I believe that he will fix them again. This plugin is one of the best that exists and I think he knows that. As he is not required to update it for Spigot, he is also not required to make this plugin at all. There are ALOT of people using spigot and this plugin.
-
View User Profile
-
Send Message
Posted Oct 5, 2013spigot does save me effort and having to install drop stacking plugin, that really failed working correctly on server, also it provides some xray protection with little or no impact on performance, and improves network performance. Plus it is more configurable. True, they shouldn't mess with async though.
Also spigot is most popular large server platform due to advanced improvements, and LexLaiden don't have to fix it up for that platform, but he could.. since that would give plugin more satisfied users. Maybe some configurability, which tasks should attempt to run in async, and let people to toggle that.
-
View User Profile
-
Send Message
Posted Oct 4, 2013This plugin is awesome, i'm creating amazing things with the scripts; but i have a big problem, i'm running a server with 80/80 players playing a game, and i'm having this error:
I think that the plugin fails in asyncronous tasks, plugin seems to work very well but some times server crashes with this error, and I don't know if this plugin is causing the issue or not. I have very complex scripts (A gamemode is programed with this), then I suppose it's failing in asyncronous tasks.
Will you update your plugin? If not, can you free the source code please?
-
View User Profile
-
Send Message
Posted Oct 4, 2013@Brocodo
As he's posted in the past, this is a Bukkit plugin, designed for Bukkit, downloadable from the Bukkit plugin site. Spigot uses all sorts of crazy methods to "prevent lagg" and what not, but unless you're running your server from a toaster, you really don't need it. That being said, it's not his responsibility to fix things that aren't broken - it's working for it's intended platform at 100%.
-
View User Profile
-
Send Message
Posted Oct 3, 2013Reporting about spigot 1.64 usability: Everything but @TOGGLEBLOCK and @SETBLOCK works 100%. Try replacing with @CMDOP /replacenear [blocks to replace] [new blocks]. other then that, all my scripts (approximately 300) are working fine, no lag detected.
-
View User Profile
-
Send Message
Posted Oct 2, 2013What is Lexlaiden even doing...?
Can he please bring an update for Spigot 1.6.4. VT is causing extreme lagg spikes sometimes or even crashes, and my server really depends on VT as it is one of the most important plugins. Gues he's busy with other things...
-
View User Profile
-
Send Message
Posted Oct 1, 2013Ok I'm open to make videos of VT regardings anything todo with it because i feel its too underated and unappriciated so ill make videos upon request. Simply reply and i'll get upload the video within a few days of reading it.
-
View User Profile
-
Send Message
Posted Sep 27, 2013@teemo321
Ah, you'd want to use normal Bukkit for this as it isn't very compatible with other forms of Bukkit; it even has some issues with spigot according to the comments here.
-
View User Profile
-
Send Message
Posted Sep 27, 2013@Lyoko_Firelyte
thanks to you
actually i use mcpc version 1.6.2
bulid : mcpc-plus-1.6.2-R0.2-forge845-B62
plugin version : 1.2.6
and when i start the server this is working, no errors
but i use the plugin in the game
for example /vtwalk @PLAYER hello!!!
i get errors [SERVER] Could not pass event PlayerMoveEvent to VariableTriggers v1.2.6.org.bukkit.event.EventException ~
i want to help plz..