How i can do timed permissions groups (with PEX) Saying timed I mean for 30 days I dont found how to timed ranks with pex groups Sorry for my English EDIT: I asking about how is method for java plugin?
User's group management on the pex wiki (lifetime is the time) As it is in seconds: days * hoursPerDay * minutesPerHour * secondsPerMinute So 30 * 24 * 60 * 60 = 2592000
Or if you want to use the API: PermissionsUser#addGroup(String, String, long) (The parameters are groupName, worldname, lifeTime);