From 121bd0dcc9326758ee123e039d484fddcb2d1ecc Mon Sep 17 00:00:00 2001 From: James Date: Mon, 19 Apr 2021 14:35:53 +0100 Subject: [PATCH 1/2] Add spotless and license header --- LICENSE_HEADER | 18 ++++++++++++++++++ build.gradle.kts | 10 ++++++++++ 2 files changed, 28 insertions(+) create mode 100644 LICENSE_HEADER diff --git a/LICENSE_HEADER b/LICENSE_HEADER new file mode 100644 index 0000000..bf4c5a2 --- /dev/null +++ b/LICENSE_HEADER @@ -0,0 +1,18 @@ +/* + * StickySurvival - an implementation of the Survival Games minigame + * Copyright (C) 2021 Dumb Dog Diner + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + diff --git a/build.gradle.kts b/build.gradle.kts index 812e47e..8422431 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -13,6 +13,8 @@ plugins { id("eclipse") id("net.nemerosa.versioning") version "2.14.0" + + id("com.diffplug.spotless") version "5.12.1" } group = "com.dumbdogdiner" @@ -59,6 +61,7 @@ dependencies { tasks { ktlintKotlinScriptCheck { dependsOn("ktlintFormat") + dependsOn("spotlessApply") } compileKotlin { @@ -75,6 +78,13 @@ tasks { archiveClassifier.set("") } + configure { + encoding("UTF-8") // all formats will be interpreted as UTF-8 + kotlin { + licenseHeaderFile(project.file("LICENSE_HEADER")) + } + } + spigot { authors = listOf("spazzylemons") softDepends = listOf("AnimatedScoreboard", "PlaceholderAPI", "Vault") From 3dc2872f14ed086d26ebd1e7391c2ccea8cd5ee8 Mon Sep 17 00:00:00 2001 From: James Date: Mon, 19 Apr 2021 14:38:08 +0100 Subject: [PATCH 2/2] Run spotlessApply --- .../com/dumbdogdiner/stickysurvival/Game.kt | 2 +- .../stickysurvival/LobbyHologram.kt | 2 +- .../stickysurvival/StickySurvival.kt | 2 +- .../stickysurvival/StickySurvivalExpansion.kt | 2 +- .../stickysurvival/command/Misc.kt | 2 +- .../stickysurvival/command/SGCommand.kt | 2 +- .../stickysurvival/config/Config.kt | 2 +- .../stickysurvival/config/ConfigHelper.kt | 2 +- .../config/InvalidConfigException.kt | 2 +- .../stickysurvival/config/KitConfig.kt | 2 +- .../stickysurvival/config/LootConfig.kt | 2 +- .../stickysurvival/config/MessageConfig.kt | 2 +- .../stickysurvival/config/WorldBound.kt | 2 +- .../stickysurvival/config/WorldConfig.kt | 2 +- .../config/language/BossBarMessages.kt | 2 +- .../config/language/ChatMessages.kt | 2 +- .../config/language/LobbyMessages.kt | 2 +- .../config/language/TitleMessages.kt | 2 +- .../stickysurvival/event/TributeAddEvent.kt | 18 ++++++++++++++++++ .../stickysurvival/event/TributeRemoveEvent.kt | 18 ++++++++++++++++++ .../stickysurvival/event/TributeWinEvent.kt | 18 ++++++++++++++++++ .../event/TributeWinRewardEvent.kt | 18 ++++++++++++++++++ .../listener/FasterWorldLoadsListener.kt | 2 +- .../listener/GameEventsListener.kt | 2 +- .../listener/LobbyHologramListener.kt | 2 +- .../listener/PerWorldChatListener.kt | 2 +- .../listener/PlayerJoinAndLeaveListener.kt | 2 +- .../manager/AnimatedScoreboardManager.kt | 2 +- .../manager/HiddenPlayerManager.kt | 2 +- .../manager/LobbyInventoryManager.kt | 2 +- .../manager/PlayerNameManager.kt | 2 +- .../stickysurvival/manager/StatsManager.kt | 2 +- .../stickysurvival/manager/WorldManager.kt | 2 +- .../stickysurvival/stats/PlayerStats.kt | 2 +- .../stickysurvival/task/AutoQuitRunnable.kt | 2 +- .../stickysurvival/task/ChestRefillRunnable.kt | 2 +- .../stickysurvival/task/RandomDropRunnable.kt | 2 +- .../stickysurvival/task/SafeRunnable.kt | 2 +- .../stickysurvival/task/TimerRunnable.kt | 2 +- .../task/TrackingCompassRunnable.kt | 2 +- .../stickysurvival/util/Logging.kt | 2 +- .../dumbdogdiner/stickysurvival/util/Misc.kt | 2 +- .../stickysurvival/util/PlayerExtensions.kt | 2 +- .../stickysurvival/util/WorldExtensions.kt | 2 +- 44 files changed, 112 insertions(+), 40 deletions(-) diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/Game.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/Game.kt index 411cf1e..a7efcd6 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/Game.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/Game.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/LobbyHologram.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/LobbyHologram.kt index dc4393d..8839e74 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/LobbyHologram.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/LobbyHologram.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/StickySurvival.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/StickySurvival.kt index 68b6127..fca1e5e 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/StickySurvival.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/StickySurvival.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/StickySurvivalExpansion.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/StickySurvivalExpansion.kt index 8e8eb29..5ca4526 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/StickySurvivalExpansion.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/StickySurvivalExpansion.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/command/Misc.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/command/Misc.kt index e69151e..658508c 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/command/Misc.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/command/Misc.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/command/SGCommand.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/command/SGCommand.kt index 41c2eb1..5a8eca6 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/command/SGCommand.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/command/SGCommand.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/Config.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/Config.kt index f401415..3e2dec4 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/Config.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/Config.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/ConfigHelper.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/ConfigHelper.kt index 7b33e36..af920df 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/ConfigHelper.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/ConfigHelper.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/InvalidConfigException.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/InvalidConfigException.kt index b8f11d3..d057dfb 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/InvalidConfigException.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/InvalidConfigException.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/KitConfig.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/KitConfig.kt index 03f62c0..3720832 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/KitConfig.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/KitConfig.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/LootConfig.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/LootConfig.kt index 20fc618..1bfb9aa 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/LootConfig.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/LootConfig.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/MessageConfig.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/MessageConfig.kt index fa76819..85c8a03 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/MessageConfig.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/MessageConfig.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/WorldBound.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/WorldBound.kt index 13e0739..9950330 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/WorldBound.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/WorldBound.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/WorldConfig.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/WorldConfig.kt index 809e3d2..8ac44ab 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/WorldConfig.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/WorldConfig.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/BossBarMessages.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/BossBarMessages.kt index 1eb61a4..d9f806a 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/BossBarMessages.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/BossBarMessages.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/ChatMessages.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/ChatMessages.kt index e9465c4..62bf91d 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/ChatMessages.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/ChatMessages.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/LobbyMessages.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/LobbyMessages.kt index 8795da3..79758b6 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/LobbyMessages.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/LobbyMessages.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/TitleMessages.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/TitleMessages.kt index debcece..155f211 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/TitleMessages.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/config/language/TitleMessages.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeAddEvent.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeAddEvent.kt index 1ba69b6..fd7fc4c 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeAddEvent.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeAddEvent.kt @@ -1,3 +1,21 @@ +/* + * StickySurvival - an implementation of the Survival Games minigame + * Copyright (C) 2021 Dumb Dog Diner + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.dumbdogdiner.stickysurvival.event import org.bukkit.entity.Player diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeRemoveEvent.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeRemoveEvent.kt index 6423c71..aa95465 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeRemoveEvent.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeRemoveEvent.kt @@ -1,3 +1,21 @@ +/* + * StickySurvival - an implementation of the Survival Games minigame + * Copyright (C) 2021 Dumb Dog Diner + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.dumbdogdiner.stickysurvival.event import com.dumbdogdiner.stickysurvival.Game diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeWinEvent.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeWinEvent.kt index fd5dd25..c5234d3 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeWinEvent.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeWinEvent.kt @@ -1,3 +1,21 @@ +/* + * StickySurvival - an implementation of the Survival Games minigame + * Copyright (C) 2021 Dumb Dog Diner + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.dumbdogdiner.stickysurvival.event import org.bukkit.entity.Player diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeWinRewardEvent.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeWinRewardEvent.kt index da82201..5371d55 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeWinRewardEvent.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/event/TributeWinRewardEvent.kt @@ -1,3 +1,21 @@ +/* + * StickySurvival - an implementation of the Survival Games minigame + * Copyright (C) 2021 Dumb Dog Diner + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + package com.dumbdogdiner.stickysurvival.event import com.dumbdogdiner.stickysurvival.Game diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/FasterWorldLoadsListener.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/FasterWorldLoadsListener.kt index f340ba5..3f1bed2 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/FasterWorldLoadsListener.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/FasterWorldLoadsListener.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/GameEventsListener.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/GameEventsListener.kt index c20e755..0270910 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/GameEventsListener.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/GameEventsListener.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/LobbyHologramListener.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/LobbyHologramListener.kt index bb5cdef..1ac4b17 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/LobbyHologramListener.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/LobbyHologramListener.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/PerWorldChatListener.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/PerWorldChatListener.kt index d2e5308..472a0d2 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/PerWorldChatListener.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/PerWorldChatListener.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/PlayerJoinAndLeaveListener.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/PlayerJoinAndLeaveListener.kt index 422a5e4..cb7a770 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/PlayerJoinAndLeaveListener.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/listener/PlayerJoinAndLeaveListener.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/AnimatedScoreboardManager.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/AnimatedScoreboardManager.kt index ca966c3..71ab5ef 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/AnimatedScoreboardManager.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/AnimatedScoreboardManager.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/HiddenPlayerManager.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/HiddenPlayerManager.kt index ca3a249..404eaaa 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/HiddenPlayerManager.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/HiddenPlayerManager.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/LobbyInventoryManager.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/LobbyInventoryManager.kt index 3d7fb6b..dd66b95 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/LobbyInventoryManager.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/LobbyInventoryManager.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/PlayerNameManager.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/PlayerNameManager.kt index e892426..3b76994 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/PlayerNameManager.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/PlayerNameManager.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/StatsManager.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/StatsManager.kt index bb5739b..d17efeb 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/StatsManager.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/StatsManager.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/WorldManager.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/WorldManager.kt index e34acec..77d8081 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/WorldManager.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/manager/WorldManager.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/stats/PlayerStats.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/stats/PlayerStats.kt index 0b22f79..827d7a3 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/stats/PlayerStats.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/stats/PlayerStats.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/AutoQuitRunnable.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/AutoQuitRunnable.kt index df85958..535ee3d 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/AutoQuitRunnable.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/AutoQuitRunnable.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/ChestRefillRunnable.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/ChestRefillRunnable.kt index 4da7a30..eab9ac7 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/ChestRefillRunnable.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/ChestRefillRunnable.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/RandomDropRunnable.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/RandomDropRunnable.kt index b0d61e0..825068c 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/RandomDropRunnable.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/RandomDropRunnable.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/SafeRunnable.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/SafeRunnable.kt index 52eaf78..ca232ef 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/SafeRunnable.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/SafeRunnable.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/TimerRunnable.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/TimerRunnable.kt index 32b8816..6f72774 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/TimerRunnable.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/TimerRunnable.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/TrackingCompassRunnable.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/TrackingCompassRunnable.kt index 3d4b34f..79d41ec 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/TrackingCompassRunnable.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/task/TrackingCompassRunnable.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/Logging.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/Logging.kt index f7feb5a..968b259 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/Logging.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/Logging.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/Misc.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/Misc.kt index c4feb53..c8e3da1 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/Misc.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/Misc.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/PlayerExtensions.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/PlayerExtensions.kt index 24e519b..9369cae 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/PlayerExtensions.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/PlayerExtensions.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/WorldExtensions.kt b/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/WorldExtensions.kt index b7f6c70..13cee46 100644 --- a/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/WorldExtensions.kt +++ b/src/main/kotlin/com/dumbdogdiner/stickysurvival/util/WorldExtensions.kt @@ -1,6 +1,6 @@ /* * StickySurvival - an implementation of the Survival Games minigame - * Copyright (C) 2020 Dumb Dog Diner + * Copyright (C) 2021 Dumb Dog Diner * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by