PlaytimeV2
PlayTimeV2 Simple plugin to count time played by your player New release for people using or not playtime. (Completely rewriting),new function like afk implementation and ability to see the time played since last death.
Requirement
Java 7 and mysql database
Installation
- Download correct version
- Put jar to your plugin folders
- Start server
- Configure config.yml
- Restart Server
Configuration
//set to true or false AfkEnable: true //time to check afk (in second) AfkTime : 300 //top length min and max adjust if necessary TopTenMin: 5 TopTenMax: 30 //set to true or false ResetOnDeath: true //Configure correct information host: ipaddress or name databasename: nameofdb username: username password: yourpassword //if you use playtime just use Name: playtime tables: Playtime: Name: playtimeV2 collums: Username: username Playtime: playtime //if you need quote(') inside just put double quote('') //minecraft colors are available (&1,&2....) ErrorTopTen: '&cInvalid use of command!' ErrorTopTenRange: '&cSpecify player number (between 5 and 30)' NoPerm: '&cYou don''t have permission for this command!' NoPermOther: '&cYou don''t have permission to see other player''s time.' SeePersonnalTime: '&2%player%,&6 You have played &2%time% so far.' SeeOtherPlayer: '&2%player%&6 has played &2%time% untill now.' SeePersonnalTimeDeath: '&2%player%&6,you have played &2%time% &6since your last death on &2%lastdeath%.' SeeOtherPlayerDeath: '&2%player% &6has played &2%time% &6since his last death on &2%lastdeath%.' NeverDeath: '&2Your last death is unknown' NeverDeathOver: '&2The last death of this player is unknown!!' PlayerNotExist: '&cThis player doesn''t exist.' ResetOnDeathMsg: '&6Your play time has been reset.' LessOneMn: 'Less than one minute' TopTen: '&6Top %value% result:' --> V0.4 version TopTenMsg: '&2%player% &6has played &2%time%.' --> V0.3 version IsAfkTrue: '&cYou are now AFK, your game time is not counted anymore.' IsAfkFalse: '&2You aren''t AFK, your game time is counted.'
For french user (Pour les utilisateurs francais)
//mettre true ou false pour activer l'afk AfkEnable: true //temps en seconde pour etre afk AfkTime : 300 //longeur mini et max du top ajuster si nécessaire. TopTenMin: 5 TopTenMax: 30 //mettrre true ou false pour reset le temps en cas de mort. ResetOnDeath: true //Mettre les bonnes informations host: ipaddress or name databasename: nameofdb username: username password: yourpassword tables: Playtime: //si vous utilisez playtime ancienne version, il suffit de mettre 'Name: playtime Name: playtimeV2 collums: Username: username Playtime: playtime //Si vous avez besoin d'apostrophes (') il suffit de les doubler ('') //Les codes couleurs sont utilisables (&1,&2....) NoPerm: '&cVous n''êtes pas autorisé à faire cela.' NoPermOther: '&cVous ne pouvez pas voir le temps de jeu des autres joueurs.' SeePersonnalTime: '&2%player%, &6vous avez joué &2%time% &6depuis le 25/11/2012.' SeeOtherPlayer: '&6Le joueur &2%player% &6a joué &2%time% &6depuis le 25/11/2012.' TopTen: '&6Top %value% résultat:' TopTenMsg: '&6Le joueur &2%player% &6a joué &2%time%.' SeePersonnalTimeDeath: '&2%player%&6,vous avez jouez &2%time% &6depuis votre dernière mort le &2%lastdeath%.' SeeOtherPlayerDeath: '&2%player% &6a joué &2%time% &6depuis sa dernière mort le &2%lastdeath%.' NeverDeath: '&2Votre dernière mort est inconnu !' NeverDeathOver: '&2La dernière mort de ce joueur est inconnu !!' PlayerNotExist: '&cCe joueur n''existe pas.' ResetOnDeathMsg: '&6Votre temps de jeu a été réinitialisé.' LessOneMn: 'moins d''une minute.' IsAfkTrue: '&cVous êtes désormais AFK, votre temps de jeu n''est plus compté.' IsAfkFalse: '&2Vous n''êtes plus AFK, votre temps de jeu est de nouveau compté.'
Commands
- /playtime To see you personal time of play
- /playtime <Player> To see the time of play for this player
- /playtimedeath To see you personal time of play since last death
- /playtimedeath <Player> To see the time of play for this player since last death
- /playtimetop To see the top ten
- /playtimetop <value> To see specific lenght top
Permissions
permissions:
- playtime.count The permission to count playtime.
- playtime.see.* The star permission to all playtime.see permission (not for count)
- playtime.see The permission to see your personnal time of play.
- playtime.see.other The permission to see time of play for over player.
- playtime.see.top The permission to see top ten
- playtime.see.other.death The permission to see time of play for over player since last death.
- playtime.see.death The permission to see your over time of play since last death
- playtime.afk.exempt: The permission to are exempt of afk.
- playtime.deathreset.exempt The permission to are exempt for reset on death.
Features
- Real API
- Flat-file support
For DEV
Soon....
Congratulation
A big thanks for Josvth for helping me make this plugin (http://dev.bukkit.org/profiles/josvth/)
Server using PlayTimeV2
Laucher available at desticraft.fr or desticraft.com (Needed for specific server like pvp)
- Freebuild French : freebuild.desticraft.fr
- Creative French : creatif.desticraft.fr
- PVP French : pvp.desticraft.fr
- Skyblock French : skyblock.desticraft.fr
- Freebuild US : freebuild.desticraft.com
- Creative US: creative.desticraft.com
Other server open from time to time
- Survival french: survival.desticraft.fr
- Survival US: survival.desticraft.com
Hello is it possible to rewrite playtimev2 to sponge
why are there so many spelling errors
the hope dies last if not yet come a upbdate, and the uuid the forth place
damn now comes dan the UUID implementation I'm sitting on the stupid plugin established where no one cares more about many thanks
I am running the plugin already for a while, but most recently is the "/ playtimetop" command no longer creates the possibility in the log an error report. ([Server thread / WARN]: java.sql.SQLException: Table 'playtimeV2' is marked as crashed and shoulderstand be repaired) there are still others have a similar problem kp where to start after error in sql to search.
Make it work with the 1.7.9 or 1.8 on?
Hi, can I may get the source code? Would be very nice! Mail: [email protected]
@predawnia
this plugin can do that
Anyone knows of any plugin that can show How many hours of play time after dying. This is to be able to show how long a player has survived without dying.
@gummby8
This plugin currently wont do what you are looking for, but if we can get the source code it wouldn't take long to be able to update it to work, or the plugin devs could do it and add it as a feature.
I can't tell by reading the description here. Can this plugins tell me how long a player was online last session or is it just overall playtime?
I am looking for a plugin that will tell me, when a player last logged in and how long they were online. Perhaps how long they were online in the day, since players re-log many times a day.
@morno88
you can fix it in the config file
May i have the source code for this so i can edit it myself?
there are a lot of spelling mistakes and errors that kind of should be fixed.
also features such as automatically creating a database is kind of important.
Thanks!
Possible features to add
1. A reset timer. For example if you want to have it so it resets once a week or once a month.
2. A top death time counter to see longest time survived and who by.
3. A reset command, for simplicity, reset all times.
4. A reload command? for settings editing
Does this use the same tables and SQL setup as the original playtime? I have a plugin that pulls the data from the sql tables.
@predawnia ResetOnDeath not reset the full time of play, only the /playtimedeath Top of playtimedeath not implemented yet.
I am running on 1.4.6-R0.3 and ResetOnDeath: true does not reset the /playtimetop. Anyone seeing this?
Updated English/American translation
Thank's to "Cbla" for the tips :)
Also updated colors in chat. Gold is better than Pink !
Zaxounette.
when i load this plugin i get loads of typos like /playtime i get You ave play &2%time%.'
i like to get "You have pay playtimehere" not "you ave play playtimehere" i wanna corret the typos but i cant
@Sir_Moodz
Not yet, with next version you can use this plugin with this possibility Just wait (Implemented but in test version)