Skip to content

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