From 2bd9c305bb9f056e9d0135d052f42969463f1be5 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sun, 6 Jun 2021 14:16:41 +0200 Subject: [PATCH] Fixed some stuff --- .idea/ThemePark.iml | 53 +++++- .idea/compiler.xml | 1 - .idea/misc.xml | 3 + dependency-reduced-pom.xml | 58 +++++- pom.xml | 24 ++- .../nl/iobyte/themepark/ThemeParkPlugin.java | 35 +++- .../java/nl/iobyte/themepark/api/API.java | 34 ++++ .../themepark/api/attraction/Attraction.java | 2 +- .../themepark/api/attraction/Region.java | 3 +- .../attraction/CreateAttractionEvent.java | 29 +++ .../attraction/RemoveAttractionEvent.java | 29 +++ .../api/events/region/CreateRegionEvent.java | 29 +++ .../api/events/region/RemoveRegionEvent.java | 29 +++ .../ridecount/PreProcessCountEvent.java | 46 +++++ .../api/ridecount/AttractionCount.java | 11 +- .../iobyte/themepark/command/MainCommand.java | 64 ++++++- .../themepark/command/RidecountCommand.java | 65 +++++-- .../java/nl/iobyte/themepark/database/DB.java | 61 +++--- .../iobyte/themepark/database/DBManager.java | 9 +- .../nl/iobyte/themepark/database/MySQL.java | 29 +-- .../nl/iobyte/themepark/database/SQLite.java | 42 ++-- .../nl/iobyte/themepark/dynmap/MapMarker.java | 54 ++++++ .../listener/AttractionListener.java | 76 ++++++-- .../themepark/listener/PlayerListener.java | 107 ++++++----- .../themepark/listener/RegionListener.java | 60 +++++- .../themepark/listener/SignListener.java | 104 ++++++++++ .../themepark/menu/AttractionLoader.java | 91 +++++---- .../iobyte/themepark/menu/AttractionMenu.java | 40 ++-- .../themepark/ridecount/RideCountAPI.java | 161 +++++++++------- .../nl/iobyte/themepark/sign/SignManager.java | 180 ++++++++++++++++++ .../nl/iobyte/themepark/sign/StatusSign.java | 44 +++++ .../themepark/traincarts/TCRideCount.java | 115 +++++++++++ .../nl/iobyte/themepark/util/MessageUtil.java | 1 - .../themepark/util/SpigotPlayerSelector.java | 125 ++++++++++++ src/main/resources/messages.yml | 2 + src/main/resources/plugin.yml | 4 +- src/main/resources/settings.yml | 6 +- 37 files changed, 1511 insertions(+), 315 deletions(-) create mode 100644 src/main/java/nl/iobyte/themepark/api/events/attraction/CreateAttractionEvent.java create mode 100644 src/main/java/nl/iobyte/themepark/api/events/attraction/RemoveAttractionEvent.java create mode 100644 src/main/java/nl/iobyte/themepark/api/events/region/CreateRegionEvent.java create mode 100644 src/main/java/nl/iobyte/themepark/api/events/region/RemoveRegionEvent.java create mode 100644 src/main/java/nl/iobyte/themepark/api/events/ridecount/PreProcessCountEvent.java create mode 100644 src/main/java/nl/iobyte/themepark/dynmap/MapMarker.java create mode 100644 src/main/java/nl/iobyte/themepark/listener/SignListener.java create mode 100644 src/main/java/nl/iobyte/themepark/sign/SignManager.java create mode 100644 src/main/java/nl/iobyte/themepark/sign/StatusSign.java create mode 100644 src/main/java/nl/iobyte/themepark/traincarts/TCRideCount.java create mode 100644 src/main/java/nl/iobyte/themepark/util/SpigotPlayerSelector.java diff --git a/.idea/ThemePark.iml b/.idea/ThemePark.iml index f63550d..5721d0d 100644 --- a/.idea/ThemePark.iml +++ b/.idea/ThemePark.iml @@ -1,5 +1,5 @@ - + @@ -25,7 +25,56 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml index eb0155b..4dc3212 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -7,7 +7,6 @@ - diff --git a/.idea/misc.xml b/.idea/misc.xml index 4b661a5..660162b 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,6 +1,9 @@ + +