Skip to content

Commit 76ef65f

Browse files
committed
dev: 1.21テスト環境構築
1 parent 1c5c230 commit 76ef65f

File tree

25 files changed

+1460
-5
lines changed

25 files changed

+1460
-5
lines changed

.run/RunTestPlugin_1.21.0.run.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<component name="ProjectRunConfigurationManager">
2+
<configuration default="false" name="RunTestPlugin_1.21.0" type="JarApplication">
3+
<option name="JAR_PATH" value="$PROJECT_DIR$/bukkit/test_plugin_1.21.0/server/server.jar"/>
4+
<option name="VM_PARAMETERS" value="-Dplugin.env=DEV"/>
5+
<option name="PROGRAM_PARAMETERS" value="nogui"/>
6+
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/bukkit/test_plugin_1.21.0/server"/>
7+
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true"/>
8+
<option name="ALTERNATIVE_JRE_PATH" value="21"/>
9+
<method v="2">
10+
<option name="Gradle.BeforeRunTask" enabled="false" tasks="downloadServerJar"
11+
externalProjectPath="$PROJECT_DIR$/bukkit/test_plugin_1.21.0" vmOptions="" scriptParameters=""/>
12+
<option name="Gradle.BeforeRunTask" enabled="true" tasks="build"
13+
externalProjectPath="$PROJECT_DIR$/bukkit/test_plugin_1.21.0" vmOptions="" scriptParameters=""/>
14+
<option name="Gradle.BeforeRunTask" enabled="true" tasks="copyToServer"
15+
externalProjectPath="$PROJECT_DIR$/bukkit/test_plugin_1.21.0" vmOptions="" scriptParameters=""/>
16+
</method>
17+
</configuration>
18+
</component>

bukkit/test_plugin_1.16.5/server/server.properties

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Minecraft server properties
2-
#Thu Jul 04 03:08:15 JST 2024
2+
#Fri Oct 11 22:43:31 JST 2024
33
spawn-protection=16
44
max-tick-time=-1
55
query.port=25565
@@ -42,12 +42,12 @@ spawn-animals=true
4242
white-list=false
4343
rcon.password=
4444
generate-structures=true
45-
online-mode=false
4645
max-build-height=256
46+
online-mode=false
4747
level-seed=
48-
prevent-proxy-connections=false
4948
use-native-transport=true
49+
prevent-proxy-connections=false
5050
enable-jmx-monitoring=false
51-
rate-limit=0
52-
motd=A Minecraft Server
5351
enable-rcon=false
52+
motd=A Minecraft Server
53+
rate-limit=0

bukkit/test_plugin_1.16.5/src/main/java/net/kunmc/lab/testplugin/TestPlugin.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import java.util.Objects;
77

8+
89
public final class TestPlugin extends JavaPlugin {
910
@Override
1011
public void onEnable() {
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
# User-specific stuff
2+
.idea/saveactions_settings.xml
3+
!.idea/saveactions_settings.xml
4+
5+
*.iml
6+
*.ipr
7+
*.iws
8+
9+
# IntelliJ
10+
out/
11+
# mpeltonen/sbt-idea plugin
12+
.idea_modules/
13+
14+
# JIRA plugin
15+
atlassian-ide-plugin.xml
16+
17+
# Compiled class file
18+
*.class
19+
20+
# Log file
21+
*.log
22+
23+
# BlueJ files
24+
*.ctxt
25+
26+
# Package Files #
27+
*.jar
28+
*.war
29+
*.nar
30+
*.ear
31+
*.zip
32+
*.tar.gz
33+
*.rar
34+
35+
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
36+
hs_err_pid*
37+
38+
*~
39+
40+
# temporary files which can be created if a process still has a handle open of a deleted file
41+
.fuse_hidden*
42+
43+
# KDE directory preferences
44+
.directory
45+
46+
# Linux trash folder which might appear on any partition or disk
47+
.Trash-*
48+
49+
# .nfs files are created when an open file is removed but is still being accessed
50+
.nfs*
51+
52+
# General
53+
.DS_Store
54+
.AppleDouble
55+
.LSOverride
56+
57+
# Icon must end with two \r
58+
Icon
59+
60+
# Thumbnails
61+
._*
62+
63+
# Files that might appear in the root of a volume
64+
.DocumentRevisions-V100
65+
.fseventsd
66+
.Spotlight-V100
67+
.TemporaryItems
68+
.Trashes
69+
.VolumeIcon.icns
70+
.com.apple.timemachine.donotpresent
71+
72+
# Directories potentially created on remote AFP share
73+
.AppleDB
74+
.AppleDesktop
75+
Network Trash Folder
76+
Temporary Items
77+
.apdisk
78+
79+
# Windows thumbnail cache files
80+
Thumbs.db
81+
Thumbs.db:encryptable
82+
ehthumbs.db
83+
ehthumbs_vista.db
84+
85+
# Dump file
86+
*.stackdump
87+
88+
# Folder config file
89+
[Dd]esktop.ini
90+
91+
# Recycle Bin used on file shares
92+
$RECYCLE.BIN/
93+
94+
# Windows Installer files
95+
*.cab
96+
*.msi
97+
*.msix
98+
*.msm
99+
*.msp
100+
101+
# Windows shortcuts
102+
*.lnk
103+
104+
.gradle
105+
build/
106+
107+
# Ignore Gradle GUI config
108+
gradle-app.setting
109+
110+
# Cache of project
111+
.gradletasknamecache
112+
113+
**/build/
114+
115+
# Common working directory
116+
run/
117+
118+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
119+
!gradle-wrapper.jar
120+
121+
libs/*
122+
!/libs/.keep
123+
124+
server/*
125+
server/plugins/*
126+
!server/server.properties
127+
!server/plugins/
128+
!server/plugins/AutoReloader*.jar
129+
!server/plugins/PlugManX.jar
130+
131+
server_mojmap/*
132+
server_mojmap/plugins/*
133+
!server_mojmap/server.properties
134+
!server_mojmap/plugins/
135+
!server_mojmap/plugins/AutoReloader*.jar
136+
!server_mojmap/plugins/PlugManX.jar

bukkit/test_plugin_1.21.0/.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bukkit/test_plugin_1.21.0/.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bukkit/test_plugin_1.21.0/.idea/compiler.xml

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bukkit/test_plugin_1.21.0/.idea/gradle.xml

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bukkit/test_plugin_1.21.0/.idea/jarRepositories.xml

Lines changed: 45 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bukkit/test_plugin_1.21.0/.idea/misc.xml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)