This is a discussion topic for the Ore project, BaconTime. View the full project on Ore for downloads and more information.
BaconTime
- A very simple playtime tracker that allows you to also import data from ActiveTime.
- Made for Sponge API 7.2.0
- Requires Nucleus (Working on both api 1.0 and 2.0 since version 1.1.0)
1.Commands and permissions
1.1 Commands
- /playtime check (Allows you to check your current afk or active time. Or specify a user to check)
- /playtime leaderboard <afk/active> (Shows you the leaderboard of top active or afk players)
- /playtime reload (Reload the plugin)
- /playtime import (Import data from another plugin into this one. Currently only activetime is supported)
- /playtime set <afk/active> (Set someones afk or active time. Amount is in seconds)
- /playtime removeall (Removes a players milestones and all activetime, afktime and runs all removal commands of milestones)
1.2 Permissions
- bacontime.command.base (Base command)
- bacontime.command.leaderboard (Leaderboard command)
- bacontime.command.check (Check command)
- bacontime.admin.reload (Reload command)
- bacontime.admin.import (Import command)
- bacontime.admin.set (Set command)
- bacontime.milestones (Required for users to get milestones. Example bacontime.milestones.banana would allow the user to reach the banana milestone)
- bacontime.setting.checkmilestonetime (Required to view time left till milestone is reached in the check command)
- bacontime.admin.removeall (Required to use the removeall command)
2.Config
# The aliases the plugin uses for commands. The first value is always displayed when running the base command!
# Requires server restart to change!
Aliases=[
playtime,
bacontime,
bt,
ptime
]
#Intervals {
# The interval in seconds between milestone checks, will be disabled if there are no milestones.
milestone=180
# The interval in seconds between saving the playtime data.
save=120
}
#milestones {
"example_milestone" {
commands=[
"give <player> minecraft:apple 10",
"msg <player> Apple time!"
]
commands-On-Remove=[
"ci <player>",
"msg <player> Apple time is no more since I ate your inventory!"
]
repeatable=true
requiredTime=3600
}
2.1 Placeholders
- Note that all of these need to be surrounded with <>. These are the placeholders used in the milestone commands.
- playtimeHours (Replaced with amount of hours the player getting the milestone has played (Active time))
- player (Replaced with username of the player getting the milestone)
3.Examples
- Default command
- Check command
- Leaderboard command
4.Support
- For support join my discord server and tag me in the #general channel or pm me (kristi71111 | BacoNetworks#0001)