File tree Expand file tree Collapse file tree 7 files changed +26
-15
lines changed
java/systems/kscott/randomspawnplus Expand file tree Collapse file tree 7 files changed +26
-15
lines changed Original file line number Diff line number Diff line change 1- name : Build RandomSpawnPlus5 - Maven
1+ name : Build RandomSpawnPlus5
22
33on : [ push ]
44
55jobs :
66 build :
77 name : Build
88 runs-on : ubuntu-latest
9- if : " !contains(github.event.commits[0].message, '[ci-skip]')"
109 steps :
1110 - uses : actions/checkout@v3
1211 - name : Set up JDK 17
2120 uses : actions/upload-artifact@v3
2221 with :
2322 name : RandomSpawnPlus5
24- path : target/
23+ path : target/*.jar
Original file line number Diff line number Diff line change 11# RandomSpawnPlus5
2+
23🔀 A random spawn plugin for Minecraft 1.19.
4+
5+ Native support 1.19.2
6+
7+ Support 1.8.x - 1.19.x (maybe?)
8+
9+
10+ ## Contact
11+
12+ - 📫 Discord: ` Dreeam#0851 ` | QQ: ` 2682173972 `
Original file line number Diff line number Diff line change 66
77 <groupId >systems.kscott</groupId >
88 <artifactId >randomspawnplus</artifactId >
9- <version >5.0.1 </version >
9+ <version >5.0.2 </version >
1010 <packaging >jar</packaging >
1111
1212 <name >RandomSpawnPlus</name >
9595 <dependency >
9696 <groupId >io.papermc.paper</groupId >
9797 <artifactId >paper-api</artifactId >
98- <version >1.19-R0.1-SNAPSHOT</version >
98+ <version >1.19.2 -R0.1-SNAPSHOT</version >
9999 <scope >provided</scope >
100100 </dependency >
101101 <dependency >
102102 <groupId >commons-io</groupId >
103103 <artifactId >commons-io</artifactId >
104- <version >2.5 </version >
104+ <version >2.11.0 </version >
105105 </dependency >
106106 <dependency >
107107 <groupId >org.projectlombok</groupId >
112112 <dependency >
113113 <groupId >net.essentialsx</groupId >
114114 <artifactId >EssentialsX</artifactId >
115- <version >2.19.4 </version >
115+ <version >2.19.7 </version >
116116 <scope >provided</scope >
117117 </dependency >
118118 <dependency >
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ private void setupPermissions() {
127127 }
128128
129129 private void setupEconomy () throws Exception {
130- RegisteredServiceProvider <Economy > rsp = Bukkit .getServicesManager ().getRegistration (Economy .class );
130+ RegisteredServiceProvider <Economy > rsp = getServer () .getServicesManager ().getRegistration (Economy .class );
131131 if (rsp == null ) {
132132 throw new Exception ("Error when loading the Vault API" );
133133 }
Original file line number Diff line number Diff line change @@ -86,11 +86,13 @@ public Location getCandidateLocation() {
8686 maxZ = region .getMaxZ ();
8787 }
8888
89- System .out .println (minX );
90- System .out .println (minZ );
91- System .out .println (maxX );
92- System .out .println (maxZ );
93-
89+ boolean debugMode = config .getBoolean ("debug-mode" );
90+ if (debugMode ) {
91+ System .out .println (minX );
92+ System .out .println (minZ );
93+ System .out .println (maxX );
94+ System .out .println (maxZ );
95+ }
9496
9597 int candidateX = Numbers .getRandomNumberInRange (minX , maxX );
9698 int candidateZ = Numbers .getRandomNumberInRange (minZ , maxZ );
Original file line number Diff line number Diff line change 11# ############################
22# RandomSpawnPlus5 #
3- # Version 5.0.1 #
3+ # Version 5.0.2 #
44# by @89apt89 & @Dreeam #
55# ############################
66
Original file line number Diff line number Diff line change 11# ############################
22# RandomSpawnPlus5 #
3- # Version 5.0.1 #
3+ # Version 5.0.2 #
44# by @89apt89 & @Dreeam #
55# ############################
66
You can’t perform that action at this time.
0 commit comments