Commit Graph

698 Commits

Author SHA1 Message Date
bluefireoly 76f7db0d45 SpaceCompound now knows what GUIs currently use it 2020-10-21 20:56:33 +02:00
bluefireoly 94f7b33c1f Now taking page changes into account when handling click events 2020-10-21 20:56:10 +02:00
bluefireoly 4c09ba34f2 Update InventoryGUISpaceCompound.kt 2020-10-21 18:16:33 +02:00
bluefireoly ff7c5940d8 Added state watch functionality 2020-10-21 17:59:34 +02:00
bluefireoly 014ee6e279 Update InventoryGUISlots.kt 2020-10-21 17:16:58 +02:00
bluefireoly 76ea1bfab8 Update InventoryGUISlots.kt 2020-10-21 17:15:40 +02:00
bluefireoly 9484bc1ce5 Foundation for building shared and non-shared inventory GUIs 2020-10-21 15:45:00 +02:00
bluefireoly d7a7ef6914 The space compound can now be rendered 2020-10-21 15:34:08 +02:00
bluefireoly 3c05f54bdb Merge branch 'master' into guispace 2020-10-20 19:02:55 +02:00
bluefireoly ebd03cd70e Create StringBuilderUtils.kt 2020-10-20 19:01:51 +02:00
bluefireoly 872a75acbf Renamed builder function 2020-10-20 18:14:55 +02:00
Jakob K bb35a916b0 Merge pull request #8 from bluefireoly/readme
Update readme.md
2020-10-20 17:47:51 +02:00
bluefireoly 438a1702d1 Update readme.md 2020-10-20 17:47:30 +02:00
bluefireoly deb28cd9b2 Update build.gradle.kts 2020-10-19 23:35:01 +02:00
bluefireoly ce62e97358 Changed wrong packages 2020-10-19 18:20:13 +02:00
bluefireoly 38c67fb11b Update InventoryGUI.kt 2020-10-19 18:18:48 +02:00
bluefireoly a88336acb5 Update ConfigManager.kt 2020-10-19 18:18:46 +02:00
bluefireoly 957b855a96 Merge branch 'master' into guispace 2020-10-19 18:08:10 +02:00
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 ResourceBundles
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