getAssociations() {
- return Collections.unmodifiableList(associations);
- }
-
- /**
- * Checks if this model has a named attribute that has the same name as argument.
- *
- * Throws IllegalArgumentException
in case it does not find it.
- *
- * @param attribute name of attribute or association target.
- */
- protected void checkAttribute(String attribute) {
- if (!hasAttribute(attribute)) {
- String sb = "Attribute: '" + attribute + "' is not defined in model: '" + getModelClass() + ". "
- + "Available attributes: " + getAttributeNames();
- throw new IllegalArgumentException(sb);
- }
- }
-
- /**
- * Provides column metadata map, keyed by attribute names.
- * Table columns correspond to ActiveJDBC model attributes.
- *
- * @return Provides column metadata map, keyed by attribute names.
- */
- public Map getColumnMetadata() {
- if (columnMetadata == null || columnMetadata.isEmpty()) {
- throw new InitException("Failed to find table: " + getTableName());
- }
- return Collections.unmodifiableMap(columnMetadata);
- }
-
- void setColumnMetadata(Map columnMetadata) {
- this.columnMetadata = columnMetadata;
- }
-
- /**
- * Checks if there is association to the target model class.,
- *
- * @param targetModelClass class of a model that will be checked for association from current model.
- * @return true if any association exists such that the current model is a source and targetModelClass is a target.
- */
- public boolean isAssociatedTo(Class extends Model> targetModelClass) {
-
- if (targetModelClass == null) {
- throw new NullPointerException();
- }
-
- for (Association association : associations) {
- if (association.getTargetClass().equals(targetModelClass)) {
- return true;
- }
- }
- return false;
- }
-
- public void removeAssociationForTarget(Class extends Model> modelClass) {
- Association association = getAssociationForTarget(modelClass);
- if (association != null) {
- associations.remove(association);
- }
- }
-}
diff --git a/src/main/resources/Addons/TabooLibDeprecated.jar b/src/main/resources/Addons/TabooLibDeprecated
similarity index 100%
rename from src/main/resources/Addons/TabooLibDeprecated.jar
rename to src/main/resources/Addons/TabooLibDeprecated
diff --git a/src/main/java/com/ilummc/eagletdl/AlreadyStartException.java b/src/main/scala/com/ilummc/eagletdl/AlreadyStartException.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/AlreadyStartException.java
rename to src/main/scala/com/ilummc/eagletdl/AlreadyStartException.java
diff --git a/src/main/java/com/ilummc/eagletdl/CompleteEvent.java b/src/main/scala/com/ilummc/eagletdl/CompleteEvent.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/CompleteEvent.java
rename to src/main/scala/com/ilummc/eagletdl/CompleteEvent.java
diff --git a/src/main/java/com/ilummc/eagletdl/ConnectedEvent.java b/src/main/scala/com/ilummc/eagletdl/ConnectedEvent.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/ConnectedEvent.java
rename to src/main/scala/com/ilummc/eagletdl/ConnectedEvent.java
diff --git a/src/main/java/com/ilummc/eagletdl/DoNotSupportMultipleThreadException.java b/src/main/scala/com/ilummc/eagletdl/DoNotSupportMultipleThreadException.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/DoNotSupportMultipleThreadException.java
rename to src/main/scala/com/ilummc/eagletdl/DoNotSupportMultipleThreadException.java
diff --git a/src/main/java/com/ilummc/eagletdl/EagletHandler.java b/src/main/scala/com/ilummc/eagletdl/EagletHandler.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/EagletHandler.java
rename to src/main/scala/com/ilummc/eagletdl/EagletHandler.java
diff --git a/src/main/java/com/ilummc/eagletdl/EagletTask.java b/src/main/scala/com/ilummc/eagletdl/EagletTask.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/EagletTask.java
rename to src/main/scala/com/ilummc/eagletdl/EagletTask.java
diff --git a/src/main/java/com/ilummc/eagletdl/ErrorEvent.java b/src/main/scala/com/ilummc/eagletdl/ErrorEvent.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/ErrorEvent.java
rename to src/main/scala/com/ilummc/eagletdl/ErrorEvent.java
diff --git a/src/main/java/com/ilummc/eagletdl/HashNotMatchException.java b/src/main/scala/com/ilummc/eagletdl/HashNotMatchException.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/HashNotMatchException.java
rename to src/main/scala/com/ilummc/eagletdl/HashNotMatchException.java
diff --git a/src/main/java/com/ilummc/eagletdl/HashUtil.java b/src/main/scala/com/ilummc/eagletdl/HashUtil.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/HashUtil.java
rename to src/main/scala/com/ilummc/eagletdl/HashUtil.java
diff --git a/src/main/java/com/ilummc/eagletdl/ProgressEvent.java b/src/main/scala/com/ilummc/eagletdl/ProgressEvent.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/ProgressEvent.java
rename to src/main/scala/com/ilummc/eagletdl/ProgressEvent.java
diff --git a/src/main/java/com/ilummc/eagletdl/RetryFailedException.java b/src/main/scala/com/ilummc/eagletdl/RetryFailedException.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/RetryFailedException.java
rename to src/main/scala/com/ilummc/eagletdl/RetryFailedException.java
diff --git a/src/main/java/com/ilummc/eagletdl/SingleThreadDownload.java b/src/main/scala/com/ilummc/eagletdl/SingleThreadDownload.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/SingleThreadDownload.java
rename to src/main/scala/com/ilummc/eagletdl/SingleThreadDownload.java
diff --git a/src/main/java/com/ilummc/eagletdl/SplitDownload.java b/src/main/scala/com/ilummc/eagletdl/SplitDownload.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/SplitDownload.java
rename to src/main/scala/com/ilummc/eagletdl/SplitDownload.java
diff --git a/src/main/java/com/ilummc/eagletdl/StartEvent.java b/src/main/scala/com/ilummc/eagletdl/StartEvent.java
similarity index 100%
rename from src/main/java/com/ilummc/eagletdl/StartEvent.java
rename to src/main/scala/com/ilummc/eagletdl/StartEvent.java
diff --git a/src/main/java/com/ilummc/tlib/ExampleMain.java b/src/main/scala/com/ilummc/tlib/ExampleMain.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/ExampleMain.java
rename to src/main/scala/com/ilummc/tlib/ExampleMain.java
diff --git a/src/main/java/com/ilummc/tlib/TLib.java b/src/main/scala/com/ilummc/tlib/TLib.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/TLib.java
rename to src/main/scala/com/ilummc/tlib/TLib.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/Dependencies.java b/src/main/scala/com/ilummc/tlib/annotations/Dependencies.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/Dependencies.java
rename to src/main/scala/com/ilummc/tlib/annotations/Dependencies.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/Dependency.java b/src/main/scala/com/ilummc/tlib/annotations/Dependency.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/Dependency.java
rename to src/main/scala/com/ilummc/tlib/annotations/Dependency.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/Logger.java b/src/main/scala/com/ilummc/tlib/annotations/Logger.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/Logger.java
rename to src/main/scala/com/ilummc/tlib/annotations/Logger.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/PluginInstance.java b/src/main/scala/com/ilummc/tlib/annotations/PluginInstance.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/PluginInstance.java
rename to src/main/scala/com/ilummc/tlib/annotations/PluginInstance.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/TConfig.java b/src/main/scala/com/ilummc/tlib/annotations/TConfig.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/TConfig.java
rename to src/main/scala/com/ilummc/tlib/annotations/TConfig.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/TLocalePlugin.java b/src/main/scala/com/ilummc/tlib/annotations/TLocalePlugin.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/TLocalePlugin.java
rename to src/main/scala/com/ilummc/tlib/annotations/TLocalePlugin.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/clr/CommandHandler.java b/src/main/scala/com/ilummc/tlib/annotations/clr/CommandHandler.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/clr/CommandHandler.java
rename to src/main/scala/com/ilummc/tlib/annotations/clr/CommandHandler.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/clr/CommandHandlers.java b/src/main/scala/com/ilummc/tlib/annotations/clr/CommandHandlers.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/clr/CommandHandlers.java
rename to src/main/scala/com/ilummc/tlib/annotations/clr/CommandHandlers.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/clr/Sub.java b/src/main/scala/com/ilummc/tlib/annotations/clr/Sub.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/clr/Sub.java
rename to src/main/scala/com/ilummc/tlib/annotations/clr/Sub.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/db/Database.java b/src/main/scala/com/ilummc/tlib/annotations/db/Database.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/db/Database.java
rename to src/main/scala/com/ilummc/tlib/annotations/db/Database.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/db/DatabasePassword.java b/src/main/scala/com/ilummc/tlib/annotations/db/DatabasePassword.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/db/DatabasePassword.java
rename to src/main/scala/com/ilummc/tlib/annotations/db/DatabasePassword.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/db/DatabaseType.java b/src/main/scala/com/ilummc/tlib/annotations/db/DatabaseType.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/db/DatabaseType.java
rename to src/main/scala/com/ilummc/tlib/annotations/db/DatabaseType.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/db/DatabaseUrl.java b/src/main/scala/com/ilummc/tlib/annotations/db/DatabaseUrl.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/db/DatabaseUrl.java
rename to src/main/scala/com/ilummc/tlib/annotations/db/DatabaseUrl.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/db/DatabaseUser.java b/src/main/scala/com/ilummc/tlib/annotations/db/DatabaseUser.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/db/DatabaseUser.java
rename to src/main/scala/com/ilummc/tlib/annotations/db/DatabaseUser.java
diff --git a/src/main/java/com/ilummc/tlib/annotations/db/SQLTable.java b/src/main/scala/com/ilummc/tlib/annotations/db/SQLTable.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/annotations/db/SQLTable.java
rename to src/main/scala/com/ilummc/tlib/annotations/db/SQLTable.java
diff --git a/src/main/java/com/ilummc/tlib/bean/Property.java b/src/main/scala/com/ilummc/tlib/bean/Property.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bean/Property.java
rename to src/main/scala/com/ilummc/tlib/bean/Property.java
diff --git a/src/main/java/com/ilummc/tlib/bean/PropertyTypeAdaptor.java b/src/main/scala/com/ilummc/tlib/bean/PropertyTypeAdaptor.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bean/PropertyTypeAdaptor.java
rename to src/main/scala/com/ilummc/tlib/bean/PropertyTypeAdaptor.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/api/ChatColor.java b/src/main/scala/com/ilummc/tlib/bungee/api/ChatColor.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/api/ChatColor.java
rename to src/main/scala/com/ilummc/tlib/bungee/api/ChatColor.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/api/ChatMessageType.java b/src/main/scala/com/ilummc/tlib/bungee/api/ChatMessageType.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/api/ChatMessageType.java
rename to src/main/scala/com/ilummc/tlib/bungee/api/ChatMessageType.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/api/chat/BaseComponent.java b/src/main/scala/com/ilummc/tlib/bungee/api/chat/BaseComponent.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/api/chat/BaseComponent.java
rename to src/main/scala/com/ilummc/tlib/bungee/api/chat/BaseComponent.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/api/chat/ClickEvent.java b/src/main/scala/com/ilummc/tlib/bungee/api/chat/ClickEvent.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/api/chat/ClickEvent.java
rename to src/main/scala/com/ilummc/tlib/bungee/api/chat/ClickEvent.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/api/chat/ComponentBuilder.java b/src/main/scala/com/ilummc/tlib/bungee/api/chat/ComponentBuilder.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/api/chat/ComponentBuilder.java
rename to src/main/scala/com/ilummc/tlib/bungee/api/chat/ComponentBuilder.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/api/chat/HoverEvent.java b/src/main/scala/com/ilummc/tlib/bungee/api/chat/HoverEvent.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/api/chat/HoverEvent.java
rename to src/main/scala/com/ilummc/tlib/bungee/api/chat/HoverEvent.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/api/chat/TextComponent.java b/src/main/scala/com/ilummc/tlib/bungee/api/chat/TextComponent.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/api/chat/TextComponent.java
rename to src/main/scala/com/ilummc/tlib/bungee/api/chat/TextComponent.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/api/chat/TranslatableComponent.java b/src/main/scala/com/ilummc/tlib/bungee/api/chat/TranslatableComponent.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/api/chat/TranslatableComponent.java
rename to src/main/scala/com/ilummc/tlib/bungee/api/chat/TranslatableComponent.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/chat/BaseComponentSerializer.java b/src/main/scala/com/ilummc/tlib/bungee/chat/BaseComponentSerializer.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/chat/BaseComponentSerializer.java
rename to src/main/scala/com/ilummc/tlib/bungee/chat/BaseComponentSerializer.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/chat/ComponentSerializer.java b/src/main/scala/com/ilummc/tlib/bungee/chat/ComponentSerializer.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/chat/ComponentSerializer.java
rename to src/main/scala/com/ilummc/tlib/bungee/chat/ComponentSerializer.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/chat/TextComponentSerializer.java b/src/main/scala/com/ilummc/tlib/bungee/chat/TextComponentSerializer.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/chat/TextComponentSerializer.java
rename to src/main/scala/com/ilummc/tlib/bungee/chat/TextComponentSerializer.java
diff --git a/src/main/java/com/ilummc/tlib/bungee/chat/TranslatableComponentSerializer.java b/src/main/scala/com/ilummc/tlib/bungee/chat/TranslatableComponentSerializer.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/bungee/chat/TranslatableComponentSerializer.java
rename to src/main/scala/com/ilummc/tlib/bungee/chat/TranslatableComponentSerializer.java
diff --git a/src/main/java/com/ilummc/tlib/clr/CommandLineResolver.java b/src/main/scala/com/ilummc/tlib/clr/CommandLineResolver.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/clr/CommandLineResolver.java
rename to src/main/scala/com/ilummc/tlib/clr/CommandLineResolver.java
diff --git a/src/main/java/com/ilummc/tlib/compat/PlaceholderHook.java b/src/main/scala/com/ilummc/tlib/compat/PlaceholderHook.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/compat/PlaceholderHook.java
rename to src/main/scala/com/ilummc/tlib/compat/PlaceholderHook.java
diff --git a/src/main/java/com/ilummc/tlib/config/TLibConfig.java b/src/main/scala/com/ilummc/tlib/config/TLibConfig.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/config/TLibConfig.java
rename to src/main/scala/com/ilummc/tlib/config/TLibConfig.java
diff --git a/src/main/java/com/ilummc/tlib/db/Pool.java b/src/main/scala/com/ilummc/tlib/db/Pool.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/db/Pool.java
rename to src/main/scala/com/ilummc/tlib/db/Pool.java
diff --git a/src/main/java/com/ilummc/tlib/db/TLibDataSource.java b/src/main/scala/com/ilummc/tlib/db/TLibDataSource.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/db/TLibDataSource.java
rename to src/main/scala/com/ilummc/tlib/db/TLibDataSource.java
diff --git a/src/main/java/com/ilummc/tlib/dependency/TDependency.java b/src/main/scala/com/ilummc/tlib/dependency/TDependency.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/dependency/TDependency.java
rename to src/main/scala/com/ilummc/tlib/dependency/TDependency.java
diff --git a/src/main/java/com/ilummc/tlib/dependency/TDependencyLoader.java b/src/main/scala/com/ilummc/tlib/dependency/TDependencyLoader.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/dependency/TDependencyLoader.java
rename to src/main/scala/com/ilummc/tlib/dependency/TDependencyLoader.java
diff --git a/src/main/java/com/ilummc/tlib/filter/TLoggerFilter.java b/src/main/scala/com/ilummc/tlib/filter/TLoggerFilter.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/filter/TLoggerFilter.java
rename to src/main/scala/com/ilummc/tlib/filter/TLoggerFilter.java
diff --git a/src/main/java/com/ilummc/tlib/filter/TLoggerFilterHandler.java b/src/main/scala/com/ilummc/tlib/filter/TLoggerFilterHandler.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/filter/TLoggerFilterHandler.java
rename to src/main/scala/com/ilummc/tlib/filter/TLoggerFilterHandler.java
diff --git a/src/main/java/com/ilummc/tlib/filter/impl/FilterConfiguration.java b/src/main/scala/com/ilummc/tlib/filter/impl/FilterConfiguration.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/filter/impl/FilterConfiguration.java
rename to src/main/scala/com/ilummc/tlib/filter/impl/FilterConfiguration.java
diff --git a/src/main/java/com/ilummc/tlib/filter/impl/FilterExceptionMirror.java b/src/main/scala/com/ilummc/tlib/filter/impl/FilterExceptionMirror.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/filter/impl/FilterExceptionMirror.java
rename to src/main/scala/com/ilummc/tlib/filter/impl/FilterExceptionMirror.java
diff --git a/src/main/java/com/ilummc/tlib/filter/impl/FilterInvalidPluginLoader.java b/src/main/scala/com/ilummc/tlib/filter/impl/FilterInvalidPluginLoader.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/filter/impl/FilterInvalidPluginLoader.java
rename to src/main/scala/com/ilummc/tlib/filter/impl/FilterInvalidPluginLoader.java
diff --git a/src/main/java/com/ilummc/tlib/inject/TConfigInjector.java b/src/main/scala/com/ilummc/tlib/inject/TConfigInjector.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/inject/TConfigInjector.java
rename to src/main/scala/com/ilummc/tlib/inject/TConfigInjector.java
diff --git a/src/main/java/com/ilummc/tlib/inject/TConfigWatcher.java b/src/main/scala/com/ilummc/tlib/inject/TConfigWatcher.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/inject/TConfigWatcher.java
rename to src/main/scala/com/ilummc/tlib/inject/TConfigWatcher.java
diff --git a/src/main/java/com/ilummc/tlib/inject/TDependencyInjector.java b/src/main/scala/com/ilummc/tlib/inject/TDependencyInjector.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/inject/TDependencyInjector.java
rename to src/main/scala/com/ilummc/tlib/inject/TDependencyInjector.java
diff --git a/src/main/java/com/ilummc/tlib/inject/TLoggerManager.java b/src/main/scala/com/ilummc/tlib/inject/TLoggerManager.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/inject/TLoggerManager.java
rename to src/main/scala/com/ilummc/tlib/inject/TLoggerManager.java
diff --git a/src/main/java/com/ilummc/tlib/inject/TPluginManager.java b/src/main/scala/com/ilummc/tlib/inject/TPluginManager.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/inject/TPluginManager.java
rename to src/main/scala/com/ilummc/tlib/inject/TPluginManager.java
diff --git a/src/main/java/com/ilummc/tlib/logger/TLogger.java b/src/main/scala/com/ilummc/tlib/logger/TLogger.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/logger/TLogger.java
rename to src/main/scala/com/ilummc/tlib/logger/TLogger.java
diff --git a/src/main/java/com/ilummc/tlib/nms/ActionBar.java b/src/main/scala/com/ilummc/tlib/nms/ActionBar.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/nms/ActionBar.java
rename to src/main/scala/com/ilummc/tlib/nms/ActionBar.java
diff --git a/src/main/java/com/ilummc/tlib/resources/TLocale.java b/src/main/scala/com/ilummc/tlib/resources/TLocale.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/TLocale.java
rename to src/main/scala/com/ilummc/tlib/resources/TLocale.java
diff --git a/src/main/java/com/ilummc/tlib/resources/TLocaleInstance.java b/src/main/scala/com/ilummc/tlib/resources/TLocaleInstance.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/TLocaleInstance.java
rename to src/main/scala/com/ilummc/tlib/resources/TLocaleInstance.java
diff --git a/src/main/java/com/ilummc/tlib/resources/TLocaleLoader.java b/src/main/scala/com/ilummc/tlib/resources/TLocaleLoader.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/TLocaleLoader.java
rename to src/main/scala/com/ilummc/tlib/resources/TLocaleLoader.java
diff --git a/src/main/java/com/ilummc/tlib/resources/TLocaleSender.java b/src/main/scala/com/ilummc/tlib/resources/TLocaleSender.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/TLocaleSender.java
rename to src/main/scala/com/ilummc/tlib/resources/TLocaleSender.java
diff --git a/src/main/java/com/ilummc/tlib/resources/TLocaleSerialize.java b/src/main/scala/com/ilummc/tlib/resources/TLocaleSerialize.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/TLocaleSerialize.java
rename to src/main/scala/com/ilummc/tlib/resources/TLocaleSerialize.java
diff --git a/src/main/java/com/ilummc/tlib/resources/type/TLocaleActionBar.java b/src/main/scala/com/ilummc/tlib/resources/type/TLocaleActionBar.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/type/TLocaleActionBar.java
rename to src/main/scala/com/ilummc/tlib/resources/type/TLocaleActionBar.java
diff --git a/src/main/java/com/ilummc/tlib/resources/type/TLocaleBook.java b/src/main/scala/com/ilummc/tlib/resources/type/TLocaleBook.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/type/TLocaleBook.java
rename to src/main/scala/com/ilummc/tlib/resources/type/TLocaleBook.java
diff --git a/src/main/java/com/ilummc/tlib/resources/type/TLocaleBossBar.java b/src/main/scala/com/ilummc/tlib/resources/type/TLocaleBossBar.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/type/TLocaleBossBar.java
rename to src/main/scala/com/ilummc/tlib/resources/type/TLocaleBossBar.java
diff --git a/src/main/java/com/ilummc/tlib/resources/type/TLocaleJson.java b/src/main/scala/com/ilummc/tlib/resources/type/TLocaleJson.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/type/TLocaleJson.java
rename to src/main/scala/com/ilummc/tlib/resources/type/TLocaleJson.java
diff --git a/src/main/java/com/ilummc/tlib/resources/type/TLocaleSound.java b/src/main/scala/com/ilummc/tlib/resources/type/TLocaleSound.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/type/TLocaleSound.java
rename to src/main/scala/com/ilummc/tlib/resources/type/TLocaleSound.java
diff --git a/src/main/java/com/ilummc/tlib/resources/type/TLocaleText.java b/src/main/scala/com/ilummc/tlib/resources/type/TLocaleText.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/type/TLocaleText.java
rename to src/main/scala/com/ilummc/tlib/resources/type/TLocaleText.java
diff --git a/src/main/java/com/ilummc/tlib/resources/type/TLocaleTitle.java b/src/main/scala/com/ilummc/tlib/resources/type/TLocaleTitle.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/resources/type/TLocaleTitle.java
rename to src/main/scala/com/ilummc/tlib/resources/type/TLocaleTitle.java
diff --git a/src/main/java/com/ilummc/tlib/util/IO.java b/src/main/scala/com/ilummc/tlib/util/IO.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/util/IO.java
rename to src/main/scala/com/ilummc/tlib/util/IO.java
diff --git a/src/main/java/com/ilummc/tlib/util/Ref.java b/src/main/scala/com/ilummc/tlib/util/Ref.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/util/Ref.java
rename to src/main/scala/com/ilummc/tlib/util/Ref.java
diff --git a/src/main/java/com/ilummc/tlib/util/Strings.java b/src/main/scala/com/ilummc/tlib/util/Strings.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/util/Strings.java
rename to src/main/scala/com/ilummc/tlib/util/Strings.java
diff --git a/src/main/java/com/ilummc/tlib/util/asm/AsmAnalyser.java b/src/main/scala/com/ilummc/tlib/util/asm/AsmAnalyser.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/util/asm/AsmAnalyser.java
rename to src/main/scala/com/ilummc/tlib/util/asm/AsmAnalyser.java
diff --git a/src/main/java/com/ilummc/tlib/util/asm/AsmClassLoader.java b/src/main/scala/com/ilummc/tlib/util/asm/AsmClassLoader.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/util/asm/AsmClassLoader.java
rename to src/main/scala/com/ilummc/tlib/util/asm/AsmClassLoader.java
diff --git a/src/main/java/com/ilummc/tlib/util/asm/AsmClassTransformer.java b/src/main/scala/com/ilummc/tlib/util/asm/AsmClassTransformer.java
similarity index 100%
rename from src/main/java/com/ilummc/tlib/util/asm/AsmClassTransformer.java
rename to src/main/scala/com/ilummc/tlib/util/asm/AsmClassTransformer.java
diff --git a/src/main/scala/com/ilummc/tlib/scala/AsyncTask.scala b/src/main/scala/com/ilummc/tlibscala/AsyncTask.scala
similarity index 94%
rename from src/main/scala/com/ilummc/tlib/scala/AsyncTask.scala
rename to src/main/scala/com/ilummc/tlibscala/AsyncTask.scala
index c5706ed..274372d 100644
--- a/src/main/scala/com/ilummc/tlib/scala/AsyncTask.scala
+++ b/src/main/scala/com/ilummc/tlibscala/AsyncTask.scala
@@ -1,4 +1,4 @@
-package com.ilummc.tlib.scala
+package com.ilummc.tlibscala
import org.bukkit.plugin.Plugin
diff --git a/src/main/scala/com/ilummc/tlib/scala/Example.scala b/src/main/scala/com/ilummc/tlibscala/Example.scala
similarity index 94%
rename from src/main/scala/com/ilummc/tlib/scala/Example.scala
rename to src/main/scala/com/ilummc/tlibscala/Example.scala
index d779b47..2453916 100644
--- a/src/main/scala/com/ilummc/tlib/scala/Example.scala
+++ b/src/main/scala/com/ilummc/tlibscala/Example.scala
@@ -1,6 +1,6 @@
-package com.ilummc.tlib.scala
+package com.ilummc.tlibscala
-import com.ilummc.tlib.scala.Prelude._
+import Prelude._
import org.bukkit.Material
import org.bukkit.event.player.PlayerJoinEvent
import org.bukkit.event.{EventHandler, Listener}
diff --git a/src/main/scala/com/ilummc/tlib/scala/Implicits.scala b/src/main/scala/com/ilummc/tlibscala/Implicits.scala
similarity index 87%
rename from src/main/scala/com/ilummc/tlib/scala/Implicits.scala
rename to src/main/scala/com/ilummc/tlibscala/Implicits.scala
index b1a0e8e..9ed88a5 100644
--- a/src/main/scala/com/ilummc/tlib/scala/Implicits.scala
+++ b/src/main/scala/com/ilummc/tlibscala/Implicits.scala
@@ -1,6 +1,6 @@
-package com.ilummc.tlib.scala
+package com.ilummc.tlibscala
-import com.ilummc.tlib.scala.runtime.{RichLocation, RichOfflinePlayer, RichPlayer, RichVector}
+import com.ilummc.tlibscala.runtime.{RichLocation, RichOfflinePlayer, RichPlayer, RichVector}
import org.bukkit.entity.Player
import org.bukkit.util.Vector
import org.bukkit.{Location, OfflinePlayer, World, util}
diff --git a/src/main/scala/com/ilummc/tlib/scala/Prelude.scala b/src/main/scala/com/ilummc/tlibscala/Prelude.scala
similarity index 98%
rename from src/main/scala/com/ilummc/tlib/scala/Prelude.scala
rename to src/main/scala/com/ilummc/tlibscala/Prelude.scala
index c8e079a..443365a 100644
--- a/src/main/scala/com/ilummc/tlib/scala/Prelude.scala
+++ b/src/main/scala/com/ilummc/tlibscala/Prelude.scala
@@ -1,4 +1,4 @@
-package com.ilummc.tlib.scala
+package com.ilummc.tlibscala
import com.ilummc.tlib.resources.TLocale.Logger
import org.bukkit.Bukkit
diff --git a/src/main/scala/com/ilummc/tlib/scala/ScalaTaskExecutor.scala b/src/main/scala/com/ilummc/tlibscala/ScalaTaskExecutor.scala
similarity index 80%
rename from src/main/scala/com/ilummc/tlib/scala/ScalaTaskExecutor.scala
rename to src/main/scala/com/ilummc/tlibscala/ScalaTaskExecutor.scala
index 06a88f3..da1b997 100644
--- a/src/main/scala/com/ilummc/tlib/scala/ScalaTaskExecutor.scala
+++ b/src/main/scala/com/ilummc/tlibscala/ScalaTaskExecutor.scala
@@ -1,8 +1,8 @@
-package com.ilummc.tlib.scala
+package com.ilummc.tlibscala
import org.bukkit.scheduler.BukkitRunnable
-private[scala] class ScalaTaskExecutor(task: => Any) extends BukkitRunnable {
+private[tlibscala] class ScalaTaskExecutor(task: => Any) extends BukkitRunnable {
override def run(): Unit = {
try task catch {
diff --git a/src/main/scala/com/ilummc/tlib/scala/Task.scala b/src/main/scala/com/ilummc/tlibscala/Task.scala
similarity index 94%
rename from src/main/scala/com/ilummc/tlib/scala/Task.scala
rename to src/main/scala/com/ilummc/tlibscala/Task.scala
index 0c889fe..267ff07 100644
--- a/src/main/scala/com/ilummc/tlib/scala/Task.scala
+++ b/src/main/scala/com/ilummc/tlibscala/Task.scala
@@ -1,4 +1,4 @@
-package com.ilummc.tlib.scala
+package com.ilummc.tlibscala
import org.bukkit.plugin.Plugin
diff --git a/src/main/scala/com/ilummc/tlib/scala/runtime/RichLocation.scala b/src/main/scala/com/ilummc/tlibscala/runtime/RichLocation.scala
similarity index 93%
rename from src/main/scala/com/ilummc/tlib/scala/runtime/RichLocation.scala
rename to src/main/scala/com/ilummc/tlibscala/runtime/RichLocation.scala
index 18a0ff3..ef8bcf2 100644
--- a/src/main/scala/com/ilummc/tlib/scala/runtime/RichLocation.scala
+++ b/src/main/scala/com/ilummc/tlibscala/runtime/RichLocation.scala
@@ -1,4 +1,4 @@
-package com.ilummc.tlib.scala.runtime
+package com.ilummc.tlibscala.runtime
import org.bukkit.Location
diff --git a/src/main/scala/com/ilummc/tlib/scala/runtime/RichOfflinePlayer.scala b/src/main/scala/com/ilummc/tlibscala/runtime/RichOfflinePlayer.scala
similarity index 95%
rename from src/main/scala/com/ilummc/tlib/scala/runtime/RichOfflinePlayer.scala
rename to src/main/scala/com/ilummc/tlibscala/runtime/RichOfflinePlayer.scala
index 8c1b160..fa3d7f1 100644
--- a/src/main/scala/com/ilummc/tlib/scala/runtime/RichOfflinePlayer.scala
+++ b/src/main/scala/com/ilummc/tlibscala/runtime/RichOfflinePlayer.scala
@@ -1,4 +1,4 @@
-package com.ilummc.tlib.scala.runtime
+package com.ilummc.tlibscala.runtime
import me.skymc.taboolib.Main
import me.skymc.taboolib.economy.EcoUtils
diff --git a/src/main/scala/com/ilummc/tlib/scala/runtime/RichPlayer.scala b/src/main/scala/com/ilummc/tlibscala/runtime/RichPlayer.scala
similarity index 98%
rename from src/main/scala/com/ilummc/tlib/scala/runtime/RichPlayer.scala
rename to src/main/scala/com/ilummc/tlibscala/runtime/RichPlayer.scala
index 167059a..213c576 100644
--- a/src/main/scala/com/ilummc/tlib/scala/runtime/RichPlayer.scala
+++ b/src/main/scala/com/ilummc/tlibscala/runtime/RichPlayer.scala
@@ -1,4 +1,4 @@
-package com.ilummc.tlib.scala.runtime
+package com.ilummc.tlibscala.runtime
import com.ilummc.tlib.resources.TLocale
import me.skymc.taboolib.anvil.AnvilContainerAPI
diff --git a/src/main/scala/com/ilummc/tlib/scala/runtime/RichVector.scala b/src/main/scala/com/ilummc/tlibscala/runtime/RichVector.scala
similarity index 93%
rename from src/main/scala/com/ilummc/tlib/scala/runtime/RichVector.scala
rename to src/main/scala/com/ilummc/tlibscala/runtime/RichVector.scala
index f12bbd6..557dd3d 100644
--- a/src/main/scala/com/ilummc/tlib/scala/runtime/RichVector.scala
+++ b/src/main/scala/com/ilummc/tlibscala/runtime/RichVector.scala
@@ -1,4 +1,4 @@
-package com.ilummc.tlib.scala.runtime
+package com.ilummc.tlibscala.runtime
import org.bukkit.util.Vector
diff --git a/src/main/java/me/skymc/taboolib/Main.java b/src/main/scala/me/skymc/taboolib/Main.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/Main.java
rename to src/main/scala/me/skymc/taboolib/Main.java
diff --git a/src/main/java/me/skymc/taboolib/TabooLib.java b/src/main/scala/me/skymc/taboolib/TabooLib.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/TabooLib.java
rename to src/main/scala/me/skymc/taboolib/TabooLib.java
diff --git a/src/main/java/me/skymc/taboolib/TabooLibDatabase.java b/src/main/scala/me/skymc/taboolib/TabooLibDatabase.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/TabooLibDatabase.java
rename to src/main/scala/me/skymc/taboolib/TabooLibDatabase.java
diff --git a/src/main/java/me/skymc/taboolib/TabooLibLoader.java b/src/main/scala/me/skymc/taboolib/TabooLibLoader.java
similarity index 97%
rename from src/main/java/me/skymc/taboolib/TabooLibLoader.java
rename to src/main/scala/me/skymc/taboolib/TabooLibLoader.java
index 8ad09da..115cb10 100644
--- a/src/main/java/me/skymc/taboolib/TabooLibLoader.java
+++ b/src/main/scala/me/skymc/taboolib/TabooLibLoader.java
@@ -159,7 +159,10 @@ public class TabooLibLoader implements Listener {
}
static void setupAddons() {
- TabooLib.instance().saveResource("Addons/TabooLibDeprecated.jar", true);
+ TabooLib.instance().saveResource("Addons/TabooLibDeprecated", true);
+ // 傻逼 Gradle 的 shadow 插件会将所有 jar 排除
+ // https://github.com/johnrengelman/shadow/issues/276
+ new File(TabooLib.instance().getDataFolder(), "Addons/TabooLibDeprecated").renameTo(new File(TabooLib.instance().getDataFolder(), "Addons/TabooLibDeprecated.jar"));
File file = new File(TabooLib.instance().getDataFolder(), "Addons");
if (file.exists()) {
Arrays.stream(file.listFiles()).forEach(listFile -> TDependencyLoader.addToPath(TabooLib.instance(), listFile));
diff --git a/src/main/java/me/skymc/taboolib/anvil/AnvilContainer.java b/src/main/scala/me/skymc/taboolib/anvil/AnvilContainer.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/anvil/AnvilContainer.java
rename to src/main/scala/me/skymc/taboolib/anvil/AnvilContainer.java
diff --git a/src/main/java/me/skymc/taboolib/anvil/AnvilContainerAPI.java b/src/main/scala/me/skymc/taboolib/anvil/AnvilContainerAPI.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/anvil/AnvilContainerAPI.java
rename to src/main/scala/me/skymc/taboolib/anvil/AnvilContainerAPI.java
diff --git a/src/main/java/me/skymc/taboolib/anvil/AnvilContainerGenerator.java b/src/main/scala/me/skymc/taboolib/anvil/AnvilContainerGenerator.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/anvil/AnvilContainerGenerator.java
rename to src/main/scala/me/skymc/taboolib/anvil/AnvilContainerGenerator.java
diff --git a/src/main/java/me/skymc/taboolib/bookformatter/BookAchievement.java b/src/main/scala/me/skymc/taboolib/bookformatter/BookAchievement.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/bookformatter/BookAchievement.java
rename to src/main/scala/me/skymc/taboolib/bookformatter/BookAchievement.java
diff --git a/src/main/java/me/skymc/taboolib/bookformatter/BookFormatter.java b/src/main/scala/me/skymc/taboolib/bookformatter/BookFormatter.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/bookformatter/BookFormatter.java
rename to src/main/scala/me/skymc/taboolib/bookformatter/BookFormatter.java
diff --git a/src/main/java/me/skymc/taboolib/bookformatter/BookReflection.java b/src/main/scala/me/skymc/taboolib/bookformatter/BookReflection.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/bookformatter/BookReflection.java
rename to src/main/scala/me/skymc/taboolib/bookformatter/BookReflection.java
diff --git a/src/main/java/me/skymc/taboolib/bookformatter/action/ClickAction.java b/src/main/scala/me/skymc/taboolib/bookformatter/action/ClickAction.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/bookformatter/action/ClickAction.java
rename to src/main/scala/me/skymc/taboolib/bookformatter/action/ClickAction.java
diff --git a/src/main/java/me/skymc/taboolib/bookformatter/action/HoverAction.java b/src/main/scala/me/skymc/taboolib/bookformatter/action/HoverAction.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/bookformatter/action/HoverAction.java
rename to src/main/scala/me/skymc/taboolib/bookformatter/action/HoverAction.java
diff --git a/src/main/java/me/skymc/taboolib/bookformatter/builder/BookBuilder.java b/src/main/scala/me/skymc/taboolib/bookformatter/builder/BookBuilder.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/bookformatter/builder/BookBuilder.java
rename to src/main/scala/me/skymc/taboolib/bookformatter/builder/BookBuilder.java
diff --git a/src/main/java/me/skymc/taboolib/bookformatter/builder/PageBuilder.java b/src/main/scala/me/skymc/taboolib/bookformatter/builder/PageBuilder.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/bookformatter/builder/PageBuilder.java
rename to src/main/scala/me/skymc/taboolib/bookformatter/builder/PageBuilder.java
diff --git a/src/main/java/me/skymc/taboolib/bookformatter/builder/TextBuilder.java b/src/main/scala/me/skymc/taboolib/bookformatter/builder/TextBuilder.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/bookformatter/builder/TextBuilder.java
rename to src/main/scala/me/skymc/taboolib/bookformatter/builder/TextBuilder.java
diff --git a/src/main/java/me/skymc/taboolib/bstats/Metrics.java b/src/main/scala/me/skymc/taboolib/bstats/Metrics.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/bstats/Metrics.java
rename to src/main/scala/me/skymc/taboolib/bstats/Metrics.java
diff --git a/src/main/java/me/skymc/taboolib/bungee/TabooLibBungee.java b/src/main/scala/me/skymc/taboolib/bungee/TabooLibBungee.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/bungee/TabooLibBungee.java
rename to src/main/scala/me/skymc/taboolib/bungee/TabooLibBungee.java
diff --git a/src/main/java/me/skymc/taboolib/client/LogClient.java b/src/main/scala/me/skymc/taboolib/client/LogClient.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/client/LogClient.java
rename to src/main/scala/me/skymc/taboolib/client/LogClient.java
diff --git a/src/main/java/me/skymc/taboolib/cloud/TCloudCommand.java b/src/main/scala/me/skymc/taboolib/cloud/TCloudCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/cloud/TCloudCommand.java
rename to src/main/scala/me/skymc/taboolib/cloud/TCloudCommand.java
diff --git a/src/main/java/me/skymc/taboolib/cloud/TCloudLoader.java b/src/main/scala/me/skymc/taboolib/cloud/TCloudLoader.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/cloud/TCloudLoader.java
rename to src/main/scala/me/skymc/taboolib/cloud/TCloudLoader.java
diff --git a/src/main/java/me/skymc/taboolib/cloud/expansion/Expansion.java b/src/main/scala/me/skymc/taboolib/cloud/expansion/Expansion.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/cloud/expansion/Expansion.java
rename to src/main/scala/me/skymc/taboolib/cloud/expansion/Expansion.java
diff --git a/src/main/java/me/skymc/taboolib/cloud/expansion/ExpansionType.java b/src/main/scala/me/skymc/taboolib/cloud/expansion/ExpansionType.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/cloud/expansion/ExpansionType.java
rename to src/main/scala/me/skymc/taboolib/cloud/expansion/ExpansionType.java
diff --git a/src/main/java/me/skymc/taboolib/commands/SubCommand.java b/src/main/scala/me/skymc/taboolib/commands/SubCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/SubCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/SubCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/SubCommandExecutor.java b/src/main/scala/me/skymc/taboolib/commands/SubCommandExecutor.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/SubCommandExecutor.java
rename to src/main/scala/me/skymc/taboolib/commands/SubCommandExecutor.java
diff --git a/src/main/java/me/skymc/taboolib/commands/TabooLibExecuteCommand.java b/src/main/scala/me/skymc/taboolib/commands/TabooLibExecuteCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/TabooLibExecuteCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/TabooLibExecuteCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/TabooLibMainCommand.java b/src/main/scala/me/skymc/taboolib/commands/TabooLibMainCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/TabooLibMainCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/TabooLibMainCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/builder/SimpleCommandBuilder.java b/src/main/scala/me/skymc/taboolib/commands/builder/SimpleCommandBuilder.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/builder/SimpleCommandBuilder.java
rename to src/main/scala/me/skymc/taboolib/commands/builder/SimpleCommandBuilder.java
diff --git a/src/main/java/me/skymc/taboolib/commands/builder/type/CompleterCommand.java b/src/main/scala/me/skymc/taboolib/commands/builder/type/CompleterCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/builder/type/CompleterCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/builder/type/CompleterCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/builder/type/CompleterTab.java b/src/main/scala/me/skymc/taboolib/commands/builder/type/CompleterTab.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/builder/type/CompleterTab.java
rename to src/main/scala/me/skymc/taboolib/commands/builder/type/CompleterTab.java
diff --git a/src/main/java/me/skymc/taboolib/commands/internal/BaseMainCommand.java b/src/main/scala/me/skymc/taboolib/commands/internal/BaseMainCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/internal/BaseMainCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/internal/BaseMainCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/internal/BaseSubCommand.java b/src/main/scala/me/skymc/taboolib/commands/internal/BaseSubCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/internal/BaseSubCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/internal/BaseSubCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/internal/TBaseCommand.java b/src/main/scala/me/skymc/taboolib/commands/internal/TBaseCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/internal/TBaseCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/internal/TBaseCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/internal/TCommand.java b/src/main/scala/me/skymc/taboolib/commands/internal/TCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/internal/TCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/internal/TCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/internal/TCommandHandler.java b/src/main/scala/me/skymc/taboolib/commands/internal/TCommandHandler.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/internal/TCommandHandler.java
rename to src/main/scala/me/skymc/taboolib/commands/internal/TCommandHandler.java
diff --git a/src/main/java/me/skymc/taboolib/commands/internal/plugin/TLibLocale.java b/src/main/scala/me/skymc/taboolib/commands/internal/plugin/TLibLocale.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/internal/plugin/TLibLocale.java
rename to src/main/scala/me/skymc/taboolib/commands/internal/plugin/TLibLocale.java
diff --git a/src/main/java/me/skymc/taboolib/commands/internal/type/CommandArgument.java b/src/main/scala/me/skymc/taboolib/commands/internal/type/CommandArgument.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/internal/type/CommandArgument.java
rename to src/main/scala/me/skymc/taboolib/commands/internal/type/CommandArgument.java
diff --git a/src/main/java/me/skymc/taboolib/commands/internal/type/CommandField.java b/src/main/scala/me/skymc/taboolib/commands/internal/type/CommandField.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/internal/type/CommandField.java
rename to src/main/scala/me/skymc/taboolib/commands/internal/type/CommandField.java
diff --git a/src/main/java/me/skymc/taboolib/commands/internal/type/CommandRegister.java b/src/main/scala/me/skymc/taboolib/commands/internal/type/CommandRegister.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/internal/type/CommandRegister.java
rename to src/main/scala/me/skymc/taboolib/commands/internal/type/CommandRegister.java
diff --git a/src/main/java/me/skymc/taboolib/commands/internal/type/CommandType.java b/src/main/scala/me/skymc/taboolib/commands/internal/type/CommandType.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/internal/type/CommandType.java
rename to src/main/scala/me/skymc/taboolib/commands/internal/type/CommandType.java
diff --git a/src/main/java/me/skymc/taboolib/commands/language/Language2Command.java b/src/main/scala/me/skymc/taboolib/commands/language/Language2Command.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/language/Language2Command.java
rename to src/main/scala/me/skymc/taboolib/commands/language/Language2Command.java
diff --git a/src/main/java/me/skymc/taboolib/commands/locale/TabooLibLocaleCommand.java b/src/main/scala/me/skymc/taboolib/commands/locale/TabooLibLocaleCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/locale/TabooLibLocaleCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/locale/TabooLibLocaleCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/plugin/TabooLibPluginCommand.java b/src/main/scala/me/skymc/taboolib/commands/plugin/TabooLibPluginCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/plugin/TabooLibPluginCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/plugin/TabooLibPluginCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/AttributesCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/AttributesCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/AttributesCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/AttributesCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/EnchantCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/EnchantCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/EnchantCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/EnchantCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/FlagCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/FlagCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/FlagCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/FlagCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/ImportCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/ImportCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/ImportCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/ImportCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/InfoCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/InfoCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/InfoCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/InfoCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/ItemCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/ItemCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/ItemCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/ItemCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/ItemListCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/ItemListCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/ItemListCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/ItemListCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/PotionCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/PotionCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/PotionCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/PotionCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/SaveCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/SaveCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/SaveCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/SaveCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/SlotCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/SlotCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/SlotCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/SlotCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/SoundsCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/SoundsCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/SoundsCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/SoundsCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/TagDeleteCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/TagDeleteCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/TagDeleteCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/TagDeleteCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/TagDisplayCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/TagDisplayCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/TagDisplayCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/TagDisplayCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/TagPrefixCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/TagPrefixCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/TagPrefixCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/TagPrefixCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/TagSuffixCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/TagSuffixCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/TagSuffixCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/TagSuffixCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/VariableGetCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/VariableGetCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/VariableGetCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/VariableGetCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/VariableSetCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/VariableSetCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/VariableSetCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/VariableSetCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/listener/ListenerItemListCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/listener/ListenerItemListCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/listener/ListenerItemListCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/listener/ListenerItemListCommand.java
diff --git a/src/main/java/me/skymc/taboolib/commands/taboolib/listener/ListenerSoundsCommand.java b/src/main/scala/me/skymc/taboolib/commands/taboolib/listener/ListenerSoundsCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/commands/taboolib/listener/ListenerSoundsCommand.java
rename to src/main/scala/me/skymc/taboolib/commands/taboolib/listener/ListenerSoundsCommand.java
diff --git a/src/main/java/me/skymc/taboolib/common/configuration/TConfiguration.java b/src/main/scala/me/skymc/taboolib/common/configuration/TConfiguration.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/configuration/TConfiguration.java
rename to src/main/scala/me/skymc/taboolib/common/configuration/TConfiguration.java
diff --git a/src/main/java/me/skymc/taboolib/common/function/TFunction.java b/src/main/scala/me/skymc/taboolib/common/function/TFunction.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/function/TFunction.java
rename to src/main/scala/me/skymc/taboolib/common/function/TFunction.java
diff --git a/src/main/java/me/skymc/taboolib/common/function/TFunctionLoader.java b/src/main/scala/me/skymc/taboolib/common/function/TFunctionLoader.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/function/TFunctionLoader.java
rename to src/main/scala/me/skymc/taboolib/common/function/TFunctionLoader.java
diff --git a/src/main/java/me/skymc/taboolib/common/inject/TInject.java b/src/main/scala/me/skymc/taboolib/common/inject/TInject.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/inject/TInject.java
rename to src/main/scala/me/skymc/taboolib/common/inject/TInject.java
diff --git a/src/main/java/me/skymc/taboolib/common/inject/TInjectLoader.java b/src/main/scala/me/skymc/taboolib/common/inject/TInjectLoader.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/inject/TInjectLoader.java
rename to src/main/scala/me/skymc/taboolib/common/inject/TInjectLoader.java
diff --git a/src/main/java/me/skymc/taboolib/common/inject/TInjectTask.java b/src/main/scala/me/skymc/taboolib/common/inject/TInjectTask.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/inject/TInjectTask.java
rename to src/main/scala/me/skymc/taboolib/common/inject/TInjectTask.java
diff --git a/src/main/java/me/skymc/taboolib/common/json/TJsonArray.java b/src/main/scala/me/skymc/taboolib/common/json/TJsonArray.java
similarity index 97%
rename from src/main/java/me/skymc/taboolib/common/json/TJsonArray.java
rename to src/main/scala/me/skymc/taboolib/common/json/TJsonArray.java
index f094d7d..f23a63e 100644
--- a/src/main/java/me/skymc/taboolib/common/json/TJsonArray.java
+++ b/src/main/scala/me/skymc/taboolib/common/json/TJsonArray.java
@@ -59,7 +59,7 @@ public class TJsonArray implements Iterable {
* @param obj 成员
*/
public void add(Boolean obj) {
- jsonArray.add(obj);
+ jsonArray.add(new JsonPrimitive(obj));
}
/**
@@ -68,7 +68,7 @@ public class TJsonArray implements Iterable {
* @param obj 成员
*/
public void add(Character obj) {
- jsonArray.add(obj);
+ jsonArray.add(new JsonPrimitive(obj));
}
/**
@@ -77,7 +77,7 @@ public class TJsonArray implements Iterable {
* @param obj 成员
*/
public void add(Number obj) {
- jsonArray.add(obj);
+ jsonArray.add(new JsonPrimitive(obj));
}
/**
@@ -86,7 +86,7 @@ public class TJsonArray implements Iterable {
* @param obj 成员
*/
public void add(String obj) {
- jsonArray.add(obj);
+ jsonArray.add(new JsonPrimitive(obj));
}
/**
diff --git a/src/main/java/me/skymc/taboolib/common/json/TJsonObject.java b/src/main/scala/me/skymc/taboolib/common/json/TJsonObject.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/json/TJsonObject.java
rename to src/main/scala/me/skymc/taboolib/common/json/TJsonObject.java
diff --git a/src/main/java/me/skymc/taboolib/common/loader/Instantiable.java b/src/main/scala/me/skymc/taboolib/common/loader/Instantiable.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/loader/Instantiable.java
rename to src/main/scala/me/skymc/taboolib/common/loader/Instantiable.java
diff --git a/src/main/java/me/skymc/taboolib/common/loader/InstantiableLoader.java b/src/main/scala/me/skymc/taboolib/common/loader/InstantiableLoader.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/loader/InstantiableLoader.java
rename to src/main/scala/me/skymc/taboolib/common/loader/InstantiableLoader.java
diff --git a/src/main/java/me/skymc/taboolib/common/nms/NMSHandler.java b/src/main/scala/me/skymc/taboolib/common/nms/NMSHandler.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/nms/NMSHandler.java
rename to src/main/scala/me/skymc/taboolib/common/nms/NMSHandler.java
diff --git a/src/main/java/me/skymc/taboolib/common/nms/NMSHandlerImpl.java b/src/main/scala/me/skymc/taboolib/common/nms/NMSHandlerImpl.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/nms/NMSHandlerImpl.java
rename to src/main/scala/me/skymc/taboolib/common/nms/NMSHandlerImpl.java
diff --git a/src/main/java/me/skymc/taboolib/common/packet/TPacketHandler.java b/src/main/scala/me/skymc/taboolib/common/packet/TPacketHandler.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/packet/TPacketHandler.java
rename to src/main/scala/me/skymc/taboolib/common/packet/TPacketHandler.java
diff --git a/src/main/java/me/skymc/taboolib/common/packet/TPacketListener.java b/src/main/scala/me/skymc/taboolib/common/packet/TPacketListener.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/packet/TPacketListener.java
rename to src/main/scala/me/skymc/taboolib/common/packet/TPacketListener.java
diff --git a/src/main/java/me/skymc/taboolib/common/packet/channel/ChannelExecutor.java b/src/main/scala/me/skymc/taboolib/common/packet/channel/ChannelExecutor.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/packet/channel/ChannelExecutor.java
rename to src/main/scala/me/skymc/taboolib/common/packet/channel/ChannelExecutor.java
diff --git a/src/main/java/me/skymc/taboolib/common/packet/channel/InternalChannelExecutor.java b/src/main/scala/me/skymc/taboolib/common/packet/channel/InternalChannelExecutor.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/packet/channel/InternalChannelExecutor.java
rename to src/main/scala/me/skymc/taboolib/common/packet/channel/InternalChannelExecutor.java
diff --git a/src/main/java/me/skymc/taboolib/common/pathfinder/PathfinderCreator.java b/src/main/scala/me/skymc/taboolib/common/pathfinder/PathfinderCreator.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/pathfinder/PathfinderCreator.java
rename to src/main/scala/me/skymc/taboolib/common/pathfinder/PathfinderCreator.java
diff --git a/src/main/java/me/skymc/taboolib/common/pathfinder/PathfinderExecutor.java b/src/main/scala/me/skymc/taboolib/common/pathfinder/PathfinderExecutor.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/pathfinder/PathfinderExecutor.java
rename to src/main/scala/me/skymc/taboolib/common/pathfinder/PathfinderExecutor.java
diff --git a/src/main/java/me/skymc/taboolib/common/pathfinder/SimpleAi.java b/src/main/scala/me/skymc/taboolib/common/pathfinder/SimpleAi.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/pathfinder/SimpleAi.java
rename to src/main/scala/me/skymc/taboolib/common/pathfinder/SimpleAi.java
diff --git a/src/main/java/me/skymc/taboolib/common/pathfinder/SimpleAiSelector.java b/src/main/scala/me/skymc/taboolib/common/pathfinder/SimpleAiSelector.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/pathfinder/SimpleAiSelector.java
rename to src/main/scala/me/skymc/taboolib/common/pathfinder/SimpleAiSelector.java
diff --git a/src/main/java/me/skymc/taboolib/common/pathfinder/internal/InternalPathfinderCreator.java b/src/main/scala/me/skymc/taboolib/common/pathfinder/internal/InternalPathfinderCreator.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/pathfinder/internal/InternalPathfinderCreator.java
rename to src/main/scala/me/skymc/taboolib/common/pathfinder/internal/InternalPathfinderCreator.java
diff --git a/src/main/java/me/skymc/taboolib/common/pathfinder/internal/InternalPathfinderExecutor.java b/src/main/scala/me/skymc/taboolib/common/pathfinder/internal/InternalPathfinderExecutor.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/pathfinder/internal/InternalPathfinderExecutor.java
rename to src/main/scala/me/skymc/taboolib/common/pathfinder/internal/InternalPathfinderExecutor.java
diff --git a/src/main/java/me/skymc/taboolib/common/playercontainer/Container.java b/src/main/scala/me/skymc/taboolib/common/playercontainer/Container.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/playercontainer/Container.java
rename to src/main/scala/me/skymc/taboolib/common/playercontainer/Container.java
diff --git a/src/main/java/me/skymc/taboolib/common/playercontainer/PlayerContainer.java b/src/main/scala/me/skymc/taboolib/common/playercontainer/PlayerContainer.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/playercontainer/PlayerContainer.java
rename to src/main/scala/me/skymc/taboolib/common/playercontainer/PlayerContainer.java
diff --git a/src/main/java/me/skymc/taboolib/common/playercontainer/PlayerContainerLoader.java b/src/main/scala/me/skymc/taboolib/common/playercontainer/PlayerContainerLoader.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/playercontainer/PlayerContainerLoader.java
rename to src/main/scala/me/skymc/taboolib/common/playercontainer/PlayerContainerLoader.java
diff --git a/src/main/java/me/skymc/taboolib/common/schedule/TSchedule.java b/src/main/scala/me/skymc/taboolib/common/schedule/TSchedule.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/schedule/TSchedule.java
rename to src/main/scala/me/skymc/taboolib/common/schedule/TSchedule.java
diff --git a/src/main/java/me/skymc/taboolib/common/schedule/TScheduleData.java b/src/main/scala/me/skymc/taboolib/common/schedule/TScheduleData.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/schedule/TScheduleData.java
rename to src/main/scala/me/skymc/taboolib/common/schedule/TScheduleData.java
diff --git a/src/main/java/me/skymc/taboolib/common/schedule/TScheduleLoader.java b/src/main/scala/me/skymc/taboolib/common/schedule/TScheduleLoader.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/schedule/TScheduleLoader.java
rename to src/main/scala/me/skymc/taboolib/common/schedule/TScheduleLoader.java
diff --git a/src/main/java/me/skymc/taboolib/common/util/SimpleCounter.java b/src/main/scala/me/skymc/taboolib/common/util/SimpleCounter.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/util/SimpleCounter.java
rename to src/main/scala/me/skymc/taboolib/common/util/SimpleCounter.java
diff --git a/src/main/java/me/skymc/taboolib/common/util/SimpleIterator.java b/src/main/scala/me/skymc/taboolib/common/util/SimpleIterator.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/util/SimpleIterator.java
rename to src/main/scala/me/skymc/taboolib/common/util/SimpleIterator.java
diff --git a/src/main/java/me/skymc/taboolib/common/util/SimpleReflection.java b/src/main/scala/me/skymc/taboolib/common/util/SimpleReflection.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/util/SimpleReflection.java
rename to src/main/scala/me/skymc/taboolib/common/util/SimpleReflection.java
diff --git a/src/main/java/me/skymc/taboolib/common/versioncontrol/SimpleClassVisitor.java b/src/main/scala/me/skymc/taboolib/common/versioncontrol/SimpleClassVisitor.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/versioncontrol/SimpleClassVisitor.java
rename to src/main/scala/me/skymc/taboolib/common/versioncontrol/SimpleClassVisitor.java
diff --git a/src/main/java/me/skymc/taboolib/common/versioncontrol/SimpleMethodVisitor.java b/src/main/scala/me/skymc/taboolib/common/versioncontrol/SimpleMethodVisitor.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/versioncontrol/SimpleMethodVisitor.java
rename to src/main/scala/me/skymc/taboolib/common/versioncontrol/SimpleMethodVisitor.java
diff --git a/src/main/java/me/skymc/taboolib/common/versioncontrol/SimpleVersionControl.java b/src/main/scala/me/skymc/taboolib/common/versioncontrol/SimpleVersionControl.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/common/versioncontrol/SimpleVersionControl.java
rename to src/main/scala/me/skymc/taboolib/common/versioncontrol/SimpleVersionControl.java
diff --git a/src/main/java/me/skymc/taboolib/damage/DamageUtils.java b/src/main/scala/me/skymc/taboolib/damage/DamageUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/damage/DamageUtils.java
rename to src/main/scala/me/skymc/taboolib/damage/DamageUtils.java
diff --git a/src/main/java/me/skymc/taboolib/database/GlobalDataManager.java b/src/main/scala/me/skymc/taboolib/database/GlobalDataManager.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/database/GlobalDataManager.java
rename to src/main/scala/me/skymc/taboolib/database/GlobalDataManager.java
diff --git a/src/main/java/me/skymc/taboolib/database/PlayerDataManager.java b/src/main/scala/me/skymc/taboolib/database/PlayerDataManager.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/database/PlayerDataManager.java
rename to src/main/scala/me/skymc/taboolib/database/PlayerDataManager.java
diff --git a/src/main/java/me/skymc/taboolib/events/CustomBookOpenEvent.java b/src/main/scala/me/skymc/taboolib/events/CustomBookOpenEvent.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/events/CustomBookOpenEvent.java
rename to src/main/scala/me/skymc/taboolib/events/CustomBookOpenEvent.java
diff --git a/src/main/java/me/skymc/taboolib/events/PlayerJumpEvent.java b/src/main/scala/me/skymc/taboolib/events/PlayerJumpEvent.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/events/PlayerJumpEvent.java
rename to src/main/scala/me/skymc/taboolib/events/PlayerJumpEvent.java
diff --git a/src/main/java/me/skymc/taboolib/events/PlayerLoadedEvent.java b/src/main/scala/me/skymc/taboolib/events/PlayerLoadedEvent.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/events/PlayerLoadedEvent.java
rename to src/main/scala/me/skymc/taboolib/events/PlayerLoadedEvent.java
diff --git a/src/main/java/me/skymc/taboolib/events/TPluginEnableEvent.java b/src/main/scala/me/skymc/taboolib/events/TPluginEnableEvent.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/events/TPluginEnableEvent.java
rename to src/main/scala/me/skymc/taboolib/events/TPluginEnableEvent.java
diff --git a/src/main/java/me/skymc/taboolib/events/TPluginLoadEvent.java b/src/main/scala/me/skymc/taboolib/events/TPluginLoadEvent.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/events/TPluginLoadEvent.java
rename to src/main/scala/me/skymc/taboolib/events/TPluginLoadEvent.java
diff --git a/src/main/java/me/skymc/taboolib/events/itag/AsyncPlayerReceiveNameTagEvent.java b/src/main/scala/me/skymc/taboolib/events/itag/AsyncPlayerReceiveNameTagEvent.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/events/itag/AsyncPlayerReceiveNameTagEvent.java
rename to src/main/scala/me/skymc/taboolib/events/itag/AsyncPlayerReceiveNameTagEvent.java
diff --git a/src/main/java/me/skymc/taboolib/events/itag/PlayerReceiveNameTagEvent.java b/src/main/scala/me/skymc/taboolib/events/itag/PlayerReceiveNameTagEvent.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/events/itag/PlayerReceiveNameTagEvent.java
rename to src/main/scala/me/skymc/taboolib/events/itag/PlayerReceiveNameTagEvent.java
diff --git a/src/main/java/me/skymc/taboolib/exception/PlayerOfflineException.java b/src/main/scala/me/skymc/taboolib/exception/PlayerOfflineException.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/exception/PlayerOfflineException.java
rename to src/main/scala/me/skymc/taboolib/exception/PlayerOfflineException.java
diff --git a/src/main/java/me/skymc/taboolib/exception/PluginNotFoundException.java b/src/main/scala/me/skymc/taboolib/exception/PluginNotFoundException.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/exception/PluginNotFoundException.java
rename to src/main/scala/me/skymc/taboolib/exception/PluginNotFoundException.java
diff --git a/src/main/java/me/skymc/taboolib/fileutils/ConfigUtils.java b/src/main/scala/me/skymc/taboolib/fileutils/ConfigUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/fileutils/ConfigUtils.java
rename to src/main/scala/me/skymc/taboolib/fileutils/ConfigUtils.java
diff --git a/src/main/java/me/skymc/taboolib/fileutils/EncodeUtils.java b/src/main/scala/me/skymc/taboolib/fileutils/EncodeUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/fileutils/EncodeUtils.java
rename to src/main/scala/me/skymc/taboolib/fileutils/EncodeUtils.java
diff --git a/src/main/java/me/skymc/taboolib/fileutils/FileUtils.java b/src/main/scala/me/skymc/taboolib/fileutils/FileUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/fileutils/FileUtils.java
rename to src/main/scala/me/skymc/taboolib/fileutils/FileUtils.java
diff --git a/src/main/java/me/skymc/taboolib/fileutils/TLogs.java b/src/main/scala/me/skymc/taboolib/fileutils/TLogs.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/fileutils/TLogs.java
rename to src/main/scala/me/skymc/taboolib/fileutils/TLogs.java
diff --git a/src/main/java/me/skymc/taboolib/inventory/ItemUtils.java b/src/main/scala/me/skymc/taboolib/inventory/ItemUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/inventory/ItemUtils.java
rename to src/main/scala/me/skymc/taboolib/inventory/ItemUtils.java
diff --git a/src/main/java/me/skymc/taboolib/inventory/builder/ItemBuilder.java b/src/main/scala/me/skymc/taboolib/inventory/builder/ItemBuilder.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/inventory/builder/ItemBuilder.java
rename to src/main/scala/me/skymc/taboolib/inventory/builder/ItemBuilder.java
diff --git a/src/main/java/me/skymc/taboolib/inventory/builder/MenuBuilder.java b/src/main/scala/me/skymc/taboolib/inventory/builder/MenuBuilder.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/inventory/builder/MenuBuilder.java
rename to src/main/scala/me/skymc/taboolib/inventory/builder/MenuBuilder.java
diff --git a/src/main/java/me/skymc/taboolib/inventory/builder/menu/MenuBuilderCallable.java b/src/main/scala/me/skymc/taboolib/inventory/builder/menu/MenuBuilderCallable.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/inventory/builder/menu/MenuBuilderCallable.java
rename to src/main/scala/me/skymc/taboolib/inventory/builder/menu/MenuBuilderCallable.java
diff --git a/src/main/java/me/skymc/taboolib/inventory/builder/menu/MenuBuilderEvent.java b/src/main/scala/me/skymc/taboolib/inventory/builder/menu/MenuBuilderEvent.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/inventory/builder/menu/MenuBuilderEvent.java
rename to src/main/scala/me/skymc/taboolib/inventory/builder/menu/MenuBuilderEvent.java
diff --git a/src/main/java/me/skymc/taboolib/inventory/builder/menu/MenuBuilderHolder.java b/src/main/scala/me/skymc/taboolib/inventory/builder/menu/MenuBuilderHolder.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/inventory/builder/menu/MenuBuilderHolder.java
rename to src/main/scala/me/skymc/taboolib/inventory/builder/menu/MenuBuilderHolder.java
diff --git a/src/main/java/me/skymc/taboolib/inventory/builder/menu/MenuBuilderItem.java b/src/main/scala/me/skymc/taboolib/inventory/builder/menu/MenuBuilderItem.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/inventory/builder/menu/MenuBuilderItem.java
rename to src/main/scala/me/skymc/taboolib/inventory/builder/menu/MenuBuilderItem.java
diff --git a/src/main/java/me/skymc/taboolib/inventory/builder/menu/MenuBuilderListener.java b/src/main/scala/me/skymc/taboolib/inventory/builder/menu/MenuBuilderListener.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/inventory/builder/menu/MenuBuilderListener.java
rename to src/main/scala/me/skymc/taboolib/inventory/builder/menu/MenuBuilderListener.java
diff --git a/src/main/java/me/skymc/taboolib/itagapi/TagDataHandler.java b/src/main/scala/me/skymc/taboolib/itagapi/TagDataHandler.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/itagapi/TagDataHandler.java
rename to src/main/scala/me/skymc/taboolib/itagapi/TagDataHandler.java
diff --git a/src/main/java/me/skymc/taboolib/itagapi/TagPacket.java b/src/main/scala/me/skymc/taboolib/itagapi/TagPacket.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/itagapi/TagPacket.java
rename to src/main/scala/me/skymc/taboolib/itagapi/TagPacket.java
diff --git a/src/main/java/me/skymc/taboolib/itagapi/TagPlayerData.java b/src/main/scala/me/skymc/taboolib/itagapi/TagPlayerData.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/itagapi/TagPlayerData.java
rename to src/main/scala/me/skymc/taboolib/itagapi/TagPlayerData.java
diff --git a/src/main/java/me/skymc/taboolib/itagapi/TagUtils.java b/src/main/scala/me/skymc/taboolib/itagapi/TagUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/itagapi/TagUtils.java
rename to src/main/scala/me/skymc/taboolib/itagapi/TagUtils.java
diff --git a/src/main/java/me/skymc/taboolib/javascript/ScriptHandler.java b/src/main/scala/me/skymc/taboolib/javascript/ScriptHandler.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/javascript/ScriptHandler.java
rename to src/main/scala/me/skymc/taboolib/javascript/ScriptHandler.java
diff --git a/src/main/java/me/skymc/taboolib/json/tellraw/TellrawCreator.java b/src/main/scala/me/skymc/taboolib/json/tellraw/TellrawCreator.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/json/tellraw/TellrawCreator.java
rename to src/main/scala/me/skymc/taboolib/json/tellraw/TellrawCreator.java
diff --git a/src/main/java/me/skymc/taboolib/json/tellraw/TellrawJson.java b/src/main/scala/me/skymc/taboolib/json/tellraw/TellrawJson.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/json/tellraw/TellrawJson.java
rename to src/main/scala/me/skymc/taboolib/json/tellraw/TellrawJson.java
diff --git a/src/main/java/me/skymc/taboolib/json/tellraw/TellrawVersion.java b/src/main/scala/me/skymc/taboolib/json/tellraw/TellrawVersion.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/json/tellraw/TellrawVersion.java
rename to src/main/scala/me/skymc/taboolib/json/tellraw/TellrawVersion.java
diff --git a/src/main/java/me/skymc/taboolib/json/tellraw/internal/AbstractTellraw.java b/src/main/scala/me/skymc/taboolib/json/tellraw/internal/AbstractTellraw.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/json/tellraw/internal/AbstractTellraw.java
rename to src/main/scala/me/skymc/taboolib/json/tellraw/internal/AbstractTellraw.java
diff --git a/src/main/java/me/skymc/taboolib/json/tellraw/internal/InternalTellraw.java b/src/main/scala/me/skymc/taboolib/json/tellraw/internal/InternalTellraw.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/json/tellraw/internal/InternalTellraw.java
rename to src/main/scala/me/skymc/taboolib/json/tellraw/internal/InternalTellraw.java
diff --git a/src/main/java/me/skymc/taboolib/listener/ListenerNetWork.java b/src/main/scala/me/skymc/taboolib/listener/ListenerNetWork.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/listener/ListenerNetWork.java
rename to src/main/scala/me/skymc/taboolib/listener/ListenerNetWork.java
diff --git a/src/main/java/me/skymc/taboolib/listener/ListenerPlayerCommand.java b/src/main/scala/me/skymc/taboolib/listener/ListenerPlayerCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/listener/ListenerPlayerCommand.java
rename to src/main/scala/me/skymc/taboolib/listener/ListenerPlayerCommand.java
diff --git a/src/main/java/me/skymc/taboolib/listener/ListenerPlayerJoinAndQuit.java b/src/main/scala/me/skymc/taboolib/listener/ListenerPlayerJoinAndQuit.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/listener/ListenerPlayerJoinAndQuit.java
rename to src/main/scala/me/skymc/taboolib/listener/ListenerPlayerJoinAndQuit.java
diff --git a/src/main/java/me/skymc/taboolib/listener/ListenerPlayerJump.java b/src/main/scala/me/skymc/taboolib/listener/ListenerPlayerJump.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/listener/ListenerPlayerJump.java
rename to src/main/scala/me/skymc/taboolib/listener/ListenerPlayerJump.java
diff --git a/src/main/java/me/skymc/taboolib/listener/ListenerPlugin.java b/src/main/scala/me/skymc/taboolib/listener/ListenerPlugin.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/listener/ListenerPlugin.java
rename to src/main/scala/me/skymc/taboolib/listener/ListenerPlugin.java
diff --git a/src/main/java/me/skymc/taboolib/listener/TListener.java b/src/main/scala/me/skymc/taboolib/listener/TListener.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/listener/TListener.java
rename to src/main/scala/me/skymc/taboolib/listener/TListener.java
diff --git a/src/main/java/me/skymc/taboolib/listener/TListenerCommand.java b/src/main/scala/me/skymc/taboolib/listener/TListenerCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/listener/TListenerCommand.java
rename to src/main/scala/me/skymc/taboolib/listener/TListenerCommand.java
diff --git a/src/main/java/me/skymc/taboolib/listener/TListenerHandler.java b/src/main/scala/me/skymc/taboolib/listener/TListenerHandler.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/listener/TListenerHandler.java
rename to src/main/scala/me/skymc/taboolib/listener/TListenerHandler.java
diff --git a/src/main/java/me/skymc/taboolib/methods/ReflectionUtils.java b/src/main/scala/me/skymc/taboolib/methods/ReflectionUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/methods/ReflectionUtils.java
rename to src/main/scala/me/skymc/taboolib/methods/ReflectionUtils.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/IColumn.java b/src/main/scala/me/skymc/taboolib/mysql/IColumn.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/IColumn.java
rename to src/main/scala/me/skymc/taboolib/mysql/IColumn.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/IHost.java b/src/main/scala/me/skymc/taboolib/mysql/IHost.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/IHost.java
rename to src/main/scala/me/skymc/taboolib/mysql/IHost.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/builder/SQLColumn.java b/src/main/scala/me/skymc/taboolib/mysql/builder/SQLColumn.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/builder/SQLColumn.java
rename to src/main/scala/me/skymc/taboolib/mysql/builder/SQLColumn.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/builder/SQLColumnOption.java b/src/main/scala/me/skymc/taboolib/mysql/builder/SQLColumnOption.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/builder/SQLColumnOption.java
rename to src/main/scala/me/skymc/taboolib/mysql/builder/SQLColumnOption.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/builder/SQLColumnType.java b/src/main/scala/me/skymc/taboolib/mysql/builder/SQLColumnType.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/builder/SQLColumnType.java
rename to src/main/scala/me/skymc/taboolib/mysql/builder/SQLColumnType.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/builder/SQLExecutor.java b/src/main/scala/me/skymc/taboolib/mysql/builder/SQLExecutor.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/builder/SQLExecutor.java
rename to src/main/scala/me/skymc/taboolib/mysql/builder/SQLExecutor.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/builder/SQLHost.java b/src/main/scala/me/skymc/taboolib/mysql/builder/SQLHost.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/builder/SQLHost.java
rename to src/main/scala/me/skymc/taboolib/mysql/builder/SQLHost.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/builder/SQLTable.java b/src/main/scala/me/skymc/taboolib/mysql/builder/SQLTable.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/builder/SQLTable.java
rename to src/main/scala/me/skymc/taboolib/mysql/builder/SQLTable.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/builder/query/RunnableQuery.java b/src/main/scala/me/skymc/taboolib/mysql/builder/query/RunnableQuery.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/builder/query/RunnableQuery.java
rename to src/main/scala/me/skymc/taboolib/mysql/builder/query/RunnableQuery.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/builder/query/RunnableUpdate.java b/src/main/scala/me/skymc/taboolib/mysql/builder/query/RunnableUpdate.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/builder/query/RunnableUpdate.java
rename to src/main/scala/me/skymc/taboolib/mysql/builder/query/RunnableUpdate.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/builder/query/TaskResult.java b/src/main/scala/me/skymc/taboolib/mysql/builder/query/TaskResult.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/builder/query/TaskResult.java
rename to src/main/scala/me/skymc/taboolib/mysql/builder/query/TaskResult.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/builder/query/TaskStatement.java b/src/main/scala/me/skymc/taboolib/mysql/builder/query/TaskStatement.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/builder/query/TaskStatement.java
rename to src/main/scala/me/skymc/taboolib/mysql/builder/query/TaskStatement.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/hikari/HikariHandler.java b/src/main/scala/me/skymc/taboolib/mysql/hikari/HikariHandler.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/hikari/HikariHandler.java
rename to src/main/scala/me/skymc/taboolib/mysql/hikari/HikariHandler.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/hikari/MapDataSource.java b/src/main/scala/me/skymc/taboolib/mysql/hikari/MapDataSource.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/hikari/MapDataSource.java
rename to src/main/scala/me/skymc/taboolib/mysql/hikari/MapDataSource.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/sqlite/SQLiteColumn.java b/src/main/scala/me/skymc/taboolib/mysql/sqlite/SQLiteColumn.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/sqlite/SQLiteColumn.java
rename to src/main/scala/me/skymc/taboolib/mysql/sqlite/SQLiteColumn.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/sqlite/SQLiteColumnOption.java b/src/main/scala/me/skymc/taboolib/mysql/sqlite/SQLiteColumnOption.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/sqlite/SQLiteColumnOption.java
rename to src/main/scala/me/skymc/taboolib/mysql/sqlite/SQLiteColumnOption.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/sqlite/SQLiteColumnType.java b/src/main/scala/me/skymc/taboolib/mysql/sqlite/SQLiteColumnType.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/sqlite/SQLiteColumnType.java
rename to src/main/scala/me/skymc/taboolib/mysql/sqlite/SQLiteColumnType.java
diff --git a/src/main/java/me/skymc/taboolib/mysql/sqlite/SQLiteHost.java b/src/main/scala/me/skymc/taboolib/mysql/sqlite/SQLiteHost.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/mysql/sqlite/SQLiteHost.java
rename to src/main/scala/me/skymc/taboolib/mysql/sqlite/SQLiteHost.java
diff --git a/src/main/java/me/skymc/taboolib/object/WeightCollection.java b/src/main/scala/me/skymc/taboolib/object/WeightCollection.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/object/WeightCollection.java
rename to src/main/scala/me/skymc/taboolib/object/WeightCollection.java
diff --git a/src/main/java/me/skymc/taboolib/particle/EffLib.java b/src/main/scala/me/skymc/taboolib/particle/EffLib.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/particle/EffLib.java
rename to src/main/scala/me/skymc/taboolib/particle/EffLib.java
diff --git a/src/main/java/me/skymc/taboolib/particle/pack/ParticleData.java b/src/main/scala/me/skymc/taboolib/particle/pack/ParticleData.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/particle/pack/ParticleData.java
rename to src/main/scala/me/skymc/taboolib/particle/pack/ParticleData.java
diff --git a/src/main/java/me/skymc/taboolib/particle/pack/ParticlePack.java b/src/main/scala/me/skymc/taboolib/particle/pack/ParticlePack.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/particle/pack/ParticlePack.java
rename to src/main/scala/me/skymc/taboolib/particle/pack/ParticlePack.java
diff --git a/src/main/java/me/skymc/taboolib/particle/pack/ParticleType.java b/src/main/scala/me/skymc/taboolib/particle/pack/ParticleType.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/particle/pack/ParticleType.java
rename to src/main/scala/me/skymc/taboolib/particle/pack/ParticleType.java
diff --git a/src/main/java/me/skymc/taboolib/playerdata/DataUtils.java b/src/main/scala/me/skymc/taboolib/playerdata/DataUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/playerdata/DataUtils.java
rename to src/main/scala/me/skymc/taboolib/playerdata/DataUtils.java
diff --git a/src/main/java/me/skymc/taboolib/plugin/PluginLoadState.java b/src/main/scala/me/skymc/taboolib/plugin/PluginLoadState.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/plugin/PluginLoadState.java
rename to src/main/scala/me/skymc/taboolib/plugin/PluginLoadState.java
diff --git a/src/main/java/me/skymc/taboolib/plugin/PluginLoadStateType.java b/src/main/scala/me/skymc/taboolib/plugin/PluginLoadStateType.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/plugin/PluginLoadStateType.java
rename to src/main/scala/me/skymc/taboolib/plugin/PluginLoadStateType.java
diff --git a/src/main/java/me/skymc/taboolib/plugin/PluginUnloadState.java b/src/main/scala/me/skymc/taboolib/plugin/PluginUnloadState.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/plugin/PluginUnloadState.java
rename to src/main/scala/me/skymc/taboolib/plugin/PluginUnloadState.java
diff --git a/src/main/java/me/skymc/taboolib/plugin/PluginUtils.java b/src/main/scala/me/skymc/taboolib/plugin/PluginUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/plugin/PluginUtils.java
rename to src/main/scala/me/skymc/taboolib/plugin/PluginUtils.java
diff --git a/src/main/java/me/skymc/taboolib/scoreboard/ScoreboardUtil.java b/src/main/scala/me/skymc/taboolib/scoreboard/ScoreboardUtil.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/scoreboard/ScoreboardUtil.java
rename to src/main/scala/me/skymc/taboolib/scoreboard/ScoreboardUtil.java
diff --git a/src/main/java/me/skymc/taboolib/scoreboard/SimpleScoreboard.java b/src/main/scala/me/skymc/taboolib/scoreboard/SimpleScoreboard.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/scoreboard/SimpleScoreboard.java
rename to src/main/scala/me/skymc/taboolib/scoreboard/SimpleScoreboard.java
diff --git a/src/main/java/me/skymc/taboolib/socket/TabooLibClient.java b/src/main/scala/me/skymc/taboolib/socket/TabooLibClient.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/TabooLibClient.java
rename to src/main/scala/me/skymc/taboolib/socket/TabooLibClient.java
diff --git a/src/main/java/me/skymc/taboolib/socket/TabooLibServer.java b/src/main/scala/me/skymc/taboolib/socket/TabooLibServer.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/TabooLibServer.java
rename to src/main/scala/me/skymc/taboolib/socket/TabooLibServer.java
diff --git a/src/main/java/me/skymc/taboolib/socket/TabooLibSettings.java b/src/main/scala/me/skymc/taboolib/socket/TabooLibSettings.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/TabooLibSettings.java
rename to src/main/scala/me/skymc/taboolib/socket/TabooLibSettings.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/Packet.java b/src/main/scala/me/skymc/taboolib/socket/packet/Packet.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/Packet.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/Packet.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/PacketParser.java b/src/main/scala/me/skymc/taboolib/socket/packet/PacketParser.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/PacketParser.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/PacketParser.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/PacketSerializer.java b/src/main/scala/me/skymc/taboolib/socket/packet/PacketSerializer.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/PacketSerializer.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/PacketSerializer.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/PacketType.java b/src/main/scala/me/skymc/taboolib/socket/packet/PacketType.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/PacketType.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/PacketType.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/PacketValue.java b/src/main/scala/me/skymc/taboolib/socket/packet/PacketValue.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/PacketValue.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/PacketValue.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/impl/PacketAlive.java b/src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketAlive.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/impl/PacketAlive.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketAlive.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/impl/PacketCommand.java b/src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketCommand.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/impl/PacketCommand.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketCommand.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/impl/PacketEmpty.java b/src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketEmpty.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/impl/PacketEmpty.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketEmpty.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/impl/PacketHeartbeat.java b/src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketHeartbeat.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/impl/PacketHeartbeat.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketHeartbeat.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/impl/PacketJoin.java b/src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketJoin.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/impl/PacketJoin.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketJoin.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/impl/PacketMessage.java b/src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketMessage.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/impl/PacketMessage.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketMessage.java
diff --git a/src/main/java/me/skymc/taboolib/socket/packet/impl/PacketQuit.java b/src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketQuit.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/packet/impl/PacketQuit.java
rename to src/main/scala/me/skymc/taboolib/socket/packet/impl/PacketQuit.java
diff --git a/src/main/java/me/skymc/taboolib/socket/server/ClientConnection.java b/src/main/scala/me/skymc/taboolib/socket/server/ClientConnection.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/socket/server/ClientConnection.java
rename to src/main/scala/me/skymc/taboolib/socket/server/ClientConnection.java
diff --git a/src/main/java/me/skymc/taboolib/sound/SoundPack.java b/src/main/scala/me/skymc/taboolib/sound/SoundPack.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/sound/SoundPack.java
rename to src/main/scala/me/skymc/taboolib/sound/SoundPack.java
diff --git a/src/main/java/me/skymc/taboolib/sound/SoundUtils.java b/src/main/scala/me/skymc/taboolib/sound/SoundUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/sound/SoundUtils.java
rename to src/main/scala/me/skymc/taboolib/sound/SoundUtils.java
diff --git a/src/main/java/me/skymc/taboolib/string/ArrayUtils.java b/src/main/scala/me/skymc/taboolib/string/ArrayUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/ArrayUtils.java
rename to src/main/scala/me/skymc/taboolib/string/ArrayUtils.java
diff --git a/src/main/java/me/skymc/taboolib/string/Language.java b/src/main/scala/me/skymc/taboolib/string/Language.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/Language.java
rename to src/main/scala/me/skymc/taboolib/string/Language.java
diff --git a/src/main/java/me/skymc/taboolib/string/LanguagePack.java b/src/main/scala/me/skymc/taboolib/string/LanguagePack.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/LanguagePack.java
rename to src/main/scala/me/skymc/taboolib/string/LanguagePack.java
diff --git a/src/main/java/me/skymc/taboolib/string/LanguageUtils.java b/src/main/scala/me/skymc/taboolib/string/LanguageUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/LanguageUtils.java
rename to src/main/scala/me/skymc/taboolib/string/LanguageUtils.java
diff --git a/src/main/java/me/skymc/taboolib/string/PatternUtils.java b/src/main/scala/me/skymc/taboolib/string/PatternUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/PatternUtils.java
rename to src/main/scala/me/skymc/taboolib/string/PatternUtils.java
diff --git a/src/main/java/me/skymc/taboolib/string/StringUtils.java b/src/main/scala/me/skymc/taboolib/string/StringUtils.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/StringUtils.java
rename to src/main/scala/me/skymc/taboolib/string/StringUtils.java
diff --git a/src/main/java/me/skymc/taboolib/string/VariableFormatter.java b/src/main/scala/me/skymc/taboolib/string/VariableFormatter.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/VariableFormatter.java
rename to src/main/scala/me/skymc/taboolib/string/VariableFormatter.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/Language2.java b/src/main/scala/me/skymc/taboolib/string/language2/Language2.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/Language2.java
rename to src/main/scala/me/skymc/taboolib/string/language2/Language2.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/Language2Format.java b/src/main/scala/me/skymc/taboolib/string/language2/Language2Format.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/Language2Format.java
rename to src/main/scala/me/skymc/taboolib/string/language2/Language2Format.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/Language2Line.java b/src/main/scala/me/skymc/taboolib/string/language2/Language2Line.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/Language2Line.java
rename to src/main/scala/me/skymc/taboolib/string/language2/Language2Line.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/Language2Type.java b/src/main/scala/me/skymc/taboolib/string/language2/Language2Type.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/Language2Type.java
rename to src/main/scala/me/skymc/taboolib/string/language2/Language2Type.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/Language2Value.java b/src/main/scala/me/skymc/taboolib/string/language2/Language2Value.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/Language2Value.java
rename to src/main/scala/me/skymc/taboolib/string/language2/Language2Value.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/value/Language2Action.java b/src/main/scala/me/skymc/taboolib/string/language2/value/Language2Action.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/value/Language2Action.java
rename to src/main/scala/me/skymc/taboolib/string/language2/value/Language2Action.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/value/Language2Book.java b/src/main/scala/me/skymc/taboolib/string/language2/value/Language2Book.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/value/Language2Book.java
rename to src/main/scala/me/skymc/taboolib/string/language2/value/Language2Book.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/value/Language2Json.java b/src/main/scala/me/skymc/taboolib/string/language2/value/Language2Json.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/value/Language2Json.java
rename to src/main/scala/me/skymc/taboolib/string/language2/value/Language2Json.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/value/Language2Json2.java b/src/main/scala/me/skymc/taboolib/string/language2/value/Language2Json2.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/value/Language2Json2.java
rename to src/main/scala/me/skymc/taboolib/string/language2/value/Language2Json2.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/value/Language2Sound.java b/src/main/scala/me/skymc/taboolib/string/language2/value/Language2Sound.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/value/Language2Sound.java
rename to src/main/scala/me/skymc/taboolib/string/language2/value/Language2Sound.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/value/Language2Text.java b/src/main/scala/me/skymc/taboolib/string/language2/value/Language2Text.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/value/Language2Text.java
rename to src/main/scala/me/skymc/taboolib/string/language2/value/Language2Text.java
diff --git a/src/main/java/me/skymc/taboolib/string/language2/value/Language2Title.java b/src/main/scala/me/skymc/taboolib/string/language2/value/Language2Title.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/string/language2/value/Language2Title.java
rename to src/main/scala/me/skymc/taboolib/string/language2/value/Language2Title.java
diff --git a/src/main/java/me/skymc/taboolib/support/SupportWorldGuard.java b/src/main/scala/me/skymc/taboolib/support/SupportWorldGuard.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/support/SupportWorldGuard.java
rename to src/main/scala/me/skymc/taboolib/support/SupportWorldGuard.java
diff --git a/src/main/java/me/skymc/taboolib/timeutil/TimeFormatter.java b/src/main/scala/me/skymc/taboolib/timeutil/TimeFormatter.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/timeutil/TimeFormatter.java
rename to src/main/scala/me/skymc/taboolib/timeutil/TimeFormatter.java
diff --git a/src/main/java/me/skymc/taboolib/update/UpdateTask.java b/src/main/scala/me/skymc/taboolib/update/UpdateTask.java
similarity index 100%
rename from src/main/java/me/skymc/taboolib/update/UpdateTask.java
rename to src/main/scala/me/skymc/taboolib/update/UpdateTask.java