Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [CENTER][IMG]https://i.imgur.com/8h1QKX9.png[/IMG]
- [B][I]PlayTime plugin is a plugin that counts playtime of the players on your server and keep track of it a lot more easier and professional.
- [/I][/B][/CENTER]
- Developed by Activated_/[URL='https://www.mc-market.org/members/130472/']FaceSlap_[/URL]
- Part of the [URL='https://www.mc-market.org/members/50438/']BGHDDevelopment[/URL]
- [IMG]https://i.imgur.com/zdEcZwO.png[/IMG]
- [CENTER][/CENTER]
- [INDENT][INDENT][LIST]
- [*]Mongo database or MySQL database needed
- [*]Track of a playtime for every player
- [*]PlayTime comes with a system that will check if a player is a AFK and it will stop counting playtime if the player is AFK for more than configured amount of time
- [*]Track playtimes throughout the database so u can get and use playtime globally througout your network and bungee
- [*]Check top playtimes throughout an unlimited MENU going from the #1 on the leaderboard and make your players compete for the #1 place!
- [*]Choose what you want to see, either network TOP or individual server TOP.
- [*]Reset server's playtime or a playtime of an individual player with a commands.
- [*]Check offline player's playtime
- [*]Leaderboards updated every 2 minutes
- [*]Live menu updates and more..
- [/LIST][/INDENT][/INDENT]
- [IMG]https://i.imgur.com/ei1MMZ1.png[/IMG]
- [INDENT][INDENT][CENTER][/CENTER]
- [LIST]
- [*][B]/playtime[/B] - check your own playtime
- [*][B]/playtime <player> [/B]- check playtime of other online/offline player
- [*][B]/playtime top [/B]- check top playtimes on all servers/network
- [*][B]/playtime top <server>[/B] - check top playtimes on a specific server
- [*][B]/playtime <player> reset <all|server> [/B]- reset someone's playtime globally or on a individual server [I][p[/I]laytime.admin[I]][/I]
- [*][B]/playtime update[/B] - update leaderboards without waiting 2 minutes of delay [I][p[/I]laytime.admin[I]][/I]
- [*][B]/playtime reset <all|server> [/B]- reset playtime globally or on a specific server [I][p[/I]laytime.admin[I]][/I]
- [/LIST][/INDENT][/INDENT]
- [CENTER][IMG]https://i.imgur.com/8HJY23O.png[/IMG]
- [/CENTER]
- [LIST]
- [*]PlayTime comes with a [B]PlaceholderAPI [/B]support so you can use placeholders of this plugin in other plugins that supports [B]PlaceholderAPI[/B].
- [LIST]
- [*][B]Placeholders[/B]
- [LIST]
- [*]%playtime_player_global_pt% - get player's network wide playtime
- [*]%playtime_player_server_pt% - get player's playtime on a server of the player
- [/LIST]
- [/LIST]
- [/LIST]
- [B][U][SIZE=6]Files:[/SIZE][/U][/B]
- [SIZE=4][SPOILER="config.yml"]
- [CODE]#Use 'MONGO' or 'MYSQL'
- DATA-TYPE: "MYSQL"
- MONGODB:
- ADDRESS: ""
- PORT: 27017
- DATABASE: ""
- AUTHENTICATION:
- ENABLED: false
- USERNAME: ""
- PASSWORD: ""
- DATABASE: ""
- MYSQL:
- DATABASE:
- HOST: "127.0.0.1"
- USER: "root"
- PASSWORD: "root"
- DATABASE: "test"
- PORT: 3306
- SERVER-NAME: "Lobby"
- #If someone is afk for 300 seconds, playtime won't count
- AFK-INTERVAL-SECONDS: 300
- MENUS:
- PLAYTIME:
- MENU-NAME: "&9<player>'s playtime"
- ITEM:
- NAME: "&bPlaytime Information"
- LORE:
- - "&c&m-----&7&m--------------------------------&c&m-----"
- - ""
- - "&bPlayer: &e{userName}"
- - "{servers}"
- - ""
- - "&8(&b!&8) &e&nTotal&7: &c&n{total} &8(&b!&8) "
- - ""
- - "&c&m-----&7&m--------------------------------&c&m-----"
- SERVER-FORMAT: " &b* &3{server}: &a{playTime}"
- PLAYTIME-TOP-SERVER:
- MENU-NAME: "&b{server} PlayTimes"
- ITEM:
- NAME: "&8(&b!&8) &b&n{server} &7(&a#{id}&7)"
- LORE:
- - "&c&m-----&7&m--------------------------------&c&m-----"
- - ""
- - "&bPlayer: &e{userName}"
- - " &b* &3{server}: &a{playTime}"
- - ""
- - "&c&m-----&7&m--------------------------------&c&m-----"
- PLAYTIME-TOP-GLOBAL:
- MENU-NAME: "&bGlobal PlayTimes"
- ITEM:
- NAME: "&8(&b!&8) &e&nGlobal Top &a#{id}"
- LORE:
- - "&c&m-----&7&m--------------------------------&c&m-----"
- - ""
- - "&bPlayer: &e{userName}"
- - " &b* &bPlaytime: &c{playTime}"
- - ""
- - "&c&m-----&7&m--------------------------------&c&m-----"
- MESSAGES:
- PREFIX: '&8[&bPlayTime&8] '
- PLAYER_NOT_ONLINE: '{prefix} &cThat player is currently offline.'
- NO_PERMISSION: '{prefix} &cYou don''t have permission to use that command.'
- USE_NUMBERS: '{prefix} &cPlease use numbers.'
- DOES-NOT-HAVE-DATA: '{prefix} &dThat player doesn''t have any data saved, probably
- never joined the server before.'
- LOADING-ACCOUNT: '{prefix} &aLoading account...'
- PLAYTIME:
- DOESNT-HAVE-ON-SERVER: '{prefix} &bThat player does not have any saved playtime
- on that server.'
- RESET-PLAYER-SERVER: '{prefix} &bYou have reseted &e<player>''s &bplaytime on
- &e<server>&b.'
- RESET-PLAYER-ALL: '{prefix} &bYou have reseted &e<player>''s &bplaytime on &eevery
- server&b.'
- LEADERBOARDS:
- UPDATING: '{prefix} &bUpdating leaderboards...'
- UPDATED: '{prefix} &bLeaderboards have been successfully updated.'
- SERVER-NOT-FOUND: '{prefix} &cWe couldn''t found any playtimes on that server.'
- RESET:
- SERVER-NOT-FOUND: '{prefix} &cWe couldn''t found any playtimes on that server.'
- RESETED-SERVER: '{prefix} &aYou have reseted all playtimes on &b<server> &aserver.'
- RESETED-ALL: '{prefix} &aYou have reseted all playtimes on &bevery &aserver.'
- WAIT: '{prefix} &aReseting playtimes, please wait...'
- [/CODE]
- [/SPOILER][/SIZE]
- [U][B][SIZE=6]Proof of ownership:[/SIZE][/B][/U]
- [SIZE=4][SPOILER="Proof"]
- [IMG]https://i.imgur.com/rioa3ae.png[/IMG]
- [/SPOILER][/SIZE]
- [SIZE=4][U][B][SIZE=6]In-game screenshots:[/SIZE][/B][/U]
- [SPOILER="Pictures"]
- [IMG]https://i.imgur.com/4Xih855.png[/IMG]
- [IMG]https://i.imgur.com/qpUJUWO.png[/IMG]
- [IMG]https://i.imgur.com/Jah6VWJ.png[/IMG]
- [IMG]https://i.imgur.com/ct3PGAM.png[/IMG]
- [/SPOILER]
- [/SIZE]
- [SIZE=4]
- [/SIZE]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement