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

[feature] command_rejectlist for commands you wish to reject until login #978

Open
feardevilz opened this issue Oct 16, 2016 · 2 comments
Open

Comments

@feardevilz
Copy link

I wanted to see if a feature can be added similar to command_whitelist. The feature would be a command_rejectlist where if deny_commands is "false" only specific commands listed would be rejected until a user logs in. This would be greatly helpful for servers wishing to not restrict users however still protect certain commands (eg: op commands) from being used until logged in.

I am not familiar with any other plugin that currently does restrictions on specific commands. IF that feature is out there, either in this plug in or otherwise, please let me know.
thanks

@ljacqu
Copy link
Member

ljacqu commented Oct 16, 2016

I wonder if this could be solved by implementing an "all commands allowed" option as suggested in https://github.com/Xephi/AuthMeReloaded/issues/456#issuecomment-230128967, along with a working group permission system (#761).
Then the unregistered / unauthenticated group could have permission nodes for whatever should be allowed or forbidden.

@janvostry
Copy link

janvostry commented May 19, 2017

This is possible to solve with permission plugin. I use PermissionEx with two groups and I promote player on login.
PermissionEx groups:

  tombstone:
    options:
      default: true
      rank: '200'
      rank-ladder: authme
    permissions:
    - authme.player.login
    - authme.player.register
    - -*
  player:
    options:
      rank: '100'
      rank-ladder: authme

AuthMe commands:

onLogin:
  pex_promote:
    command: 'pex promote %p authme'
    executor: CONSOLE

AuthMe config:

GroupOptions:
    enablePermissionCheck: true
    registeredPlayerGroup: 'tombstone'
    unregisteredPlayerGroup: 'tombstone'

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

No branches or pull requests

3 participants