Skip to content

Commit

Permalink
Update release docs to 2.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Release Docs Bot committed Apr 1, 2024
1 parent 26fd09f commit b9740b1
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 27 deletions.
2 changes: 1 addition & 1 deletion docs/classes.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/conditions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/docs.html

Large diffs are not rendered by default.

29 changes: 15 additions & 14 deletions docs/docs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"skriptVersion" : "2.8.2",
"skriptVersion" : "2.8.4",

"classes" : [
{
Expand Down Expand Up @@ -108,7 +108,7 @@
],
"since" : "Unknown",
"description" : "Wool, dye and chat colors.",
"examples" : "color of the sheep is red or black\\nset the color of the block to green\\nmessage \"You're holding a <%color of tool%>%color of tool%<reset> wool block\""
"examples" : "color of the sheep is red or black\\nset the color of the block to green\\nmessage \"You're holding a <%color of tool%>%color of tool%<reset> wool block\""
},
{
"id" : "commandsender",
Expand All @@ -121,7 +121,7 @@
],
"since" : "1.0",
"description" : "A player or the console.",
"examples" : "command /push [<player>]:\\n trigger:\\n if arg-1 is not set:\\n if command sender is console:\\n send \"You can't push yourself as a console :\\\" to sender\\n stop\\n push sender upwards with force 2\\n send \"Yay!\"\\n else:\\n push arg-1 upwards with force 2\\n send \"Yay!\" to sender and arg-1"
"examples" : "command /push [<player>]:\\n trigger:\\n if arg-1 is not set:\\n if command sender is console:\\n send \"You can't push yourself as a console :\\\" to sender\\n stop\\n push sender upwards with force 2\\n send \"Yay!\"\\n else:\\n push arg-1 upwards with force 2\\n send \"Yay!\" to sender and arg-1"
},
{
"id" : "damagecause",
Expand Down Expand Up @@ -517,7 +517,7 @@
],
"since" : "1.0",
"description" : "A player. Depending on whether a player is online or offline several actions can be performed with them, though you won't get any errors when using effects that only work if the player is online (e.g. changing their inventory) on an offline player.\\nYou have two possibilities to use players as command arguments: <player> and <offline player>. The first requires that the player is online and also accepts only part of the name, while the latter doesn't require that the player is online, but the player's name has to be entered exactly.",
"examples" : "set {_p} to \"Notch\" parsed as a player # returns <none> unless Notch is actually online or starts with Notch like Notchan\\nset {_p} to \"N\" parsed as a player # returns Notch if Notch is online because their name starts with 'N' (case insensitive) however, it would return nothing if no player whose name starts with 'N' is online."
"examples" : "set {_p} to \"Notch\" parsed as a player # returns <none> unless Notch is actually online or starts with Notch like Notchan\\nset {_p} to \"N\" parsed as a player # returns Notch if Notch is online because their name starts with 'N' (case insensitive) however, it would return nothing if no player whose name starts with 'N' is online."
},
{
"id" : "potioneffect",
Expand Down Expand Up @@ -3547,7 +3547,7 @@ Do note that other event values, such as 'player', won't work in this section.",
],
"since" : "1.4.1",
"description" : "Called whenever a player chats.\\nUse <a href='./expressions.html#ExprChatFormat'>chat format</a> to change message format.\\nUse <a href='./expressions.html#ExprChatRecipients'>chat recipients</a> to edit chat recipients.",
"examples" : "on chat:\\n if player has permission \"owner\":\\n set chat format to \"&amp;lt;red&amp;gt;[player]&amp;lt;light gray&amp;gt;: &amp;lt;light red&amp;gt;[message]\"\\n else if player has permission \"admin\":\\n set chat format to \"&amp;lt;light red&amp;gt;[player]&amp;lt;light gray&amp;gt;: &amp;lt;orange&amp;gt;[message]\"\\n else: #default message format\\n set chat format to \"&amp;lt;orange&amp;gt;[player]&amp;lt;light gray&amp;gt;: &amp;lt;white&amp;gt;[message]\""
"examples" : "on chat:\\n if player has permission \"owner\":\\n set chat format to \"&amp;amp;amp;amp;amp;lt;red&amp;amp;amp;amp;amp;gt;[player]&amp;amp;amp;amp;amp;lt;light gray&amp;amp;amp;amp;amp;gt;: &amp;amp;amp;amp;amp;lt;light red&amp;amp;amp;amp;amp;gt;[message]\"\\n else if player has permission \"admin\":\\n set chat format to \"&amp;amp;amp;amp;amp;lt;light red&amp;amp;amp;amp;amp;gt;[player]&amp;amp;amp;amp;amp;lt;light gray&amp;amp;amp;amp;amp;gt;: &amp;amp;amp;amp;amp;lt;orange&amp;amp;amp;amp;amp;gt;[message]\"\\n else: #default message format\\n set chat format to \"&amp;amp;amp;amp;amp;lt;orange&amp;amp;amp;amp;amp;gt;[player]&amp;amp;amp;amp;amp;lt;light gray&amp;amp;amp;amp;amp;gt;: &amp;amp;amp;amp;amp;lt;white&amp;amp;amp;amp;amp;gt;[message]\""
},
{
"id" : "chunk_generate",
Expand Down Expand Up @@ -4121,6 +4121,7 @@ Do note that other event values, such as 'player', won't work in this section.",
"name" : "On Inventory Item Move",
"patterns" : [
"[on] inventory item (move|transport)",
"[on] inventory (mov(e|ing)|transport[ing]) [an] item",

"pattern_end"
],
Expand Down Expand Up @@ -4444,7 +4445,7 @@ Do note that other event values, such as 'player', won't work in this section.",
],
"since" : "2.7",
"description" : "Called when a player enters a chunk. Note that this event is based on 'player move' event, and may be called frequent internally.",
"examples" : "on player enters a chunk:\\n send \"You entered a chunk: %past event-chunk% -&gt; %event-chunk%!\" to player"
"examples" : "on player enters a chunk:\\n send \"You entered a chunk: %past event-chunk% -&amp;amp;amp;amp;gt; %event-chunk%!\" to player"
},
{
"id" : "player_deep_sleep",
Expand Down Expand Up @@ -4764,7 +4765,7 @@ Do note that other event values, such as 'player', won't work in this section.",
],
"since" : "1.0",
"description" : "As signs are placed empty, this event is called when a player is done editing a sign.",
"examples" : "on sign change:\\n line 2 is empty\\n set line 1 to \"&amp;lt;red&amp;gt;%line 1%\""
"examples" : "on sign change:\\n line 2 is empty\\n set line 1 to \"&amp;amp;amp;amp;amp;lt;red&amp;amp;amp;amp;amp;gt;%line 1%\""
},
{
"id" : "slime_split",
Expand Down Expand Up @@ -5363,7 +5364,7 @@ The default value of max cost set by vanilla Minecraft is 40.",
],
"since" : "2.7",
"description" : "An expression to get the name to be applied to an item in an anvil inventory.",
"examples" : "on inventory click:\\n type of event-inventory is anvil inventory\\n if the anvil input text of the event-inventory is \"FREE OP\":\\n ban player"
"examples" : "on inventory click:\\n type of event-inventory is anvil inventory\\n if the anvil text input of the event-inventory is \"FREE OP\":\\n ban player"
},
{
"id" : "ExprAppliedEnchantments",
Expand Down Expand Up @@ -6928,7 +6929,7 @@ Otherwise, this expression will just return the unsorted indices.",
],
"since" : "2.8.0",
"description" : "Returns the initiator inventory in an on <a href=\"./events.html?search=#inventory_item_move\">inventory item move</a> event.",
"examples" : "on inventory item move:\\n holder of event-initiator-inventory is a chest\\n broadcast \"Item transport requested at %location at holder of event-initiator-inventory%...\""
"examples" : "on inventory item move:\\n holder of event-initiator-inventory is a chest\\n broadcast \"Item transport happening at %location at holder of event-initiator-inventory%!\""
},
{
"id" : "ExprInventory",
Expand Down Expand Up @@ -8185,7 +8186,7 @@ This can be set in a <a href='events.html#server_list_ping'>server list ping</a>
"id" : "ExprRandomCharacter",
"name" : "Random Character",
"patterns" : [
"[a|%<a href='./classes.html#number'>number</a>%] random [alphanumeric] character[s] (from|between) %<a href='./classes.html#string'>text</a>% (to|and) %<a href='./classes.html#string'>text</a>%",
"[a|%integer%] random [alphanumeric] character[s] (from|between) %<a href='./classes.html#string'>text</a>% (to|and) %<a href='./classes.html#string'>text</a>%",

"pattern_end"
],
Expand Down Expand Up @@ -9589,7 +9590,7 @@ The return value in this case will be the view distance set in system.properties
],
"since" : "2.2",
"description" : "Creates a location from a world and 3 coordinates, with an optional yaw and pitch.\\nIf for whatever reason the world is not found, it will fallback to the server's main world.",
"examples" : "location(0, 128, 0)\\nlocation(player's x-coordinate, player's y-coordinate + 5, player's z-coordinate, player's world, 0, 90)\\nlocation(0, 64, 0, world \"world_nether\")\\nlocation(100, 110, -145, world(\"my_custom_world\"))"
"examples" : "# TELEPORTING\\nteleport player to location(1,1,1, world \"world\")\\nteleport player to location(1,1,1, world \"world\", 100, 0)\\nteleport player to location(1,1,1, world \"world\", yaw of player, pitch of player)\\nteleport player to location(1,1,1, world of player)\\nteleport player to location(1,1,1, world(\"world\"))\\nteleport player to location({_x}, {_y}, {_z}, {_w}, {_yaw}, {_pitch})\\n# SETTING BLOCKS\\nset block at location(1,1,1, world \"world\") to stone\\nset block at location(1,1,1, world \"world\", 100, 0) to stone\\nset block at location(1,1,1, world of player) to stone\\nset block at location(1,1,1, world(\"world\")) to stone\\nset block at location({_x}, {_y}, {_z}, {_w}) to stone\\n# USING VARIABLES\\nset {_l1} to location(1,1,1)\\nset {_l2} to location(10,10,10)\\nset blocks within {_l1} and {_l2} to stone\\nif player is within {_l1} and {_l2}:\\n# OTHER\\nkill all entities in radius 50 around location(1,65,1, world \"world\")\\ndelete all entities in radius 25 around location(50,50,50, world \"world_nether\")\\nignite all entities in radius 25 around location(1,1,1, world of player)"
},
{
"id" : "log",
Expand Down Expand Up @@ -9643,7 +9644,7 @@ The return value in this case will be the view distance set in system.properties
"id" : "offlineplayer",
"name" : "offlineplayer",
"patterns" : [
"offlineplayer(nameoruuid: string)",
"offlineplayer(nameOrUUID: string)",

"pattern_end"
],
Expand All @@ -9655,13 +9656,13 @@ The return value in this case will be the view distance set in system.properties
"id" : "player",
"name" : "player",
"patterns" : [
"player(nameoruuid: string, getexactplayer: boolean = [[boolean:false]])",
"player(nameOrUUID: string, getExactPlayer: boolean = [[boolean:false]])",

"pattern_end"
],
"since" : "2.8.0",
"description" : "Returns an online player from their name or UUID, if player is offline function will return nothing.\\nSetting 'getExactPlayer' parameter to true will return the player whose name is exactly equal to the provided name instead of returning a player that their name starts with the provided name.",
"examples" : "set {_p} to player(\"Notch\") # will return an online player whose name is or starts with 'Notch'\\nset {_p} to player(\"Notch\", true) # will return the only online player whose name is 'Notch'\\nset {_p} to player(\"069a79f4-44e9-4726-a5be-fca90e38aaf5\") # &amp;amp;lt;none&amp;amp;gt; if player is offline"
"examples" : "set {_p} to player(\"Notch\") # will return an online player whose name is or starts with 'Notch'\\nset {_p} to player(\"Notch\", true) # will return the only online player whose name is 'Notch'\\nset {_p} to player(\"069a79f4-44e9-4726-a5be-fca90e38aaf5\") # &amp;amp;amp;amp;lt;none&amp;amp;amp;amp;gt; if player is offline"
},
{
"id" : "product",
Expand Down
2 changes: 1 addition & 1 deletion docs/effects.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/events.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/expressions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/functions.html

Large diffs are not rendered by default.

Loading

0 comments on commit b9740b1

Please sign in to comment.