Выдача привилегий на время

wwwfr

Пользователь
Сообщения
23
Плагин
LuckPerms
Ядро сервера
  1. Spigot
Версия сервера
  1. Другое
Память сервера ОЗУ
8Gb
Как в плагине LuckPerms выдавать группы на определенное время, например на 35 дней, а после терял все права и переходил в дефолт группу. Командой /lp user ник parent set выдается как я понимаю навсегда
 
/lp user/group <user|group> parent addtemp <group> <duration> [temporary modifier] [context...]

Permission
: luckperms.user.parent.addtemp or luckperms.group.parent.addtemp
Arguments:


  • <group> - the group to add
  • <duration> - the duration until the group will expire
  • [temporary modifier] - how the temporary permission should be applied
  • [context...] - the to add the group in

Adds a parent to a user/group temporarily. Duration should either be a time period, or a unix timestamp when the permission will expire. e.g. "1mo3d13h45m" will set the permission to expire in 1 month, 3 days, 13 hours and 45 minutes time, while "1482694200" will set the permission to expire at 7:30PM on 25th December 2016.

 
Назад
Сверху Снизу