CodedRed-Spigot / PlayTimes

The best /playtime plugin! PAPI support, offline checks, API & more!
https://www.spigotmc.org/resources/playtimes-check-players-playtime-server-uptime.58858/
GNU General Public License v3.0
9 stars 12 forks source link

Adding Permissions so non OP Player can check the playtimes #43

Closed K1L1AN closed 4 months ago

K1L1AN commented 4 months ago

It is statet that it is possible to add permissions so non OP- Player can check their playtime or the leaderboard for example.

In the Wiki it states: pt.use - Lets you use /playtime. pt.others - Lets you check others playtime. pt.uptime - Lets you check server uptime. pt.reload - Lets you reload & more. pt.block - Lets you block players from being on the leaderboard pt.top - Lets you use /toppt pt.block-cooldown - No cooldown for /toppt

How excactly does one add permissions in the config? What comes after "pt.top" for example? I have tried "default" or "true" but nothing worked. Thank you in advance!

NotAlexNoyle commented 4 months ago

It is statet that it is possible to add permissions so non OP- Player can check their playtime or the leaderboard for example.

In the Wiki it states: pt.use - Lets you use /playtime. pt.others - Lets you check others playtime. pt.uptime - Lets you check server uptime. pt.reload - Lets you reload & more. pt.block - Lets you block players from being on the leaderboard pt.top - Lets you use /toppt pt.block-cooldown - No cooldown for /toppt

How excactly does one add permissions in the config? What comes after "pt.top" for example? I have tried "default" or "true" but nothing worked. Thank you in advance!

You need LuckPerms

K1L1AN commented 4 months ago

Thanks!