Skip to content

Command /hat - #1

Open
WakkaFlocka239 wants to merge 3 commits into
SpleefLeague:1.13from
WakkaFlocka239:1.13
Open

Command /hat#1
WakkaFlocka239 wants to merge 3 commits into
SpleefLeague:1.13from
WakkaFlocka239:1.13

Conversation

@WakkaFlocka239

Copy link
Copy Markdown

Added an essentials-esque /hat command

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

@Endpoint

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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