Config now loads on start.

Instance System Redone.
Particle Handler Redone.
Deleted Unused Code.
Removed warning suppression found in KitPreviews handlers. (We fix issues we don't suppress them.)
When enabling DisplayItems while having holograms enabled the old holograms would not move, this is resolved.
Fixed buying kits as for some reason it was occasionally spelling names wrong. Nice.
Timeout for buy window removed. (It's useless)
The kit confirm buy window is now forced for admins so they can better test a kits functionality.
EpicSpawners styled interfaces added to buy window.
Sounds added when receiving a kit.
Your mouse will no longer reset when opening a kit from the /kits gui.
Removed sign listeners (I replaced this like a year ago its time to use the new method, (Just look at the sign and do a /kp set <kit>. Same result)
Hologram Handler redone.
You can now reorganize the holograms or even add new lines to it. Not sure why this wasn't a feature already xD
Gutted the Kit Object.
Config Redone.
Settings Editor Redone.
Made it so there is only a single version of KitPreview and the /Kits and /Kit command can be disabled in config.
This commit is contained in:
Songoda 2018-04-01 16:16:51 -04:00
parent 2c4a1bfbaa
commit 18df9c05c3
44 changed files with 54 additions and 34 deletions

View File

@ -2,34 +2,35 @@
<project version="4">
<component name="Encoding">
<file url="file://$PROJECT_DIR$/src/SettingDefinitions.yml" charset="UTF-8" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/API/Update.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Events/BlockListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Events/ChatListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Events/InteractListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Events/InventoryListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Events/QuitListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Events/SignListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Handlers/CommandHandler.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Handlers/DailyHandler.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Handlers/DisplayItemHandler.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Handlers/HologramHandler.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Handlers/ParticleHandler.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Hooks/EssentialsHook.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Hooks/Hooks.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Hooks/UltimateCoreHook.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/KitPreview.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Kits/BlockEditor.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Kits/Buy.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Kits/Editor.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Kits/Keys.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Kits/Kit.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Kits/KitsGUI.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Lang.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/References.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Utils/ConfigWrapper.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Utils/Debugger.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Utils/Methods.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/Utils/SettingsManager.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/api/Update.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/events/BlockListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/events/ChatListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/events/EntityListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/events/InteractListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/events/InventoryListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/events/QuitListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/events/SignListeners.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/handlers/CommandHandler.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/handlers/DailyHandler.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/handlers/DisplayItemHandler.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/handlers/HologramHandler.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/handlers/ParticleHandler.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/hooks/EssentialsHook.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/hooks/Hooks.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/hooks/UltimateCoreHook.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/kits/BlockEditor.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/kits/Buy.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/kits/Editor.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/kits/Keys.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/kits/Kit.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/kits/KitsGUI.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/utils/ConfigWrapper.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/utils/Debugger.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/utils/Methods.java" charset="UTF-16" />
<file url="file://$PROJECT_DIR$/src/com/songoda/kitpreview/utils/SettingsManager.java" charset="UTF-16" />
<file url="PROJECT" charset="windows-1252" />
</component>
</project>

13
.idea/libraries/Lib.xml Normal file
View File

@ -0,0 +1,13 @@
<component name="libraryTable">
<library name="Lib">
<CLASSES>
<root url="file://$PROJECT_DIR$/../Lib" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/../Lib" />
</SOURCES>
<jarDirectory url="file://$PROJECT_DIR$/../Lib" recursive="false" />
<jarDirectory url="file://$PROJECT_DIR$/../Lib" recursive="false" type="SOURCES" />
</library>
</component>

View File

@ -0,0 +1,11 @@
<component name="libraryTable">
<library name="spigot-1.12.2">
<CLASSES>
<root url="jar://$PROJECT_DIR$/../old/spigot-1.12.2.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$PROJECT_DIR$/../old/spigot-1.12.2.jar!/" />
</SOURCES>
</library>
</component>

View File

@ -67,5 +67,8 @@
<jarDirectory url="file://$MODULE_DIR$/../Lib" recursive="false" type="SOURCES" />
</library>
</orderEntry>
<orderEntry type="library" name="Lib" level="project" />
<orderEntry type="library" name="spigot-1.12.2" level="project" />
<orderEntry type="library" name="spigot-1.7.10" level="project" />
</component>
</module>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,19 +1,11 @@
name: KitPreview
main: com.songoda.kitpreview.KitPreview
version: 5.4
version: 5.5
depend: [Arconix]
softdepend: [PlaceholderAPI, Vault, UltimateCore, Essentials, MiniKitPvP]
description: View a kit before you purchase it!
author: songoda
commands:
kits:
description: Display kits.
default: false
usage: /<command> [reload]
kit:
description: Display kits.
default: false
usage: /<command> [reload]
kitpreview:
description: View information on this plugin.
default: true