From 7610db4bb8bd53bd1d5f6384c45e513c57f515ce Mon Sep 17 00:00:00 2001 From: Euphyllia Bierque Date: Mon, 6 Jan 2025 01:34:13 +0100 Subject: [PATCH] Fix SkylliaInfo --- .idea/gradle.xml | 1 + addons/SkylliaInfo/build.gradle.kts | 3 +- .../skylliainfo/IslandInfoCommand.java | 14 ++++--- .../skylliainfo/hook/SkylliaBankHook.java | 3 +- .../skylliainfo/hook/SkylliaValueHook.java | 36 +++-------------- .../src/main/resources/paper-plugin.yml | 2 +- addons/SkylliaValueAPI/build.gradle.kts | 28 +++++++++++++ .../fr/excaliamc/skyllia_value/API/API.java | 22 ++++++++++ .../API/event/GainValueEvent.java | 40 +++++++++++++++++++ .../java/fr/excaliamc/skyllia_value/Main.java | 19 +++++++++ .../skyllia_value/database/MariaDBInit.java | 32 +++++++++++++++ .../skyllia_value/database/ValueQuery.java | 37 +++++++++++++++++ .../database/cache/CacheValue.java | 13 ++++++ .../skyllia_value/models/ItemBrutStock.java | 28 +++++++++++++ settings.gradle.kts | 5 ++- 15 files changed, 242 insertions(+), 41 deletions(-) create mode 100644 addons/SkylliaValueAPI/build.gradle.kts create mode 100644 addons/SkylliaValueAPI/src/main/java/fr/excaliamc/skyllia_value/API/API.java create mode 100644 addons/SkylliaValueAPI/src/main/java/fr/excaliamc/skyllia_value/API/event/GainValueEvent.java create mode 100644 addons/SkylliaValueAPI/src/main/java/fr/excaliamc/skyllia_value/Main.java create mode 100644 addons/SkylliaValueAPI/src/main/java/fr/excaliamc/skyllia_value/database/MariaDBInit.java create mode 100644 addons/SkylliaValueAPI/src/main/java/fr/excaliamc/skyllia_value/database/ValueQuery.java create mode 100644 addons/SkylliaValueAPI/src/main/java/fr/excaliamc/skyllia_value/database/cache/CacheValue.java create mode 100644 addons/SkylliaValueAPI/src/main/java/fr/excaliamc/skyllia_value/models/ItemBrutStock.java diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 0f87fad..bab7a80 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -16,6 +16,7 @@