Multiverse-Portals

Multiverse-Portals

2M Downloads

No error/message is produced when entering a portal without access permissions.

Hawxy opened this issue · 5 comments

commented

If a player does not have access to a world and tries to use a portal that goes to it, it produces no error or reasoning to the player (A configurable message would be great). This may cause some confusion, such as the player thinking the portal is simply broken.

Version: 2.5-b678
Spigot Version: git-Spigot-1447 (MC: 1.7.9)

I accidentally reported this in MV-Core the first time around, my bad.

commented

It actually does report this information in debug /mv debug 2 2 or higher (3 can produce tons of spam).

[14:37:32 INFO]: [Multiverse-Core-Debug] The node [§cmultiverse.portal.access.blue§f] was §cNOT§f set for [§bfernferret§f].
[14:37:32 INFO]: [Multiverse-Core-Debug] Checking to see if player [fernferret] has permission [multiverse.portal.access.blue]... NO
[14:37:32 INFO]: [MVPLogging-Debug] MV-Portals is DENYING Player 'fernferret' access to use the portal 'blue'.

However, having a configurable option to tell this to players would be alright. It won't be on for everyone, as some people use portals in a context where they don't actually want players to know why.

commented

I vote for a per portal option.

commented

@dumptruckman you're right!!
Make this!

commented

I second this. Maybe as part of debug it would also list the required permissions. I'm currently trying to track down why all of a sudden all of my portals that save people falling from parkour don't work.

commented

+1
Perhaps you can make the error configurable or even with a showerror permission
multiverse.poral.showdeny (Shows the user "Access Denied")
multiverse.poral.showdeny.extradebug ("Access Denied: more detail (perhaps PORTAL vs WORLD)")
multiverse.showdeny
(you already show deny error if /mvtp world)