You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/nightly/enhancement/permission-changer/docs.json
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
{
2
-
"skriptVersion" : "2.9.1-nightly-9347c75",
2
+
"skriptVersion" : "2.9.1-nightly-9af3d79",
3
3
4
4
"classes" : [
5
5
{
@@ -108,7 +108,7 @@
108
108
],
109
109
"since" : "Unknown",
110
110
"description" : "Wool, dye and chat colors.",
111
-
"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\""
111
+
"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\""
112
112
},
113
113
{
114
114
"id" : "commandsender",
@@ -121,7 +121,7 @@
121
121
],
122
122
"since" : "1.0",
123
123
"description" : "A player or the console.",
124
-
"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"
124
+
"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"
125
125
},
126
126
{
127
127
"id" : "damagecause",
@@ -517,7 +517,7 @@
517
517
],
518
518
"since" : "1.0",
519
519
"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.",
520
-
"examples" : "set {_p} to \"Notch\" parsed as a player # returns &amp;amp;amp;amp;amp;amp;amp;amp;lt;none&amp;amp;amp;amp;amp;amp;amp;amp;gt; 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."
520
+
"examples" : "set {_p} to \"Notch\" parsed as a player # returns &lt;none&gt; 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."
521
521
},
522
522
{
523
523
"id" : "potioneffect",
@@ -3612,7 +3612,7 @@ Do note that other event values, such as 'player', won't work in this section.",
3612
3612
],
3613
3613
"since" : "2.9.0",
3614
3614
"description" : "Called when a bell resonates, highlighting nearby raiders.",
3615
-
"examples" : "on bell resonate:\\n send \"&amp;amp;amp;lt;red&amp;amp;amp;gt;Raiders are nearby!\" to all players in radius 32 around event-block"
3615
+
"examples" : "on bell resonate:\\n send \"<red>Raiders are nearby!\" to all players in radius 32 around event-block"
3616
3616
},
3617
3617
{
3618
3618
"id" : "bell_ring",
@@ -3624,7 +3624,7 @@ Do note that other event values, such as 'player', won't work in this section.",
3624
3624
],
3625
3625
"since" : "2.9.0",
3626
3626
"description" : "Called when a bell is rung.",
3627
-
"examples" : "on bell ring:\\n send \"&amp;amp;amp;lt;gold&amp;amp;amp;gt;Ding-dong!&amp;amp;amp;lt;reset&amp;amp;amp;gt;\" to all players in radius 10 of event-block"
3627
+
"examples" : "on bell ring:\\n send \"<gold>Ding-dong!<reset>\" to all players in radius 10 of event-block"
3628
3628
},
3629
3629
{
3630
3630
"id" : "block_damage",
@@ -3758,7 +3758,7 @@ Do note that other event values, such as 'player', won't work in this section.",
3758
3758
],
3759
3759
"since" : "1.4.1",
3760
3760
"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.",
3761
-
"examples" : "on chat:\\n if player has permission \"owner\":\\n set chat format to \"&amp;amp;amp;amp;lt;red&amp;amp;amp;amp;gt;[player]&amp;amp;amp;amp;lt;light gray&amp;amp;amp;amp;gt;: &amp;amp;amp;amp;lt;light red&amp;amp;amp;amp;gt;[message]\"\\n else if player has permission \"admin\":\\n set chat format to \"&amp;amp;amp;amp;lt;light red&amp;amp;amp;amp;gt;[player]&amp;amp;amp;amp;lt;light gray&amp;amp;amp;amp;gt;: &amp;amp;amp;amp;lt;orange&amp;amp;amp;amp;gt;[message]\"\\n else: #default message format\\n set chat format to \"&amp;amp;amp;amp;lt;orange&amp;amp;amp;amp;gt;[player]&amp;amp;amp;amp;lt;light gray&amp;amp;amp;amp;gt;: &amp;amp;amp;amp;lt;white&amp;amp;amp;amp;gt;[message]\""
3761
+
"examples" : "on chat:\\n if player has permission \"owner\":\\n set chat format to \"&lt;red&gt;[player]&lt;light gray&gt;: &lt;light red&gt;[message]\"\\n else if player has permission \"admin\":\\n set chat format to \"&lt;light red&gt;[player]&lt;light gray&gt;: &lt;orange&gt;[message]\"\\n else: #default message format\\n set chat format to \"&lt;orange&gt;[player]&lt;light gray&gt;: &lt;white&gt;[message]\""
3762
3762
},
3763
3763
{
3764
3764
"id" : "chunk_generate",
@@ -4669,7 +4669,7 @@ Do note that other event values, such as 'player', won't work in this section.",
4669
4669
],
4670
4670
"since" : "2.7",
4671
4671
"description" : "Called when a player enters a chunk. Note that this event is based on 'player move' event, and may be called frequent internally.",
4672
-
"examples" : "on player enters a chunk:\\n send \"You entered a chunk: %past event-chunk% -&amp;amp;amp;gt; %event-chunk%!\" to player"
4672
+
"examples" : "on player enters a chunk:\\n send \"You entered a chunk: %past event-chunk% -> %event-chunk%!\" to player"
4673
4673
},
4674
4674
{
4675
4675
"id" : "player_deep_sleep",
@@ -4989,7 +4989,7 @@ Do note that other event values, such as 'player', won't work in this section.",
4989
4989
],
4990
4990
"since" : "1.0",
4991
4991
"description" : "As signs are placed empty, this event is called when a player is done editing a sign.",
4992
-
"examples" : "on sign change:\\n line 2 is empty\\n set line 1 to \"&amp;amp;amp;amp;lt;red&amp;amp;amp;amp;gt;%line 1%\""
4992
+
"examples" : "on sign change:\\n line 2 is empty\\n set line 1 to \"&lt;red&gt;%line 1%\""
4993
4993
},
4994
4994
{
4995
4995
"id" : "slime_split",
@@ -8190,7 +8190,7 @@ See also: <a href='#ExprVehicle'>vehicle</a>",
@@ -10004,7 +10004,7 @@ Only Paper 1.19+ users may directly change the yaw/pitch of players.",
10004
10004
],
10005
10005
"since" : "2.8.0",
10006
10006
"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.",
10007
-
"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;lt;none&amp;amp;amp;gt; if player is offline"
10007
+
"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\") # <none> if player is offline"
0 commit comments