Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

@Override public boolean on Command(Command Sender sender, Command command, String label, String[] args) { Player player = (Player) sender; if(player.is Op() || player.hasPermission("PERM HERE")) { //DO SOMETHING } else { //DO SOMETHING } return true; }

Soot Hoot Moon Croot answered on January 21, 2021 Popularity 1/10 Helpfulness 8/10

Contents


More Related Answers


@Override public boolean on Command(Command Sender sender, Command command, String label, String[] args) { Player player = (Player) sender; if(player.is Op() || player.hasPermission("PERM HERE")) { //DO SOMETHING } else { //DO SOMETHING } return true; }

1
Popularity 1/10 Helpfulness 8/10 Language whatever
Source: Grepper
Link to this answer
Share Copy Link
Contributed on Jan 21 2021
Soot Hoot Moon Croot
0 Answers  Avg Quality 2/10


X

Continue with Google

By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
X
Grepper Account Login Required

Oops, You will need to install Grepper and log-in to perform this action.