mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-22 11:55:12 +01:00
(workflow) Clean up build script
Changed: > Remove duplicated repositories > Removed paper run > Bumped minotaur > Bumped ktor > Cleaned up plugin.yml > Cleaned up build script > Changed to us.crazycrew Added: > Issue/Bug Templates
This commit is contained in:
parent
7ba7110b57
commit
cb36769d9d
20
.github/DISCUSSION_TEMPLATE/features.yml
vendored
Normal file
20
.github/DISCUSSION_TEMPLATE/features.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
title: "[Feature Request]: "
|
||||||
|
labels: [feature request]
|
||||||
|
|
||||||
|
assignees:
|
||||||
|
- ryderbelserion
|
||||||
|
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Note: Search to make sure you aren't suggesting a duplicate feature.
|
||||||
|
|
||||||
|
You can include screen-shots or gif examples of what you want to achieve.
|
||||||
|
- type: textarea
|
||||||
|
id: feature
|
||||||
|
attributes:
|
||||||
|
label: Describe the feature
|
||||||
|
description: A clear and concise description of what the feature is.
|
||||||
|
validations:
|
||||||
|
required: true
|
88
.github/ISSUE_TEMPLATE/bugs.yml
vendored
Normal file
88
.github/ISSUE_TEMPLATE/bugs.yml
vendored
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
name: "Bug Report"
|
||||||
|
description: "Create a report to help us improve the plugin."
|
||||||
|
title: "[Bug Report]: "
|
||||||
|
labels: ["bug"]
|
||||||
|
|
||||||
|
assignees:
|
||||||
|
- ryderbelserion
|
||||||
|
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
Note: Search to see if an issue already exists for the bug you are reporting.
|
||||||
|
|
||||||
|
What plugin version are you on? Type /version `plugin-name`
|
||||||
|
|
||||||
|
Add any gif / imgur links if need be. Markdown is supported!
|
||||||
|
|
||||||
|
If you have any large stack traces / errors, Please use https://mclo.gs/
|
||||||
|
|
||||||
|
Spark Profiler > https://spark.lucko.me/download
|
||||||
|
- type: input
|
||||||
|
attributes:
|
||||||
|
label: Spark link
|
||||||
|
description: We ask that Spark profilings are shared through a link, not a screenshot. Screenshots inhibit our ability to figure out the real cause of the issue.
|
||||||
|
placeholder: Output of /spark profiler --timeout 300
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: dropdown
|
||||||
|
id: version
|
||||||
|
attributes:
|
||||||
|
label: Server Version
|
||||||
|
description: What server version are you on?
|
||||||
|
options:
|
||||||
|
- 1.8.8
|
||||||
|
- 1.12.2
|
||||||
|
- 1.16.5
|
||||||
|
- 1.19.3
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: platform
|
||||||
|
attributes:
|
||||||
|
label: Server Platform
|
||||||
|
description: What server platform are you using?
|
||||||
|
options:
|
||||||
|
- Spigot
|
||||||
|
- Paper
|
||||||
|
- Purpur
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: bug
|
||||||
|
attributes:
|
||||||
|
label: Describe the bug
|
||||||
|
description: A clear and concise description of what the bug is.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: steps
|
||||||
|
attributes:
|
||||||
|
label: Steps to reproduce
|
||||||
|
description: Steps to reproduce the behavior.
|
||||||
|
placeholder: |
|
||||||
|
1. Go to '...'
|
||||||
|
2. Change value in placeholder.yml '...'
|
||||||
|
3. Run command '...'
|
||||||
|
4. See error
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: context
|
||||||
|
attributes:
|
||||||
|
label: Additional context
|
||||||
|
description: Add any other context about the problem here.
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: checkboxes
|
||||||
|
attributes:
|
||||||
|
label: Agreements
|
||||||
|
description: Please agree to the following.
|
||||||
|
options:
|
||||||
|
- label: I have searched for and ensured there isn't already an open issue regarding this.
|
||||||
|
required: true
|
||||||
|
- label: I ticked all the boxes without actually reading them
|
||||||
|
required: false
|
||||||
|
- label: My version of Minecraft is supported by CrazyCrew.
|
||||||
|
required: true
|
17
README.md
17
README.md
@ -12,7 +12,7 @@
|
|||||||
[![Contact][discord-shield]][discord-url]
|
[![Contact][discord-shield]][discord-url]
|
||||||
![CodeFactor][codefactor-shield]
|
![CodeFactor][codefactor-shield]
|
||||||
|
|
||||||
![Spigot](https://cdn.jsdelivr.net/gh/intergrav/devins-badges/assets/compact/unsupported/spigot_vector.svg)
|
![Spigot](https://cdn.jsdelivr.net/gh/intergrav/devins-badges/assets/compact/supported/spigot_vector.svg)
|
||||||
![Paper](https://cdn.jsdelivr.net/gh/intergrav/devins-badges/assets/compact/supported/paper_vector.svg)
|
![Paper](https://cdn.jsdelivr.net/gh/intergrav/devins-badges/assets/compact/supported/paper_vector.svg)
|
||||||
![Purpur](https://cdn.jsdelivr.net/gh/intergrav/devins-badges/assets/compact/supported/purpur_vector.svg)
|
![Purpur](https://cdn.jsdelivr.net/gh/intergrav/devins-badges/assets/compact/supported/purpur_vector.svg)
|
||||||
|
|
||||||
@ -24,9 +24,9 @@
|
|||||||
<br />
|
<br />
|
||||||
<a href="https://github.com/Crazy-Crew/CrazyAuctions/issues">Report Bug</a>
|
<a href="https://github.com/Crazy-Crew/CrazyAuctions/issues">Report Bug</a>
|
||||||
·
|
·
|
||||||
<a href="https://github.com/orgs/Crazy-Crew/discussions/categories/features?discussions_q=label%3Acrazyauctions+category%3AFeatures">Request Feature</a>
|
<a href="https://github.com/Crazy-Crew/CrazyAuctions/discussions/categories/feature-requests">Request Feature</a>
|
||||||
·
|
·
|
||||||
<a href="https://github.com/orgs/Crazy-Crew/discussions/categories/support?discussions_q=label%3Acrazyauctions+category%3ASupport">Get Support</a>
|
<a href="https://discord.gg/crazycrew">Get Support</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -48,13 +48,12 @@
|
|||||||
</ol>
|
</ol>
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
## Downloads
|
## Resource Page
|
||||||
> https://modrinth.com/plugin/crazyauctions
|
|
||||||
|
|
||||||
## Beta Builds
|
### Beta Builds
|
||||||
### Get the latest changes before marked as release.
|
All beta builds will be on Modrinth marked as beta.<br>
|
||||||
All beta builds will be on Modrinth.<br>
|
|
||||||
> https://modrinth.com/plugin/crazyauctions/versions
|
<a href="https://modrinth.com/plugin/crazyauctions">![Modrinth](https://raw.githubusercontent.com/intergrav/devins-badges/v3/assets/cozy/available/modrinth_64h.png)</a>
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
|
@ -16,8 +16,6 @@ val projectExt = settings.versions.projectExtension.get()
|
|||||||
|
|
||||||
val finalVersion = if (isBeta) "$projectVersion+Beta" else projectVersion
|
val finalVersion = if (isBeta) "$projectVersion+Beta" else projectVersion
|
||||||
|
|
||||||
val projectNameLowerCase = projectName.toLowerCase()
|
|
||||||
|
|
||||||
val color = if (isBeta) betaUpdate else releaseUpdate
|
val color = if (isBeta) betaUpdate else releaseUpdate
|
||||||
val repo = if (isBeta) "beta" else "releases"
|
val repo = if (isBeta) "beta" else "releases"
|
||||||
|
|
||||||
@ -35,7 +33,7 @@ webhook {
|
|||||||
this.fields {
|
this.fields {
|
||||||
this.field(
|
this.field(
|
||||||
"Version $finalVersion",
|
"Version $finalVersion",
|
||||||
"Download Link: https://modrinth.com/$projectExt/$projectNameLowerCase/version/$finalVersion"
|
"Download Link: https://modrinth.com/$projectExt/${projectName.lowercase()}/version/$finalVersion"
|
||||||
)
|
)
|
||||||
|
|
||||||
this.field(
|
this.field(
|
||||||
@ -46,7 +44,7 @@ webhook {
|
|||||||
|
|
||||||
this.author(
|
this.author(
|
||||||
projectName,
|
projectName,
|
||||||
"https://modrinth.com/$projectExt/$projectNameLowerCase/versions",
|
"https://modrinth.com/$projectExt/${projectName.lowercase()}/versions",
|
||||||
"https://cdn-raw.modrinth.com/data/r3BBZyf3/4522ef0f83143c4803473d356160a3e877c2499c.png"
|
"https://cdn-raw.modrinth.com/data/r3BBZyf3/4522ef0f83143c4803473d356160a3e877c2499c.png"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,4 @@ org.gradle.jvmargs=-Xmx2G
|
|||||||
org.gradle.parallel=false
|
org.gradle.parallel=false
|
||||||
org.gradle.warning.mode = all
|
org.gradle.warning.mode = all
|
||||||
|
|
||||||
minecraft_version = 1.19.3
|
|
||||||
|
|
||||||
java_version = 17
|
java_version = 17
|
@ -12,5 +12,4 @@ projectExtension = "plugin"
|
|||||||
|
|
||||||
[plugins]
|
[plugins]
|
||||||
|
|
||||||
minotaur = { id = "com.modrinth.minotaur", version = "2.6.0" }
|
minotaur = { id = "com.modrinth.minotaur", version = "2.7.2" }
|
||||||
run-paper = { id = "xyz.jpenilla.run-paper", version = "2.0.0" }
|
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Gradle
|
# Gradle
|
||||||
shadow = "7.1.2"
|
shadow = "7.1.2"
|
||||||
ktor = "2.2.2"
|
ktor = "2.2.3"
|
||||||
kotlin = "1.7.21"
|
kotlin = "1.7.21"
|
||||||
license = "0.16.1"
|
license = "0.16.1"
|
||||||
coroutines = "1.6.4"
|
coroutines = "1.6.4"
|
||||||
|
@ -4,7 +4,6 @@ plugins {
|
|||||||
id("crazyauctions.spigot-plugin")
|
id("crazyauctions.spigot-plugin")
|
||||||
|
|
||||||
alias(settings.plugins.minotaur)
|
alias(settings.plugins.minotaur)
|
||||||
alias(settings.plugins.run.paper)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
@ -46,8 +45,6 @@ val projectVersion = settings.versions.projectVersion.get()
|
|||||||
|
|
||||||
val finalVersion = if (isBeta) "$projectVersion+Beta" else projectVersion
|
val finalVersion = if (isBeta) "$projectVersion+Beta" else projectVersion
|
||||||
|
|
||||||
val projectNameLowerCase = projectName.toLowerCase()
|
|
||||||
|
|
||||||
val repo = if (isBeta) "beta" else "releases"
|
val repo = if (isBeta) "beta" else "releases"
|
||||||
val type = if (isBeta) "beta" else "release"
|
val type = if (isBeta) "beta" else "release"
|
||||||
|
|
||||||
@ -66,7 +63,7 @@ tasks {
|
|||||||
|
|
||||||
modrinth {
|
modrinth {
|
||||||
token.set(System.getenv("MODRINTH_TOKEN"))
|
token.set(System.getenv("MODRINTH_TOKEN"))
|
||||||
projectId.set(projectNameLowerCase)
|
projectId.set(projectName.lowercase())
|
||||||
|
|
||||||
versionName.set("$projectName $finalVersion")
|
versionName.set("$projectName $finalVersion")
|
||||||
versionNumber.set(finalVersion)
|
versionNumber.set(finalVersion)
|
||||||
@ -116,7 +113,7 @@ tasks {
|
|||||||
"group" to projectGroup,
|
"group" to projectGroup,
|
||||||
"version" to finalVersion,
|
"version" to finalVersion,
|
||||||
"description" to projectDescription,
|
"description" to projectDescription,
|
||||||
"website" to "https://modrinth.com/$projectExt/$projectNameLowerCase"
|
"website" to "https://modrinth.com/$projectExt/${projectName.lowercase()}"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -126,7 +123,7 @@ publishing {
|
|||||||
publications {
|
publications {
|
||||||
create<MavenPublication>("maven") {
|
create<MavenPublication>("maven") {
|
||||||
groupId = projectGroup
|
groupId = projectGroup
|
||||||
artifactId = "$projectNameLowerCase-paper"
|
artifactId = "${projectName.lowercase()}-paper-api"
|
||||||
version = finalVersion
|
version = finalVersion
|
||||||
|
|
||||||
from(components["java"])
|
from(components["java"])
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
package com.badbones69.crazyauctions.api.interfaces;
|
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.CrazyAuctions;
|
|
||||||
|
|
||||||
public interface Universal {
|
|
||||||
|
|
||||||
CrazyAuctions plugin = CrazyAuctions.getPlugin();
|
|
||||||
|
|
||||||
}
|
|
@ -1,11 +1,11 @@
|
|||||||
package com.badbones69.crazyauctions;
|
package us.crazycrew.crazyauctions;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.economy.vault.VaultSupport;
|
import us.crazycrew.crazyauctions.api.economy.vault.VaultSupport;
|
||||||
import com.badbones69.crazyauctions.api.enums.PluginSupport;
|
import us.crazycrew.crazyauctions.api.enums.PluginSupport;
|
||||||
import com.badbones69.crazyauctions.commands.AuctionCommand;
|
import us.crazycrew.crazyauctions.commands.AuctionCommand;
|
||||||
import com.badbones69.crazyauctions.configs.Config;
|
import us.crazycrew.crazyauctions.configs.Config;
|
||||||
import com.badbones69.crazyauctions.configs.Locale;
|
import us.crazycrew.crazyauctions.configs.Locale;
|
||||||
import com.badbones69.crazyauctions.configs.data.AuctionData;
|
import us.crazycrew.crazyauctions.configs.data.AuctionData;
|
||||||
import net.dehya.ruby.RubyCore;
|
import net.dehya.ruby.RubyCore;
|
||||||
import net.dehya.ruby.SpigotRuby;
|
import net.dehya.ruby.SpigotRuby;
|
||||||
import net.dehya.ruby.command.cloud.RubyCommand;
|
import net.dehya.ruby.command.cloud.RubyCommand;
|
@ -1,8 +1,8 @@
|
|||||||
package com.badbones69.crazyauctions;
|
package us.crazycrew.crazyauctions;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.CrazyManager;
|
import us.crazycrew.crazyauctions.api.CrazyManager;
|
||||||
import com.badbones69.crazyauctions.api.economy.vault.VaultSupport;
|
import us.crazycrew.crazyauctions.api.economy.vault.VaultSupport;
|
||||||
import com.badbones69.crazyauctions.api.enums.PluginSupport;
|
import us.crazycrew.crazyauctions.api.enums.PluginSupport;
|
||||||
|
|
||||||
public class Starter {
|
public class Starter {
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
package com.badbones69.crazyauctions.api;
|
package us.crazycrew.crazyauctions.api;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.CrazyAuctions;
|
import us.crazycrew.crazyauctions.CrazyAuctions;
|
||||||
|
|
||||||
public class CrazyManager {
|
public class CrazyManager {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.auctionhouse.enums;
|
package us.crazycrew.crazyauctions.api.auctionhouse.enums;
|
||||||
|
|
||||||
public enum AuctionType {
|
public enum AuctionType {
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
package com.badbones69.crazyauctions.api.auctionhouse.interfaces;
|
package us.crazycrew.crazyauctions.api.auctionhouse.interfaces;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.enums.AuctionType;
|
import us.crazycrew.crazyauctions.api.auctionhouse.enums.AuctionType;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
@ -1,6 +1,6 @@
|
|||||||
package com.badbones69.crazyauctions.api.auctionhouse.objects;
|
package us.crazycrew.crazyauctions.api.auctionhouse.objects;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.utils.ItemUtils;
|
import us.crazycrew.crazyauctions.utils.ItemUtils;
|
||||||
import net.dehya.ruby.items.ItemBuilder;
|
import net.dehya.ruby.items.ItemBuilder;
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.auctionhouse.objects;
|
package us.crazycrew.crazyauctions.api.auctionhouse.objects;
|
||||||
|
|
||||||
import net.dehya.ruby.items.ItemBuilder;
|
import net.dehya.ruby.items.ItemBuilder;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
@ -1,17 +1,16 @@
|
|||||||
package com.badbones69.crazyauctions.api.auctionhouse.objects;
|
package us.crazycrew.crazyauctions.api.auctionhouse.objects;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.enums.AuctionType;
|
import us.crazycrew.crazyauctions.api.auctionhouse.enums.AuctionType;
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.interfaces.AuctionItem;
|
import us.crazycrew.crazyauctions.api.auctionhouse.interfaces.AuctionItem;
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.objects.auctiontype.BiddingAuction;
|
import us.crazycrew.crazyauctions.api.auctionhouse.objects.auctiontype.BiddingAuction;
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.objects.auctiontype.SellingAuction;
|
import us.crazycrew.crazyauctions.api.auctionhouse.objects.auctiontype.SellingAuction;
|
||||||
import com.badbones69.crazyauctions.api.events.AuctionAddEvent;
|
import us.crazycrew.crazyauctions.api.events.AuctionAddEvent;
|
||||||
import com.badbones69.crazyauctions.utils.ItemUtils;
|
import us.crazycrew.crazyauctions.utils.ItemUtils;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.auctionhouse.objects;
|
package us.crazycrew.crazyauctions.api.auctionhouse.objects;
|
||||||
|
|
||||||
import org.bukkit.configuration.file.FileConfiguration;
|
import org.bukkit.configuration.file.FileConfiguration;
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
package com.badbones69.crazyauctions.api.auctionhouse.objects.auctiontype;
|
package us.crazycrew.crazyauctions.api.auctionhouse.objects.auctiontype;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.enums.AuctionType;
|
import us.crazycrew.crazyauctions.api.auctionhouse.enums.AuctionType;
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.interfaces.AuctionItem;
|
import us.crazycrew.crazyauctions.api.auctionhouse.interfaces.AuctionItem;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
@ -1,7 +1,7 @@
|
|||||||
package com.badbones69.crazyauctions.api.auctionhouse.objects.auctiontype;
|
package us.crazycrew.crazyauctions.api.auctionhouse.objects.auctiontype;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.enums.AuctionType;
|
import us.crazycrew.crazyauctions.api.auctionhouse.enums.AuctionType;
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.interfaces.AuctionItem;
|
import us.crazycrew.crazyauctions.api.auctionhouse.interfaces.AuctionItem;
|
||||||
import org.bukkit.inventory.ItemStack;
|
import org.bukkit.inventory.ItemStack;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.economy;
|
package us.crazycrew.crazyauctions.api.economy;
|
||||||
|
|
||||||
public enum Currency {
|
public enum Currency {
|
||||||
|
|
@ -1,8 +1,9 @@
|
|||||||
package com.badbones69.crazyauctions.api.economy;
|
package us.crazycrew.crazyauctions.api.economy;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.CrazyAuctions;
|
import us.crazycrew.crazyauctions.CrazyAuctions;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
|
||||||
public class CurrencyAPI {
|
public class CurrencyAPI {
|
@ -1,6 +1,6 @@
|
|||||||
package com.badbones69.crazyauctions.api.economy.vault;
|
package us.crazycrew.crazyauctions.api.economy.vault;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.CrazyAuctions;
|
import us.crazycrew.crazyauctions.CrazyAuctions;
|
||||||
import net.milkbowl.vault.economy.Economy;
|
import net.milkbowl.vault.economy.Economy;
|
||||||
import org.bukkit.plugin.RegisteredServiceProvider;
|
import org.bukkit.plugin.RegisteredServiceProvider;
|
||||||
|
|
@ -1,9 +1,10 @@
|
|||||||
package com.badbones69.crazyauctions.api.enums;
|
package us.crazycrew.crazyauctions.api.enums;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.CrazyAuctions;
|
import us.crazycrew.crazyauctions.CrazyAuctions;
|
||||||
import com.badbones69.crazyauctions.api.economy.vault.VaultSupport;
|
import us.crazycrew.crazyauctions.api.economy.vault.VaultSupport;
|
||||||
import com.badbones69.crazyauctions.utils.utilities.misc.ColorUtils;
|
import us.crazycrew.crazyauctions.utils.utilities.misc.ColorUtils;
|
||||||
import org.bukkit.plugin.Plugin;
|
import org.bukkit.plugin.Plugin;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.enums;
|
package us.crazycrew.crazyauctions.api.enums;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
@ -1,7 +1,7 @@
|
|||||||
package com.badbones69.crazyauctions.api.events;
|
package us.crazycrew.crazyauctions.api.events;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.interfaces.AuctionItem;
|
import us.crazycrew.crazyauctions.api.auctionhouse.interfaces.AuctionItem;
|
||||||
import com.badbones69.crazyauctions.api.auctionhouse.objects.AuctionHouse;
|
import us.crazycrew.crazyauctions.api.auctionhouse.objects.AuctionHouse;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.event.Event;
|
import org.bukkit.event.Event;
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.events;
|
package us.crazycrew.crazyauctions.api.events;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.events;
|
package us.crazycrew.crazyauctions.api.events;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.events;
|
package us.crazycrew.crazyauctions.api.events;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.events;
|
package us.crazycrew.crazyauctions.api.events;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.events;
|
package us.crazycrew.crazyauctions.api.events;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.api.events;
|
package us.crazycrew.crazyauctions.api.events;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
@ -0,0 +1,9 @@
|
|||||||
|
package us.crazycrew.crazyauctions.api.interfaces;
|
||||||
|
|
||||||
|
import us.crazycrew.crazyauctions.CrazyAuctions;
|
||||||
|
|
||||||
|
public interface Universal {
|
||||||
|
|
||||||
|
CrazyAuctions plugin = CrazyAuctions.getPlugin();
|
||||||
|
|
||||||
|
}
|
@ -1,6 +1,6 @@
|
|||||||
package com.badbones69.crazyauctions.commands;
|
package us.crazycrew.crazyauctions.commands;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.configs.data.AuctionData;
|
import us.crazycrew.crazyauctions.configs.data.AuctionData;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandExecutor;
|
import org.bukkit.command.CommandExecutor;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
@ -1,7 +1,6 @@
|
|||||||
package com.badbones69.crazyauctions.configs;
|
package us.crazycrew.crazyauctions.configs;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.CrazyAuctions;
|
import us.crazycrew.crazyauctions.api.interfaces.Universal;
|
||||||
import com.badbones69.crazyauctions.api.interfaces.Universal;
|
|
||||||
import net.dehya.ruby.common.annotations.FileBuilder;
|
import net.dehya.ruby.common.annotations.FileBuilder;
|
||||||
import net.dehya.ruby.common.annotations.yaml.BlockType;
|
import net.dehya.ruby.common.annotations.yaml.BlockType;
|
||||||
import net.dehya.ruby.common.annotations.yaml.Comment;
|
import net.dehya.ruby.common.annotations.yaml.Comment;
|
||||||
@ -10,6 +9,7 @@ import net.dehya.ruby.common.enums.FileType;
|
|||||||
import net.dehya.ruby.files.FileExtension;
|
import net.dehya.ruby.files.FileExtension;
|
||||||
import net.dehya.ruby.files.FileManager;
|
import net.dehya.ruby.files.FileManager;
|
||||||
import org.simpleyaml.configuration.file.YamlFile;
|
import org.simpleyaml.configuration.file.YamlFile;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
@FileBuilder(isLogging = true, isAsync = false, isData = false, fileType = FileType.YAML)
|
@FileBuilder(isLogging = true, isAsync = false, isData = false, fileType = FileType.YAML)
|
@ -1,9 +1,10 @@
|
|||||||
package com.badbones69.crazyauctions.configs;
|
package us.crazycrew.crazyauctions.configs;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.interfaces.Universal;
|
import us.crazycrew.crazyauctions.api.interfaces.Universal;
|
||||||
import net.dehya.ruby.common.annotations.FileBuilder;
|
import net.dehya.ruby.common.annotations.FileBuilder;
|
||||||
import net.dehya.ruby.common.enums.FileType;
|
import net.dehya.ruby.common.enums.FileType;
|
||||||
import net.dehya.ruby.files.FileExtension;
|
import net.dehya.ruby.files.FileExtension;
|
||||||
|
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
|
|
||||||
@FileBuilder(isLogging = true, isAsync = false, isData = false, fileType = FileType.YAML)
|
@FileBuilder(isLogging = true, isAsync = false, isData = false, fileType = FileType.YAML)
|
@ -1,10 +1,11 @@
|
|||||||
package com.badbones69.crazyauctions.configs.data;
|
package us.crazycrew.crazyauctions.configs.data;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.interfaces.Universal;
|
import us.crazycrew.crazyauctions.api.interfaces.Universal;
|
||||||
import com.google.gson.annotations.Expose;
|
import com.google.gson.annotations.Expose;
|
||||||
import net.dehya.ruby.common.annotations.FileBuilder;
|
import net.dehya.ruby.common.annotations.FileBuilder;
|
||||||
import net.dehya.ruby.common.enums.FileType;
|
import net.dehya.ruby.common.enums.FileType;
|
||||||
import net.dehya.ruby.files.FileExtension;
|
import net.dehya.ruby.files.FileExtension;
|
||||||
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
import java.util.concurrent.ConcurrentHashMap;
|
import java.util.concurrent.ConcurrentHashMap;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
package com.badbones69.crazyauctions.utils;
|
package us.crazycrew.crazyauctions.utils;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.enums.ServerVersion;
|
import us.crazycrew.crazyauctions.api.enums.ServerVersion;
|
||||||
import net.dehya.ruby.items.ItemBuilder;
|
import net.dehya.ruby.items.ItemBuilder;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
@ -1,7 +1,7 @@
|
|||||||
package com.badbones69.crazyauctions.utils.utilities.misc;
|
package us.crazycrew.crazyauctions.utils.utilities.misc;
|
||||||
|
|
||||||
import com.badbones69.crazyauctions.api.enums.ServerVersion;
|
import us.crazycrew.crazyauctions.api.enums.ServerVersion;
|
||||||
import com.badbones69.crazyauctions.configs.Config;
|
import us.crazycrew.crazyauctions.configs.Config;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.Color;
|
import org.bukkit.Color;
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -1,4 +1,4 @@
|
|||||||
package com.badbones69.crazyauctions.utils.utilities.misc;
|
package us.crazycrew.crazyauctions.utils.utilities.misc;
|
||||||
|
|
||||||
public class NumberUtils {
|
public class NumberUtils {
|
||||||
|
|
@ -1,10 +1,10 @@
|
|||||||
name: "CrazyAuctions"
|
name: CrazyAuctions
|
||||||
main: "${group}.CrazyAuctions"
|
main: {group}.CrazyAuctions
|
||||||
|
|
||||||
authors: [BadBones69, RyderBelserion]
|
authors: [BadBones69, RyderBelserion]
|
||||||
|
|
||||||
version: ${version}
|
version: ${version}
|
||||||
api-version: "1.13"
|
api-version: '1.13'
|
||||||
description: ${description}
|
description: ${description}
|
||||||
website: ${website}
|
website: ${website}
|
||||||
|
|
||||||
|
@ -14,14 +14,12 @@ dependencyResolutionManagement {
|
|||||||
|
|
||||||
pluginManagement {
|
pluginManagement {
|
||||||
repositories {
|
repositories {
|
||||||
maven("https://papermc.io/repo/repository/maven-public/")
|
|
||||||
|
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val lowerCase = rootProject.name.toLowerCase()
|
val lowerCase = rootProject.name.lowercase()
|
||||||
|
|
||||||
include("core")
|
include("core")
|
||||||
project(":core").name = "$lowerCase-core"
|
project(":core").name = "$lowerCase-core"
|
||||||
|
Loading…
Reference in New Issue
Block a user