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 May 9, 2013@H8llfire
Even bukkit is throwing exceptions since i'm not using spigot or anything related to it.
-
View User Profile
-
Send Message
Posted May 9, 2013@Dinastya
Exactly thats the issue. Lexlaidens point on this very critical issue is that using a sync thread for the scripts would remove the capability of multithreading and performance improvement on the plugin. However, as spigot and libigot have made some core changes on how async behaves the plugin will always cause an exception when an async vt thread calls a sync thread.
I hope there is some way around this dilemma.
-
View User Profile
-
Send Message
Posted May 9, 2013Yes i know...
I'm just pointing some errors out and saying that it's probably the @CMD and @CMDCON that is causing the errors and crashes.
The more errors and debug lex has the easier he can fix it.
If nobody posts what it can be or any errors he has to debug it himself which takes more time then we can do with full servers.
And yes i know it's async but as lex said the purpose of this plugin is that most script are run without decreasing server performance on the main thread.
So he isn't just gonna remove all async stuff so he needs to know what async stuff is causing the crashes and errors.
-
View User Profile
-
Send Message
Posted May 9, 2013@Dinastya
Your error displays this: Synchronized code got accessed from another thread
This is async...
-
View User Profile
-
Send Message
Posted May 8, 2013Made a huge collection of errors i got these errors within 30 minutes <3
And this resulted in 2 crashes within 30 minutes.
It instant crashes for me when i create a script with:
It's giving also a bunch errors for teleportations and chunk loading.
Because if i do '@CMD tpo $some.var'
Then the teleportation is called async and it's giving errors and some times causing crahes.
So think it would be best to do all @CMD and @CMDCON not async.
Think that will fix 75% of the crashes/issues.
Here the big list with errors: https://pastebin.com/L7gvb5MR
If you need any more or more info lex let me know i really hope you can fix this asap.
Will donate another 25$ if you get this fixed :) (Might motivate you a little to fix it :p)
-
View User Profile
-
Send Message
Posted May 8, 2013@Dinastya
I hope not; most of my scripts are commands
-
View User Profile
-
Send Message
Posted May 8, 2013I think it's the @CMD and @CMDCON that make the crashes.
Because when i use worledit commands with @CMD it's giving errors.
And when i use some other plugins with @CMD it gives errors aswell.
Stuff like this: https://pastebin.com/L7gvb5MR
-
View User Profile
-
Send Message
Posted May 6, 2013Lex do you have a eta on fixing the bukkit issues that crash the server maybe?
I know you just came back and i don't mind if it takes long still but it would be nice to know how long it will take +/-.
Like when you have time to work on it to fix it.
I'm not using spigot or plugincatcher.
Still getting like 3<>10 crashes daily posted the errors before but if you need more then let me know.
-
View User Profile
-
Send Message
Posted May 6, 2013@MsVerita
Agreeing with everyone else, 99.9999999% of the time it'll be because you messed something up in your script...
-
View User Profile
-
Send Message
Posted May 6, 2013@PaTr0N
Agreed; Elaborate a little. Its probably something to do with one of the scripts you made and not so much the plugin itself (maybe it wasn't isolated enough to where players could abuse it). I've had the plugin running for a long while, and have not had a money/dupe issue. How are they doing it?
-
View User Profile
-
Send Message
Posted May 6, 2013@MsVerita
This has got to be the most useless comment i've seen in a very long time, care to elaborate?
-
View User Profile
-
Send Message
Posted May 5, 2013Please be warned, I have been informed and confirmed that there is a "money making" glitch/dupe/hack involved with this plugin. I've been watching a few select players doing this today. I do not know how it is done, but I do know that it involves this plugin. Just keep an eye out considering we had 1 player make 50 million IGM within a matter of hours.
-
View User Profile
-
Send Message
Posted May 5, 2013This plugin is amazing. It's like Skript in the sense you don't need to understand programming to use it, but it's MUCH more powerful. Kudos to you lexlaiden! :)
-
View User Profile
-
Send Message
Posted May 5, 2013@lexlaiden
Thank you for your effort. When do you think you might be able to fix the Spigot/Libigot problem?
-
View User Profile
-
Send Message
Posted May 3, 2013As I said, there are some issues I need to address for bukkit that once fixed may verywell also solve any spigot problems. (like async) It will just take some time, as these changes require some deep searching and recoding, now that I am back on it.
@Nikecow
And no I will not completly remove multithreading as that is the root of the script interpreter and why it can run so many scripts at the same time and not lag out the server thread and can be done safely if done correctly. I just need to transfer some of the calls back to the main thread. Since Spigot and a couple of bukkit plugins watch for these and FORCE an exception if they see it even if there is no real system exception.
Just bare with me. I think in the long run everyone will end up happy.
-
View User Profile
-
Send Message
Posted May 3, 2013At this point, it's not about it being a Spigot plugin, or such. It's about using async, which has clearly been labeled dangerous by known developers (Which develop for CraftBukkit). I think that to improve this plugin, the async thread issue should be fixed, as to both offer a solution to Spigot/Libigot users, and to make the plugin itself better, making it safer to use. With that said, I think a large number of users of this plugin use Spigot/Libigot, and would be more than happy if the issue was fixed. Keep making this plugin great, as it is probably one of the most versatile plugins out there. :)
-
View User Profile
-
Send Message
Posted May 3, 2013@Brocodo
Same thing here, however there is actually no real reason to use craftbukkit, as alternative builds like spigot are simply "better". VT is also a core plugin on my server, and while I do not get as many errors as most others seem to get with the plugin, it is just weird that this is really the ONLY plugin bugging with spigot. If you do a bukkit plugin, you are not supposed to do an extra spigot version, it should just work direcly, as all the other plugins do.
Simply said: Why use async when md_5 clearly says that you shouldn't use it?
Love to VT! Dont stop improving it.
-
View User Profile
-
Send Message
Posted May 3, 2013Top concern? I think ALOT of players use Spigot and Libigot like me, and put ALOT of effort in this plugin LIKE ME. Im sorry, i know it's a bukkit plugin. But all my other plugins work with Spigot and Libigot and i spend hours of scripting things with this plugin. I might be one of the few people who actually use VariableTriggers with large scripts.
I can't just use bukkit, because other plugins need Libigot and Spigot, like Heroes.
-
View User Profile
-
Send Message
Posted May 3, 2013@Brocodo
Like he said, he's not making Spigot compatibility a top concern; it's a Bukkit plugin.
-
View User Profile
-
Send Message
Posted May 3, 2013Hey
I get this error from the plugin VariableTriggers.
Google says it has to do with spigot:
http://dev.bukkit.org/server-mods/variabletriggers/tickets/51-asynchronous-broken-with-spigot-718/?page=2#comments
ERROR PASTEBIN: http://pastebin.com/6bnnRdTp
How can i fix this? I already posted this also on the spigot forums, but i think this may be fixed by you also? Can you please help me, i really love this plugin and put a lot of effort in it to make something very unique.