TimedCommands
TimedCommands
Overview
This plugin was requested and sponsored by semibreve42.
It executes commands based on player play times.
Commands
To reload the configuration:
/TimedCommands reload
To reset a players player time:
/TimedCommands reset player
To show your play time:
/playtime
Configuration
You need a configuration to tell the plugin which commands to execute. This configuration is placed at:
plugins/TimedCommands/config.yml
Example:
foo: seconds: 30 command: 'say Playertime for {player}: 30s!' permission: timedcommands.30s foo1: seconds: 60 command: 'say Playertime for {player}: 1m!' foo2: seconds: 90 command: 'say Playertime for {player}: 1m 30s!' blub: seconds: 120 command: 'say {player} is in world {world}!'
Permissions
This supports superPerms:
permissions: timedcommands.reload: description: Reload me! default: op
You can also specify permissions on a per command base. See Configuration for more details.
To do
- Commands for adding/removing timed commands (with permissions).
More permissions.
-
View User Profile
-
Send Message
Posted Feb 24, 2012dont work for r4 :(
-
View User Profile
-
Send Message
Posted Feb 12, 2012This plugin is awesome but, you there is a few things, The plugin did not generate the config.yml but i just made one and it worked :D, also you should make a permission so people with the permission will not get the command ran as with the current way in have it setup everything inheritances from my base group,
-
View User Profile
-
Send Message
Posted Feb 12, 2012keep up the goodwork :D
-
View User Profile
-
Send Message
Posted Jan 27, 2012@freaky85
-
View User Profile
-
Send Message
Posted Jan 26, 2012can you please add multiple commands per foo?
-
View User Profile
-
Send Message
Posted Dec 30, 2011@xPuyttre None of them, it just seperates the config parts and can be named whatever you want it to be named. To restrict it to certain players/groups use the permission: argument.
EDIT: A bit more:
foo = see above.
seconds = the time in seconds the player has to play for the command to get executed.
command = the command to be executed.
(optional) permission = the permission node the player has to have. If he doesn't have it the command will not be executed.
-
View User Profile
-
Send Message
Posted Dec 30, 2011Is "foo" where the name of the player goes, or where the name of the group goes?
EDIT:And also, can you put multiple commands? Would it be like this:
-
View User Profile
-
Send Message
Posted Nov 5, 2011Thank you, great plugin! Please keep adding things to this!
I would like one thing: store all the .yml and .sav files in /plugins/TimedCommands/TimedCommand.yml instead of just /plugins/file.yml; it makes it easier to organize.