Skip to content

Commit

Permalink
Add 'player-teleport-delay' and 'pvp' options.
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodmc committed Sep 6, 2019
1 parent a42baef commit 2663329
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main/java/com/griefdefender/api/permission/option/Options.java
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ public final class Options {
*/
public static final Option<Tristate> PLAYER_KEEP_LEVEL = DummyObjectProvider.createFor(Option.class, "player-keep-level");

/**
* Used to determine the delay before teleporting a player to a new location.
*/
public static final Option<Integer> PLAYER_TELEPORT_DELAY = DummyObjectProvider.createFor(Option.class, "player-teleport-delay");

/**
* Used to set a player's walk speed in a {@link Claim}.<br>
*
Expand All @@ -284,4 +289,9 @@ public final class Options {
* </ul>
*/
public static final Option<WeatherType> PLAYER_WEATHER = DummyObjectProvider.createFor(Option.class, "player-weather");

/**
* Used to determine if a player can participate in player versus player combat.
*/
public static final Option<Tristate> PVP = DummyObjectProvider.createFor(Option.class, "pvp");
}

0 comments on commit 2663329

Please sign in to comment.