Skip to content

Commit

Permalink
Update docs for Skript 2.6-beta1 - round 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneBeee committed Jun 29, 2021
1 parent b101f5b commit b52fac7
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion classes.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion conditions.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"skriptVersion" : "2.6-alpha1-nightly-55a376b",
"skriptVersion" : "2.6-beta1",

"classes" : [
{
Expand Down Expand Up @@ -2904,7 +2904,7 @@ This may require that there is enough space above the given location and that th

"pattern_end"
],
"since" : "1.0 (break), <i>unknown</i> (mine), INSERT VERSION (BlockData support)",
"since" : "1.0 (break), <i>unknown</i> (mine), 2.6 (BlockData support)",
"description" : "Called when a block is broken by a player. If you use 'on mine', only events where the broken block dropped something will call the trigger.",
"examples" : "on mine:\\non break of stone:\\non mine of any ore:\\non break of chest[facing=north]:\\non break of potatoes[age=7]:"
},
Expand Down Expand Up @@ -2942,7 +2942,7 @@ This may require that there is enough space above the given location and that th

"pattern_end"
],
"since" : "1.0, INSERT VERSION (BlockData support)",
"since" : "1.0, 2.6 (BlockData support)",
"description" : "Called when a block is destroyed by fire.",
"examples" : "on burn:\\non burn of wood, fences, or chests:\\non burn of oak_log[axis=y]:"
},
Expand Down Expand Up @@ -3261,7 +3261,7 @@ This may require that there is enough space above the given location and that th

"pattern_end"
],
"since" : "1.0, INSERT VERSION (BlockData support)",
"since" : "1.0, 2.6 (BlockData support)",
"description" : "Called when a block 'fades away', e.g. ice or snow melts.",
"examples" : "on fade of snow or ice:\\non fade of snow[layers=2]"
},
Expand Down Expand Up @@ -3335,7 +3335,7 @@ This may require that there is enough space above the given location and that th

"pattern_end"
],
"since" : "1.0, INSERT VERSION (BlockData support)",
"since" : "1.0, 2.6 (BlockData support)",
"description" : "Called when a block is created, but not by a player, e.g. snow forms due to snowfall, water freezes in cold biomes. This isn't called when block spreads (mushroom growth, water physics etc.), as it has its own event (see <a href='#spread'>spread event</a>).",
"examples" : "on form of snow:\\non form of a mushroom:"
},
Expand Down Expand Up @@ -3747,7 +3747,7 @@ This may require that there is enough space above the given location and that th

"pattern_end"
],
"since" : "1.0, INSERT VERSION (BlockData support)",
"since" : "1.0, 2.6 (BlockData support)",
"description" : "Called when a player places a block.",
"examples" : "on place:\\non place of a furnace, workbench or chest:\\non break of chest[type=right] or chest[type=left]"
},
Expand Down Expand Up @@ -4686,7 +4686,7 @@ Can optionally include a direction as well, e.g. 'block above' or 'block in fron

"pattern_end"
],
"since" : "INSERT VERSION",
"since" : "2.6",
"description" : "Obtains the block's hardness level (also known as \"strength\"). This number is used to calculate the time required to break each block.",
"examples" : "set {_hard} to block hardness of target block\\nif block hardness of target block > 5:"
},
Expand Down
2 changes: 1 addition & 1 deletion effects.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion events.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion expressions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion functions.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=0.8, maximum-scale=1.0"> <title>Skript Documentation - 2.6-alpha1-nightly-55a376b</title> <link href="css/styles.css" rel="stylesheet"> </head> <body> <nav id="global-navigation"> <a href="index.html">Home</a> <a href="events.html">Events</a> <a href="conditions.html">Conditions</a> <a href="effects.html">Effects</a> <a href="expressions.html">Expressions</a> <a href="classes.html">Types</a> <a href="text.html">Text</a> <a href="functions.html">Functions</a> </nav> <nav id="side-nav"> <div id="nav-contents"> </div> </nav> <h1 id="nav-title">Documentation</h1> <div id="content"> <p> Skript is (surprise, surprise) a scripting plugin for Bukkit platform. It is easy to use for simple tasks, but yet you can create really complex things with it. The syntax of Skript is close to English, but it is still not magic. While for simple tasks you might succeed with experimentation, for anything more complex you will need some guidance. </p> <p> This is the Skript documentation. You will find all supported features of Skript plugin here. You might also find some useful examples, in case you need more than what was shipped with Skript distribution. We do not currently have tutorials here, but you can find good ones using whatever search engine you prefer. </p> <p class="box"> Found something incorrect in this documentation? Please report it to the <a href="https://github.com/SkriptLang/Skript/issues">issue tracker</a>. </p> <p class="box"> <strong>We are looking for docs authors!</strong> Currently, the only documentation is generated automatically. It would be nice to have some hand-written content such as tutorials on the docs as well. For example, currently we don't have a tutorial on how to use loops here; This makes it harder for newcomers to learn. Check <a href="https://github.com/SkriptLang/Skript/issues/611">this issue</a> for more details and if you're interested in helping out. </p> </div> </body> </html>
<!doctype html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=0.8, maximum-scale=1.0"> <title>Skript Documentation - 2.6-beta1</title> <link href="css/styles.css" rel="stylesheet"> </head> <body> <nav id="global-navigation"> <a href="index.html">Home</a> <a href="events.html">Events</a> <a href="conditions.html">Conditions</a> <a href="effects.html">Effects</a> <a href="expressions.html">Expressions</a> <a href="classes.html">Types</a> <a href="text.html">Text</a> <a href="functions.html">Functions</a> </nav> <nav id="side-nav"> <div id="nav-contents"> </div> </nav> <h1 id="nav-title">Documentation</h1> <div id="content"> <p> Skript is (surprise, surprise) a scripting plugin for Bukkit platform. It is easy to use for simple tasks, but yet you can create really complex things with it. The syntax of Skript is close to English, but it is still not magic. While for simple tasks you might succeed with experimentation, for anything more complex you will need some guidance. </p> <p> This is the Skript documentation. You will find all supported features of Skript plugin here. You might also find some useful examples, in case you need more than what was shipped with Skript distribution. We do not currently have tutorials here, but you can find good ones using whatever search engine you prefer. </p> <p class="box"> Found something incorrect in this documentation? Please report it to the <a href="https://github.com/SkriptLang/Skript/issues">issue tracker</a>. </p> <p class="box"> <strong>We are looking for docs authors!</strong> Currently, the only documentation is generated automatically. It would be nice to have some hand-written content such as tutorials on the docs as well. For example, currently we don't have a tutorial on how to use loops here; This makes it harder for newcomers to learn. Check <a href="https://github.com/SkriptLang/Skript/issues/611">this issue</a> for more details and if you're interested in helping out. </p> </div> </body> </html>
Loading

0 comments on commit b52fac7

Please sign in to comment.