Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions LICENSE_HEADER
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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 <https://www.gnu.org/licenses/>.
*/

10 changes: 10 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -59,6 +61,7 @@ dependencies {
tasks {
ktlintKotlinScriptCheck {
dependsOn("ktlintFormat")
dependsOn("spotlessApply")
}

compileKotlin {
Expand All @@ -75,6 +78,13 @@ tasks {
archiveClassifier.set("")
}

configure<com.diffplug.gradle.spotless.SpotlessExtension> {
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")
Expand Down
2 changes: 1 addition & 1 deletion src/main/kotlin/com/dumbdogdiner/stickysurvival/Game.kt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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 <https://www.gnu.org/licenses/>.
*/

package com.dumbdogdiner.stickysurvival.event

import org.bukkit.entity.Player
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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 <https://www.gnu.org/licenses/>.
*/

package com.dumbdogdiner.stickysurvival.event

import com.dumbdogdiner.stickysurvival.Game
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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 <https://www.gnu.org/licenses/>.
*/

package com.dumbdogdiner.stickysurvival.event

import org.bukkit.entity.Player
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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 <https://www.gnu.org/licenses/>.
*/

package com.dumbdogdiner.stickysurvival.event

import com.dumbdogdiner.stickysurvival.Game
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* StickySurvival - an implementation of the Survival Games minigame
* Copyright (C) 2020 Dumb Dog Diner <dumbdogdiner.com>
* Copyright (C) 2021 Dumb Dog Diner <dumbdogdiner.com>
*
* 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
Expand Down
Loading