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

Command /hat #1

Open
wants to merge 3 commits into
base: 1.13
Choose a base branch
from
Open

Conversation

WakkaFlocka239
Copy link

Added an essentials-esque /hat command

super(plugin, new hatDispatcher(), name, usage, Rank.MODERATOR);
}

@Endpoint
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@endpoint should specify, that this command is only valid for players (command blocks can't give themselves a hat). See other commands like /tp for example usage.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also add an option to set the hat of other players

}

@Endpoint
public void removeHat(Player p, @LiteralArg(value = "remove") String l) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above

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

Successfully merging this pull request may close these issues.

2 participants