Minecraft Bungeecord Permission System?

ne
- in Servers
4

I'm currently programming a Minecraft server. Unfortunately, I ran into a problem:

I would like to program my own permission system. And there I have a question:

When I give someone the "server.team" permission via bungee cord. Will the permissions then also be transferred to Spigot? So is it across servers?

If not, do you have an idea how I can make a permission system that uses bungee cord as well as spigot?

LG

ps: I don't want to download a permission system.

La

So there are 2 methods (which are easy) …

Either you set up a permission system via MySQL, e.g. Where you then save the users and permissions in a database… (Or the groups and permissions)

Or you just ask about the rank the player has from your database…

I use both (write me if you have any questions ^^)

Dr

You can't avoid 2 plugins.

One has to manage the permissions at Bungee, the other for Spigot (of course it has to be on every sub-server).

To synchronize both plugins, I recommend MySQL / MariaDB.

But honestly:

I would save myself the more complicated work and just get LuckPerms xd

ne

First of all, thank you for your answer, it helped me a lot.
I intend to choose both methods as well. So that it is mostly about the groups, but that individual players can also have other permissions outside of the group.
My question:
What if I e.g. "World Edit" would install. How would I do it then?

La

Since you can't format in the comments, things can get a little ugly now…

If "givePermissions" is a method in your main class

public void givePermissions (Player p) {
PermissionAttachment a = p.addAttachment (this);

if (query whether the player has e.g. Admin) {
a.setPermission ("Here then the permission in (are e.g. On the WorldEdit page)", true);
}
}

Prefix system? sp spleenPerch
Minecraft Bungeecord error? di diligentAbigail
Permission Ex Sponge? Mo Moises594