Moehritz / Porty

Bungee/Bukkit Teleportation Plugin
3 stars 3 forks source link

Permission/Commands Checks Server Side. #12

Open TagCraftMC opened 10 years ago

TagCraftMC commented 10 years ago

What I am about to suggest will more then likely require a large amount of it to be re-wrote but I feel it would be better. The way it is now is all the permissions and commands are checked/fired Bungee level, This can causes multiple problems and issues;

I could list more reasons but I think you get the points. I would guess the easiest way for perm checks like this would be with vault.

Player1 Send Command /tp player2 > Perms Accepted > Message Sent to Bungee > Bungee sends message to bukkit plugin for TP > Player1 TP to Player2

Player1 Send Command /tpa player2 > Perms Accepted > Message Sent to Bungee > Bungee sends request to bukkit plugin > Player2 accepts > Perms Accepted > Message Sent to Bungee > Bungee sends message to bukkit plugin for TP > Player1 TP to Player2

Thanks for at least reading this request.

Chalkie

Moehritz commented 10 years ago

Hey Chalkie, thank you for your ideas. Im not quite sure about it, as there are Permissions-plugins supporting BungeeCord and per-world-permissions. Maybe I´ll add it as an option (both modes supported), but I can´t give you my word for it right now.