Compare commits
No commits in common. "9a93a1e0ef31e136603eb3a784f45e5c39f6ca6c" and "3abd7a5678ee6982c103efefdb15e051c6c79cae" have entirely different histories.
9a93a1e0ef
...
3abd7a5678
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
113
.gitignore
vendored
Normal file
113
.gitignore
vendored
Normal file
@ -0,0 +1,113 @@
|
||||
# User-specific stuff
|
||||
.idea/
|
||||
|
||||
*.iml
|
||||
*.ipr
|
||||
*.iws
|
||||
|
||||
# IntelliJ
|
||||
out/
|
||||
|
||||
# Compiled class file
|
||||
*.class
|
||||
|
||||
# Log file
|
||||
*.log
|
||||
|
||||
# BlueJ files
|
||||
*.ctxt
|
||||
|
||||
# Package Files #
|
||||
*.jar
|
||||
*.war
|
||||
*.nar
|
||||
*.ear
|
||||
*.zip
|
||||
*.tar.gz
|
||||
*.rar
|
||||
|
||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
|
||||
hs_err_pid*
|
||||
|
||||
*~
|
||||
|
||||
# temporary files which can be created if a process still has a handle open of a deleted file
|
||||
.fuse_hidden*
|
||||
|
||||
# KDE directory preferences
|
||||
.directory
|
||||
|
||||
# Linux trash folder which might appear on any partition or disk
|
||||
.Trash-*
|
||||
|
||||
# .nfs files are created when an open file is removed but is still being accessed
|
||||
.nfs*
|
||||
|
||||
# General
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
|
||||
# Icon must end with two \r
|
||||
Icon
|
||||
|
||||
# Thumbnails
|
||||
._*
|
||||
|
||||
# Files that might appear in the root of a volume
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
|
||||
# Directories potentially created on remote AFP share
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
|
||||
# Windows thumbnail cache files
|
||||
Thumbs.db
|
||||
Thumbs.db:encryptable
|
||||
ehthumbs.db
|
||||
ehthumbs_vista.db
|
||||
|
||||
# Dump file
|
||||
*.stackdump
|
||||
|
||||
# Folder config file
|
||||
[Dd]esktop.ini
|
||||
|
||||
# Recycle Bin used on file shares
|
||||
$RECYCLE.BIN/
|
||||
|
||||
# Windows Installer files
|
||||
*.cab
|
||||
*.msi
|
||||
*.msix
|
||||
*.msm
|
||||
*.msp
|
||||
|
||||
# Windows shortcuts
|
||||
*.lnk
|
||||
|
||||
target/
|
||||
|
||||
pom.xml.tag
|
||||
pom.xml.releaseBackup
|
||||
pom.xml.versionsBackup
|
||||
pom.xml.next
|
||||
|
||||
release.properties
|
||||
dependency-reduced-pom.xml
|
||||
buildNumber.properties
|
||||
.mvn/timing.properties
|
||||
.mvn/wrapper/maven-wrapper.jar
|
||||
.flattened-pom.xml
|
||||
|
||||
# Common working directory
|
||||
run/
|
3
.idea/.gitignore
vendored
Normal file
3
.idea/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
7
.idea/discord.xml
Normal file
7
.idea/discord.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DiscordProjectSettings">
|
||||
<option name="show" value="ASK" />
|
||||
<option name="description" value="" />
|
||||
</component>
|
||||
</project>
|
7
.idea/encodings.xml
Normal file
7
.idea/encodings.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||
</component>
|
||||
</project>
|
40
.idea/jarRepositories.xml
Normal file
40
.idea/jarRepositories.xml
Normal file
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Central Repository" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="sonatype" />
|
||||
<option name="name" value="sonatype" />
|
||||
<option name="url" value="https://oss.sonatype.org/content/groups/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="fawe-repo" />
|
||||
<option name="name" value="fawe-repo" />
|
||||
<option name="url" value="https://ci.athion.net/job/FastAsyncWorldEdit/ws/mvn/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="spigotmc-repo" />
|
||||
<option name="name" value="spigotmc-repo" />
|
||||
<option name="url" value="https://hub.spigotmc.org/nexus/content/repositories/snapshots/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="placeholderapi" />
|
||||
<option name="name" value="placeholderapi" />
|
||||
<option name="url" value="https://repo.extendedclip.com/content/repositories/placeholderapi/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
13
.idea/libraries/Maven__com_google_code_gson_gson_2_8_8.xml
Normal file
13
.idea/libraries/Maven__com_google_code_gson_gson_2_8_8.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: com.google.code.gson:gson:2.8.8">
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.8.8/gson-2.8.8.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.8.8/gson-2.8.8-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/com/google/code/gson/gson/2.8.8/gson-2.8.8-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.mongodb:mongo-java-driver:3.12.10">
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/mongodb/mongo-java-driver/3.12.10/mongo-java-driver-3.12.10.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/mongodb/mongo-java-driver/3.12.10/mongo-java-driver-3.12.10-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/mongodb/mongo-java-driver/3.12.10/mongo-java-driver-3.12.10-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
13
.idea/libraries/Maven__org_projectlombok_lombok_1_18_20.xml
Normal file
13
.idea/libraries/Maven__org_projectlombok_lombok_1_18_20.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<component name="libraryTable">
|
||||
<library name="Maven: org.projectlombok:lombok:1.18.20">
|
||||
<CLASSES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.20/lombok-1.18.20.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.20/lombok-1.18.20-javadoc.jar!/" />
|
||||
</JAVADOC>
|
||||
<SOURCES>
|
||||
<root url="jar://$MAVEN_REPOSITORY$/org/projectlombok/lombok/1.18.20/lombok-1.18.20-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</component>
|
8
.idea/modules.xml
Normal file
8
.idea/modules.xml
Normal file
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/BedWars.iml" filepath="$PROJECT_DIR$/BedWars.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
10
.idea/runConfigurations.xml
Normal file
10
.idea/runConfigurations.xml
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RunConfigurationProducerService">
|
||||
<option name="ignoredProducers">
|
||||
<set>
|
||||
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
|
||||
</set>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
6
.idea/vcs.xml
Normal file
6
.idea/vcs.xml
Normal file
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
@ -23,207 +23,10 @@
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="998d5e92-ac1f-4423-8aef-5f389ab213de" name="Changes" comment="">
|
||||
<change afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/aether/scoreboard/cooldown/BoardFormat.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.gitattributes" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/.gitignore" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/compiler.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/discord.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/encodings.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/jarRepositories.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/libraries/Maven__com_google_code_gson_gson_2_8_8.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/libraries/Maven__org_mongodb_mongo_java_driver_3_12_10.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/libraries/Maven__org_projectlombok_lombok_1_18_20.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/modules.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/runConfigurations.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/vcs.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/BedWars.iml" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/BedWars.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/BedWars.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/BaseCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/BaseCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/ArenaCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/ArenaCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/CreateCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/CreateCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/EnableAndDisableCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/EnableAndDisableCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/GenerateCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/GenerateCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/InfoCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/InfoCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/RemoveCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/RemoveCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetACommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetACommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetBCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetBCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetBuildMaxCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetBuildMaxCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetDeadZoneCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetDeadZoneCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetDiamondGeneratorCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetDiamondGeneratorCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetEmeraldGeneratorCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetEmeraldGeneratorCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetIconCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetIconCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetMaxCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetMaxCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetMinCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetMinCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetTeamAMaxCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetTeamAMaxCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetTeamAMinCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetTeamAMinCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetTeamAShopCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetTeamAShopCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetTeamAUpgradesCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetTeamAUpgradesCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetTeamBMaxCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetTeamBMaxCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetTeamBMinCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetTeamBMinCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetTeamBShopCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetTeamBShopCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetTeamBUpgradesCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetTeamBUpgradesCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena/SetTeamGeneratorCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/arena/SetTeamGeneratorCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/level/AddCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/level/AddCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/level/LevelCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/level/LevelCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/level/RemoveCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/level/RemoveCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/level/SetCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/level/SetCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/party/AcceptCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/party/AcceptCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/party/ChatCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/party/ChatCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/party/CreateCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/party/CreateCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/party/InfoCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/party/InfoCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/party/InviteCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/party/InviteCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/party/JoinCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/party/JoinCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/party/LeaveCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/party/LeaveCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/party/PartyCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/party/PartyCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/party/RemoveCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/party/RemoveCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/setspawn/MaxCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/setspawn/MaxCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/setspawn/MinCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/setspawn/MinCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/setspawn/SetSpawnCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/setspawn/SetSpawnCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/setspawn/SpawnCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/setspawn/SpawnCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/spectate/SpectateCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/spectate/SpectateCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/toggle/PartyChatCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/toggle/PartyChatCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/toggle/ScoreboardCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/toggle/ScoreboardCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/toggle/ToggleCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/toggle/ToggleCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/xp/AddCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/xp/AddCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/xp/RemoveCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/xp/RemoveCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/xp/SetCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/xp/SetCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/xp/XpCommand.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/commands/xp/XpCommand.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/customitems/bridgeegg/BridgeEggListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/customitems/bridgeegg/BridgeEggListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/customitems/bridgeegg/BridgeEggRunnable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/customitems/bridgeegg/BridgeEggRunnable.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/customitems/popuptower/PlaceTower.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/customitems/popuptower/PlaceTower.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/customitems/popuptower/types/TowerEast.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/customitems/popuptower/types/TowerEast.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/customitems/popuptower/types/TowerNorth.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/customitems/popuptower/types/TowerNorth.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/customitems/popuptower/types/TowerSouth.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/customitems/popuptower/types/TowerSouth.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/customitems/popuptower/types/TowerWest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/customitems/popuptower/types/TowerWest.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/events/GameEndEvent.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/events/GameEndEvent.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/events/GameEvent.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/events/GameEvent.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/events/GameStartEvent.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/events/GameStartEvent.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/events/PlayerKillEvent.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/events/PlayerKillEvent.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/game/Game.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/game/Game.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/game/GameRequest.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/game/GameRequest.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/game/GameState.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/game/GameState.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/game/GameTeam.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/game/GameTeam.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/game/GameType.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/game/GameType.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/game/arena/Arena.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/game/arena/Arena.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/game/arena/CopiedArena.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/game/arena/CopiedArena.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/generators/Generator.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/generators/Generator.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/generators/GeneratorTier.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/generators/GeneratorTier.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/generators/GeneratorType.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/generators/GeneratorType.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/ButtonListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/ButtonListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/InteractListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/InteractListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/MenuListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/MenuListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/PartyChatListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/PartyChatListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/PlayerDataListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/PlayerDataListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/RandomListeners.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/RandomListeners.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/game/DamageListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/game/DamageListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/game/GameEndListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/game/GameEndListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/game/GameStartListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/game/GameStartListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/game/MovementListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/game/MovementListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/game/PlayerKillListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/game/PlayerKillListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/game/WorldListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/listeners/game/WorldListener.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/CommandManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/CommandManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/GameManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/GameManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/PlayerDataManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/PlayerDataManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/SpawnManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/SpawnManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/arena/ArenaManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/arena/ArenaManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/arena/chunk/ChunkClearingManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/arena/chunk/ChunkClearingManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/arena/chunk/ChunkManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/arena/chunk/ChunkManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/arena/chunk/data/BedWarsChunk.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/arena/chunk/data/BedWarsChunk.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/arena/chunk/data/BedWarsChunkData.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/arena/chunk/data/BedWarsChunkData.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/arena/chunk/data/BedWarsNMSUtil.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/arena/chunk/data/BedWarsNMSUtil.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/hotbar/HotbarManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/hotbar/HotbarManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/hotbar/impl/ActionType.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/hotbar/impl/ActionType.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/hotbar/impl/HotbarItem.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/hotbar/impl/HotbarItem.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/mongo/MongoManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/mongo/MongoManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/party/Party.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/party/Party.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/party/PartyManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/party/PartyManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/queue/QueueEntry.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/queue/QueueEntry.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/managers/queue/QueueManager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/managers/queue/QueueManager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/arena/ArenaCopyMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/arena/ArenaCopyMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/arena/ArenaGenerationMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/arena/ArenaGenerationMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/arena/ArenaManagerMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/arena/ArenaManageMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/arena/buttons/ArenaButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/arena/buttons/ArenaButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/arena/buttons/ArenaCopyButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/arena/buttons/ArenaCopyButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/arena/buttons/ArenaGenerateButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/arena/buttons/ArenaGenerateButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/queue/PlayAGameMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/queue/PlayAGameMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/settings/SettingsMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/settings/SettingsMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/ShopButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/ShopButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/ShopType.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/ShopType.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/ShopTypeButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/ShopTypeButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/armor/ArmorButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/armor/ArmorButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/armor/ArmorMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/armor/ArmorMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/blocks/BlocksMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/blocks/BlocksMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/tools/ShearsButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/tools/ShearsButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/tools/ToolsMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/tools/ToolsMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/utilities/UtilityButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/utilities/UtilityButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/utilities/UtilityMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/utilities/UtilityMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/weapons/WeaponsButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/weapons/WeaponsButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/menus/shop/weapons/WeaponsMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/menus/shop/weapons/WeaponsMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/playerdata/PlayerData.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/playerdata/PlayerData.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/playerdata/PlayerSettings.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/playerdata/PlayerSettings.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/playerdata/PlayerState.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/playerdata/PlayerState.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/playerdata/PlayerTeam.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/playerdata/PlayerTeam.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/playerdata/currentgame/ArmorType.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/playerdata/currentgame/ArmorType.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/playerdata/currentgame/PlayerCurrentGameData.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/playerdata/currentgame/PlayerCurrentGameData.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/playerdata/currentgame/TeamUpgrades.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/playerdata/currentgame/TeamUpgrades.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/providers/placeholderapi/PlaceholderAPIProvider.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/providers/placeholderapi/PlaceholderAPIProvider.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/providers/scoreboard/ScoreboardProvider.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/providers/scoreboard/ScoreboardProvider.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/runnables/ArenaCommandRunnable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/runnables/ArenaCommandRunnable.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/runnables/ArenaCopyRemovalRunnable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/runnables/ArenaCopyRemovalRunnable.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/runnables/BlockPlaceRunnable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/runnables/BlockPlaceRunnable.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/runnables/DuplicateArenaRunnable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/runnables/DuplicateArenaRunnable.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/runnables/GameRunnable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/runnables/GameRunnable.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/runnables/RespawnRunnable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/runnables/RespawnRunnable.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/upgrades/AxeTier.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/upgrades/AxeTier.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/upgrades/Upgrade.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/upgrades/Upgrade.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/upgrades/UpgradeItem.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/upgrades/UpgradeItem.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/CC.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/CC.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/Clickable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/Clickable.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/CustomLocation.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/CustomLocation.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/ItemBuilder.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/ItemBuilder.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/ItemUtil.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/ItemUtil.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/LocationUtils.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/LocationUtils.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/PlayerUtil.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/PlayerUtil.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/TimeUtils.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/TimeUtils.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/TtlHandler.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/TtlHandler.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/TtlHashMap.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/TtlHashMap.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/aether/Aether.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/aether/Aether.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/aether/AetherOptions.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/aether/AetherOptions.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/aether/event/BoardCreateEvent.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/aether/event/BoardCreateEvent.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/aether/scoreboard/Board.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/aether/scoreboard/Board.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/aether/scoreboard/BoardAdapter.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/aether/scoreboard/BoardAdapter.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/aether/scoreboard/BoardEntry.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/aether/scoreboard/BoardEntry.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/aether/scoreboard/cooldown/BoardCooldown.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/aether/scoreboard/cooldown/BoardCooldown.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/aether/scoreboard/cooldown/BoardFormat.java" beforeDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/config/ConfigCursor.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/config/ConfigCursor.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/config/FileConfig.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/config/FileConfig.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/config/file/Config.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/config/file/Config.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/config/file/ConfigFile.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/config/file/ConfigFile.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/cuboid/Cuboid.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/cuboid/Cuboid.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/cuboid/CuboidBlockIterator.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/cuboid/CuboidBlockIterator.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/cuboid/CuboidDirection.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/cuboid/CuboidDirection.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/cuboid/CuboidLocationIterator.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/cuboid/CuboidLocationIterator.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menu/Button.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menu/Button.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menu/Menu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menu/Menu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menu/buttons/BackButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menu/buttons/BackButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menu/buttons/DisplayButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menu/buttons/DisplayButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menu/pagination/JumpToPageButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menu/pagination/JumpToPageButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menu/pagination/PageButton.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menu/pagination/PageButton.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menu/pagination/PaginatedMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menu/pagination/PaginatedMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menu/pagination/ViewAllPagesMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menu/pagination/ViewAllPagesMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menusystem/Menu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menusystem/Menu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menusystem/PaginatedMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menusystem/PaginatedMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menusystem/PlayerMenuUtil.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menusystem/PlayerMenuUtil.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/utils/menusystem/menu/UpgradesMenu.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/utils/menusystem/menu/UpgradesMenu.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/villager/CustomVillager.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/villager/CustomVillager.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/villager/VillagerCallable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/loganmagnan/bedwars/villager/VillagerCallable.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/resources/config.yml" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/config.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/resources/plugin.yml" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/resources/plugin.yml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/jarRepositories.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/jarRepositories.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/BedWars.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/BedWars.java" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/game/GameStartListener.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/listeners/game/GameStartListener.java" afterDir="false" />
|
||||
</list>
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
@ -240,15 +43,7 @@
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||
</component>
|
||||
<component name="MarkdownSettingsMigration">
|
||||
<option name="stateVersion" value="1" />
|
||||
</component>
|
||||
<component name="MavenImportPreferences">
|
||||
<option name="generalSettings">
|
||||
<MavenGeneralSettings>
|
||||
<option name="mavenHome" value="C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.1\plugins\maven\lib\maven3" />
|
||||
</MavenGeneralSettings>
|
||||
</option>
|
||||
<option name="importingSettings">
|
||||
<MavenImportingSettings>
|
||||
<option name="downloadDocsAutomatically" value="true" />
|
||||
@ -264,37 +59,23 @@
|
||||
<component name="PropertiesComponent">
|
||||
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
||||
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/../ArchPractice2" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/src/main/java/rip/tilly/bedwars/commands/arena" />
|
||||
<property name="settings.editor.selected.configurable" value="MTConfigurable" />
|
||||
</component>
|
||||
<component name="RecentsManager">
|
||||
<key name="CopyClassDialog.RECENTS_KEY">
|
||||
<recent name="rip.tilly.bedwars.commands.arena" />
|
||||
<recent name="rip.tilly.bedwars.mongo" />
|
||||
<recent name="rip.tilly.bedwars.utils" />
|
||||
</key>
|
||||
<key name="CopyFile.RECENT_KEYS">
|
||||
<recent name="C:\Users\logan\Documents\GitHub\BedWars\libs" />
|
||||
<recent name="C:\Users\logan\Documents\GitHub\BedWars\src\main\java\rip\tilly\bedwars\commands\arena" />
|
||||
<recent name="C:\Users\logan\Documents\GitHub\BedWars\src\main\java" />
|
||||
<recent name="C:\Users\logan\Documents\GitHub\BedWars\src\main\java\rip\tilly\bedwars\commands" />
|
||||
<recent name="C:\Users\Luca\Documents\GitHub\BedWars\src\main\java\rip\tilly\bedwars" />
|
||||
</key>
|
||||
<key name="CopyClassDialog.RECENTS_KEY">
|
||||
<recent name="rip.tilly.bedwars.commands.arena" />
|
||||
<recent name="rip.tilly.bedwars.mongo" />
|
||||
<recent name="rip.tilly.bedwars.utils" />
|
||||
</key>
|
||||
</component>
|
||||
<component name="RunManager">
|
||||
<configuration default="true" type="JetRunConfigurationType">
|
||||
<module name="BedWars" />
|
||||
<method v="2">
|
||||
<option name="Make" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration default="true" type="KotlinStandaloneScriptRunConfigurationType">
|
||||
<module name="BedWars" />
|
||||
<option name="filePath" />
|
||||
<method v="2">
|
||||
<option name="Make" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="BedWars build" type="MavenRunConfiguration" factoryName="Maven">
|
||||
<MavenSettings>
|
||||
<option name="myGeneralSettings">
|
||||
@ -310,7 +91,6 @@
|
||||
<option name="printErrorStackTraces" value="false" />
|
||||
<option name="showDialogWithAdvancedSettings" value="false" />
|
||||
<option name="threads" />
|
||||
<option name="useMavenConfig" value="false" />
|
||||
<option name="usePluginRegistry" value="false" />
|
||||
<option name="userSettingsFile" value="" />
|
||||
<option name="workOffline" value="false" />
|
||||
@ -376,5 +156,6 @@
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="oldMeFiltersMigrated" value="true" />
|
||||
</component>
|
||||
</project>
|
45
BedWars.iml
Normal file
45
BedWars.iml
Normal file
@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
|
||||
<component name="FacetManager">
|
||||
<facet type="minecraft" name="Minecraft">
|
||||
<configuration>
|
||||
<autoDetectTypes>
|
||||
<platformType>SPIGOT</platformType>
|
||||
</autoDetectTypes>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8">
|
||||
<output url="file://$MODULE_DIR$/target/classes" />
|
||||
<output-test url="file://$MODULE_DIR$/target/test-classes" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module-library">
|
||||
<library name="Maven: org.papermc:PaperSpigot:1.8.8-R0.1-SNAPSHOT">
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/libs/PaperSpigot-1.8.8-R0.1-SNAPSHOT.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="library" name="Maven: com.google.code.gson:gson:2.8.8" level="project" />
|
||||
<orderEntry type="library" name="Maven: org.mongodb:mongo-java-driver:3.12.10" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.projectlombok:lombok:1.18.20" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.sk89q:worldedit:6.0.0-SNAPSHOT" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: de.schlichtherle:truezip:6.8.3" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: rhino:js:1.7R2" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.google.guava:guava:10.0.1" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.google.code.findbugs:jsr305:1.3.9" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: com.boydti:fawe-api:latest" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: me.clip:placeholderapi:2.10.9" level="project" />
|
||||
<orderEntry type="library" scope="PROVIDED" name="Maven: org.jetbrains:annotations:19.0.0" level="project" />
|
||||
</component>
|
||||
</module>
|
23
README.md
Normal file
23
README.md
Normal file
@ -0,0 +1,23 @@
|
||||
## BedWars [![Codacy Badge](https://api.codacy.com/project/badge/Grade/3507936ade234ae7bb280eae37ca04ce)](https://github.com/Lucanius69/KnockbackFFA)
|
||||
BedWars Plugin Made By Lucanius & Trixkz
|
||||
|
||||
For Tilly.RIP
|
||||
|
||||
If you have any issues, message Luca / Logan on discord (lucA#0999 / LoganM#3465)
|
||||
|
||||
#### Commands
|
||||
* /arena [Permission: bedwars.admin]
|
||||
* /level [Permission: bedwars.admin]
|
||||
* /setspawn [Permission: bedwars.admin]
|
||||
* /xp [Permission: bedwars.admin]
|
||||
* /party
|
||||
|
||||
#### PlaceholderAPI
|
||||
* %bedwars_kills%
|
||||
* %bedwars_deaths%
|
||||
* %bedwars_xp%
|
||||
* %bedwars_level%
|
||||
* %bedwars_wins%
|
||||
* %bedwars_losses%
|
||||
* %bedwars_gamesplayed%
|
||||
* %bedwars_bedsdestroyed%
|
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>com.loganmagnan</groupId>
|
||||
<groupId>rip.tilly</groupId>
|
||||
<artifactId>BedWars</artifactId>
|
||||
<version>1.0</version>
|
||||
<packaging>jar</packaging>
|
||||
|
@ -1,115 +0,0 @@
|
||||
package com.loganmagnan.bedwars.managers.mongo;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.config.file.Config;
|
||||
import com.mongodb.MongoClient;
|
||||
import com.mongodb.MongoClientURI;
|
||||
import com.mongodb.MongoCredential;
|
||||
import com.mongodb.ServerAddress;
|
||||
import com.mongodb.client.FindIterable;
|
||||
import com.mongodb.client.MongoCollection;
|
||||
import com.mongodb.client.MongoCursor;
|
||||
import com.mongodb.client.MongoDatabase;
|
||||
import lombok.Getter;
|
||||
import org.bson.Document;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
|
||||
@Getter
|
||||
public class MongoManager {
|
||||
|
||||
private final BedWars plugin = BedWars.getInstance();
|
||||
private final MongoManager instance;
|
||||
|
||||
private final FileConfiguration config = this.plugin.getMainConfig().getConfig();
|
||||
|
||||
private MongoClient mongoClient;
|
||||
private MongoDatabase mongoDatabase;
|
||||
|
||||
private final boolean uriMode = config.getBoolean("MONGO.URI-MODE");
|
||||
private final String host = config.getString("MONGO.NORMAL.HOST");
|
||||
private final int port = config.getInt("MONGO.NORMAL.PORT");
|
||||
private final String database = config.getString("MONGO.NORMAL.DATABASE");
|
||||
private final boolean auth = config.getBoolean("MONGO.NORMAL.AUTH.ENABLED");
|
||||
private final String user = config.getString("MONGO.NORMAL.AUTH.USERNAME");
|
||||
private final String password = config.getString("MONGO.NORMAL.AUTH.PASSWORD");
|
||||
private final String authDatabase = config.getString("MONGO.NORMAL.AUTH.AUTH-DATABASE");
|
||||
private final String uriString = config.getString("MONGO.URI.CONNECTION-STRING");
|
||||
private final String uriDatabase = config.getString("MONGO.URI.DATABASE-NAME");
|
||||
|
||||
private boolean connected;
|
||||
|
||||
private MongoCollection<Document> players;
|
||||
|
||||
private Gson gson = new Gson();
|
||||
|
||||
private Type type = (new TypeToken<List<String>>() {
|
||||
|
||||
}).getType();
|
||||
|
||||
public MongoManager() {
|
||||
instance = this;
|
||||
try {
|
||||
if (this.uriMode) {
|
||||
MongoClientURI mongoClientURI = new MongoClientURI(this.uriString);
|
||||
|
||||
MongoClient mongoClient = new MongoClient(mongoClientURI);
|
||||
mongoClient.getDatabase(this.uriDatabase);
|
||||
mongoDatabase = mongoClient.getDatabase(this.uriDatabase);
|
||||
} else {
|
||||
if (auth) {
|
||||
final MongoCredential credential = MongoCredential.createCredential(user, authDatabase, password.toCharArray());
|
||||
mongoClient = new MongoClient(new ServerAddress(host, port), Collections.singletonList(credential));
|
||||
} else {
|
||||
mongoClient = new MongoClient(host, port);
|
||||
}
|
||||
|
||||
mongoDatabase = mongoClient.getDatabase(database);
|
||||
}
|
||||
connected = true;
|
||||
Bukkit.getConsoleSender().sendMessage(CC.translate("&b[BedWars] &aSuccessfully connected to the database!"));
|
||||
this.players = this.mongoDatabase.getCollection("players");
|
||||
} catch (Exception exception) {
|
||||
connected = false;
|
||||
Bukkit.getConsoleSender().sendMessage(CC.translate("&b[BedWars] &cFailed to connect to the database!"));
|
||||
exception.printStackTrace();
|
||||
Bukkit.getPluginManager().disablePlugin(this.plugin);
|
||||
Bukkit.getConsoleSender().sendMessage(CC.translate("&b[BedWars] &cDisabling BedWars..."));
|
||||
}
|
||||
}
|
||||
|
||||
public void disconnect() {
|
||||
if (this.mongoClient != null) {
|
||||
this.mongoClient.close();
|
||||
this.connected = false;
|
||||
Bukkit.getConsoleSender().sendMessage(CC.translate("&b[BedWars] &aSuccessfully disconnected from the database!"));
|
||||
}
|
||||
}
|
||||
|
||||
public List<Document> getAllDocuments(MongoCollection<Document> mongoCollection) {
|
||||
List<Document> documents = new ArrayList<Document>();
|
||||
|
||||
FindIterable<Document> findIterable = mongoCollection.find();
|
||||
|
||||
MongoCursor<Document> mongoCursor = findIterable.iterator();
|
||||
|
||||
try {
|
||||
while (mongoCursor.hasNext()) {
|
||||
documents.add(mongoCursor.next());
|
||||
}
|
||||
} finally {
|
||||
mongoCursor.close();
|
||||
}
|
||||
|
||||
return documents;
|
||||
}
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
package com.loganmagnan.bedwars.menus.shop.tools;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.menus.shop.ShopType;
|
||||
import com.loganmagnan.bedwars.menus.shop.ShopTypeButton;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.playerdata.currentgame.PlayerCurrentGameData;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.ItemBuilder;
|
||||
import com.loganmagnan.bedwars.utils.menu.Button;
|
||||
import com.loganmagnan.bedwars.utils.menu.Menu;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class ToolsMenu extends Menu {
|
||||
|
||||
private BedWars main = BedWars.getInstance();
|
||||
|
||||
@Override
|
||||
public boolean isUpdateAfterClick() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTitle(Player player) {
|
||||
return CC.translate("&eClick a tool to purchase...");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Integer, Button> getButtons(Player player) {
|
||||
Map<Integer, Button> buttons = new HashMap<>();
|
||||
|
||||
PlayerData playerData = this.main.getPlayerDataManager().getPlayerData(player.getUniqueId());
|
||||
|
||||
PlayerCurrentGameData playerCurrentGameData = playerData.getCurrentGameData();
|
||||
|
||||
for (ShopType types : ShopType.values()) {
|
||||
buttons.put(types.getSlot(), new ShopTypeButton(types));
|
||||
}
|
||||
|
||||
buttons.put(ShopType.TOOLS.getSlot() + 9, Button.placeholder(Material.STAINED_GLASS_PANE, (byte) 5, ""));
|
||||
buttons.put(19, new ShearsButton("Shears", Material.SHEARS, Material.IRON_INGOT, "Iron", ChatColor.WHITE, 20, playerCurrentGameData));
|
||||
|
||||
this.fillEmptySlots(buttons, new ItemBuilder(Material.STAINED_GLASS_PANE).durability(7).name("").build());
|
||||
|
||||
return buttons;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSize() {
|
||||
return 54;
|
||||
}
|
||||
}
|
@ -1,145 +0,0 @@
|
||||
package com.loganmagnan.bedwars.menus.shop.utilities;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.ItemBuilder;
|
||||
import com.loganmagnan.bedwars.utils.PlayerUtil;
|
||||
import com.loganmagnan.bedwars.utils.menu.Button;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.ClickType;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@AllArgsConstructor
|
||||
public class UtilityButton extends Button {
|
||||
|
||||
private String name;
|
||||
private String[] lore;
|
||||
private Material material;
|
||||
private int data;
|
||||
private int amount;
|
||||
private Material costType;
|
||||
private String costTypeName;
|
||||
private ChatColor costTypeColor;
|
||||
private int cost;
|
||||
private boolean color;
|
||||
|
||||
@Override
|
||||
public ItemStack getButtonItem(Player player) {
|
||||
List<String> lore = new ArrayList<>();
|
||||
lore.add("");
|
||||
|
||||
for (String string : this.lore) {
|
||||
lore.add("&7" + string);
|
||||
}
|
||||
|
||||
lore.add("");
|
||||
lore.add("&9Cost: " + costTypeColor + cost + " " + costTypeName);
|
||||
lore.add("&9Amount: &e" + amount + "x");
|
||||
|
||||
int costItems = 0;
|
||||
for (ItemStack contents : player.getInventory().getContents()) {
|
||||
if (contents != null) {
|
||||
if (contents.getType() == costType) {
|
||||
costItems += contents.getAmount();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
lore.add(" ");
|
||||
lore.add(costItems >= cost ? "&aClick to purchase" : "&cYou don't have enough " + costTypeName);
|
||||
|
||||
PlayerData playerData = BedWars.getInstance().getPlayerDataManager().getPlayerData(player.getUniqueId());
|
||||
|
||||
if (color) {
|
||||
return new ItemBuilder(material)
|
||||
.name((costItems >= cost ? "&a" : "&c") + name)
|
||||
.lore(lore)
|
||||
.amount(amount)
|
||||
.durability(playerData.getPlayerTeam().getColorData())
|
||||
.hideFlags()
|
||||
.build();
|
||||
} else {
|
||||
return new ItemBuilder(material)
|
||||
.name((costItems >= cost ? "&a" : "&c") + name)
|
||||
.lore(lore)
|
||||
.amount(amount)
|
||||
.durability(data)
|
||||
.hideFlags()
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clicked(Player player, int slot, ClickType clickType, int hotbarButton) {
|
||||
if (clickType.isShiftClick()) {
|
||||
return;
|
||||
}
|
||||
|
||||
int costItems = 0;
|
||||
|
||||
for (ItemStack contents : player.getInventory().getContents()) {
|
||||
if (contents != null) {
|
||||
if (contents.getType() == costType) {
|
||||
costItems += contents.getAmount();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (costItems < cost) {
|
||||
player.sendMessage(CC.translate("&cYou don't have enough " + costTypeName));
|
||||
|
||||
playFail(player);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
PlayerData playerData = BedWars.getInstance().getPlayerDataManager().getPlayerData(player.getUniqueId());
|
||||
|
||||
int finalCost = cost;
|
||||
|
||||
for (ItemStack i : player.getInventory().getContents()) {
|
||||
if (i == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (i.getType() == costType) {
|
||||
if (i.getAmount() < finalCost) {
|
||||
finalCost -= i.getAmount();
|
||||
|
||||
PlayerUtil.minusAmount(player, i, i.getAmount());
|
||||
|
||||
player.updateInventory();
|
||||
} else {
|
||||
PlayerUtil.minusAmount(player, i, finalCost);
|
||||
|
||||
player.updateInventory();
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (color) {
|
||||
player.getInventory().addItem(new ItemBuilder(material)
|
||||
.amount(amount)
|
||||
.durability(playerData.getPlayerTeam().getColorData())
|
||||
.hideFlags()
|
||||
.build());
|
||||
} else {
|
||||
player.getInventory().addItem(new ItemBuilder(material)
|
||||
.amount(amount)
|
||||
.durability(data)
|
||||
.hideFlags()
|
||||
.build());
|
||||
}
|
||||
|
||||
playNeutral(player);
|
||||
}
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
package com.loganmagnan.bedwars.menus.shop.utilities;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.menus.shop.ShopType;
|
||||
import com.loganmagnan.bedwars.menus.shop.ShopTypeButton;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.ItemBuilder;
|
||||
import com.loganmagnan.bedwars.utils.menu.Button;
|
||||
import com.loganmagnan.bedwars.utils.menu.Menu;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class UtilityMenu extends Menu {
|
||||
|
||||
private BedWars main = BedWars.getInstance();
|
||||
|
||||
@Override
|
||||
public boolean isUpdateAfterClick() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTitle(Player player) {
|
||||
return CC.translate("&eClick a utility to purchase...");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Integer, Button> getButtons(Player player) {
|
||||
Map<Integer, Button> buttons = new HashMap<>();
|
||||
|
||||
for (ShopType types : ShopType.values()) {
|
||||
buttons.put(types.getSlot(), new ShopTypeButton(types));
|
||||
}
|
||||
|
||||
buttons.put(ShopType.UTILITY.getSlot() + 9, Button.placeholder(Material.STAINED_GLASS_PANE, (byte) 5, ""));
|
||||
buttons.put(19, new UtilityButton("Golden Apple", new String[]{"Well rounded healing"}, Material.GOLDEN_APPLE, 0, 1, Material.GOLD_INGOT, "Gold", ChatColor.GOLD, 3, true));
|
||||
buttons.put(20, new UtilityButton("Bed Bug", new String[]{"Spawns a silverfish where the", "snowball lands to distract your", "enemies"}, Material.SNOW_BALL, 0, 1, Material.IRON_INGOT, "Iron", ChatColor.WHITE, 30, true));
|
||||
buttons.put(21, new UtilityButton("Dream Defender", new String[]{"Spawns an iron golem to help", "defend your base"}, Material.SNOW_BALL, 0, 1, Material.IRON_INGOT, "Iron", ChatColor.WHITE, 120, true));
|
||||
buttons.put(22, new UtilityButton("Fireball", new String[]{"Right click to throw a fireball", "at your enemies when they are currently", "walking on a bridge"}, Material.FIREBALL, 0, 1, Material.IRON_INGOT, "Iron", ChatColor.WHITE, 40, true));
|
||||
buttons.put(23, new UtilityButton("TNT", new String[]{"Instantly ignites and is ready", "to explode things"}, Material.TNT, 0, 1, Material.GOLD_INGOT, "Gold", ChatColor.GOLD, 4, true));
|
||||
buttons.put(24, new UtilityButton("Ender Pearl", new String[]{"The fastest way to get", "to an enemy's base"}, Material.ENDER_PEARL, 0, 1, Material.EMERALD, "Emerald", ChatColor.DARK_GREEN, 4, true));
|
||||
buttons.put(25, new UtilityButton("Water Bucket", new String[]{"Awesome for clutching", "and much more"}, Material.WATER_BUCKET, 0, 1, Material.GOLD_INGOT, "Gold", ChatColor.GOLD, 6, true));
|
||||
buttons.put(28, new UtilityButton("Bridge Egg", new String[]{"Right click to throw an egg", "to then make a bridge in its", "path"}, Material.EGG, 0, 1, Material.EMERALD, "Emerald", ChatColor.DARK_GREEN, 1, true));
|
||||
buttons.put(29, new UtilityButton("Magic Milk", new String[]{"Avoid setting off a trap", "for thirty seconds"}, Material.MILK_BUCKET, 0, 1, Material.GOLD_INGOT, "Gold", ChatColor.GOLD, 4, true));
|
||||
buttons.put(30, new UtilityButton("Sponge", new String[]{"Awesome for distracting", "your enemies"}, Material.SPONGE, 0, 4, Material.GOLD_INGOT, "Gold", ChatColor.GOLD, 6, true));
|
||||
buttons.put(31, new UtilityButton("Popup Tower", new String[]{"Right click to make a", "popup tower"}, Material.CHEST, 0, 1, Material.IRON_INGOT, "Iron", ChatColor.WHITE, 24, true));
|
||||
|
||||
this.fillEmptySlots(buttons, new ItemBuilder(Material.STAINED_GLASS_PANE).durability(7).name("").build());
|
||||
|
||||
return buttons;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSize() {
|
||||
return 54;
|
||||
}
|
||||
}
|
@ -1,138 +0,0 @@
|
||||
package com.loganmagnan.bedwars.menus.shop.weapons;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.ItemBuilder;
|
||||
import com.loganmagnan.bedwars.utils.PlayerUtil;
|
||||
import com.loganmagnan.bedwars.utils.menu.Button;
|
||||
import lombok.AllArgsConstructor;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.inventory.ClickType;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@AllArgsConstructor
|
||||
public class WeaponsButton extends Button {
|
||||
|
||||
private String name;
|
||||
private Material material;
|
||||
private int data;
|
||||
private int amount;
|
||||
private Material costType;
|
||||
private String costTypeName;
|
||||
private ChatColor costTypeColor;
|
||||
private int cost;
|
||||
private boolean color;
|
||||
|
||||
@Override
|
||||
public ItemStack getButtonItem(Player player) {
|
||||
List<String> lore = new ArrayList<>();
|
||||
lore.add("");
|
||||
lore.add("&9Cost: " + costTypeColor + cost + " " + costTypeName);
|
||||
lore.add("&9Amount: &e" + amount + "x");
|
||||
|
||||
int costItems = 0;
|
||||
for (ItemStack contents : player.getInventory().getContents()) {
|
||||
if (contents != null) {
|
||||
if (contents.getType() == costType) {
|
||||
costItems += contents.getAmount();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
lore.add(" ");
|
||||
lore.add(costItems >= cost ? "&aClick to purchase" : "&cYou don't have enough " + costTypeName);
|
||||
|
||||
PlayerData playerData = BedWars.getInstance().getPlayerDataManager().getPlayerData(player.getUniqueId());
|
||||
|
||||
if (color) {
|
||||
return new ItemBuilder(material)
|
||||
.name((costItems >= cost ? "&a" : "&c") + name)
|
||||
.lore(lore)
|
||||
.amount(amount)
|
||||
.durability(playerData.getPlayerTeam().getColorData())
|
||||
.hideFlags()
|
||||
.build();
|
||||
} else {
|
||||
return new ItemBuilder(material)
|
||||
.name((costItems >= cost ? "&a" : "&c") + name)
|
||||
.lore(lore)
|
||||
.amount(amount)
|
||||
.durability(data)
|
||||
.hideFlags()
|
||||
.build();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clicked(Player player, int slot, ClickType clickType, int hotbarButton) {
|
||||
if (clickType.isShiftClick()) {
|
||||
return;
|
||||
}
|
||||
|
||||
int costItems = 0;
|
||||
|
||||
for (ItemStack contents : player.getInventory().getContents()) {
|
||||
if (contents != null) {
|
||||
if (contents.getType() == costType) {
|
||||
costItems += contents.getAmount();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (costItems < cost) {
|
||||
player.sendMessage(CC.translate("&cYou don't have enough " + costTypeName));
|
||||
|
||||
playFail(player);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
PlayerData playerData = BedWars.getInstance().getPlayerDataManager().getPlayerData(player.getUniqueId());
|
||||
|
||||
int finalCost = cost;
|
||||
|
||||
for (ItemStack i : player.getInventory().getContents()) {
|
||||
if (i == null) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (i.getType() == costType) {
|
||||
if (i.getAmount() < finalCost) {
|
||||
finalCost -= i.getAmount();
|
||||
|
||||
PlayerUtil.minusAmount(player, i, i.getAmount());
|
||||
|
||||
player.updateInventory();
|
||||
} else {
|
||||
PlayerUtil.minusAmount(player, i, finalCost);
|
||||
|
||||
player.updateInventory();
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (color) {
|
||||
player.getInventory().addItem(new ItemBuilder(material)
|
||||
.amount(amount)
|
||||
.durability(playerData.getPlayerTeam().getColorData())
|
||||
.hideFlags()
|
||||
.build());
|
||||
} else {
|
||||
player.getInventory().addItem(new ItemBuilder(material)
|
||||
.amount(amount)
|
||||
.durability(data)
|
||||
.hideFlags()
|
||||
.build());
|
||||
}
|
||||
|
||||
playNeutral(player);
|
||||
}
|
||||
}
|
@ -1,54 +0,0 @@
|
||||
package com.loganmagnan.bedwars.menus.shop.weapons;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.menus.shop.ShopType;
|
||||
import com.loganmagnan.bedwars.menus.shop.ShopTypeButton;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.ItemBuilder;
|
||||
import com.loganmagnan.bedwars.utils.menu.Button;
|
||||
import com.loganmagnan.bedwars.utils.menu.Menu;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class WeaponsMenu extends Menu {
|
||||
|
||||
private BedWars main = BedWars.getInstance();
|
||||
|
||||
@Override
|
||||
public boolean isUpdateAfterClick() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTitle(Player player) {
|
||||
return CC.translate("&eClick a weapon to purchase...");
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Integer, Button> getButtons(Player player) {
|
||||
Map<Integer, Button> buttons = new HashMap<>();
|
||||
|
||||
for (ShopType types : ShopType.values()) {
|
||||
buttons.put(types.getSlot(), new ShopTypeButton(types));
|
||||
}
|
||||
|
||||
buttons.put(ShopType.WEAPONS.getSlot() + 9, Button.placeholder(Material.STAINED_GLASS_PANE, (byte) 5, ""));
|
||||
buttons.put(19, new WeaponsButton("Stone Sword", Material.STONE_SWORD, 0, 1, Material.IRON_INGOT, "Iron", ChatColor.WHITE, 10, true));
|
||||
buttons.put(20, new WeaponsButton("Iron Sword", Material.IRON_SWORD, 0, 1, Material.GOLD_INGOT, "Gold", ChatColor.GOLD, 7, true));
|
||||
buttons.put(21, new WeaponsButton("Diamond Sword", Material.DIAMOND_SWORD, 0, 1, Material.EMERALD, "Emerald", ChatColor.DARK_GREEN, 3, true));
|
||||
buttons.put(22, new WeaponsButton("Knockback Stick", Material.STICK, 0, 1, Material.GOLD_INGOT, "Gold", ChatColor.GOLD, 5, true));
|
||||
|
||||
this.fillEmptySlots(buttons, new ItemBuilder(Material.STAINED_GLASS_PANE).durability(7).name("").build());
|
||||
|
||||
return buttons;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSize() {
|
||||
return 54;
|
||||
}
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
package com.loganmagnan.bedwars.upgrades;
|
||||
|
||||
//@Getter
|
||||
//@RequiredArgsConstructor
|
||||
//public enum AxeTier {
|
||||
//
|
||||
// NONE(0, Material.AIR, null, 0),
|
||||
// WOOD(10, Material.IRON_INGOT, new ItemBuilder(Material.WOOD_AXE).enchantment(Enchantment.DIG_SPEED, 1).name(), 1)
|
||||
//
|
||||
// private final int cost;
|
||||
// private final Material costType;
|
||||
// private final ItemStack item;
|
||||
// private final int level;
|
||||
//}
|
@ -1,5 +0,0 @@
|
||||
package com.loganmagnan.bedwars.utils.aether.scoreboard.cooldown;
|
||||
|
||||
public enum BoardFormat {
|
||||
SECONDS, MINUTES, HOURS
|
||||
}
|
@ -1,67 +0,0 @@
|
||||
package com.loganmagnan.bedwars.villager;
|
||||
|
||||
import net.minecraft.server.v1_8_R3.EntityTypes;
|
||||
import net.minecraft.server.v1_8_R3.EntityVillager;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.World;
|
||||
import org.bukkit.craftbukkit.v1_8_R3.CraftWorld;
|
||||
import org.bukkit.craftbukkit.v1_8_R3.entity.CraftLivingEntity;
|
||||
import org.bukkit.event.entity.CreatureSpawnEvent;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.Method;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Map;
|
||||
|
||||
public class CustomVillager extends EntityVillager implements VillagerCallable {
|
||||
|
||||
public CustomVillager(World world) {
|
||||
super(((CraftWorld) world).getHandle());
|
||||
}
|
||||
|
||||
@Override
|
||||
public CustomVillager spawn(Location location, String name) {
|
||||
CustomVillager customVillager = new CustomVillager(location.getWorld());
|
||||
customVillager.setLocation(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||
((CraftLivingEntity) customVillager.getBukkitEntity()).setRemoveWhenFarAway(false);
|
||||
customVillager.setHealth(customVillager.getMaxHealth());
|
||||
customVillager.setCustomName(CC.translate(name));
|
||||
customVillager.setCustomNameVisible(true);
|
||||
customVillager.setInvisible(false);
|
||||
((CraftWorld) location.getWorld()).getHandle().addEntity(customVillager, CreatureSpawnEvent.SpawnReason.CUSTOM);
|
||||
this.register();
|
||||
return customVillager;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void register() {
|
||||
registerEntity("Villager", 120, EntityVillager.class);
|
||||
}
|
||||
|
||||
private void registerEntity(String string, int paramInt, Class<EntityVillager> villagerClass) {
|
||||
try {
|
||||
ArrayList<Map> arrayList = new ArrayList();
|
||||
byte b;
|
||||
int i;
|
||||
Field[] arrayOfField;
|
||||
for (i = (arrayOfField = EntityTypes.class.getDeclaredFields()).length, b = 0; b < i; ) {
|
||||
Field field = arrayOfField[b];
|
||||
if (field.getType().getSimpleName().equals(Map.class.getSimpleName())) {
|
||||
field.setAccessible(true);
|
||||
arrayList.add((Map)field.get(null));
|
||||
}
|
||||
b++;
|
||||
}
|
||||
if (arrayList.get(2).containsKey(paramInt)) {
|
||||
arrayList.get(0).remove(string);
|
||||
arrayList.get(2).remove(paramInt);
|
||||
}
|
||||
Method method = EntityTypes.class.getDeclaredMethod("a", Class.class, String.class, int.class);
|
||||
method.setAccessible(true);
|
||||
method.invoke(null, villagerClass, string, paramInt);
|
||||
} catch (Exception exception) {
|
||||
exception.printStackTrace();
|
||||
}
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
package com.loganmagnan.bedwars.villager;
|
||||
|
||||
import org.bukkit.Location;
|
||||
|
||||
public interface VillagerCallable {
|
||||
CustomVillager spawn(Location location, String name);
|
||||
|
||||
void register();
|
||||
}
|
@ -1,12 +1,5 @@
|
||||
package com.loganmagnan.bedwars;
|
||||
package rip.tilly.bedwars;
|
||||
|
||||
import com.loganmagnan.bedwars.listeners.*;
|
||||
import com.loganmagnan.bedwars.listeners.game.*;
|
||||
import com.loganmagnan.bedwars.managers.GameManager;
|
||||
import com.loganmagnan.bedwars.managers.arena.ArenaManager;
|
||||
import com.loganmagnan.bedwars.managers.queue.QueueManager;
|
||||
import com.loganmagnan.bedwars.providers.scoreboard.ScoreboardProvider;
|
||||
import com.loganmagnan.bedwars.utils.menusystem.PlayerMenuUtil;
|
||||
import lombok.Getter;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Chunk;
|
||||
@ -15,25 +8,37 @@ import org.bukkit.entity.Entity;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import com.loganmagnan.bedwars.customitems.bridgeegg.BridgeEggListener;
|
||||
import com.loganmagnan.bedwars.game.Game;
|
||||
import com.loganmagnan.bedwars.managers.CommandManager;
|
||||
import com.loganmagnan.bedwars.managers.PlayerDataManager;
|
||||
import com.loganmagnan.bedwars.managers.SpawnManager;
|
||||
import com.loganmagnan.bedwars.managers.arena.chunk.ChunkClearingManager;
|
||||
import com.loganmagnan.bedwars.managers.arena.chunk.ChunkManager;
|
||||
import com.loganmagnan.bedwars.managers.hotbar.HotbarManager;
|
||||
import com.loganmagnan.bedwars.managers.mongo.MongoManager;
|
||||
import com.loganmagnan.bedwars.managers.party.PartyManager;
|
||||
import com.loganmagnan.bedwars.providers.placeholderapi.PlaceholderAPIProvider;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.aether.Aether;
|
||||
import com.loganmagnan.bedwars.utils.config.file.Config;
|
||||
import rip.tilly.bedwars.customitems.bridgeegg.BridgeEggListener;
|
||||
import rip.tilly.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.listeners.*;
|
||||
import rip.tilly.bedwars.listeners.game.*;
|
||||
import rip.tilly.bedwars.managers.CommandManager;
|
||||
import rip.tilly.bedwars.managers.GameManager;
|
||||
import rip.tilly.bedwars.managers.PlayerDataManager;
|
||||
import rip.tilly.bedwars.managers.SpawnManager;
|
||||
import rip.tilly.bedwars.managers.arena.ArenaManager;
|
||||
import rip.tilly.bedwars.managers.arena.chunk.ChunkClearingManager;
|
||||
import rip.tilly.bedwars.managers.arena.chunk.ChunkManager;
|
||||
import rip.tilly.bedwars.managers.hotbar.HotbarManager;
|
||||
import rip.tilly.bedwars.managers.mongo.MongoManager;
|
||||
import rip.tilly.bedwars.managers.party.PartyManager;
|
||||
import rip.tilly.bedwars.managers.queue.QueueManager;
|
||||
import rip.tilly.bedwars.utils.menusystem.PlayerMenuUtil;
|
||||
import rip.tilly.bedwars.providers.placeholderapi.PlaceholderAPIProvider;
|
||||
import rip.tilly.bedwars.providers.scoreboard.ScoreboardProvider;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.aether.Aether;
|
||||
import rip.tilly.bedwars.utils.config.file.Config;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
* Created by Lucanius & Trixkz
|
||||
* Project: BedWars
|
||||
*/
|
||||
@Getter
|
||||
public final class BedWars extends JavaPlugin {
|
||||
|
||||
@ -44,12 +49,12 @@ public final class BedWars extends JavaPlugin {
|
||||
private MongoManager mongoManager;
|
||||
private ChunkClearingManager chunkClearingManager;
|
||||
private PlayerDataManager playerDataManager;
|
||||
private ArenaManager arenaManager;
|
||||
private GameManager gameManager;
|
||||
private SpawnManager spawnManager;
|
||||
private ArenaManager arenaManager;
|
||||
private ChunkManager chunkManager;
|
||||
private HotbarManager hotbarManager;
|
||||
private CommandManager commandManager;
|
||||
private GameManager gameManager;
|
||||
private PartyManager partyManager;
|
||||
private QueueManager queueManager;
|
||||
|
||||
@ -65,8 +70,8 @@ public final class BedWars extends JavaPlugin {
|
||||
this.arenasConfig = new Config("arenas", this);
|
||||
|
||||
Bukkit.getConsoleSender().sendMessage("------------------------------------------------");
|
||||
Bukkit.getConsoleSender().sendMessage(CC.translate("&dzBedWars &8- &av" + this.getDescription().getVersion()));
|
||||
Bukkit.getConsoleSender().sendMessage(CC.translate("&7Made by &eLoganM Development"));
|
||||
Bukkit.getConsoleSender().sendMessage(CC.translate("&dBedWars &8- &av" + getDescription().getVersion()));
|
||||
Bukkit.getConsoleSender().sendMessage(CC.translate("&7Made on &dTilly RIP &7by &eTrixkz &7& &eLucanius"));
|
||||
Bukkit.getConsoleSender().sendMessage("------------------------------------------------");
|
||||
|
||||
this.loadManagers();
|
||||
@ -118,12 +123,12 @@ public final class BedWars extends JavaPlugin {
|
||||
this.mongoManager = new MongoManager();
|
||||
this.chunkClearingManager = new ChunkClearingManager();
|
||||
this.playerDataManager = new PlayerDataManager();
|
||||
this.arenaManager = new ArenaManager();
|
||||
this.gameManager = new GameManager();
|
||||
this.spawnManager = new SpawnManager();
|
||||
this.arenaManager = new ArenaManager();
|
||||
this.chunkManager = new ChunkManager();
|
||||
this.hotbarManager = new HotbarManager();
|
||||
this.commandManager = new CommandManager();
|
||||
this.gameManager = new GameManager();
|
||||
this.partyManager = new PartyManager();
|
||||
this.queueManager = new QueueManager();
|
||||
}
|
||||
@ -138,7 +143,7 @@ public final class BedWars extends JavaPlugin {
|
||||
}
|
||||
|
||||
private void loadRunnables() {
|
||||
// new Aether(this, new ScoreboardProvider());
|
||||
new Aether(this, new ScoreboardProvider());
|
||||
}
|
||||
|
||||
public PlayerMenuUtil getPlayerMenuUtil(Player player) {
|
@ -1,4 +1,4 @@
|
||||
package com.loganmagnan.bedwars.commands;
|
||||
package rip.tilly.bedwars.commands;
|
||||
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
@ -1,13 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.menus.arena.ArenaManageMenu;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.menus.arena.ArenaManagerMenu;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.menusystem.menu.UpgradesMenu;
|
||||
|
||||
public class ArenaCommand implements CommandExecutor {
|
||||
|
||||
@ -167,7 +168,7 @@ public class ArenaCommand implements CommandExecutor {
|
||||
return true;
|
||||
}
|
||||
|
||||
new ArenaManageMenu().openMenu(player);
|
||||
new ArenaManagerMenu().openMenu(player);
|
||||
|
||||
break;
|
||||
case "generate":
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,13 +1,13 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.runnables.ArenaCommandRunnable;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.runnables.ArenaCommandRunnable;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,13 +1,13 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,16 +1,16 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,16 +1,16 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,13 +1,13 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,16 +1,16 @@
|
||||
package com.loganmagnan.bedwars.commands.arena;
|
||||
package rip.tilly.bedwars.commands.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.level;
|
||||
package rip.tilly.bedwars.commands.level;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.playerdata.PlayerData;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,11 +1,11 @@
|
||||
package com.loganmagnan.bedwars.commands.level;
|
||||
package rip.tilly.bedwars.commands.level;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
public class LevelCommand implements CommandExecutor {
|
||||
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.level;
|
||||
package rip.tilly.bedwars.commands.level;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.playerdata.PlayerData;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.level;
|
||||
package rip.tilly.bedwars.commands.level;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.playerdata.PlayerData;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.party;
|
||||
package rip.tilly.bedwars.commands.party;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.party;
|
||||
package rip.tilly.bedwars.commands.party;
|
||||
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.managers.party.Party;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.managers.party.Party;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,10 +1,10 @@
|
||||
package com.loganmagnan.bedwars.commands.party;
|
||||
package rip.tilly.bedwars.commands.party;
|
||||
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.party;
|
||||
package rip.tilly.bedwars.commands.party;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -18,7 +18,7 @@ public class InfoCommand extends BaseCommand {
|
||||
@Override
|
||||
public void executeAs(CommandSender sender, Command cmd, String label, String[] args) {
|
||||
Player player = (Player) sender;
|
||||
|
||||
|
||||
if (this.main.getPartyManager().getParty(player.getUniqueId()) == null) {
|
||||
player.sendMessage(CC.translate("&cYou are not in a party!"));
|
||||
return;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.party;
|
||||
package rip.tilly.bedwars.commands.party;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,11 +1,11 @@
|
||||
package com.loganmagnan.bedwars.commands.party;
|
||||
package rip.tilly.bedwars.commands.party;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.party;
|
||||
package rip.tilly.bedwars.commands.party;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerState;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.playerdata.PlayerState;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,10 +1,10 @@
|
||||
package com.loganmagnan.bedwars.commands.party;
|
||||
package rip.tilly.bedwars.commands.party;
|
||||
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
public class PartyCommand implements CommandExecutor {
|
||||
|
@ -1,13 +1,13 @@
|
||||
package com.loganmagnan.bedwars.commands.party;
|
||||
package rip.tilly.bedwars.commands.party;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.managers.party.Party;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.managers.party.Party;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,13 +1,13 @@
|
||||
package com.loganmagnan.bedwars.commands.setspawn;
|
||||
package rip.tilly.bedwars.commands.setspawn;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,13 +1,13 @@
|
||||
package com.loganmagnan.bedwars.commands.setspawn;
|
||||
package rip.tilly.bedwars.commands.setspawn;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,10 +1,10 @@
|
||||
package com.loganmagnan.bedwars.commands.setspawn;
|
||||
package rip.tilly.bedwars.commands.setspawn;
|
||||
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
public class SetSpawnCommand implements CommandExecutor {
|
||||
|
@ -1,13 +1,13 @@
|
||||
package com.loganmagnan.bedwars.commands.setspawn;
|
||||
package rip.tilly.bedwars.commands.setspawn;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.configuration.file.FileConfiguration;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.commands.spectate;
|
||||
package rip.tilly.bedwars.commands.spectate;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerState;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.playerdata.PlayerData;
|
||||
import rip.tilly.bedwars.playerdata.PlayerState;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
public class SpectateCommand implements CommandExecutor {
|
||||
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.toggle;
|
||||
package rip.tilly.bedwars.commands.toggle;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerSettings;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.playerdata.PlayerSettings;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.toggle;
|
||||
package rip.tilly.bedwars.commands.toggle;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerSettings;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.playerdata.PlayerSettings;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,10 +1,10 @@
|
||||
package com.loganmagnan.bedwars.commands.toggle;
|
||||
package rip.tilly.bedwars.commands.toggle;
|
||||
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
public class ToggleCommand implements CommandExecutor {
|
||||
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.xp;
|
||||
package rip.tilly.bedwars.commands.xp;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.playerdata.PlayerData;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.xp;
|
||||
package rip.tilly.bedwars.commands.xp;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.playerdata.PlayerData;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,12 +1,12 @@
|
||||
package com.loganmagnan.bedwars.commands.xp;
|
||||
package rip.tilly.bedwars.commands.xp;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.commands.BaseCommand;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.commands.BaseCommand;
|
||||
import rip.tilly.bedwars.playerdata.PlayerData;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,11 +1,11 @@
|
||||
package com.loganmagnan.bedwars.commands.xp;
|
||||
package rip.tilly.bedwars.commands.xp;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandExecutor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
public class XpCommand implements CommandExecutor {
|
||||
|
@ -1,14 +1,14 @@
|
||||
package com.loganmagnan.bedwars.customitems.bridgeegg;
|
||||
package rip.tilly.bedwars.customitems.bridgeegg;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerTeam;
|
||||
import org.bukkit.entity.Egg;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.entity.ProjectileHitEvent;
|
||||
import org.bukkit.event.entity.ProjectileLaunchEvent;
|
||||
import com.loganmagnan.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.playerdata.PlayerTeam;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
@ -1,7 +1,5 @@
|
||||
package com.loganmagnan.bedwars.customitems.bridgeegg;
|
||||
package rip.tilly.bedwars.customitems.bridgeegg;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerTeam;
|
||||
import lombok.Getter;
|
||||
import org.bukkit.Effect;
|
||||
import org.bukkit.Location;
|
||||
@ -11,7 +9,9 @@ import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Egg;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.scheduler.BukkitTask;
|
||||
import com.loganmagnan.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.playerdata.PlayerTeam;
|
||||
|
||||
@Getter
|
||||
@SuppressWarnings("WeakerAccess")
|
@ -1,15 +1,15 @@
|
||||
package com.loganmagnan.bedwars.customitems.popuptower;
|
||||
package rip.tilly.bedwars.customitems.popuptower;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerTeam;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.playerdata.PlayerTeam;
|
||||
|
||||
public class PlaceTower {
|
||||
|
||||
private BedWars plugin = BedWars.getInstance();
|
||||
private final BedWars plugin = BedWars.getInstance();
|
||||
|
||||
public PlaceTower(Block block, String xyz, PlayerTeam playerTeam, Player player, boolean ladder, int ladderData) {
|
||||
int x = Integer.parseInt(xyz.split(", ")[0]);
|
@ -1,8 +1,5 @@
|
||||
package com.loganmagnan.bedwars.customitems.popuptower.types;
|
||||
package rip.tilly.bedwars.customitems.popuptower.types;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.customitems.popuptower.PlaceTower;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerTeam;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
@ -11,6 +8,9 @@ import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.scheduler.BukkitTask;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.customitems.popuptower.PlaceTower;
|
||||
import rip.tilly.bedwars.playerdata.PlayerTeam;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,8 +1,5 @@
|
||||
package com.loganmagnan.bedwars.customitems.popuptower.types;
|
||||
package rip.tilly.bedwars.customitems.popuptower.types;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.customitems.popuptower.PlaceTower;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerTeam;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
@ -11,6 +8,9 @@ import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.scheduler.BukkitTask;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.customitems.popuptower.PlaceTower;
|
||||
import rip.tilly.bedwars.playerdata.PlayerTeam;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,8 +1,5 @@
|
||||
package com.loganmagnan.bedwars.customitems.popuptower.types;
|
||||
package rip.tilly.bedwars.customitems.popuptower.types;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.customitems.popuptower.PlaceTower;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerTeam;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
@ -11,6 +8,9 @@ import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.scheduler.BukkitTask;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.customitems.popuptower.PlaceTower;
|
||||
import rip.tilly.bedwars.playerdata.PlayerTeam;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,8 +1,5 @@
|
||||
package com.loganmagnan.bedwars.customitems.popuptower.types;
|
||||
package rip.tilly.bedwars.customitems.popuptower.types;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.customitems.popuptower.PlaceTower;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerTeam;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
@ -11,6 +8,9 @@ import org.bukkit.block.Block;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.scheduler.BukkitTask;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.customitems.popuptower.PlaceTower;
|
||||
import rip.tilly.bedwars.playerdata.PlayerTeam;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,8 +1,8 @@
|
||||
package com.loganmagnan.bedwars.events;
|
||||
package rip.tilly.bedwars.events;
|
||||
|
||||
import com.loganmagnan.bedwars.game.GameTeam;
|
||||
import lombok.Getter;
|
||||
import com.loganmagnan.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.game.GameTeam;
|
||||
|
||||
@Getter
|
||||
public class GameEndEvent extends GameEvent {
|
@ -1,10 +1,10 @@
|
||||
package com.loganmagnan.bedwars.events;
|
||||
package rip.tilly.bedwars.events;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.bukkit.event.Event;
|
||||
import org.bukkit.event.HandlerList;
|
||||
import com.loganmagnan.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.game.Game;
|
||||
|
||||
@Getter
|
||||
@RequiredArgsConstructor
|
@ -1,6 +1,6 @@
|
||||
package com.loganmagnan.bedwars.events;
|
||||
package rip.tilly.bedwars.events;
|
||||
|
||||
import com.loganmagnan.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.game.Game;
|
||||
|
||||
public class GameStartEvent extends GameEvent {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.loganmagnan.bedwars.events;
|
||||
package rip.tilly.bedwars.events;
|
||||
|
||||
import lombok.Getter;
|
||||
import org.bukkit.entity.Player;
|
@ -1,14 +1,5 @@
|
||||
package com.loganmagnan.bedwars.game;
|
||||
package rip.tilly.bedwars.game;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import com.loganmagnan.bedwars.game.arena.CopiedArena;
|
||||
import com.loganmagnan.bedwars.generators.Generator;
|
||||
import com.loganmagnan.bedwars.generators.GeneratorTier;
|
||||
import com.loganmagnan.bedwars.generators.GeneratorType;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import com.loganmagnan.bedwars.utils.TimeUtils;
|
||||
import io.netty.util.internal.ConcurrentSet;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
@ -21,6 +12,15 @@ import org.bukkit.entity.Player;
|
||||
import org.bukkit.entity.Villager;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.github.paperspigot.Title;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
import rip.tilly.bedwars.game.arena.CopiedArena;
|
||||
import rip.tilly.bedwars.generators.Generator;
|
||||
import rip.tilly.bedwars.generators.GeneratorTier;
|
||||
import rip.tilly.bedwars.generators.GeneratorType;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
import rip.tilly.bedwars.utils.TimeUtils;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
@ -38,9 +38,9 @@ public class Game {
|
||||
private final Set<Integer> runnables = new HashSet<>();
|
||||
private final Set<ItemStack> droppedItems = new ConcurrentSet<>();
|
||||
|
||||
private final List<GameTeam> teams;
|
||||
private final Arena arena;
|
||||
private final GameType gameType;
|
||||
private final List<GameTeam> teams;
|
||||
|
||||
private final UUID gameId = UUID.randomUUID();
|
||||
|
||||
@ -312,11 +312,6 @@ public class Game {
|
||||
}
|
||||
|
||||
public void spawnVillagers() {
|
||||
// CustomVillager villager = new CustomVillager(this.copiedArena.getA().toBukkitWorld());
|
||||
// villager.register();
|
||||
// villager.spawn(this.copiedArena.getTeamAshop().toBukkitLocation(), "&aItem Shop");
|
||||
// this.addEntityToRemove(villager.getBukkitEntity());
|
||||
|
||||
Villager teamAShopVillager = this.copiedArena.getTeamAshop().toBukkitLocation().getWorld().spawn(this.copiedArena.getTeamAshop().toBukkitLocation(), Villager.class);
|
||||
teamAShopVillager.setCustomName(CC.translate("&aItem Shop"));
|
||||
teamAShopVillager.setCustomNameVisible(true);
|
@ -1,8 +1,8 @@
|
||||
package com.loganmagnan.bedwars.game;
|
||||
package rip.tilly.bedwars.game;
|
||||
|
||||
import com.loganmagnan.bedwars.game.arena.Arena;
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import rip.tilly.bedwars.game.arena.Arena;
|
||||
|
||||
import java.util.UUID;
|
||||
|
@ -1,8 +1,8 @@
|
||||
package com.loganmagnan.bedwars.game;
|
||||
package rip.tilly.bedwars.game;
|
||||
|
||||
public enum GameState {
|
||||
|
||||
STARTING,
|
||||
FIGHTING,
|
||||
ENDING;
|
||||
ENDING
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
package com.loganmagnan.bedwars.game;
|
||||
package rip.tilly.bedwars.game;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import org.bukkit.entity.Player;
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerTeam;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.playerdata.PlayerTeam;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package com.loganmagnan.bedwars.game;
|
||||
package rip.tilly.bedwars.game;
|
||||
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
@ -1,10 +1,10 @@
|
||||
package com.loganmagnan.bedwars.game.arena;
|
||||
package rip.tilly.bedwars.game.arena;
|
||||
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
@ -1,10 +1,10 @@
|
||||
package com.loganmagnan.bedwars.game.arena;
|
||||
package rip.tilly.bedwars.game.arena;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.Setter;
|
||||
import com.loganmagnan.bedwars.utils.CustomLocation;
|
||||
import rip.tilly.bedwars.utils.CustomLocation;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -36,4 +36,5 @@ public class CopiedArena {
|
||||
private List<CustomLocation> teamGenerators = new ArrayList<>();
|
||||
private List<CustomLocation> diamondGenerators = new ArrayList<>();
|
||||
private List<CustomLocation> emeraldGenerators = new ArrayList<>();
|
||||
|
||||
}
|
@ -1,14 +1,15 @@
|
||||
package com.loganmagnan.bedwars.generators;
|
||||
package rip.tilly.bedwars.generators;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.ArmorStand;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.scheduler.BukkitTask;
|
||||
import org.bukkit.util.EulerAngle;
|
||||
import com.loganmagnan.bedwars.game.Game;
|
||||
import com.loganmagnan.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
|
||||
public class Generator {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.loganmagnan.bedwars.generators;
|
||||
package rip.tilly.bedwars.generators;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package com.loganmagnan.bedwars.generators;
|
||||
package rip.tilly.bedwars.generators;
|
||||
|
||||
public enum GeneratorType {
|
||||
|
@ -1,8 +1,5 @@
|
||||
package com.loganmagnan.bedwars.listeners;
|
||||
package rip.tilly.bedwars.listeners;
|
||||
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.utils.menu.Button;
|
||||
import com.loganmagnan.bedwars.utils.menu.Menu;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
@ -12,6 +9,9 @@ import org.bukkit.event.inventory.ClickType;
|
||||
import org.bukkit.event.inventory.InventoryAction;
|
||||
import org.bukkit.event.inventory.InventoryClickEvent;
|
||||
import org.bukkit.event.inventory.InventoryCloseEvent;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.utils.menu.Button;
|
||||
import rip.tilly.bedwars.utils.menu.Menu;
|
||||
|
||||
public class ButtonListener implements Listener {
|
||||
|
@ -1,14 +1,11 @@
|
||||
package com.loganmagnan.bedwars.listeners;
|
||||
package rip.tilly.bedwars.listeners;
|
||||
|
||||
import com.loganmagnan.bedwars.menus.settings.SettingsMenu;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerData;
|
||||
import com.loganmagnan.bedwars.playerdata.PlayerState;
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.GameMode;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.entity.ArmorStand;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.entity.Villager;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.Listener;
|
||||
import org.bukkit.event.block.Action;
|
||||
@ -17,11 +14,16 @@ import org.bukkit.event.player.PlayerInteractEntityEvent;
|
||||
import org.bukkit.event.player.PlayerInteractEvent;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.material.TrapDoor;
|
||||
import com.loganmagnan.bedwars.BedWars;
|
||||
import com.loganmagnan.bedwars.managers.hotbar.impl.HotbarItem;
|
||||
import com.loganmagnan.bedwars.menus.queue.PlayAGameMenu;
|
||||
import com.loganmagnan.bedwars.menus.shop.blocks.BlocksMenu;
|
||||
import com.loganmagnan.bedwars.utils.menusystem.menu.UpgradesMenu;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.game.GameState;
|
||||
import rip.tilly.bedwars.managers.hotbar.impl.HotbarItem;
|
||||
import rip.tilly.bedwars.menus.queue.PlayAGameMenu;
|
||||
import rip.tilly.bedwars.menus.settings.SettingsMenu;
|
||||
import rip.tilly.bedwars.menus.shop.blocks.BlocksMenu;
|
||||
import rip.tilly.bedwars.playerdata.PlayerData;
|
||||
import rip.tilly.bedwars.playerdata.PlayerState;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.menusystem.menu.UpgradesMenu;
|
||||
|
||||
public class InteractListener implements Listener {
|
||||
|
||||
@ -29,24 +31,18 @@ public class InteractListener implements Listener {
|
||||
|
||||
@EventHandler
|
||||
public void onPlayerInteract(PlayerInteractEvent event) {
|
||||
Player player = event.getPlayer();
|
||||
|
||||
PlayerData playerData = this.plugin.getPlayerDataManager().getPlayerData(player.getUniqueId());
|
||||
|
||||
if (playerData.getPlayerState() == PlayerState.PLAYING) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (player.getGameMode() == GameMode.CREATIVE) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.getAction() == Action.PHYSICAL && event.getClickedBlock().getType() == Material.SOIL) {
|
||||
event.setCancelled(true);
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.getAction() != Action.RIGHT_CLICK_BLOCK && event.getAction() != Action.RIGHT_CLICK_AIR) {
|
||||
if ((event.getAction() != Action.RIGHT_CLICK_BLOCK && event.getAction() != Action.RIGHT_CLICK_AIR)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Player player = event.getPlayer();
|
||||
|
||||
if (player.getGameMode() == GameMode.CREATIVE) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -65,13 +61,16 @@ public class InteractListener implements Listener {
|
||||
}
|
||||
|
||||
ItemStack itemStack = player.getItemInHand();
|
||||
|
||||
if (!event.hasItem() || itemStack == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
HotbarItem hotbarItem = HotbarItem.getItemByItemStack(itemStack);
|
||||
PlayerData playerData = this.plugin.getPlayerDataManager().getPlayerData(player.getUniqueId());
|
||||
if (playerData.getPlayerState() == PlayerState.PLAYING) {
|
||||
return;
|
||||
}
|
||||
|
||||
HotbarItem hotbarItem = HotbarItem.getItemByItemStack(player.getItemInHand());
|
||||
if (hotbarItem == null) {
|
||||
return;
|
||||
}
|
||||
@ -98,7 +97,7 @@ public class InteractListener implements Listener {
|
||||
|
||||
break;
|
||||
case COSMETICS_MENU:
|
||||
// new BlocksMenu().openMenu(player);
|
||||
new BlocksMenu().openMenu(player);
|
||||
// open cosmetics menu
|
||||
break;
|
||||
case PREFERENCES_MENU:
|
||||
@ -109,7 +108,7 @@ public class InteractListener implements Listener {
|
||||
// open party games menu
|
||||
break;
|
||||
case PARTY_INFO:
|
||||
player.chat("/party info");
|
||||
player.performCommand("party info");
|
||||
|
||||
break;
|
||||
case PARTY_LEAVE:
|
||||
@ -148,7 +147,7 @@ public class InteractListener implements Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
String name = event.getRightClicked().getName();
|
||||
String name = event.getRightClicked().getCustomName();
|
||||
|
||||
if (name == null) {
|
||||
return;
|
||||
@ -171,13 +170,4 @@ public class InteractListener implements Listener {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void onEntityDamage(EntityDamageEvent event) {
|
||||
if (event.getEntityType() == EntityType.VILLAGER) {
|
||||
event.setCancelled(true);
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user