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 Dec 13, 2014Anyway it would be possible to add a command that adds time to someone's playtime?
Would be useful for vote rewards.
-
View User Profile
-
Send Message
Posted Sep 13, 2014Nice work, but I would like a multiworld-support, like only in some worlds will the plugin count the time
-
View User Profile
-
Send Message
Posted Jan 12, 2014Can it play more than one command?
-
View User Profile
-
Send Message
Posted Aug 9, 2013Is it possible to add tags, for like people with differnt permissions or something.
-
View User Profile
-
Send Message
Posted Aug 9, 2013Is it only seconds, or can it be hours or weeks or days?
-
View User Profile
-
Send Message
Posted May 31, 2013@V10lator
?
-
View User Profile
-
Send Message
Posted Dec 13, 2012Good bye everyone!
-
View User Profile
-
Send Message
Posted Dec 6, 2012Can you add a permission that determines whether the plugin counts play time for that player. If I set a permission for someone, 'timedcommands.check' to true, then it will count their play time and run commands accordingly. On the other hand, if I set the permission 'timedcommands.check' to false, it will not count play time. Their play time will remain at whatever it is in the config file until the permission changes. This permission should default to true, but can be marked false if someone so desires. Personally I want to use this so that it wont count the time that people spend in the beginning help rooms.
-
View User Profile
-
Send Message
Posted Sep 28, 2012If it doesn't happen automatically, can you add the ability to initiate a save of the current time people have on the server? Currently i only see it saving when the server is shutdown properly, but if the server crashes for what ever reason, everyone's time gets reset to the last proper shutdown. :/
Love the plugin
-
View User Profile
-
Send Message
Posted Sep 19, 2012@cVaaaldez Just had a look at the code: No errors or deprecation warnings, so it should work just fine. :)
-
View User Profile
-
Send Message
Posted Sep 19, 2012I really like the idea of this plugin. Does it work with the current Craftbukkit? I saw one server using it. Old versions tend to slow the server and cause errors so I dont want to just throw this in.
Or is there an alternative updated plugin? Thanks!
-
View User Profile
-
Send Message
Posted Jun 13, 2012@DaClowns It trakcs the players online time only and is able to execute commands (for example to promot a player) at specific times.
Have a look at plugins/TimedCommands/TimedCommand.sav - it's a yaml file in the format
playername: onlineTime
othername: otherTime
...
where onlineTime and otherTime is the time in seconds (if I remember correctly). The file wasn't meaned to be edited, hence the .sav (instead of .yml) extension... ;)
-
View User Profile
-
Send Message
Posted Jun 13, 2012Hi, so this plugin logs players total play time, only online time, and not offline time?
Also, if the answer to my question stated above is yes, does this plugin have some way of letting me add playtime to certain players, whether it be a command, or manually typing it in a config?
-
View User Profile
-
Send Message
Posted Mar 31, 2012@MCBuncey I don't know what deletes the file, but it's not TimedCommands. TimedCommands only reads from but never writes to the config.yml file.
-
View User Profile
-
Send Message
Posted Mar 30, 2012Having problem with this also it keeps deleting the config.yml file is that normal?
-
View User Profile
-
Send Message
Posted Mar 26, 2012@Torn_G You can write whatever you want instead of foo. It doesn't mean anything and is just to difference the commands. That mean you can't have 2x foo (or 2x bla, or 2x X, or 2x whatever you want o.O)
-
View User Profile
-
Send Message
Posted Mar 26, 2012Hey, Nice plugin What is with the foo: and, foo ??? does it mean something?
-
View User Profile
-
Send Message
Posted Mar 12, 2012ty so much for updating :D
-
View User Profile
-
Send Message
Posted Mar 10, 2012Any way to have commands that go off a certain time of day? This would be a GREAT option, if not already available.
-
View User Profile
-
Send Message
Posted Feb 24, 2012please update this to support R-4 i really love this plugin,,