Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Hawxy opened this issue May 9, 2014 · 5 comments
Labels

Comments

@Hawxy
Copy link

Hawxy commented May 9, 2014

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.

@Talamar1
Copy link

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.

@fernferret
Copy link
Member

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.

@dumptruckman
Copy link
Member

I vote for a per portal option.

@Tzzzt123
Copy link

@dumptruckman you're right!!
Make this!

@SDpyro
Copy link

SDpyro commented Dec 17, 2020

+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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants