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 Jan 5, 2014Lol srry i said it again, i didnt think i already asked
-
View User Profile
-
Send Message
Posted Jan 5, 2014ok so, so far ive made 2 commands with your plugin, /vote and /fakesay where it makes a fake persons name and i type stuff, so i want members to be able to do /vote, but not /fakesay, but there is no permission node for one specific command as far as i know, if there is a way to do it, could u help? I try to disable one command, but it disables all of them :/ Thx- Africanclaw
-
View User Profile
-
Send Message
Posted Jan 4, 2014If all else fails, http://dev.bukkit.org/bukkit-plugins/skript/
-
View User Profile
-
Send Message
Posted Dec 31, 2013im going to be making a plugin that will be making it easier to script in variable triggers, i can only work on it every other day because i am verry bussy, but it will be worked on, and it will be completed
it will allow for things like easier editing for scripts, variables, player stats, etc, so no more having to dive into the folders, to edit the stuff, lol
-
View User Profile
-
Send Message
Posted Dec 31, 2013I use Chest Commands to sell permissions, (selling fly, back, heal, etc for ingame money)
Since Chest Commands buy and sell is mostly for blocks and items.
I want to make Chest Command (When clicking on the item to purchase a permission) change the item from (Example; a feather to a bedrock)
So every permission you buy, it changes the item to as example a bedrock. So it'll notify you when you can't purchase it anymore. Even though Chest Command
PLAYER1 uses [ITEM] to open Chest Command Shop PLAYER1 sees all the items (from CC has a set permission when clicking item) PLAYER1 clicks on the feather (fly) and it gives him permission (essentials.fly and takes $100,000 away PLAYER1 now sees the feather as a bedrock (hinting that he can't purchase it anymore)
Also, I am using CC for multiple same items, so as an example perks, all the perks that the player has NOT unlocked are all iron pressure plates. When the player purchases one of the iron pressure plate, it gives him the permission (from CC) and changes in to a bedrock (hinting that he can't purchase it anymore)
Is this possible? [I was told by the author of CC to check out VT for this question]
-
View User Profile
-
Send Message
Posted Dec 23, 2013@Africanclaw
In the beginning of the command /fakesay do
@IF b <haspermission:yourfakepermission.fakesay> = true
@Your command lines here, basically all you want the command to do
@ELSE
@PLAYER &4You don't have the permission to use that command.
Then you give them the "yourfakeperission.fakesay" permission, or whatever you put there instead. All groups with that permission will now be able to use it, everyone that tries to use it, but don't have the permission will get the "*You don't have permission to use that command" message. :)
-
View User Profile
-
Send Message
Posted Dec 22, 2013Pls update on 1.7.4
-
View User Profile
-
Send Message
Posted Dec 21, 2013I have groupmanager and i made 2 commands, /fakesay and /vote and i want members to be able to do /vote but not /fakesay, when i use permission nodes, it either make them unable to use both, or they can use both, i cant do either or, is there a way to make it so they can do /vote but not /fakesay?
-
View User Profile
-
Send Message
Posted Dec 18, 2013It does work on 1.72, however some features, such as setblock, and toggleblock are down.
-
View User Profile
-
Send Message
Posted Dec 17, 2013Does this work on 1.7.2?
-
View User Profile
-
Send Message
Posted Dec 14, 2013The wiki page is unavailable. Is there a problem with it, or are you looking for another wiki? I could make the wiki, possibly, and then other people could write the pages for it.
Just curious since I'm new to the plugin.
-
View User Profile
-
Send Message
Posted Dec 13, 2013hey guys. i want somebody can help me.
for example:
- '@CMDOP vtcmd <cmdarg:1> @SETINT $<playername>.ppp <cmdarg:1>'
i want value that @SETINT $<playername>.ppp <cmdarg:1> but the $<playername> is got the 0 so @SETINT 0 <cmdarg:1> what the...
i just want @SETINT $<playername>.ppp <cmdarg:1>
please help me.
-
View User Profile
-
Send Message
Posted Dec 8, 2013@MelonCraftServer
I was bored enough to find this interesting. I dont have minecraft installed to test this but it goes something along these lines
just copy and paste a loop for each digit of currency.
Eg if your top player has 6,000,020 then you need 7 loops from high to low
@IF b $<playername>.hasbeentaxed = false ### prevents you double taxing
@LOOP 11
@IF <hasmoney:<playername>:$tax.moneycounter = true
@SUBINT $tax.moneycounter 10 ### subint every loop except the last
@BREAKLOOP
@ELSE
@ADDINT $tax.moneycounter 10 ## counting up in 10's
@ENDLOOP
@LOOP 11
@IF <hasmoney:<playername>:$tax.moneycounter = true
@BREAKLOOP # dont subint here or you will get a false answer
@ELSE
@ADDINT $tax.moneycounter 1
@ENDLOOP
@SETINT $<playername>.taxpaid $tax.moneycounter ## these just get your 90%
@DIVINT $<playername>.taxpaid 10 ## divide by 10
@MULINT $<playername>.taxpaid 9 ## multiply by 9
@IF b <takemoney:<playername>:$<playername>.taxpaid = true ### this line taxes
@PLAYER <playername> has been taxed $<playername.taxpaid
@SETBOOL $<playername>.hasbeentaxed = true
@DELVAR $tax.moneycounter
@ELSE #added this to catch failures on my part
@PLAYER There was an error in attempting to tax <playername>
@ENDIF
@ENDIF ### yes you need both end ifs. one is from the very top
-
View User Profile
-
Send Message
Posted Dec 8, 2013@MelonCraftServer
since you only have <hasmoney:Playername:amounttocheckfor> to work with the only way would be to create a loop and counter which checks for repeatedly higher amounts until it finds the total
It is possible. and if you're clever you could make it first check in lots of 100,000 then 10,000 then 1000 etc. so that you only need to check 10 x per amount of digits of money player has.
It would probably be easier for you to use your ecomony plugins Tax feature and put it on a long timer. (bose/essentials/iconomy) all have one
-
View User Profile
-
Send Message
Posted Dec 3, 2013Is there any way to efficiently get the amount a player has in their essentials eco balance? Im making a system that taxes players for 90% of their money (to deflate) only once.
-
View User Profile
-
Send Message
Posted Nov 30, 2013Very Good Plugin :) But its a little bit like programming its for lazy permissions that dont wanna programming in eclipse/whatever or for guys that started programming a few days ago. But in the end a very good plugin.
-
View User Profile
-
Send Message
Posted Nov 30, 2013pls update plugin, to better compatibility with spigot:
http://dev.bukkit.org/bukkit-plugins/variabletriggers/tickets/83-more-asynchronous-issues-spigot-1057/
Thanks a lot.
-
View User Profile
-
Send Message
Posted Nov 15, 2013@BenjiTF
It would probably be better to just use @CMDCON warp <player> <location> (syntax may vary based on plugin)
-
View User Profile
-
Send Message
Posted Nov 14, 2013@Lyoko_Firelyte
My bad :c
What about something like entering an area gives you the permission of the vtcommand, and exiting removes it from you.
Something like (In case of PEX): ' Enter - '@CMDON pex user <payername> add permission.nod'
Exit - '@CMDCON pex user <playername> remove permission.nod'
Or in the VTCOMMAND something like:
Script: (@SETBOOL true and false on enter and exit from the vtarea) - '@IF b $<playername>.insideXarea = true' - 'rest of the code..' - '@ELSE' - '@PLAYER you are not inside the area...'
-
View User Profile
-
Send Message
Posted Nov 9, 2013@BenjiTF
VT uses the PlayerCommandPreProcessEvent so it would just override worldguard.