mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
feat: allow setting max and min height for /rtp (#753)
This commit is contained in:
1 parent
2aaf674306
commit
89db79da64
3 files changed
+67
-6
No files matched your search
@@ -330,6 +330,12 @@ public final class Settings {
|
||||
@Comment("Standard deviation of the normal distribution for distributing players randomly")
|
||||
private float distributionStandardDeviation = 2.0f;
|
||||
|
||||
@Comment({"Set the minimum random teleportation height for each world", "List of world_name:height pairs"})
|
||||
private List<String> minHeight = Lists.newArrayList();
|
||||
|
||||
@Comment({"Set the maximum random teleportation height for each world", "List of world_name:height pairs"})
|
||||
private List<String> maxHeight = Lists.newArrayList();
|
||||
|
||||
@Comment("List of worlds in which /rtp is disabled. Please note that /rtp does not work well in the nether.")
|
||||
private List<String> restrictedWorlds = List.of("world_nether", "world_the_end");
|
||||
|
||||
|
||||
Reference in new issue
Block a user