Skip to content

Commit

Permalink
Prepare for release of 2.5.2 (#3581)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneBeee authored Nov 28, 2020
1 parent cfd10ec commit 7f1d0d2
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
groupid=ch.njol
name=skript
version=2.5.1
version=2.5.2
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ public String getVariableNamePattern() {
.name("Potion Effect")
.description("A potion effect, including the potion effect type, tier and duration.")
.usage("speed of tier 1 for 10 seconds")
.since("INSERT VERSION")
.since("2.5.2")
.parser(new Parser<PotionEffect>() {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"\tif event-block is interactable:",
"\t\tcancel event",
"\t\tsend \"You cannot break interactable blocks!\""})
@Since("INSERT VERSION")
@Since("2.5.2")
@RequiredPlugins("Minecraft 1.13+")
public class CondIsInteractable extends PropertyCondition<ItemType> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@Name("Is Whitelisted")
@Description("Whether or not the server or a player is whitelisted.")
@Examples({"if server is whitelisted:", "if player is whitelisted"})
@Since("INSERT VERSION")
@Since("2.5.2")
public class CondIsWhitelisted extends Condition {

static {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/conditions/CondMatches.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"\t\tsend \"Message contains a digit!\"",
"\tif message doesn't match \"[A-Za-z]+\":",
"\t\tsend \"Message doesn't only contain letters!\""})
@Since("INSERT VERSION")
@Since("2.5.2")
public class CondMatches extends Condition {

static {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/effects/EffMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"\tcancel event",
"\tsend \"[%player%] >> %message%\" to all players from player"})
@RequiredPlugins("Minecraft 1.16.4+ for optional sender")
@Since("1.0, 2.2-dev26 (advanced features), INSERT VERSION (optional sender)")
@Since("1.0, 2.2-dev26 (advanced features), 2.5.2 (optional sender)")
public class EffMessage extends Effect {

private static final boolean SUPPORTS_SENDER = Skript.classExists("org.bukkit.command.CommandSender$Spigot") &&
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/effects/EffPotion.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"on join:",
"\tapply potion of strength of tier {strength.%player%} to the player for 999 days",
"apply potion effects of player's tool to player"})
@Since("2.0, 2.2-dev27 (ambient and particle-less potion effects), 2.5 (replacing existing effect), INSERT VERSION (potion effects)")
@Since("2.0, 2.2-dev27 (ambient and particle-less potion effects), 2.5 (replacing existing effect), 2.5.2 (potion effects)")
public class EffPotion extends Effect {
static {
Skript.registerEffect(EffPotion.class,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class EvtEntityBlockChange extends SkriptEvent {
"on falling block land:",
"\tif event-entity is a falling dirt:",
"\t\tcancel event")
.since("<i>unknown</i>, INSERT VERSION (falling block)");
.since("<i>unknown</i>, 2.5.2 (falling block)");
}

static final ItemType monsterEgg = Aliases.javaItemType("any spawn egg");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"set block at player to {data}",
"set block data of target block to oak_stairs[facing=south;waterlogged=true]"})
@RequiredPlugins("Minecraft 1.13+")
@Since("2.5, INSERT VERSION (set)")
@Since("2.5, 2.5.2 (set)")
public class ExprBlockData extends SimplePropertyExpression<Block, BlockData> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
+ "For item frames, the item inside the frame is returned. For throwable projectiles (snowballs, enderpearls etc.),"
+ "it gets the displayed item. Other entities do not have items associated with them.")
@Examples("")
@Since("2.2-dev35, 2.2-dev36 (improved), INSERT VERSION (throwable projectiles)")
@Since("2.2-dev35, 2.2-dev36 (improved), 2.5.2 (throwable projectiles)")
@RequiredPlugins("Minecraft 1.15.2+ (throwable projectiles)")
public class ExprItemFrameSlot extends SimplePropertyExpression<Entity, Slot> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
@Description("Joins several texts with a common delimiter (e.g. \", \"), or splits a text into multiple texts at a given delimiter.")
@Examples({"message \"Online players: %join all players with \"\" | \"\"%\" # %all players% would use the default \"x, y, and z\"",
"set {_s::*} to the string argument split at \",\""})
@Since("2.1, INSERT VERSION (regex support)")
@Since("2.1, 2.5.2 (regex support)")
public class ExprJoinSplit extends SimpleExpression<String> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"add {_p} to potion effects of player's tool",
"add {_p} to potion effects of target entity",
"add potion effect of speed 1 to potion effects of player"})
@Since("INSERT VERSION")
@Since("2.5.2")
public class ExprPotionEffect extends SimpleExpression<PotionEffect> {
static {
Skript.registerExpression(ExprPotionEffect.class, PotionEffect.class, ExpressionType.COMBINED,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"add potion effects of player to potion effects of player's tool",
"add speed to potion effects of target entity",
"remove speed and night vision from potion effects of player"})
@Since("INSERT VERSION")
@Since("2.5.2")
public class ExprPotionEffects extends SimpleExpression<PotionEffect> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"message \"%subtext of {_s} from characters 2 to (the length of {_s} - 1)%\" # removes the first and last character from {_s} and sends it to the player or console",
"set {_characters::*} to characters at 1, 2 and 7 in player's display name",
"send the last character of all players' names"})
@Since("2.1, INSERT VERSION (character at, multiple strings support)")
@Since("2.1, 2.5.2 (character at, multiple strings support)")
public class ExprSubstring extends SimpleExpression<String> {
static {
Skript.registerExpression(ExprSubstring.class, String.class, ExpressionType.COMBINED,
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/expressions/ExprTypeOf.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"Types of potion effects are potion effect types."})
@Examples({"on rightclick on an entity:",
" message \"This is a %type of clicked entity%!\""})
@Since("1.4, INSERT VERSION (potion effect)")
@Since("1.4, 2.5.2 (potion effect)")
public class ExprTypeOf extends SimplePropertyExpression<Object, Object> {
static {
register(ExprTypeOf.class, Object.class, "type", "entitydatas/itemtypes/inventories/potioneffects");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
@Examples({"set whitelist to false",
"add all players to whitelist",
"reset the whitelist"})
@Since("INSERT VERSION")
@Since("2.5.2")
public class ExprWhitelist extends SimpleExpression<OfflinePlayer> {

static {
Expand Down

0 comments on commit 7f1d0d2

Please sign in to comment.