LuckPerms

LuckPerms

41.4k Downloads

API

fran201921 opened this issue ยท 4 comments

commented

Description

I suggest being able to make an api that with "GET" methods can obtain the information of a person or player such as their group or permissions to be able to make discord bots ect for easier sync ect (Make it a configurable option and that you can put the port to choice). I think it's a good idea for developers

Proposed Behaviour

I would do a "GET" method to a specific url and I would receive some information in json format for example
{"fran2019":{"group":"owner"}"}
or something similar
and the url is
http://ip:port/luckperms/api/users/(user)

Extra Details

And I think that if the option of adding a token to the "API" could be added separately to make it more secure to consult

commented
commented

how i can use it?

commented

ok ty

commented

Check out the project readme as well as the openapi spec