PlaytimeReloaded/README.md

58 lines
1.4 KiB
Markdown
Raw Permalink Normal View History

2017-02-07 23:46:37 +00:00
# PlaytimeReloaded
2020-12-24 02:56:43 +00:00
### A Spigot/paper plugin to track playtime of all players on the server.
Track and save the playtime of all players in a SQLite or MySQL database. Supports command execution, then a player reach a defined playtime.
2017-02-07 23:46:37 +00:00
## Command List
2020-12-24 02:56:43 +00:00
- /playtime [player]
Show your own playtime or the playtime from other players.
2017-02-07 23:46:37 +00:00
2017-02-24 00:26:05 +00:00
- /toptime [numbers]
2020-12-24 02:56:43 +00:00
Shows the top [numbers] of players with with the highest playtime.
2017-02-07 23:46:37 +00:00
2020-12-24 04:30:25 +00:00
## Installation
Download the latest build from https://ci.sahrea.de/job/PlaytimeReloaded/ and store it into your plugin folder.
2017-02-07 23:46:37 +00:00
## Permissions
- playtime.login
2020-12-24 02:56:43 +00:00
Shows the playtime at login.
2017-02-07 23:46:37 +00:00
- playtime.use
2020-12-24 02:56:43 +00:00
The player can use the /playtime command.
2017-02-07 23:46:37 +00:00
- playtime.use.others
2020-12-24 02:56:43 +00:00
The player can see the playtime from other players.
2017-02-07 23:46:37 +00:00
2017-02-08 00:28:30 +00:00
- playtime.top
2020-12-24 02:56:43 +00:00
Can see playtime list.
2017-02-08 00:28:30 +00:00
2017-02-07 23:46:37 +00:00
## Config
```javascript
mysql:
host: 127.0.0.1
port: 3306
db: test
user: test
pass: test
text:
Date:
Days: '&aDays&6'
Hours: '&aHours&6'
Minutes: '&aMinutes&a'
Prefix: '&6[&aPlayTime&6] &a'
YourCurrentPlaytime: Your current playtime is &6%t
PlayerPlaytimeIs: The playtime from player &6%s&a is &6%t
PlayerNotFound: '&cThis player dont have play on this server.'
NoPermission: '&cYou dont have permission to do this!'
TopPlayerTitel: This is the Top 5 player list.
TopPlayerEntry: '%r : %s - %t'
timeCommand:
- 8;say &6[&aPlayTime&6] &6%%player%% &ahas &6%%time%% &aminutes &aplayed.
```