bluefireoly
86d2478532
Update BadIPDetection.kt
2020-10-19 18:07:50 +02:00
bluefireoly
f16e254c8b
Merge branch 'master' into guispace
2020-10-19 18:03:19 +02:00
bluefireoly
0f62db6155
Added a list of available services to the documentation
2020-10-19 18:00:34 +02:00
bluefireoly
8b087d78e1
Update build.gradle.kts
2020-10-19 17:56:35 +02:00
Jakob K
a388d454b9
Merge pull request #7 from bluefireoly/badipdetection
...
Bad IP detection functionality
2020-10-19 17:52:25 +02:00
bluefireoly
fd505cd902
Added BadIPDetection
2020-10-19 17:51:21 +02:00
bluefireoly
51fa10eb53
Added khttp as a dependency
2020-10-19 17:50:59 +02:00
bluefireoly
a988535c57
Update InventoryGUIBuilder.kt
2020-10-19 02:27:40 +02:00
bluefireoly
5817853096
Create InventoryGUISpaceCompound.kt
2020-10-19 02:27:37 +02:00
bluefireoly
f2990fee09
Removed gui from getItemStack method of GUI elements
...
GUI elements now get the gui type on another way (if needed)
2020-10-19 01:43:26 +02:00
bluefireoly
ab1bf8ea26
Update InventoryGUIBuilder.kt
2020-10-19 01:10:17 +02:00
bluefireoly
8072d176bf
Update InventoryGUIBuilder.kt
2020-10-19 01:06:24 +02:00
bluefireoly
d092708df2
Now passing the slot to the getItemStack method of a GUI element
2020-10-18 23:32:19 +02:00
bluefireoly
b3abcadfab
Icon of a GUI element now retrieved through a method
2020-10-18 22:51:25 +02:00
bluefireoly
85855b7081
Restructured InventoryGUI package
2020-10-18 21:45:00 +02:00
Jakob K
15feb12cd8
Merge pull request #6 from bluefireoly/codestyle
...
Applied kotlin style conventions
2020-10-18 18:38:53 +02:00
bluefireoly
da848728d2
Applied kotlin style conventions
2020-10-18 18:36:49 +02:00
Jakob K
e1d4e8bbfc
Merge pull request #4 from F0Xde/runnables
...
Use reified parameter for `executeCatching`; allow exception handlers to be sync or async
2020-10-18 17:16:26 +02:00
bluefireoly
f606fac7a4
Reformatted code and added documentation
2020-10-18 17:16:04 +02:00
bluefireoly
dcdb817a7c
Changed runTask to bukkitRun
...
Changed the runTask method to bukkitRun and added documentation
2020-10-18 16:53:10 +02:00
Jakob K
f296577a40
Merge pull request #3 from F0Xde/localization
...
Localize messages using `ResourceBundle`s
2020-10-18 16:38:14 +02:00
F0Xde
eaaa52cfe8
Rename some elements to make meaning clearer
2020-10-18 16:10:03 +02:00
F0Xde
c872a94fb2
Make exception handler last argument
2020-10-18 11:30:13 +02:00
F0Xde
95a6eef6df
Use reified type parameter for executeCatching; sync / async handlers
...
The unsafe cast before would throw an exception if any other generic
parameter than `Exception` was used without passing the class reference
explicitly.
It can now also be specified whether the exception handler is to be
executed sync or async, defaulting to sync.
2020-10-18 11:16:03 +02:00
F0Xde
1404b7f675
Remove unnecessary constants for pre- and suffix
2020-10-17 22:49:26 +02:00
F0Xde
f44aa17e3e
Localize messages using ResourceBundle
s
...
Messages can be localized by calling `L10n.getMessage`, which also
formats named arguments. Furthermore the extension function
`Player.getMessage` determines the locale to use by invoking
`L10n.localeProvider`.
2020-10-17 21:17:32 +02:00
bluefireoly
b72424d36d
Update InventoryGUIBuilder.kt
2020-10-17 19:09:13 +02:00
bluefireoly
623085be39
Update build.gradle.kts
2020-10-17 18:54:12 +02:00
bluefireoly
9f6fcd5be8
Fixed StackOverflowError
2020-10-17 15:35:51 +02:00
bluefireoly
2a3582eeca
Switched development version
2020-10-17 15:35:07 +02:00
bluefireoly
3a07ddc872
Updated dokka
2020-10-17 15:09:52 +02:00
bluefireoly
c3f070c750
Update ChainableRunnables.kt
2020-10-17 14:59:25 +02:00
Jakob K
47e328d7fc
Merge pull request #2 from F0Xde/master
...
Allow catching of exceptions in chained runnables
2020-10-17 14:47:55 +02:00
bluefireoly
1859ad66bb
Merge branch 'master' of https://github.com/F0Xde/KSpigot into pr/2
2020-10-17 14:46:14 +02:00
bluefireoly
0daae1d064
Update ChainableRunnables.kt
2020-10-17 14:45:55 +02:00
F0Xde
11d996d78c
Revert changes to gradlew and gradlew.bat
2020-10-17 14:40:43 +02:00
F0Xde
d3453ef8d1
Merge branch 'master' of github.com:bluefireoly/KSpigot into master
2020-10-17 14:37:59 +02:00
bluefireoly
b97bbee74a
Update .gitignore
2020-10-17 14:21:16 +02:00
bluefireoly
259c9fe13a
Moved gui elements to a seperate package
2020-10-17 14:16:41 +02:00
F0Xde
0657c91f0f
Allow catching of exceptions in chained runnables
...
The user can handle exceptions of a specified type occurring in a chained
runnable by calling `executeCatching` and optionally passing a handler
function.
This is needed needed in order to gracefully stop the execution of a
runnable chain without the exception being caught by Bukkit and
resulting in it being logged as uncaught, while also allowing further
handling of the exception.
2020-10-17 14:02:13 +02:00
bluefireoly
74bf90cad4
Updated counterMessageCallback
2020-10-17 13:23:55 +02:00
bluefireoly
f887c73f90
Moved KColors to the java part of the project
2020-10-17 02:26:24 +02:00
bluefireoly
cb905a2a0c
Changed preview square size
2020-10-17 02:22:03 +02:00
bluefireoly
48abd0b140
Changed KColors so that the documentation displays the color
2020-10-17 02:13:41 +02:00
bluefireoly
a65a781bec
Update CommandExtensions.kt
2020-10-17 00:44:52 +02:00
bluefireoly
c20604a077
Changed command registration
2020-10-17 00:43:04 +02:00
bluefireoly
c4cea5b921
Added serializable support
2020-10-16 23:46:44 +02:00
bluefireoly
71ff0d47f8
Update KSpigotSound.kt
2020-10-16 23:46:36 +02:00
bluefireoly
8327891244
Update KSpigotParticles.kt
2020-10-16 23:46:30 +02:00
bluefireoly
18b55f2fe0
Update LocationArea.kt
2020-10-16 23:46:25 +02:00