Repository navigation
Releases: HyperProxy/PlaytimeLimiter
Release list
V2.0-SNAPSHOT
V2.0: BIG CHANGES SINCE V1.0!!! This plugin is approaching version 1.0.... slowly. Now included:
- Saving and retrieving player time info to a file based on UUID
- Viewing and setting playtime info in-game through commands
- PLAYER TIME TRACKING: once a playtime value is established for a player, it tracks during playtime! if, when player HyperProxy logs in and their playtime value is either retrieved as or initialized as 3 minutes, a Bukkit Runnable with track, decrease, and save the remainingPlaytime variable, and eventually kick the player and safely save their data.
note: when a player joins the server, and they don't already have a playtime value associated with their UUID, it is initialized as the server default, found in config.yml. If the config file does not exist when the server is started, it will be created with a default of 3 (minutes). then, all subsequent new player values will also be 3. player values can be manually changed through editing the player's general.yml file, but not through console (bad things happen. dont worry, you probably cant crash the whole server)
as usual, please bug test and submit comments and suggestions
V1.0-SNAPSHOT
As of snapshot 1.0, there is no implementation of changing playtime values, only core functionality of storing and retrieving player data and plugin config.