Skip to content

Commit

Permalink
Added Readme; Fixed permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Staz.IO committed Dec 17, 2017
1 parent 0ab63d9 commit 8bd532c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions README.md
@@ -0,0 +1,21 @@
Seats - A fun [Sponge](https://spongepowered.org) plugin
==

Seats is a fun plugin allowing players to sit wherever they felt like.

Commands
=
```$xslt
/sit [player] --force
```
The following commands sits the player.
If you do not include the tagret player, you will be sat.
the --force tag will not allow the targeted player to stand until the command is ran again.

Permissions
==
```$xslt
seats.sit.self - Use the /sit command
seats.sit.others - Allows you to sit others.
seats.sit.force - Allows you to use the --force flag.
```
2 changes: 1 addition & 1 deletion src/main/java/io/staz/sponge/seats/SeatsPlugin.java
Expand Up @@ -46,7 +46,7 @@ public void preInit(GamePreInitializationEvent event) {
playerChairs.put(player.getUniqueId(), chair);
}
return CommandResult.builder().affectedEntities(2).affectedBlocks(1).build();
}).permission("seats.sit").
}).permission("seats.sit.self").
description(Text.of("Allows a player to sit wherever they are standing.")).
arguments(GenericArguments.flags().
flag("force").
Expand Down

0 comments on commit 8bd532c

Please sign in to comment.