VTExtension
VTExtension - Add some features to VariableTriggers!
This plugin requires VariableTriggers
http://dev.bukkit.org/bukkit-plugins/variabletriggers/
Please Note:
I am not the creator of Variable Triggers nor am I claiming to be. This plugin was created to offer some extra features that can be used with VariableTriggers that were not originally included.
Update: I have taken over active work on Variable Triggers, please view there for any updates related to the plugin. This plugin won't be updated anymore due to my ability to add things directly to the plugin.
Features
- Date and time stamps (not UNIX time like VT already offers)
- Obtain player nicknames (display names)
- Build strings without having to do @IF testing and choose where the string starts
- Obtain the item name (even if you've named it with an anvil) that you are currently holding
- Open to suggestions to add more stuff, leave a comment!
Permissions
So far only one permission as everything else runs as @CMDCON besides itemname, which is @CMDOP.
- vte.itemname
Update Log
- (v1.0) Timestamps are in readable, normal time based on server location instead of UNIX
- (v1.1) Removed duplicate method; updated to 1.6.1
- (v1.2) Added @CMDOP itemname, which stores the name of the item you're holding in $itemname.current (even with custom names!)
- (v1.2) Config option edited to enable or disable plugin
@Lyoko_Firelyte
I believe there is a getDisplayName method somewhere. :P
@C0nd3mn3d
I'll look into seeing if that's possible, thanks for the suggestion!
Perhaps an <itemname> placeholder would be useful, that gets the lore-name of the item in the hand of the player that triggers the script.
Woo! The nickname feature is my favourite and I'm pretty sure that string builder will be useful. :D
I have a small suggestion. Cmdarg ranges, to select a string in between and including a number range.
Ex:
Script:
- '@IF si <cmdarg:1> = broadcast'
- ' @BROADCAST <cmdarg:2-5>'
-WS
(Great extension. :D)
OH MY GOD THANK YOU!!!! These extensions literally make my life so much easier and the string builder is to die for and I'm sure that I'll make up some silly excuse to use the time stamps and player nicknames! xD
Thanks again!
David Likes To Hue. 10/10 "Plug-in is also used on ImagiCraft, very good. :3
I installed this plugin.
I did not get cancer.
This plugin prevents cancer.