Skip to content

Commit

Permalink
fixes version naming (oops)
Browse files Browse the repository at this point in the history
  • Loading branch information
EquipableMC committed Aug 10, 2024
1 parent 1ccbb3d commit 50cad27
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@Name("Cond Afk Players")
@Description("This is used to check a player's afk status.\n True = They are afk, False = they are not afk.")
@Examples({"if afk mode of player is true:"})
@Since("INSERT VERSION")
@Since("1.0.0")
public class CondAfkPlayers extends PropertyCondition {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@Name("AFK Status Change")
@Description("Set the player's AFK status.")
@Examples({"mark player as idle"})
@Since("INSERT VERSION")
@Since("1.0.0")
public class EffAfkStatus extends Effect {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@Name("God Player")
@Description("God or ungod a player.")
@Examples({"god player"})
@Since("INSERT VERSION")
@Since("1.0.0")
public class EffGod extends Effect {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@Name("Vanish Player")
@Description("Vanish or unvanish a player.")
@Examples({"vanish player"})
@Since("INSERT VERSION")
@Since("1.0.0")
public class EffVanish extends Effect {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class EvtAfkStatusChange extends SimpleEvent {
Skript.registerEvent("Essentials Player AFK Status Change", EvtAfkStatusChange.class, AfkStatusChangeEvent.class, "[essentials[x]] [player] (afk|away from keyboard|idle) (status change|toggle)")
.description("Fired when a player's AFK status changes:")
.examples("on AFK status change:")
.since("INSERT VERSION");
.since("1.0.0");
EventValues.registerEventValue(AfkStatusChangeEvent.class, Cause.class, new Getter<Cause, AfkStatusChangeEvent>() {
@Override
public @Nullable Cause get(AfkStatusChangeEvent afkStatusChangeEvent) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class EvtBalanceChange extends SkriptEvent {
Skript.registerEvent("Essentials Player Balance Change", EvtBalanceChange.class, UserBalanceUpdateEvent.class, "[essentials|essentialsx] [player] (bal|balance) change")
.description("Fired when a player's balance changes with Essentials.")
.examples("on player balance change:")
.since("INSERT VERSION");
.since("1.0.0");
EventValues.registerEventValue(UserBalanceUpdateEvent.class, Number.class, new Getter<Number, UserBalanceUpdateEvent>() {
public @NotNull Number get(final UserBalanceUpdateEvent event) {
if (event != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@Name("All AFK Players")
@Description("Returns the name of all players who are afk.")
@Examples({"send \"%afk mode of all players%\""})
@Since("INSERT VERSION")
@Since("1.0.0")
public class ExprAfkPlayers extends SimplePropertyExpression<Player, Player> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@Name("Afk players")
@Description("All players that are currently Afk.")
@Examples({"send \"Size of all afk players: %size of all afk players%\""})
@Since("INSERT VERSION")
@Since("1.0.0")
public class ExprSizeAfkPlayers extends SimpleExpression<Integer> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@Name("Vanished players")
@Description("All players that are currently in vanish.")
@Examples({"send \"Size of all vanished players: %size of all vanished players%\""})
@Since("INSERT VERSION")
@Since("1.0.0")
public class ExprSizeVanishedPlayers extends SimpleExpression<Integer> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@Name("All Vanished Players")
@Description("Returns the name of all players who are vanished")
@Examples({"send \"%vanished state of all players%\""})
@Since("INSERT VERSION")
@Since("1.0.0")
public class ExprVanishedPlayers extends SimplePropertyExpression<Player, Player> {

static {
Expand Down

0 comments on commit 50cad27

Please sign in to comment.