Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 2.8.4 #1

Merged
merged 637 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
637 commits
Select commit Hold shift + click to select a range
aa2e8f2
🚀 Add Teleport Cause EXIT_BED (#5887)
AyhamAl-Ali Aug 7, 2023
c0c13e5
[2.7] 🚀 Add Teleport Cause EXIT_BED (#5888)
AyhamAl-Ali Aug 7, 2023
6fdafdc
Address Variable Loading Changes (#5892)
APickledWalrus Aug 8, 2023
2cbbf6c
[2.7] Address Variable Loading Changes (#5897)
AyhamAl-Ali Aug 9, 2023
0590c6a
Fix and add chat format to books (#5863)
TheLimeGlass Aug 10, 2023
370893e
Add support for keybind components (#5894)
UnderscoreTud Aug 14, 2023
2968954
[2.7.0 target] Enhancement/books 5863 (#5899)
TheLimeGlass Aug 14, 2023
cdfbb91
Explain luck perms group (#5817)
TheLimeGlass Aug 16, 2023
7f38b86
Disable Timings for 1.19.4+ (#5917)
sovdeeth Aug 19, 2023
639bcf7
Fix issue where mixing different types of conditionals sometimes isn'…
Pikachu920 Aug 19, 2023
d6cabe1
[2.7.0 target] Disable Timings for 1.19.4+ 5917 (#5926)
sovdeeth Aug 20, 2023
aa9f7bf
🛠 Fix Duplicated Spaces in StructCommand (#5416)
AyhamAl-Ali Aug 21, 2023
7b0bfce
🚀 Add `player(nameOrUUID: string, getExactPlayer: boolean)` function …
AyhamAl-Ali Aug 21, 2023
2d33094
Add the ability to execute as a bungeecord command (#5811)
TheLimeGlass Aug 21, 2023
129d6d2
Bump org.gradle.toolchains.foojay-resolver-convention from 0.6.0 to 0…
dependabot[bot] Aug 22, 2023
f32ac2c
[2.7.0 target] Fix issue where mixing different types of conditionals…
TheLimeGlass Aug 22, 2023
ac9c633
⚒ Fix enchanting multiple items (#5927)
AyhamAl-Ali Aug 23, 2023
e6a94ed
🚀 Add `inventory close reasons` (#5680)
AyhamAl-Ali Aug 25, 2023
f4b7b06
⚒ [2.7] Fix enchanting multiple items (#5934)
AyhamAl-Ali Aug 26, 2023
58e6707
Add defending for simple property expressions (#5874)
TheLimeGlass Aug 27, 2023
34a36cc
Adds ExprPercent (#5949)
sovdeeth Aug 29, 2023
2147b8b
Added "apply bone meal" effect. (#5898)
nylhus Aug 29, 2023
f8a3131
New Expression: Free / Max / Total Memory (#5636)
NotSoDelayed Aug 29, 2023
91a6e9f
🚀 Add inventory raw slot expression (#4593)
AyhamAl-Ali Aug 29, 2023
8ea6714
EvtPlayerChunkEnter - Fix Docs (#5629)
NotSoDelayed Aug 29, 2023
27106e2
Change ExprTarget to use raytracing (#5947)
TheLimeGlass Aug 29, 2023
f2e9a41
🛠 [2.7] Fix Duplicated Spaces in StructCommand (#5416) (#5929)
AyhamAl-Ali Aug 29, 2023
276a191
SimpleEntityData - Display should be super entity (#5886)
ShaneBeee Aug 31, 2023
2a9cc6f
Finish
NotSoDelayed Sep 1, 2023
dd838d1
Clean up
NotSoDelayed Sep 1, 2023
1ddefd9
Merge branch 'master' into feature/event-player-rotate
NotSoDelayed Sep 1, 2023
6ed6889
Clean up
NotSoDelayed Sep 1, 2023
7d2b6f0
Improve pattern
NotSoDelayed Sep 1, 2023
c3da232
Revamped this class for the new features
NotSoDelayed Sep 2, 2023
6e830c6
Requested changes + minor cleanup
NotSoDelayed Sep 3, 2023
ab86018
Merge branch 'SkriptLang:master' into feature/event-player-rotate
NotSoDelayed Sep 3, 2023
72fdcda
Documentation actions improvements (#5735)
Pikachu920 Sep 4, 2023
3a1a59c
Bump actions/checkout from 3 to 4 (#5969)
dependabot[bot] Sep 5, 2023
5ae1ba1
Add infinite and icon to potion effects (#5777)
TheLimeGlass Sep 7, 2023
76db944
Structure API Finalization (#5669)
APickledWalrus Sep 7, 2023
a069103
Add decrease to EffChange (#5976)
Fusezion Sep 8, 2023
9c82fed
Fixes an exception from being thrown on async events (#5699)
TheLimeGlass Sep 9, 2023
49d5620
🍒 [2.7] Add infinite and icon to potion effects (#5982)
AyhamAl-Ali Sep 9, 2023
7148bf2
🍒 [2.7] Structure API Finalization (#5669) (#5981)
AyhamAl-Ali Sep 9, 2023
3f08853
🍒 [2.7] Fixes an exception from being thrown on async events (#5980)
AyhamAl-Ali Sep 9, 2023
0ea98d4
EffPotion - fix potion duration issue (#5992)
ShaneBeee Sep 11, 2023
b722cc3
Rename Slot classinfo name to Slot (#6001)
MihirKohli Sep 13, 2023
869a5de
🛠 Fix keep inv/exp and other bugs related to death event (#5658)
AyhamAl-Ali Sep 14, 2023
bd134d0
Fix event-item not being present in book sign (#5877)
TheLimeGlass Sep 15, 2023
7a2c113
⚒ [2.7] EffPotion - fix potion duration issue (#5997)
AyhamAl-Ali Sep 15, 2023
264b36e
🛠 [2.7] Fix keep inv/exp and other bugs related to death event (#5658…
AyhamAl-Ali Sep 15, 2023
7c81d22
Fix book sign event item (#6004)
TheLimeGlass Sep 15, 2023
f70d005
Merge branch 'dev/patch' into dev/feature
Moderocky Sep 16, 2023
cd731f1
⚒️ Add `NoDoc` annotation to test elements (#6006)
AyhamAl-Ali Sep 17, 2023
27e2077
Bump org.easymock:easymock from 5.1.0 to 5.2.0 (#5970)
dependabot[bot] Sep 17, 2023
07cc9d6
Add GitHub's gradle wrapper checker for security (#6002)
TheLimeGlass Sep 17, 2023
d4c0a68
Fix ExprRandomNumber using a method from Java 17 (#6022)
UnderscoreTud Sep 17, 2023
e048068
Fix changing remaining time of command cooldown (#6021)
sovdeeth Sep 17, 2023
5b59105
Fix NPE with invalid attributes and clean up ExprEntityAttribute (#5978)
sovdeeth Sep 17, 2023
4b78e98
Bump version to 2.7.1 (#5993)
TheLimeGlass Sep 17, 2023
66b08b8
Fix cast throwing if existing variable for command storage exists (#5…
TheLimeGlass Sep 17, 2023
3dfc252
Allow and with for the title effect (#6010)
TheLimeGlass Sep 17, 2023
da67d64
fix 3 stray INSERT VERSIONs from 2.7.0 (#6027)
sovdeeth Sep 18, 2023
4b5579c
Add get all armour of living entities (#5456)
TheLimeGlass Sep 18, 2023
38bfa0a
Enhance Shearing Related Elements (#5571)
NotSoDelayed Sep 18, 2023
d55e5a6
Move documentation into its own folder (#5580)
TheLimeGlass Sep 18, 2023
41349d1
Allow 'continue' the continue outer loops (#6024)
UnderscoreTud Sep 18, 2023
a27101f
Fix Documentation Actions on dev/patch (#6042)
APickledWalrus Sep 19, 2023
9e429f2
Tidy up parts of config class. (#6025)
Moderocky Sep 20, 2023
438851a
Add Release Model Document (#6041)
APickledWalrus Sep 20, 2023
06df281
(Cherry Pick) Fix cast throwing if existing variable for command stor…
Moderocky Sep 20, 2023
5711da9
(Cherry Pick) Fix NPE with invalid attributes and clean up ExprEntity…
Moderocky Sep 20, 2023
fa43514
Yggdrasil Cleanup (#5408)
kiip1 Sep 20, 2023
293e824
Bump actions/checkout from 3 to 4 (#6029)
dependabot[bot] Sep 20, 2023
5bedcee
Bump org.easymock:easymock from 5.1.0 to 5.2.0 (#6030)
dependabot[bot] Sep 20, 2023
b7c4cdd
Bump org.gradle.toolchains.foojay-resolver-convention from 0.5.0 to 0…
dependabot[bot] Sep 20, 2023
1ffe86f
Update gradle to gradle 8.3 (#5974)
TheLimeGlass Sep 20, 2023
afc9148
Fix multiple aliases sections not working (#6050)
APickledWalrus Sep 22, 2023
27c6275
Remove 'MarkedForRemoval' Annotation (#6054)
UnderscoreTud Sep 22, 2023
bfa4421
Fix error when unloading a script with multiple variables sections (#…
Moderocky Sep 22, 2023
e618afa
Bump actions/checkout from 3 to 4 (#6029)
dependabot[bot] Sep 20, 2023
347ab46
⚒ Disable Javadocs generation for nightly docs & improvements (#6059)
AyhamAl-Ali Sep 23, 2023
31e24ad
Merge patches in to feature branch. (#6061)
Moderocky Sep 23, 2023
3b4c9aa
Change the target branch of dependabot (#6063)
TheLimeGlass Sep 24, 2023
f348832
Merge branch 'dev/patch' into dev/feature (#6065)
Moderocky Sep 24, 2023
3922933
⚒ Fix stop all sounds NPE (#6067)
AyhamAl-Ali Sep 24, 2023
762100f
Bump actions/checkout from 3 to 4 (#6069)
dependabot[bot] Sep 25, 2023
9934f23
Bump org.gradle.toolchains.foojay-resolver-convention from 0.5.0 to 0…
dependabot[bot] Sep 25, 2023
611813d
Remove deprecated getTicks (#5307)
TheLimeGlass Sep 25, 2023
98c75ed
Bump org.easymock:easymock from 5.1.0 to 5.2.0 (#6071)
dependabot[bot] Sep 25, 2023
8603b2b
Bump io.papermc.paper:paper-api from 1.20.1-R0.1-SNAPSHOT to 1.20.2-R…
dependabot[bot] Sep 25, 2023
16d47e6
Allow for all possible entity change block states (#5796)
TheLimeGlass Sep 25, 2023
23c8c22
Add chat format support for inventories (#5841)
TheLimeGlass Sep 25, 2023
9814e79
Change NORMAL ExpressionType to EVENT (#5941)
TheLimeGlass Sep 25, 2023
7152d75
Adds PlayerStonecutterRecipeSelectEvent (#5460)
NotSoDelayed Sep 25, 2023
78116e7
Pull request template defaults (#5665)
TheLimeGlass Sep 25, 2023
5941679
🚀 Add Item Damge event to ExprDamage (#5678)
AyhamAl-Ali Sep 25, 2023
9d5211c
Fix EvtPlayerChunkEnter Comparison & Cleanup (#5965)
NotSoDelayed Sep 25, 2023
d021f1a
Fixes EffSecSpawn not properly handling local variables created withi…
sovdeeth Sep 25, 2023
040cb85
Error when multiple event-values are present for a default expression…
TheLimeGlass Sep 26, 2023
d77ca01
Remove PlayerPreprocessCommandEvent listener and clean up Commands (#…
sovdeeth Sep 26, 2023
d1f73b8
Remove PlayerPreprocessCommandEvent listener and clean up Commands (#…
sovdeeth Sep 26, 2023
fd23bc0
Add support for InventoryClickEvent cursor (#5308)
TheLimeGlass Sep 26, 2023
58f1c9f
Clean up vector classes and fix a few bugs.
sovdeeth Aug 30, 2023
50f0f3c
More improvements
sovdeeth Aug 31, 2023
4a7c510
Apply suggestions from code review
sovdeeth Aug 31, 2023
729b0ec
Budget Expansion
sovdeeth Aug 31, 2023
613a067
Merge pull request #5952 from sovdeeth/RotateVectorToStringFix
sovdeeth Sep 29, 2023
be77015
Fix Logging Issues In ExpressionEntryData (#6081)
APickledWalrus Oct 1, 2023
8a62465
Prepare For Release 2.7.1 (#6082)
APickledWalrus Oct 1, 2023
8c7fec0
Merge dev/patch into master
APickledWalrus Oct 1, 2023
886fb67
Update Minecraft wiki links to new domain (#6078)
Spongecade Oct 2, 2023
1789a95
⚒ Fix fake player count paper check error (#6090)
AyhamAl-Ali Oct 3, 2023
b774caf
Fix Command Help (#6080)
UnderscoreTud Oct 3, 2023
71b05eb
Bump net.kyori:adventure-text-serializer-bungeecord from 4.3.0 to 4.3…
dependabot[bot] Oct 5, 2023
83a41f6
Add WILL to property condition (#5955)
TheLimeGlass Oct 7, 2023
da97d3e
Fix unloading/reloading a directory in the scripts effect (#6106)
Moderocky Oct 8, 2023
54f1249
Force UTF-8 encoding for Gradle daemon (#6103)
APickledWalrus Oct 9, 2023
8e1fd28
Corrected Javadocs name, title (#6038)
MihirKohli Oct 9, 2023
61201bd
Corrected Javadocs name, title (#6038)
MihirKohli Oct 9, 2023
c34b83a
Rebase JUnit references fix for dev/patch (#6057)
TheLimeGlass Oct 10, 2023
74c4d63
Fix options issue in functions (#6121)
APickledWalrus Oct 15, 2023
58b9f0b
Add the variable case node instead of being hidden (#5674)
TheLimeGlass Oct 16, 2023
ed6174c
Fix command permission messages (2.7.1 issue) (#6126)
sovdeeth Oct 16, 2023
86fe449
Fix stack overflow when stringifying block inventories. (#6117)
Moderocky Oct 16, 2023
f4084dc
ExprCommandInfo Enhancements (#5889)
UnderscoreTud Oct 16, 2023
65059e1
Allow profilers to run (#5550)
TheLimeGlass Oct 16, 2023
8423652
Fix comparison of cyclical types (specifically comparing times) (#6128)
Moderocky Oct 17, 2023
5ba4dba
Fix floating point rounding error in loop N times (#6132)
Moderocky Oct 17, 2023
db1dad7
Fix some issues with ExprParse (#5878)
UnderscoreTud Oct 20, 2023
d1fd453
Allow numbers in the changer for ExprHotbarSlot (#6139)
TheLimeGlass Oct 22, 2023
8895157
Fix Sorted List Expression (#6102)
UnderscoreTud Oct 30, 2023
9deb288
Fix colour codes being reset in reload message. (#6150)
Moderocky Oct 30, 2023
f43c97e
improve pattern
NotSoDelayed Oct 31, 2023
6f3f277
Merge branch 'dev/feature' into feature/event-player-rotate
Moderocky Oct 31, 2023
a91bf9a
Fix ExprDurability's Changer (#6154)
UnderscoreTud Nov 1, 2023
451b739
Catch the exception when pushing entity by non finite vector (#5765)
3meraldK Jul 19, 2023
8efc550
Rework EvtGrow (#5639)
sovdeeth Nov 1, 2023
7eaacc8
Fix issues with ExprDrops (#6130)
sovdeeth Nov 1, 2023
0e6be2d
Prepare For Release (2.7.2) (#6166)
APickledWalrus Nov 1, 2023
7178dc4
Merge pull request #6167 from SkriptLang/dev/patch
Moderocky Nov 1, 2023
021788e
Update SimpleEvents.java
TheLimeGlass Nov 2, 2023
9f77449
Merge pull request #6170 from SkriptLang/feature/description-equal
Moderocky Nov 3, 2023
981f902
Update EvtGrowTest.java
sovdeeth Nov 9, 2023
27ce3c9
Merge pull request #6181 from sovdeeth/evt-grow-more-bonemeal
Moderocky Nov 13, 2023
2b7e642
Merge branch 'dev/feature' into feature/event-player-rotate
Moderocky Nov 13, 2023
5189e34
Merge pull request #5961 from DelayedGaming/feature/event-player-rotate
Moderocky Nov 13, 2023
90d211a
add isNaN() function (#6162)
sovdeeth Nov 17, 2023
4cc45e7
Prevent InventoryHolder -> X chaining (#6171)
sovdeeth Nov 25, 2023
fccb68e
Make event parsing more reliable (#5900)
UnderscoreTud Nov 30, 2023
f30f023
Improve Location Comparison (#6205)
sovdeeth Dec 1, 2023
ac5ff5b
Allow asynchronous SkriptEvent#check execution (#6201)
APickledWalrus Dec 1, 2023
e5c4d4a
Fix ExprSets conflicting (#6123)
TheLimeGlass Dec 1, 2023
01ae4e7
Prepare for Release (2.7.3) (#6208)
APickledWalrus Dec 1, 2023
1a009cd
Merge pull request #6210 from SkriptLang/dev/patch
APickledWalrus Dec 1, 2023
d25ae56
Fix incorrect examples for EffPotion (#6224)
sovdeeth Dec 10, 2023
da651a5
Fix BlockUtils with BlockStateBlock (#6231)
TheLimeGlass Dec 14, 2023
09e8527
Merge `master` into `dev/feature` (#6211)
APickledWalrus Dec 17, 2023
23a58f3
Add characters between and random characters expressions (#5867)
sovdeeth Dec 17, 2023
4a3290f
Removes Projectile Bounce State Expr and Cond (#5958)
sovdeeth Dec 17, 2023
49c4fae
Merge branch 'master' into enhancement/merge-master-into-feature-atte…
APickledWalrus Dec 18, 2023
aa103c7
Merge master into dev/feature (attempt 2) (#6237)
APickledWalrus Dec 18, 2023
18736a9
More Converter and Comparator Improvements (#5815)
APickledWalrus Dec 18, 2023
e1216bf
Add parse section for testing (#5440)
Pikachu920 Dec 19, 2023
cc19ac0
Add glowing sign text support (#5367)
Pikachu920 Dec 19, 2023
2b6191b
Active Item API (#5365)
sovdeeth Dec 19, 2023
f96267f
Add support for getting and modifying ItemType inventories (#5366)
Pikachu920 Dec 20, 2023
2daaa6f
(Patch) Fix NPE issue with drops in 1.20.2 (#6239)
APickledWalrus Dec 21, 2023
be39093
Add filter support to ExprItemsIn (#4614)
Pikachu920 Dec 21, 2023
7d57297
Remove init override in anvil text expression. (#6229)
Moderocky Dec 29, 2023
94ef31a
Bumps actions/upload-artifact from 3 to 4. (#6265)
TheLimeGlass Dec 29, 2023
de27793
Bump net.kyori:adventure-text-serializer-bungeecord from 4.3.1 to 4.3…
dependabot[bot] Dec 29, 2023
b832ca5
Bump org.eclipse.jdt:org.eclipse.jdt.annotation from 2.2.700 to 2.2.8…
dependabot[bot] Dec 29, 2023
03abc8c
Bump actions/setup-java from 3 to 4 (#6218)
dependabot[bot] Dec 29, 2023
03e912c
Proper plurality on EffCommand (#6172)
TheLimeGlass Dec 29, 2023
48e18f9
Fix CondCompare Logging (#6266)
APickledWalrus Dec 30, 2023
c3b0f44
Remove final on 'cleanup' method and provide JUnit implementation war…
TheLimeGlass Dec 30, 2023
967f9ee
Allow multiple hashtags to start comments at the beginning of a line.…
Moderocky Dec 30, 2023
58ca469
Bump io.papermc.paper:paper-api from 1.20.2-R0.1-SNAPSHOT to 1.20.4-R…
dependabot[bot] Jan 1, 2024
5843ec8
Add tests for effects (#6204)
Pikachu920 Jan 1, 2024
27d1a30
Re-enable the vector from location syntax (#6180)
Moderocky Jan 1, 2024
3b3ebb2
Fix ExprTarget not accounting for Spigot servers and add ignore block…
TheLimeGlass Jan 1, 2024
d0ed4fc
Make the multiple event-values less strict (#6122)
TheLimeGlass Jan 1, 2024
293727f
🛠 Change player parsing to use `name starting with` (#5875)
AyhamAl-Ali Jan 1, 2024
4291e5b
Entity transform events (#5800)
TheLimeGlass Jan 1, 2024
7b669c9
Cleanup EnumUtils (#5744)
APickledWalrus Jan 1, 2024
7d2a5b5
Fix ExprDifference issues (#5406)
APickledWalrus Jan 1, 2024
5bc25d6
Add warnings for using %player% without using the UUID config setting…
sovdeeth Jan 1, 2024
b6b63e6
Add ExprSentCommands and EvtPlayerCommandSend (#5948)
sovdeeth Jan 1, 2024
a9e9a78
Repeat Expression (#5098)
Fusezion Jan 1, 2024
a52236e
Turkish Translation (#6198)
erenkarakal Jan 1, 2024
98abf5d
Cleanup lang (#6000)
sovdeeth Jan 1, 2024
ba38932
Optimize CommandHelp instantiation to prevent misleading errors (#6249)
UnderscoreTud Jan 1, 2024
59948b5
Arithmetic Rework (#5279)
UnderscoreTud Jan 1, 2024
16e217d
Update to world events (#5114)
Fusezion Jan 1, 2024
c1047c2
Rewrite ExprFurnaceSlot (#4281)
APickledWalrus Jan 1, 2024
f14816e
Copy Effect (#6101)
UnderscoreTud Jan 1, 2024
669ee87
Improve ExprElement (#5478)
UnderscoreTud Jan 1, 2024
97093ab
Merge branch 'dev/patch' into dev/feature
APickledWalrus Jan 1, 2024
38cc0fe
Prepare For Release (2.8.0-pre1) (#6282)
APickledWalrus Jan 1, 2024
f432a94
Fix Command Parsing (#6286)
APickledWalrus Jan 5, 2024
59caa86
Fix Erroneous Player UUID Warnings (#6287)
APickledWalrus Jan 5, 2024
1e466a0
Fix event data pollution for event priority (#6292)
sovdeeth Jan 5, 2024
5bbf8b9
Fixes IllegalArgumentException when trying to get shoes of entity (#6…
sovdeeth Jan 5, 2024
891bfdd
Fixes outdated website link (#6298)
EquipableMC Jan 9, 2024
e418f6c
Force "to location" in ExprLocationFromVector (#6310)
sovdeeth Jan 9, 2024
de1e34e
Fix ReleaseChannel Logic (#6312)
APickledWalrus Jan 10, 2024
271b799
Fix "parsed as a player" Not Working (#6317)
APickledWalrus Jan 10, 2024
67c4e0e
Prepare For Release
APickledWalrus Jan 10, 2024
0c6d8bb
Fix conflict between ExprItemsIn and ExprInventory (#6323)
Pikachu920 Jan 15, 2024
bb3cee2
Prepare For Release (2.8.0) (#6333)
APickledWalrus Jan 15, 2024
b9f89c1
Try to fix archive docs (#6325)
Pikachu920 Jan 15, 2024
253b026
🚀 Allow `armour` in armor change event (#6357)
AyhamAl-Ali Jan 29, 2024
e691a6b
⚒️ Fix isSingle of ExprArmorSlot (#6356)
AyhamAl-Ali Jan 31, 2024
3c5b45c
Fix invalid docs link (#6378)
RamonJales Feb 1, 2024
758e3f9
SimpleEntityData - add new MC 1.20.3 entities (#6367)
ShaneBeee Feb 1, 2024
bca7469
⚒️ Fix function signature parentheses (#6358)
AyhamAl-Ali Feb 1, 2024
906c5a2
Fix Skript MinecraftServer.isRunning reflection on 1.20(.1) (#6352)
C0D3-M4513R Feb 1, 2024
f14bcef
Fix "vector from" syntax conflict by making ExprVectorFromDirection p…
sovdeeth Feb 1, 2024
1348f78
Bump gradle/wrapper-validation-action from 1 to 2 (#6372)
dependabot[bot] Feb 1, 2024
555c76b
Fix paths for enabled scripts in ExprScripts. (#6374)
sovdeeth Feb 1, 2024
5dd60e5
Avoid NPE by defaulting to enum name when no language node available …
sovdeeth Feb 1, 2024
6be9375
Improve UnparsedLiteral Handling (#6360)
APickledWalrus Feb 1, 2024
909a14d
Prepare For Release (2.8.1)
APickledWalrus Feb 1, 2024
3d1047d
Fix loading on Spigot versions older than 1.18 (#6399)
APickledWalrus Feb 3, 2024
0bfec0b
Prepare For Release (2.8.2)
APickledWalrus Feb 3, 2024
884641c
Fix ExprPlain always getting the base material from ItemTypes (#6391)
sovdeeth Feb 4, 2024
3fbf72e
Fix AIOOB with ExprVectorXYZ when used with non-vectors (#6387)
sovdeeth Feb 4, 2024
243281e
Fix Compilation Issues (Address DamageEvent Constructor Changes) (#6429)
APickledWalrus Feb 14, 2024
817b5a9
Ask for player's groups off the main thread. (#6192)
Moderocky Feb 17, 2024
ba63892
Fix Timespan Addition Overflow Exception (#6328)
UnderscoreTud Feb 17, 2024
7f61018
Make function parameters respect the case-insensitive-variables setti…
sovdeeth Feb 17, 2024
a548538
Make bucket fill events provide the correct event-block. (#6392)
sovdeeth Feb 17, 2024
69eb15f
Fix EvtAtTime not triggering when world time has been changed. (#6463)
sovdeeth Mar 1, 2024
51f0537
Fix duplicate calls of certain click events (#6309)
sovdeeth Mar 1, 2024
20b8981
Fix parsing errors caused by special characters (#6455)
APickledWalrus Mar 1, 2024
91059e0
Fix InventoryItemMoveEvent Implementations (#5462) (#6233)
NotSoDelayed Mar 1, 2024
1132757
Prepare For Release (2.8.3) (#6467)
APickledWalrus Mar 1, 2024
0cc9f98
Bump org.gradle.toolchains.foojay-resolver-convention from 0.7.0 to 0…
dependabot[bot] Mar 9, 2024
d864baa
EntityData - check if entity can spawn (#6484)
ShaneBeee Mar 9, 2024
a44ed2f
Fixes entitydata consumer on versions 1.20.1 and below. (#6475)
TheLimeGlass Mar 19, 2024
7a79d87
Examples Update (#6510)
ShaneBeee Mar 26, 2024
86658cf
Handle invalid amounts in ExprRandomCharacter (#6502)
sovdeeth Mar 27, 2024
9b96c8e
🛠️ Fix ExprRandom missing canInitSafely (#6512)
AyhamAl-Ali Mar 27, 2024
6fe77c8
Add MC 1.20.5 Attributes (#6413)
ShaneBeee Mar 29, 2024
e3d357b
ItemData/BlockCompat - strip out BlockState middleman (#6473)
ShaneBeee Mar 30, 2024
bfdadaa
ExprIndices - fix strings not sorting alphabetically (#6495)
ShaneBeee Mar 30, 2024
dfaa66f
Fix expression null pointer exception on expressions with null return…
TheLimeGlass Apr 1, 2024
cabfad7
Prepare for Release (2.8.4) (#6516)
sovdeeth Apr 1, 2024
4d40944
Merge pull request #6517 from SkriptLang/dev/patch
Moderocky Apr 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# .git-blame-ignore-revs
Binary file added .github/assets/Cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 36 additions & 8 deletions .github/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,39 @@ in next Skript release, whenever that happens.

Good luck!

### Pull Request Review
Pull requests require one passing review before they can be merged. In
addition to that, code submitted by people outside of core team must be tested
by core team members. In some cases, this might be as simple as running the
automated tests.

In exceptional situations, pull requests may be merged regardless of review
status by @bensku.
### Submitting a Contribution

Having submitted your contribution it will enter a public review phase.

Other contributors and users may make comments or ask questions about your contribution. \
You are encouraged to respond to these - people may have valuable feedback!

Developers may request changes to the content of your pull request. These are valuable since they may concern unreleased content. Please respect our team's wishes - changes are requested when we see room for improvement or necessary issues that need to be addressed.
Change requests are not an indictment of your code quality.

Developers may also request changes to the formatting of your code and attached files. These are important to help maintain the consistent standard and readability of our code base.

Once you have made the requested changes (or if you require clarification or assistance) you can request a re-review from the developer.

You don't need to keep your pull request fork up-to-date with Skript's master branch - we can update it automatically and notify you if there are any problems.

### Merging a Contribution

Pull requests may be left un-merged until an appropriate time (e.g. before a suitable release.) This timeframe may be increased for breaking changes or significant new features, which might be better targeted in a major version.

Please respect the process - this is a very complex project that takes a lot of time and care to maintain. Your contribution has not been forgotten about.

For a contribution to be merged it requires at least two approving reviews from the core development team. It will then require a senior member to merge it.

You do not need to 'bump' your contribution if it is un-merged; we may be waiting for a more suitable release to include it.

If you have been waiting for a response to a question or change for a significant time please re-request our reviews or contact us.

In exceptional situations, pull requests may be merged regardless of review status by one of the organisation admins.

### Peaceful Resolution

Please respect our maintainers, developers, contributors and users. \
Our contributors come from a wide variety of backgrounds and countries - you may need to explain issues and requests if they are misunderstood.

Please refer disrespectful and unpleasant behaviour to our tracker team. For concerns about abuse, please contact the organisation directly.
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: "github-actions"
target-branch: "dev/patch"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
- package-ecosystem: "gradle"
target-branch: "dev/patch"
directory: "/"
schedule:
interval: "weekly"
labels:
- "dependencies"
open-pull-requests-limit: 10
6 changes: 3 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<!--- Describe your changes here. --->

---
**Target Minecraft Versions:** <!-- 'any' means all supported versions -->
**Requirements:** <!-- Required plugins, Minecraft versions, server software... -->
**Related Issues:** <!-- Links to related issues -->
**Target Minecraft Versions:** any <!-- 'any' means all supported versions -->
**Requirements:** none <!-- Required plugins, server software... -->
**Related Issues:** none <!-- Links to related issues -->
39 changes: 39 additions & 0 deletions .github/workflows/cleanup-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Cleanup nightly documentation
on: delete
jobs:
cleanup-nightly-docs:
if: github.event.ref_type == 'branch'
runs-on: ubuntu-latest
steps:
- name: Configure workflow
id: configuration
env:
DELETED_BRANCH: ${{ github.event.ref }}
run: |
BRANCH_NAME="${DELETED_BRANCH#refs/*/}"
echo "BRANCH_NAME=${BRANCH_NAME}" >> $GITHUB_OUTPUT
echo "DOCS_OUTPUT_DIR=${GITHUB_WORKSPACE}/skript-docs/docs/nightly/${BRANCH_NAME}" >> $GITHUB_OUTPUT
echo "DOCS_REPO_DIR=${GITHUB_WORKSPACE}/skript-docs" >> $GITHUB_OUTPUT
- name: Checkout Skript
uses: actions/checkout@v4
with:
ref: ${{ github.event.repository.default_branch }}
submodules: recursive
path: skript
- name: Setup documentation environment
uses: ./skript/.github/workflows/docs/setup-docs
with:
docs_deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }}
docs_output_dir: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
- name: Cleanup nightly documentation
env:
DOCS_OUTPUT_DIR: ${{ steps.configuration.outputs.DOCS_OUTPUT_DIR }}
run: |
rm -rf ${DOCS_OUTPUT_DIR} || true
- name: Push nightly documentation cleanup
uses: ./skript/.github/workflows/docs/push-docs
with:
docs_repo_dir: ${{ steps.configuration.outputs.DOCS_REPO_DIR }}
git_name: Nightly Docs Bot
git_email: nightlydocs@skriptlang.org
git_commit_message: "Delete ${{ steps.configuration.outputs.BRANCH_NAME }} branch nightly docs"
109 changes: 109 additions & 0 deletions .github/workflows/docs/generate-docs/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
name: Generate documentation

inputs:
docs_output_dir:
description: "The directory to generate the documentation into"
required: true
type: string
docs_repo_dir:
description: "The skript-docs repository directory"
required: true
type: string
skript_repo_dir:
description: "The skript repository directory"
required: true
type: string
is_release:
description: "Designates whether to generate nightly or release documentation"
required: false
default: false
type: boolean
cleanup_pattern:
description: "A pattern designating which files to delete when cleaning the documentation output directory"
required: false
default: "*"
type: string
generate_javadocs:
description: "Designates whether to generate javadocs for this nightly documentation"
required: false
default: false
type: boolean

outputs:
DOCS_CHANGED:
description: "Whether or not the documentation has changed since the last push"
value: ${{ steps.generate.outputs.DOCS_CHANGED }}

runs:
using: 'composite'
steps:
- name: generate-docs
id: generate
shell: bash
env:
DOCS_OUTPUT_DIR: ${{ inputs.docs_output_dir }}
DOCS_REPO_DIR: ${{ inputs.docs_repo_dir }}
SKRIPT_REPO_DIR: ${{ inputs.skript_repo_dir }}
IS_RELEASE: ${{ inputs.is_release }}
CLEANUP_PATTERN: ${{ inputs.cleanup_pattern }}
GENERATE_JAVADOCS: ${{ inputs.generate_javadocs }}
run: |
replace_in_directory() {
find $1 -type f -exec sed -i -e "s/$2/$3/g" {} \;
}

# this should be replaced with a more reliable jq command,
# but it can't be right now because docs.json is actually not valid json.
get_skript_version_of_directory() {
grep skriptVersion "$1/docs.json" | cut -d\" -f 4
}

if [ -d "${DOCS_REPO_DIR}/docs/templates" ]
then
export SKRIPT_DOCS_TEMPLATE_DIR=${DOCS_REPO_DIR}/docs/templates
else # compatibility for older versions
export SKRIPT_DOCS_TEMPLATE_DIR=${DOCS_REPO_DIR}/doc-templates
fi

export SKRIPT_DOCS_OUTPUT_DIR=/tmp/generated-docs

cd $SKRIPT_REPO_DIR
if [[ "${IS_RELEASE}" == "true" ]]; then
./gradlew genReleaseDocs releaseJavadoc
elif [[ "${GENERATE_JAVADOCS}" == "true" ]]; then
./gradlew genNightlyDocs javadoc
else
./gradlew genNightlyDocs
fi

if [ -d "${DOCS_OUTPUT_DIR}" ]; then
if [[ "${GENERATE_JAVADOCS}" == "true" ]]; then
mkdir -p "${SKRIPT_DOCS_OUTPUT_DIR}/javadocs" && cp -a "./build/docs/javadoc/." "$_"
fi

mkdir -p "/tmp/normalized-output-docs" && cp -a "${DOCS_OUTPUT_DIR}/." "$_"
mkdir -p "/tmp/normalized-generated-docs" && cp -a "${SKRIPT_DOCS_OUTPUT_DIR}/." "$_"

output_skript_version=$(get_skript_version_of_directory "/tmp/normalized-output-docs")
generated_skript_version=$(get_skript_version_of_directory "/tmp/normalized-generated-docs")

replace_in_directory "/tmp/normalized-output-docs" "${output_skript_version}" "Skript"
replace_in_directory "/tmp/normalized-generated-docs" "${generated_skript_version}" "Skript"

diff -qbr /tmp/normalized-output-docs /tmp/normalized-generated-docs || diff_exit_code=$?
# If diff exits with exit code 1, that means there were some differences
if [[ ${diff_exit_code} -eq 1 ]]; then
echo "DOCS_CHANGED=true" >> $GITHUB_OUTPUT
echo "Documentation has changed since last push"
else
echo "Documentation hasn't changed since last push"
fi
else
echo "DOCS_CHANGED=true" >> $GITHUB_OUTPUT
echo "No existing documentation found"
fi

rm -rf ${DOCS_OUTPUT_DIR}/${CLEANUP_PATTERN} || true
mkdir -p "${DOCS_OUTPUT_DIR}/" && cp -a "${SKRIPT_DOCS_OUTPUT_DIR}/." "$_"


43 changes: 43 additions & 0 deletions .github/workflows/docs/push-docs/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Push documentation

inputs:
docs_repo_dir:
description: "The skript-docs repository directory"
required: true
type: string
git_email:
description: "The email to use for the Git commit"
required: true
type: string
git_name:
description: "The name to use for the Git commit"
required: true
type: string
git_commit_message:
description: "The message to use for the Git commit"
required: true
type: string

runs:
using: 'composite'
steps:
- shell: bash
if: success()
env:
DOCS_REPO_DIR: ${{ inputs.docs_repo_dir }}
GIT_EMAIL: ${{ inputs.git_email }}
GIT_NAME: ${{ inputs.git_name }}
GIT_COMMIT_MESSAGE: ${{ inputs.git_commit_message }}
run: |
cd "${DOCS_REPO_DIR}"
git config user.name "${GIT_NAME}"
git config user.email "${GIT_EMAIL}"
git add -A
git commit -m "${GIT_COMMIT_MESSAGE}" || (echo "Nothing to push!" && exit 0)
# Attempt rebasing and pushing 5 times in case another job pushes before us
for i in 1 2 3 4 5
do
git pull --rebase -X theirs origin main
git push origin main && break
sleep 5
done
43 changes: 43 additions & 0 deletions .github/workflows/docs/setup-docs/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Setup documentation environment

inputs:
docs_deploy_key:
description: "Deploy key for the skript-docs repo"
required: true
type: string
docs_output_dir:
description: "The directory to generate the documentation into"
required: true
type: string
cleanup_pattern:
description: "A pattern designating which files to delete when cleaning the documentation output directory"
required: false
default: "*"
type: string

runs:
using: 'composite'
steps:
- name: Checkout skript-docs
uses: actions/checkout@v3
with:
repository: 'SkriptLang/skript-docs'
path: skript-docs
ssh-key: ${{ inputs.docs_deploy_key }}
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- shell: bash
run: chmod +x ./skript/gradlew
- shell: bash
env:
DOCS_DEPLOY_KEY: ${{ inputs.docs_deploy_key }}
DOCS_OUTPUT_DIR: ${{ inputs.docs_output_dir }}
CLEANUP_PATTERN: ${{ inputs.cleanup_pattern }}
run: |
eval `ssh-agent`
echo "$DOCS_DEPLOY_KEY" | tr -d '\r' | ssh-add - > /dev/null
mkdir ~/.ssh
ssh-keyscan www.github.com >> ~/.ssh/known_hosts
27 changes: 0 additions & 27 deletions .github/workflows/gradle.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/java-17-builds.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Java 17 CI (MC 1.17+)

on:
push:
branches:
- master
- 'dev/**'
pull_request:

jobs:
build:
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build Skript and run test scripts
run: ./gradlew clean skriptTestJava17
- name: Upload Nightly Build
uses: actions/upload-artifact@v4
if: success()
with:
name: skript-nightly
path: build/libs/*
Loading
Loading