H
H
hogofim2021-06-17 01:04:17
Java
hogofim, 2021-06-17 01:04:17

How to give permissions for players in the plugin?

I'm making a plugin for minecraft server. In eclipse there is a check for the player's permission ( player.hasPermission() ), but no permission for the player. What is the issuance method?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
alfss, 2021-06-17
@hogofim

https://bukkit.fandom.com/wiki/Developing_a_permis...

A
Alexander +, 2021-06-17
@AlexanderMi

Purely logical where there is has, that is, both set and get.
Look in the documentation. Which? And the devil knows. When there was interest in this, there was forge, then sponge privilege systems, too, a lot of things for something that is for it. Without specifics, the answer is better than "Look in the documentation" is not worth waiting for.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question