Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
284 commits
Select commit Hold shift + click to select a range
ba7c047
Don't save NPC data
Alexz1008 May 30, 2020
9a112ce
Add multiple triggers and try to fix npc saving
Alexz1008 Jun 5, 2020
5e053a0
Try to fix null pointer
Alexz1008 Jun 6, 2020
fa1bfb2
Remove debug code
Alexz1008 Jun 6, 2020
b1dcc14
Fix data save on nonexisting class
Alexz1008 Jun 21, 2020
7ac4e4e
Null safety check
Alexz1008 Jun 27, 2020
f025d7a
Add heavy tool condition
Alexz1008 Jul 4, 2020
7814c76
Added null check
MrMaurice211 Sep 26, 2020
b678d2b
Added null check
MrMaurice211 Sep 26, 2020
88eb898
Try to fix cast trigger
Alexz1008 Sep 27, 2020
ba7e0ba
Try to add cts checking to tasks
Alexz1008 Oct 8, 2020
520d95a
Changed listener priorities and cleaning the SkillBar before MPDB doe…
MrMaurice211 Oct 8, 2020
33d0191
Add icon model support
Alexz1008 Nov 7, 2020
e35c71f
Make repeat mechanic work with 0 level
Alexz1008 Nov 30, 2020
a52c885
Add flag set and right click entity trigger
Alexz1008 Dec 2, 2020
a494c85
Add right click trigger
Alexz1008 Dec 2, 2020
58f0973
Add trigger to init list
Alexz1008 Dec 3, 2020
63338f9
Add potion apply and damage death triggers
Alexz1008 Dec 4, 2020
65eb185
Clean up triggers so they happen less
Alexz1008 Dec 8, 2020
89b2359
Fix damage death trigger
Alexz1008 Dec 8, 2020
7ceaeb6
Try to fix damagebyblock null pointer
Alexz1008 Dec 8, 2020
fe11561
Make invincible work with mythicmobs
Alexz1008 Dec 8, 2020
bc1520b
Make skill cast trigger ignore non-cast
Alexz1008 Dec 8, 2020
8e89fe6
Add skill cast success event
Alexz1008 Dec 9, 2020
1225dd3
Try to get rid of null pointer errors
Alexz1008 Dec 9, 2020
dd22d3b
Added toggle for Skill Bar
MrMaurice211 Jan 21, 2021
acc7288
Merge pull request #1 from Alexz1008/ToggleCommand
Alexz1008 Jan 29, 2021
fcc858f
Fix offhand attributes
Alexz1008 Feb 8, 2021
f26a6ec
Added onlyCaster option for particles
MrMaurice211 Mar 10, 2021
b8e3b94
Default value to true and applied to sound mechanic
MrMaurice211 Mar 14, 2021
8c7dce9
Fixed compiler error
MrMaurice211 Mar 14, 2021
282b15e
Merge pull request #2 from Alexz1008/caster-only
Alexz1008 Mar 15, 2021
881cf52
Make compatible with my workspace
Alexz1008 Mar 15, 2021
6008ab9
Add simple click combo
Alexz1008 Apr 6, 2021
1b07aee
Cancel combos with offhand and hotbar swap
Alexz1008 Apr 6, 2021
4e1f6e5
Try to fix damage death class cast exception
Alexz1008 Apr 7, 2021
4f0950e
Attempt fix onlyCaster sound
Alexz1008 Apr 7, 2021
7a135c0
Fixed onlycaster
Alexz1008 Apr 8, 2021
f56f0d7
Fix onlycaster config option
Alexz1008 Apr 8, 2021
528c258
Add error for particles
Alexz1008 Apr 8, 2021
1b40733
Fix up onlycaster settings
Alexz1008 Apr 8, 2021
8a55fd3
Possible fix for Block Crack Particle
MrMaurice211 Apr 25, 2021
9b5d0c8
Fix potion options
Alexz1008 Jul 2, 2021
1755f48
Fix potion application 1.17
Alexz1008 Jul 2, 2021
c87c72d
Migration to Gradle
MrMaurice211 Jul 6, 2021
b8761fb
Added new particle line mechanic
MrMaurice211 Jul 6, 2021
3edce1a
Removed legacy dependency
MrMaurice211 Jul 6, 2021
544f1e9
Backported new mechanic
MrMaurice211 Jul 6, 2021
e443523
lolz, imported the wrong mechanic
MrMaurice211 Jul 6, 2021
a721285
Removed Quests module, integrated PAPI Placeholders instead of depend…
MrMaurice211 Jul 6, 2021
35ab27b
Possible improvement for particles
MrMaurice211 Jul 7, 2021
a88306c
Allow changed potion trigger
Alexz1008 Jul 7, 2021
eb27dd8
Add potion trigger value set
Alexz1008 Jul 7, 2021
5e838e4
Particle performance improvement (maybe)
MrMaurice211 Jul 19, 2021
e0e5669
Fixed transitive dependencies
MrMaurice211 Jul 28, 2021
5386a09
Fixed issues with Particles
MrMaurice211 Jul 28, 2021
f7efcf2
Add support to upward parameter
MrMaurice211 Aug 4, 2021
45ef88f
Possible fix for binding
MrMaurice211 Aug 15, 2021
44543c3
Merge branch 'premium' of https://github.com/Alexz1008/SkillAPI into …
Alexz1008 Aug 17, 2021
b924915
Test changes to async savedata
Alexz1008 Aug 22, 2021
f488a7d
Merge branch 'particle-line-mechanic' into premium
Alexz1008 Aug 22, 2021
ed514ba
Added public nms repo
MrMaurice211 Aug 22, 2021
79aed16
Fixed missing methods for 1.16.5
MrMaurice211 Aug 22, 2021
091bfe6
Removed dangling file
MrMaurice211 Aug 22, 2021
f49e18d
Updated waterfall
MrMaurice211 Aug 22, 2021
9315764
Add async load and save
Alexz1008 Aug 22, 2021
ee3d862
Merge branch 'premium' of https://github.com/Alexz1008/SkillAPI.git i…
Alexz1008 Aug 22, 2021
7d17781
Remove async loading lol
Alexz1008 Aug 22, 2021
981191d
Add async loading, some work on the loading system
Alexz1008 Aug 23, 2021
a108ef6
Add load trigger
Alexz1008 Aug 23, 2021
ecfe06b
Add a separate database for checking when a player is done loading async
Alexz1008 Aug 23, 2021
b498612
Remove debug and fix isLoaded
Alexz1008 Aug 23, 2021
554257b
Add account change trigger and save event
Alexz1008 Aug 24, 2021
98592b3
Add automatic inv attribute update
Alexz1008 Aug 24, 2021
c2ab594
Add a save cooldown
Alexz1008 Aug 25, 2021
18806f0
Null check for saving
Alexz1008 Aug 25, 2021
3352806
Fix saving
Alexz1008 Aug 25, 2021
e3413ca
Increased load in failsafes, dont save if failed load
Alexz1008 Aug 25, 2021
518472d
Add println when data fails to load
Alexz1008 Aug 25, 2021
f945074
Damage buffs are additive
Alexz1008 Aug 26, 2021
ea326e2
Fix compile error
Alexz1008 Aug 26, 2021
a6d2efe
Bugtesting
Alexz1008 Aug 26, 2021
6129585
Add shootbow trigger
Alexz1008 Aug 26, 2021
325ade6
Add AttributeLoadEvent for simpler loading
Alexz1008 Aug 26, 2021
f394cd9
Added attributeunloadevent
Alexz1008 Aug 26, 2021
bfdd1e4
Add min and max to skillapi formula
Alexz1008 Aug 27, 2021
9094946
First attempt at simplifying save data
Alexz1008 Aug 27, 2021
ee8c6b0
Add global skills
Alexz1008 Aug 27, 2021
1e5743f
Slight change to trycatch
Alexz1008 Aug 28, 2021
2c4e587
Updated paper and reflection to 1.17.1
MrMaurice211 Sep 1, 2021
dfcc233
Updated to 1.17
MrMaurice211 Sep 1, 2021
e806fcc
Another nms update
MrMaurice211 Sep 1, 2021
04b8f94
Add attack cooldown to physical dealt trigger
Alexz1008 Sep 3, 2021
8bcae81
Remove random stuff??
Alexz1008 Sep 3, 2021
d9842e2
Change maven local to codemc repo
MrMaurice211 Sep 3, 2021
d1c58e6
Merge branch 'premium' of https://github.com/Alexz1008/SkillAPI into …
MrMaurice211 Sep 3, 2021
4ef1ce8
Revert "Remove random stuff??"
MrMaurice211 Sep 3, 2021
b82d7f3
Fix attack cooldown
Alexz1008 Sep 5, 2021
f341e8f
Fix skill binds
Alexz1008 Sep 5, 2021
ff27add
Add effectiveHeal to skillheal
Alexz1008 Sep 8, 2021
7239cfb
Add stupid depends to buildpath and gitignore
Alexz1008 Sep 11, 2021
021bb54
add shaded spigot jar
Alexz1008 Sep 11, 2021
5f0c8d6
Make tasks wait for loading players, add api to leftclick
Alexz1008 Sep 11, 2021
2c28ecb
Add forward-scale to particle animation
Alexz1008 Sep 12, 2021
816ac04
Fix damage death, make skillapi load after mythicmobs so it has highest
Alexz1008 Sep 16, 2021
0573ef0
Make arrows unable to be picked up
Alexz1008 Sep 17, 2021
954b19a
Make AttributeUnloadEvent happen with any attr clear
Alexz1008 Sep 18, 2021
aff6ef3
Make it work with stupid offlineplayer
Alexz1008 Sep 18, 2021
eaaa645
Make isInstance based on file
Alexz1008 Sep 18, 2021
b9ac878
Make loading in more null-safe, catch more null, less spam
Alexz1008 Sep 19, 2021
20740c8
Attempt to stop armor popping off while loading in
Alexz1008 Sep 19, 2021
fd2089b
Make attackcooldown work once per damage event
Alexz1008 Sep 20, 2021
ed71216
Minimum damage of 1
Alexz1008 Sep 20, 2021
3722652
add way to get settings hashmap because i cant figure this shit out
Alexz1008 Sep 20, 2021
728b8af
Account for max health being less than current health
Alexz1008 Sep 20, 2021
e001e73
Slightly better stack trace for launch
Alexz1008 Sep 21, 2021
66c90e6
Fix attributes double removing if caster died
Alexz1008 Sep 22, 2021
0c1c973
Add uuid to player save event
Alexz1008 Sep 22, 2021
b06c6da
More descriptive illegal arg log
Alexz1008 Sep 22, 2021
879599d
add paper overrides
Alexz1008 Sep 22, 2021
ca0b8af
Add charm to cleanse
Alexz1008 Sep 23, 2021
8952a19
Potentially fix click combos
Alexz1008 Sep 23, 2021
ef0c97e
Fix bug with offhand not loading at the start
Alexz1008 Sep 24, 2021
0fad21d
Add curse to status flags
Alexz1008 Sep 25, 2021
c08145b
Make left click only happen on melee physical damage
Alexz1008 Sep 25, 2021
fd66f64
Make resource error based on actual resource
Alexz1008 Oct 1, 2021
2572f9e
Strip chat color from mana name
Alexz1008 Oct 1, 2021
9436bb6
Convert manatask to regen, add regen health
Alexz1008 Oct 1, 2021
a455f6e
Fix bug
Alexz1008 Oct 1, 2021
a7cab58
Make food mechanic cancellable
Alexz1008 Oct 2, 2021
e54e9bd
Add infinite buff
Alexz1008 Oct 3, 2021
9856b3e
Make it so potion effects can only be stronger
Alexz1008 Oct 4, 2021
b392c9f
Add min to regen health and make defense buffs work
Alexz1008 Oct 5, 2021
7e8744f
Fix null pointer
Alexz1008 Oct 5, 2021
b193d7c
Fix regen
Alexz1008 Oct 6, 2021
e3893ef
Add support for placeholders waiting for players to load
Alexz1008 Oct 7, 2021
33769f0
Fix npc detection
Alexz1008 Oct 9, 2021
4c9fe58
Add hardcode /attr to /skills
Alexz1008 Oct 14, 2021
9747e7a
Refuse to save null players
Alexz1008 Oct 14, 2021
e5f60aa
Added logging for saving
Alexz1008 Oct 17, 2021
3113fca
Disable saving all on server restart
Alexz1008 Oct 28, 2021
812ba96
Add implementations
Alexz1008 Nov 17, 2021
79107c3
Work on new attributes, first commit after augment rework
Alexz1008 Nov 23, 2021
17b4cfa
Make mana only work on MP
Alexz1008 Nov 23, 2021
74d4e9c
Add critical hits
Alexz1008 Nov 25, 2021
265f52a
Change attribute parser
Alexz1008 Nov 28, 2021
c2a532d
Add success to targeted skills
Alexz1008 Dec 12, 2021
043bb6e
Add crit to skill base
Alexz1008 Dec 12, 2021
60f286e
Big change, add crit to everything
Alexz1008 Dec 12, 2021
6fe0f70
Add crits and crit sound
Alexz1008 Dec 14, 2021
1c5899b
Add crit to per-trigger
Alexz1008 Dec 15, 2021
38ab8d7
Add truncate
Alexz1008 Dec 16, 2021
cb1c8b8
Trunc literally exists by default lol
Alexz1008 Dec 16, 2021
fbabe85
Make crit sound only happen on successful trigger
Alexz1008 Dec 16, 2021
75d93d1
Add recursive skill file loading
Alexz1008 Dec 27, 2021
8df5396
add healing received
Alexz1008 Jan 4, 2022
c884e13
Add attr stats
Alexz1008 Jan 6, 2022
47650a0
Fix healing buffs
Alexz1008 Jan 6, 2022
2006a2d
Add multiple events for augments
Alexz1008 Jan 8, 2022
db918e4
Add caster to flag apply event
Alexz1008 Jan 10, 2022
0d1837f
Allow flags to have duration altered in event
Alexz1008 Jan 10, 2022
379cd78
Add taunt event
Alexz1008 Jan 10, 2022
f8a6473
Make regen conservative with events
Alexz1008 Jan 11, 2022
9373477
Add buff event to other mechanics
Alexz1008 Jan 12, 2022
d7d3be1
Make crit events less common
Alexz1008 Jan 12, 2022
c089c48
Fix crits and make mana gain event less vocal
Alexz1008 Jan 15, 2022
1e49552
safeguard for mana event
Alexz1008 Jan 15, 2022
71f5266
Add failsafe for 0 cost skill downgrade
Alexz1008 Jan 21, 2022
cc376be
Make attributes from items only appear if gear is updated
Alexz1008 Feb 9, 2022
60275a8
Show what skills are stopping things from loading, skip them
Alexz1008 Feb 11, 2022
9f0aeb5
Fix health regen being too low
Alexz1008 Feb 11, 2022
41d2f1f
Fix crit calculation
Alexz1008 Feb 13, 2022
81797ab
Hardcode 0 critchance on nonstandard damage mechanics
Alexz1008 Feb 14, 2022
30a984f
potentially fix crits
Alexz1008 Feb 16, 2022
37299bc
Change how damage calculation works
Alexz1008 Feb 17, 2022
072172d
Change how buffs, crit, damage calc works
Alexz1008 Feb 21, 2022
875375e
add damage to event
Alexz1008 Feb 21, 2022
c1cca0b
add damage to damagecalculate event
Alexz1008 Feb 21, 2022
a0bbb52
Alter how buffs are applied to players
Alexz1008 Feb 21, 2022
f3bd8f7
Fix crit 100% bonus damage
Alexz1008 Feb 21, 2022
6f3569e
dont allow true damage to crit
Alexz1008 Feb 22, 2022
334a55c
fix resource regen
Alexz1008 Mar 2, 2022
d64207f
Correct debug messages
Alexz1008 Mar 6, 2022
f972e47
Make DamageDeath trigger happen after boss multipliers
Alexz1008 Mar 8, 2022
e3c604b
Revert
Alexz1008 Mar 8, 2022
d82ff47
Disable two unused listeners that error out
Alexz1008 Mar 9, 2022
c0a4e99
Add option to ignore curse
Alexz1008 Mar 10, 2022
8b90dcb
Remove invalid eventhandler signatures
Alexz1008 Apr 14, 2022
2fcc4c2
Add way to set damage to 0
Alexz1008 Apr 14, 2022
db2c6ac
Remove printlns
Alexz1008 Apr 21, 2022
1fe15a6
Update to 1.18 MM
Alexz1008 Apr 25, 2022
0f262a0
Remove an error msg
Alexz1008 Apr 26, 2022
830d15d
Fix sql's quote char
Alexz1008 May 3, 2022
b22872c
Add stacktrace to skill
Alexz1008 May 4, 2022
4818fb2
Remove fallbacking method for efficiency, increase collision radius
Alexz1008 May 4, 2022
be1d887
Fix playeraccounts getting wrong player object
Alexz1008 Jun 10, 2022
00232dd
Remove VersionPlayer support from IO, remove classboardmanager
Alexz1008 Jun 13, 2022
19398bf
Fix skillapi for 1.19
Alexz1008 Jun 13, 2022
bac0a87
Fix saving for skillapi
Alexz1008 Jun 14, 2022
63132a8
Fix color bug
Alexz1008 Jun 14, 2022
e685496
Add custom particlebuilder class
Alexz1008 Jun 14, 2022
3ab61b9
Add generic commandexecutor to skillapi
Alexz1008 Jun 14, 2022
d44f1a5
Remove versionmanager wherever i could find it
Alexz1008 Jul 16, 2022
1c7309a
Start working on debug
Alexz1008 Aug 3, 2022
cdffdce
Merge branch 'premium' of https://github.com/Alexz1008/SkillAPI.git i…
Alexz1008 Aug 3, 2022
62237d6
stop throwing account 1 not professed
Alexz1008 Aug 3, 2022
fa6986b
Fix offhand sometimes duping attributes
Alexz1008 Aug 4, 2022
f223d2e
Add a try catch to the commands to hopefully catch cancelledpacket
Alexz1008 Aug 4, 2022
032e461
Add AttributeLoadEvent to playerloadcomplete
Alexz1008 Aug 5, 2022
9d7b6c2
Try to make save fails quieter, revert not saving empty acc 1
Alexz1008 Aug 7, 2022
4da7a14
Add playerloadcompleteafterevent
Alexz1008 Aug 8, 2022
0ae334d
Make autosave only work on online players
Alexz1008 Aug 10, 2022
8f6d122
Fixed left and right click registering twice
Alexz1008 Aug 10, 2022
687f658
fix autosave saving offline players
Alexz1008 Aug 11, 2022
4743c0a
Make autosave only save onlineplayers
Alexz1008 Aug 11, 2022
9b75366
Make cooldown mechanic work for not just caster
Alexz1008 Aug 15, 2022
a0f9edd
Allow skillbar to be disabled
Alexz1008 Aug 16, 2022
e49a051
Refactor
Alexz1008 Aug 19, 2022
62c053e
revert
Alexz1008 Aug 19, 2022
8d55579
Fix offhand occasionally duping
Alexz1008 Aug 27, 2022
adbf8f7
Attempt fix changing world adding bar
Alexz1008 Aug 29, 2022
20cba62
Add debug to skills and remove usage of effecttask
Alexz1008 Aug 30, 2022
78bf68d
Add more debug
Alexz1008 Sep 1, 2022
feb3b0a
Change stun handling
Alexz1008 Sep 3, 2022
ea80a47
Remove Crosstownyserver, attempt to add NeoCore support
Alexz1008 Sep 4, 2022
895bad9
Fix debug showing up without debug
Alexz1008 Sep 6, 2022
cbcf7d5
Add more debug
Alexz1008 Sep 6, 2022
6371a83
Fix a debug msg
Alexz1008 Oct 3, 2022
aa720b8
Make value condition work on uninitialized vars
Alexz1008 Nov 10, 2022
d5a32c4
Added some debug to skillapi joins
Alexz1008 Nov 12, 2022
32e3153
Attempt to fix multiple join events
Alexz1008 Nov 15, 2022
50bc9f9
Change the logging slightly
Alexz1008 Nov 30, 2022
28d61fd
apparently source cant damage itself, fix that for corruption damage
Alexz1008 Dec 13, 2022
3657775
Add damage multiplier to pvp
Alexz1008 Dec 20, 2022
e3cc7ac
Raise CPVP damage limiter to 30%
Alexz1008 Dec 26, 2022
006053e
Add more debug
Alexz1008 Dec 26, 2022
dd1a3ac
Remove unused code
Alexz1008 Dec 28, 2022
81d12d5
Remove unneeded logging
Alexz1008 Jan 5, 2023
1a4fe9d
remove logging
Alexz1008 Jan 5, 2023
919ac39
Neocore refactor
Alexz1008 Jan 21, 2023
d050b8e
Attempt fixes for isDead failure
Alexz1008 Jan 25, 2023
e22082d
Attempt offlineplayer save
Alexz1008 Jan 25, 2023
88eb99f
Make attributes not affect non-mana resource
Alexz1008 Feb 8, 2023
2b89a29
Dont load skill cooldowns in boss instances
Alexz1008 Feb 16, 2023
05d5ef1
Attempt to fix duplicate join tasks
Alexz1008 Feb 22, 2023
f6c53bd
Update gradle to fix problems
Alexz1008 Feb 22, 2023
36e4283
Speed up load task significantly, may cause cross-server breaks
Alexz1008 Feb 23, 2023
77d4623
attempt to fix health loading issue
Alexz1008 Feb 23, 2023
7b518a9
Remove pointless part of preload
Alexz1008 Feb 28, 2023
ec62ef0
Try fix bar by defaulting it to enabled
Alexz1008 Mar 25, 2023
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
  •  
  •  
  •  
26 changes: 5 additions & 21 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
# Auto detect text files and perform LF normalization
* text=auto
#
# https://help.github.com/articles/dealing-with-line-endings/
#
# These are explicitly windows files and should use crlf
*.bat text eol=crlf

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,12 @@ pip-log.txt

#Mr Developer
.mr.developer.cfg

# Ignore Gradle project-specific cache directory
.gradle

# Ignore Gradle build output directory
build
/MCCore.jar
/Spigot.jar
/spigot-api-1.16.1-R0.1-SNAPSHOT-shaded.jar
43 changes: 43 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
plugins {
id 'java'
id 'eclipse'
}

configurations.compileClasspath {
exclude group: 'org.spigotmc', module: 'spigot'
exclude group: 'org.spigotmc', module: 'spigot-api'
exclude group: 'org.bukkit', module: 'bukkit'
}

repositories {
// NMS Paper Repo
maven { url = 'https://repo.codemc.io/repository/nms-local/' }

// Hooks repos
maven { url = 'https://jitpack.io' }
maven { url = 'https://maven.enginehub.org/repo/' }
maven { url = 'https://repo.dmulloy2.net/repository/public/' }
maven { url = 'https://repo.md-5.net/content/groups/public/' }
maven { url = 'https://mvn.lumine.io/repository/maven-public/' }
maven { url = 'https://papermc.io/repo/repository/maven-public/' }
maven { url = 'https://repo.md-5.net/content/repositories/releases/' }
maven { url = 'https://repo.md-5.net/content/repositories/snapshots/' }
maven { url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
maven { url = 'https://repo.codemc.org/repository/maven-public/' }

}

dependencies {
compileOnly 'io.papermc.paper:paper:1.17.1-R0.1-SNAPSHOT'

// Hooks
compileOnly 'io.github.waterfallmc:waterfall-api:1.17-R0.1-SNAPSHOT'
compileOnly 'com.sk89q.worldguard:worldguard-bukkit:7.0.0'
compileOnly 'com.sk89q.worldedit:worldedit-bukkit:7.0.0'
compileOnly 'fr.neatmonster:nocheatplus:3.16.1-SNAPSHOT'
compileOnly fileTree(dir: 'libs', include: '*.jar')
compileOnly 'LibsDisguises:LibsDisguises:10.0.21'
compileOnly 'com.github.MilkBowl:VaultAPI:1.7'
compileOnly 'me.clip:placeholderapi:2.10.9'
compileOnly 'de.tr7zw:item-nbt-api-plugin:2.6.0'
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
185 changes: 185 additions & 0 deletions gradlew
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
#!/usr/bin/env sh

#
# Copyright 2015 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################

# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null

APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"

warn () {
echo "$*"
}

die () {
echo
echo "$*"
echo
exit 1
}

# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MSYS* | MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar


# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi

# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi

# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi

# For Cygwin or MSYS, switch paths to Windows format before running java
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`

JAVACMD=`cygpath --unix "$JAVACMD"`

# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option

if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=`expr $i + 1`
done
case $i in
0) set -- ;;
1) set -- "$args0" ;;
2) set -- "$args0" "$args1" ;;
3) set -- "$args0" "$args1" "$args2" ;;
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi

# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=`save "$@"`

# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"

exec "$JAVACMD" "$@"
89 changes: 89 additions & 0 deletions gradlew.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem

@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################

@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal

set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%

@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi

@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"

@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome

set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto execute

echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe

if exist "%JAVA_EXE%" goto execute

echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.

goto fail

:execute
@rem Setup the command line

set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar


@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*

:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd

:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1

:mainEnd
if "%OS%"=="Windows_NT" endlocal

:omega
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions legacy/files/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: com.sucy.skill.SkillAPI

File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@ public void testLore() {
final Pattern compiled = Pattern.compile(pattern);
final Matcher matcher = compiled.matcher("Test prefix -123,456 and suffix");
Assert.assertEquals(matcher.find(), true);
System.out.println(matcher.group(1));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public static String readText(InputStream stream) throws Exception {
try {
stream.close();
} catch (final IOException ex) {
System.out.println("Failed to close stream");
ex.printStackTrace();
}
}
}
Expand Down
File renamed without changes.
Binary file not shown.
Binary file added libs/NeoCore-0.0.1-SNAPSHOT.jar
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file added libs/spigot-api-1.18.2-R0.1-SNAPSHOT-shaded.jar
Binary file not shown.
Binary file removed modules/LibsDisguises.jar
Binary file not shown.
Binary file removed modules/MythicMobs-4.2.0.jar
Binary file not shown.
Binary file removed modules/NoCheatPlus.jar
Binary file not shown.
Binary file removed modules/PlaceholderAPI-2.8.2.jar
Binary file not shown.
Binary file removed modules/ProtocolLib-3.3.1.jar
Binary file not shown.
Binary file removed modules/Vault.jar
Binary file not shown.
Binary file removed modules/WorldEdit.jar
Binary file not shown.
Binary file removed modules/WorldGuard.jar
Binary file not shown.
Binary file removed modules/craftbukkit-1.13.jar
Binary file not shown.
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rootProject.name = 'SkillAPI'
Loading