diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/pom.xml b/pom.xml old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/ThemePark.java b/src/main/java/nl/iobyte/themepark/ThemePark.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/ThemeParkAPI.java b/src/main/java/nl/iobyte/themepark/api/ThemeParkAPI.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/attraction/AttractionService.java b/src/main/java/nl/iobyte/themepark/api/attraction/AttractionService.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/attraction/enums/Status.java b/src/main/java/nl/iobyte/themepark/api/attraction/enums/Status.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/attraction/objects/Attraction.java b/src/main/java/nl/iobyte/themepark/api/attraction/objects/Attraction.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/attraction/objects/Region.java b/src/main/java/nl/iobyte/themepark/api/attraction/objects/Region.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/config/ConfigurationManager.java b/src/main/java/nl/iobyte/themepark/api/config/ConfigurationManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/config/enums/StorageKey.java b/src/main/java/nl/iobyte/themepark/api/config/enums/StorageKey.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/config/enums/StorageLocation.java b/src/main/java/nl/iobyte/themepark/api/config/enums/StorageLocation.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/config/objects/Configuration.java b/src/main/java/nl/iobyte/themepark/api/config/objects/Configuration.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/config/objects/ConfigurationUpdater.java b/src/main/java/nl/iobyte/themepark/api/config/objects/ConfigurationUpdater.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/config/objects/JsonConfiguration.java b/src/main/java/nl/iobyte/themepark/api/config/objects/JsonConfiguration.java old mode 100644 new mode 100755 index bab7129..a2a9dd5 --- a/src/main/java/nl/iobyte/themepark/api/config/objects/JsonConfiguration.java +++ b/src/main/java/nl/iobyte/themepark/api/config/objects/JsonConfiguration.java @@ -10,9 +10,7 @@ import org.bukkit.configuration.file.FileConfiguration; import org.bukkit.configuration.file.YamlConfiguration; import org.jetbrains.annotations.NotNull; import org.yaml.snakeyaml.error.YAMLException; - import java.io.File; -import java.io.FileNotFoundException; import java.io.IOException; import java.util.Map; import java.util.logging.Level; diff --git a/src/main/java/nl/iobyte/themepark/api/database/DatabaseService.java b/src/main/java/nl/iobyte/themepark/api/database/DatabaseService.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/database/objects/Database.java b/src/main/java/nl/iobyte/themepark/api/database/objects/Database.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/database/objects/types/MySQLDatabase.java b/src/main/java/nl/iobyte/themepark/api/database/objects/types/MySQLDatabase.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/database/objects/types/NullDatabase.java b/src/main/java/nl/iobyte/themepark/api/database/objects/types/NullDatabase.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/database/objects/types/SQLiteDatabase.java b/src/main/java/nl/iobyte/themepark/api/database/objects/types/SQLiteDatabase.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/EventDispatcher.java b/src/main/java/nl/iobyte/themepark/api/event/EventDispatcher.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionCoverChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionCoverChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionCreateEvent.java b/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionCreateEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionDescriptionChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionDescriptionChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionLocationChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionLocationChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionNameChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionNameChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionPreStatusChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionPreStatusChangeEvent.java old mode 100644 new mode 100755 index ab86e18..610f83f --- a/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionPreStatusChangeEvent.java +++ b/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionPreStatusChangeEvent.java @@ -3,14 +3,21 @@ package nl.iobyte.themepark.api.event.attraction; import nl.iobyte.themepark.api.attraction.enums.Status; import nl.iobyte.themepark.api.attraction.objects.Attraction; import nl.iobyte.themepark.api.event.objects.AttractionEvent; +import org.bukkit.entity.Player; import org.bukkit.event.Cancellable; public class AttractionPreStatusChangeEvent extends AttractionEvent implements Cancellable { - private boolean b; + private final Player player; + private boolean b = false; - public AttractionPreStatusChangeEvent(Attraction attraction, Status old, Status current) { + public AttractionPreStatusChangeEvent(Attraction attraction, Status old, Status current, Player player) { super(attraction, old, current); + this.player = player; + } + + public Player getPlayer() { + return player; } public boolean isCancelled() { diff --git a/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionRegionChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionRegionChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionRemoveEvent.java b/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionRemoveEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionStatusChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/attraction/AttractionStatusChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/objects/AttractionEvent.java b/src/main/java/nl/iobyte/themepark/api/event/objects/AttractionEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/objects/ChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/objects/ChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/objects/RegionEvent.java b/src/main/java/nl/iobyte/themepark/api/event/objects/RegionEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/objects/StatusEvent.java b/src/main/java/nl/iobyte/themepark/api/event/objects/StatusEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/region/RegionCreateEvent.java b/src/main/java/nl/iobyte/themepark/api/event/region/RegionCreateEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/region/RegionMaterialChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/region/RegionMaterialChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/region/RegionNameChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/region/RegionNameChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/region/RegionRemoveEvent.java b/src/main/java/nl/iobyte/themepark/api/event/region/RegionRemoveEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/ridecount/RideCountAddEvent.java b/src/main/java/nl/iobyte/themepark/api/event/ridecount/RideCountAddEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/ridecount/RideCountTotalTypeChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/ridecount/RideCountTotalTypeChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/status/StatusColorChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/status/StatusColorChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/status/StatusHexColorChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/status/StatusHexColorChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/status/StatusMaterialChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/status/StatusMaterialChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/status/StatusNameChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/status/StatusNameChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/event/status/StatusTeleportChangeEvent.java b/src/main/java/nl/iobyte/themepark/api/event/status/StatusTeleportChangeEvent.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/load/DataLoadService.java b/src/main/java/nl/iobyte/themepark/api/load/DataLoadService.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/load/interfaces/IDataLoader.java b/src/main/java/nl/iobyte/themepark/api/load/interfaces/IDataLoader.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/load/objects/DatabaseLoader.java b/src/main/java/nl/iobyte/themepark/api/load/objects/DatabaseLoader.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/load/objects/MenuDataLoader.java b/src/main/java/nl/iobyte/themepark/api/load/objects/MenuDataLoader.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/load/objects/SignDataLoader.java b/src/main/java/nl/iobyte/themepark/api/load/objects/SignDataLoader.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/load/objects/StatusDataLoader.java b/src/main/java/nl/iobyte/themepark/api/load/objects/StatusDataLoader.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/menu/MenuService.java b/src/main/java/nl/iobyte/themepark/api/menu/MenuService.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/menu/objects/MainMenu.java b/src/main/java/nl/iobyte/themepark/api/menu/objects/MainMenu.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/menu/objects/StatusMenu.java b/src/main/java/nl/iobyte/themepark/api/menu/objects/StatusMenu.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/menu/objects/actions/PageAction.java b/src/main/java/nl/iobyte/themepark/api/menu/objects/actions/PageAction.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/menu/objects/actions/TPAction.java b/src/main/java/nl/iobyte/themepark/api/menu/objects/actions/TPAction.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/menu/objects/handlers/CommandMenuHandler.java b/src/main/java/nl/iobyte/themepark/api/menu/objects/handlers/CommandMenuHandler.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/menu/objects/handlers/JsonMessageMenuHandler.java b/src/main/java/nl/iobyte/themepark/api/menu/objects/handlers/JsonMessageMenuHandler.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/menu/objects/handlers/PlainMessageMenuHandler.java b/src/main/java/nl/iobyte/themepark/api/menu/objects/handlers/PlainMessageMenuHandler.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/menu/objects/handlers/StatusMenuHandler.java b/src/main/java/nl/iobyte/themepark/api/menu/objects/handlers/StatusMenuHandler.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/message/MessageKey.java b/src/main/java/nl/iobyte/themepark/api/message/MessageKey.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/message/Text.java b/src/main/java/nl/iobyte/themepark/api/message/Text.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/ridecount/RideCountService.java b/src/main/java/nl/iobyte/themepark/api/ridecount/RideCountService.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/ridecount/enums/TotalType.java b/src/main/java/nl/iobyte/themepark/api/ridecount/enums/TotalType.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/ridecount/objects/AttractionCount.java b/src/main/java/nl/iobyte/themepark/api/ridecount/objects/AttractionCount.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/ridecount/objects/RideCount.java b/src/main/java/nl/iobyte/themepark/api/ridecount/objects/RideCount.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/ridecount/objects/TopData.java b/src/main/java/nl/iobyte/themepark/api/ridecount/objects/TopData.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/sign/SignManager.java b/src/main/java/nl/iobyte/themepark/api/sign/SignManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/sign/objects/StatusSign.java b/src/main/java/nl/iobyte/themepark/api/sign/objects/StatusSign.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/sync/SyncService.java b/src/main/java/nl/iobyte/themepark/api/sync/SyncService.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/sync/enums/SyncType.java b/src/main/java/nl/iobyte/themepark/api/sync/enums/SyncType.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/sync/interfaces/ISync.java b/src/main/java/nl/iobyte/themepark/api/sync/interfaces/ISync.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/sync/objects/ConfigurationSync.java b/src/main/java/nl/iobyte/themepark/api/sync/objects/ConfigurationSync.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/api/sync/objects/SignSync.java b/src/main/java/nl/iobyte/themepark/api/sync/objects/SignSync.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/ThemeParkCommand.java b/src/main/java/nl/iobyte/themepark/commands/ThemeParkCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/arguments/AttractionArgument.java b/src/main/java/nl/iobyte/themepark/commands/arguments/AttractionArgument.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/arguments/MaterialArgument.java b/src/main/java/nl/iobyte/themepark/commands/arguments/MaterialArgument.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/arguments/NoAttractionArgument.java b/src/main/java/nl/iobyte/themepark/commands/arguments/NoAttractionArgument.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/arguments/NoRegionArgument.java b/src/main/java/nl/iobyte/themepark/commands/arguments/NoRegionArgument.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/arguments/PlayerArgument.java b/src/main/java/nl/iobyte/themepark/commands/arguments/PlayerArgument.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/arguments/PlayersArgument.java b/src/main/java/nl/iobyte/themepark/commands/arguments/PlayersArgument.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/arguments/RegionArgument.java b/src/main/java/nl/iobyte/themepark/commands/arguments/RegionArgument.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/executors/ConsoleExecutor.java b/src/main/java/nl/iobyte/themepark/commands/executors/ConsoleExecutor.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/executors/PlayerExecutor.java b/src/main/java/nl/iobyte/themepark/commands/executors/PlayerExecutor.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/objects/Reflection.java b/src/main/java/nl/iobyte/themepark/commands/objects/Reflection.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/objects/SpigotPlayerSelector.java b/src/main/java/nl/iobyte/themepark/commands/objects/SpigotPlayerSelector.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/objects/WGManager.java b/src/main/java/nl/iobyte/themepark/commands/objects/WGManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/HelpCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/HelpCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/ItemCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/ItemCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/MenuCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/MenuCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionCommands.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionCommands.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionCoverCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionCoverCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionCreateCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionCreateCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionListCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionListCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionLocationCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionLocationCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionNameCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionNameCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionRegionCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionRegionCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionRemoveCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionRemoveCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionStatusCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionStatusCommand.java old mode 100644 new mode 100755 index edff53c..fa37e41 --- a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionStatusCommand.java +++ b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionStatusCommand.java @@ -9,6 +9,8 @@ import nl.iobyte.themepark.api.attraction.objects.Attraction; import nl.iobyte.themepark.api.event.attraction.AttractionPreStatusChangeEvent; import nl.iobyte.themepark.api.message.Text; import nl.iobyte.themepark.commands.arguments.AttractionArgument; +import org.bukkit.entity.Player; + import java.util.List; public class AttractionStatusCommand extends SubCommand { @@ -25,10 +27,13 @@ public class AttractionStatusCommand extends SubCommand { Attraction attraction = (Attraction) list.get(0); Status status = (Status) list.get(1); + Player player = sender.getOriginal() instanceof Player ? (Player) sender.getOriginal() : null; + AttractionPreStatusChangeEvent event = new AttractionPreStatusChangeEvent( attraction, attraction.getStatus(), - status + status, + player ); ThemePark.getInstance().getAPI().getEventDispatcher().call( event, diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionWarpCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/attraction/AttractionWarpCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionCommands.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionCommands.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionCreateCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionCreateCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionListCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionListCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionMaterialCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionMaterialCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionNameCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionNameCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionRemoveCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/region/RegionRemoveCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/ridecount/RideCountAddCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/ridecount/RideCountAddCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/ridecount/RideCountChangeTotalTypeCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/ridecount/RideCountChangeTotalTypeCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/ridecount/RideCountCommands.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/ridecount/RideCountCommands.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/ridecount/RideCountGetCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/ridecount/RideCountGetCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusColorCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusColorCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusCommands.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusCommands.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusHexColorCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusHexColorCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusMaterialCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusMaterialCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusNameCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusNameCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusTeleportCommand.java b/src/main/java/nl/iobyte/themepark/commands/subcommands/status/StatusTeleportCommand.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/listeners/AttractionListener.java b/src/main/java/nl/iobyte/themepark/listeners/AttractionListener.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/listeners/GeneralListener.java b/src/main/java/nl/iobyte/themepark/listeners/GeneralListener.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/listeners/PlayerListener.java b/src/main/java/nl/iobyte/themepark/listeners/PlayerListener.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/listeners/RegionListener.java b/src/main/java/nl/iobyte/themepark/listeners/RegionListener.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/listeners/RideCountListener.java b/src/main/java/nl/iobyte/themepark/listeners/RideCountListener.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/listeners/StatusListener.java b/src/main/java/nl/iobyte/themepark/listeners/StatusListener.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/listeners/StatusSignListener.java b/src/main/java/nl/iobyte/themepark/listeners/StatusSignListener.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/logger/ThemeParkLogger.java b/src/main/java/nl/iobyte/themepark/logger/ThemeParkLogger.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/scheduler/Task.java b/src/main/java/nl/iobyte/themepark/scheduler/Task.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/scheduler/ThemeParkScheduler.java b/src/main/java/nl/iobyte/themepark/scheduler/ThemeParkScheduler.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/traincarts/RideCountSign.java b/src/main/java/nl/iobyte/themepark/traincarts/RideCountSign.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/utils/LocationUtil.java b/src/main/java/nl/iobyte/themepark/utils/LocationUtil.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/utils/PlaceHolder.java b/src/main/java/nl/iobyte/themepark/utils/PlaceHolder.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/utils/StatusMessage.java b/src/main/java/nl/iobyte/themepark/utils/StatusMessage.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/utils/UpdateManager.java b/src/main/java/nl/iobyte/themepark/utils/UpdateManager.java old mode 100644 new mode 100755 diff --git a/src/main/java/nl/iobyte/themepark/utils/VersionComparator.java b/src/main/java/nl/iobyte/themepark/utils/VersionComparator.java old mode 100644 new mode 100755 diff --git a/src/main/resources/menu.yml b/src/main/resources/menu.yml old mode 100644 new mode 100755 diff --git a/src/main/resources/message.yml b/src/main/resources/message.yml old mode 100644 new mode 100755 diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml old mode 100644 new mode 100755 diff --git a/src/main/resources/settings.yml b/src/main/resources/settings.yml old mode 100644 new mode 100755