Initial commit

This commit is contained in:
BuildTools 2018-01-24 13:15:28 -05:00
commit 0da5249ec7
39 changed files with 294 additions and 0 deletions

6
.idea/compiler.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavacSettings">
<option name="ADDITIONAL_OPTIONS_STRING" value="-XDignore.symbol.file=true" />
</component>
</project>

35
.idea/encodings.xml Normal file
View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<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="PROJECT" charset="windows-1252" />
</component>
</project>

7
.idea/kotlinc.xml Normal file
View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KotlinCommonCompilerArguments">
<option name="languageVersion" value="1.1" />
<option name="apiVersion" value="1.1" />
</component>
</project>

6
.idea/misc.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="true" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/KitPreview.iml" filepath="$PROJECT_DIR$/KitPreview.iml" />
</modules>
</component>
</project>

124
.idea/uiDesigner.xml Normal file
View File

@ -0,0 +1,124 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Palette2">
<group name="Swing">
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
</item>
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
</item>
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
</item>
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
<initial-values>
<property name="text" value="Button" />
</initial-values>
</item>
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="RadioButton" />
</initial-values>
</item>
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
<initial-values>
<property name="text" value="CheckBox" />
</initial-values>
</item>
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
<initial-values>
<property name="text" value="Label" />
</initial-values>
</item>
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
<preferred-size width="150" height="-1" />
</default-constraints>
</item>
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
</item>
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
<preferred-size width="150" height="50" />
</default-constraints>
</item>
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
<preferred-size width="200" height="200" />
</default-constraints>
</item>
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
</item>
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
</item>
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
</item>
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
<preferred-size width="-1" height="20" />
</default-constraints>
</item>
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
</item>
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
</item>
</group>
</component>
</project>

71
KitPreview.iml Normal file
View File

@ -0,0 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../Lib/spigot-1.11.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MODULE_DIR$/../Lib/spigot-1.11.jar!/" />
</SOURCES>
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../Lib/ProtocolLib.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../Lib/EssentialsX-2.0.1.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../Lib/PlaceholderAPI.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="jar://$MODULE_DIR$/../Lib/Vault.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</orderEntry>
<orderEntry type="module-library">
<library>
<CLASSES>
<root url="file://$MODULE_DIR$/../Lib" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$MODULE_DIR$/../Lib" />
</SOURCES>
<jarDirectory url="file://$MODULE_DIR$/../Lib" recursive="false" />
<jarDirectory url="file://$MODULE_DIR$/../Lib" recursive="false" type="SOURCES" />
</library>
</orderEntry>
</component>
</module>

View File

@ -0,0 +1,11 @@
EnableSound: 'This will enable sounds in KitPreview'
Sound: 'This is the sound made when clicking in a KitPreview GUI.'
Lock-KP-Commands: 'Setting this to true will prevent players from using any /KP commands (They never need them)'
Exit-Icon: 'This is the icon for exiting in kitPreview'
Buy-Icon: 'This is the icon for buying things in kitPreview'
Debug-Mode: 'If this is enabled bugs will output to the console.'
Glass-Type: 'This is the id of the glass used for the background in the guis .'
Rainbow-Glass: 'If this is enabled the glass background will be randomized colors.'
Only-Show-Kits-With-Perms: 'If this is set to true kits in the /kits gui will only show up if the user has perms for them.'
Dont-Preview-Commands: 'When enabled this will prevent commands from being previewed in KitPreview'
Kits-Free-With-Perms: 'If this is enabled players will be able to get a kit free through kit preview if they have perms for the kit in essentials/ultimatecore'

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.

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.

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.

Binary file not shown.

0
src/config.yml Normal file
View File

0
src/lang.yml Normal file
View File

26
src/plugin.yml Normal file
View File

@ -0,0 +1,26 @@
name: KitPreview
main: com.songoda.kitpreview.KitPreview
version: 5.3
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
aliases: [kp]
usage: /<command> [reload]
previewkit:
description: Preview a kit
default: true
aliases: [pk, preview]
usage: /<command> [kit]