Commit de69aed8 authored by Florian Grabowski's avatar Florian Grabowski
Browse files

minor Adjustments and Server Added 1.17.7

parent 3d499290
/src/server/logs/
......@@ -18,6 +18,8 @@
<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" />
<excludeFolder url="file://$MODULE_DIR$/src/server/logs" />
<excludeFolder url="file://$MODULE_DIR$/.idea/dataSources" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
......
......@@ -76,6 +76,7 @@ public class generateLayout implements CommandExecutor {
DataHolder.foundation.correctAllLocations(location);
builder.setFoundation(DataHolder.foundation.getLocation().clone().add(0, DataHolder.foundation.getDepth(), 0), DataHolder.foundation.getWidth().x, DataHolder.foundation.getWidth().x, DataHolder.foundation.getMaterial());
builder.setAllChildren(DataHolder.foundation);
builder.setLegend(location);
}
};
t.run();
......
......@@ -8,7 +8,6 @@ import org.json.simple.parser.JSONParser;
import java.io.*;
import java.time.LocalDateTime;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
import java.util.*;
import java.util.logging.Level;
......
......@@ -45,15 +45,15 @@ public class Foundation extends Structure {
public Structure generateChild(boolean isFoundation, Klasse klasse, String name) {
Structure result;
if (isFoundation) {
result = new Foundation(this.depth + 1, nextMaterial(), name);
result = new Foundation(this.depth + 1, nextSediment(), name);
} else {
result = new Building(nextMaterial(), klasse, name);
result = new Building(nextColorConcrete(), klasse, name);
}
this.children.add(result);
return result;
}
public Material nextMaterial() {
public Material nextColorConcrete() {
Material result = null;
Random rand = new Random();
while ((result == this.material) || (result == null)) {
......@@ -112,6 +112,53 @@ public class Foundation extends Structure {
return result;
}
public Material nextSediment(){
Material result = null;
Random rand = new Random();
while ((result == this.material) || (result == null)) {
int r = rand.nextInt(12); //there are 16 kins of concrete
switch (r) {
case 0:
result = Material.STONE;
break;
case 1:
result = Material.GRASS_BLOCK;
break;
case 2:
result = Material.ROOTED_DIRT;
break;
case 3:
result = Material.GRANITE;
break;
case 4:
result = Material.DIORITE;
break;
case 5:
result = Material.ANDESITE;
break;
case 6:
result = Material.DEEPSLATE;
break;
case 7:
result = Material.TUFF;
break;
case 8:
result = Material.GRAVEL;
break;
case 9:
result = Material.SAND;
break;
case 10:
result = Material.SANDSTONE;
break;
case 11:
result = Material.COARSE_DIRT;
break;
}
}
return result;
}
public void removeChildren() {
this.children = new ArrayList<>();
}
......
[]
\ No newline at end of file
[]
\ No newline at end of file
# This is the main configuration file for Bukkit.
# As you can see, there's actually not that much to configure without any plugins.
# For a reference for any variable inside this file, check out the Bukkit Wiki at
# https://www.spigotmc.org/go/bukkit-yml
#
# If you need help on this file, feel free to join us on irc or leave a message
# on the forums asking for advice.
#
# IRC: #spigot @ irc.spi.gt
# (If this means nothing to you, just go to https://www.spigotmc.org/go/irc )
# Forums: https://www.spigotmc.org/
# Bug tracker: https://www.spigotmc.org/go/bugs
settings:
allow-end: true
warn-on-overload: true
permissions-file: permissions.yml
update-folder: update
plugin-profiling: false
connection-throttle: 4000
query-plugins: true
deprecated-verbose: default
shutdown-message: Server closed
minimum-api: none
spawn-limits:
water-underground-creature: 5
monsters: 70
animals: 10
water-animals: 5
water-ambient: 20
ambient: 15
chunk-gc:
period-in-ticks: 600
ticks-per:
water-underground-creature-spawns: 1
animal-spawns: 400
monster-spawns: 1
water-spawns: 1
water-ambient-spawns: 1
ambient-spawns: 1
autosave: 6000
aliases: now-in-commands.yml
# This is the commands configuration file for Bukkit.
# For documentation on how to make use of this file, check out the Bukkit Wiki at
# https://www.spigotmc.org/go/commands-yml
#
# If you need help on this file, feel free to join us on irc or leave a message
# on the forums asking for advice.
#
# IRC: #spigot @ irc.spi.gt
# (If this means nothing to you, just go to https://www.spigotmc.org/go/irc )
# Forums: https://www.spigotmc.org/
# Bug tracker: https://www.spigotmc.org/go/bugs
command-block-overrides: []
ignore-vanilla-permissions: false
aliases:
icanhasbukkit:
- version $1-
This source diff could not be displayed because it is too large. You can view the blob instead.
#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://account.mojang.com/documents/minecraft_eula).
#You also agree that tacos are tasty, and the best food in the world.
#Thu Nov 04 15:45:20 CET 2021
eula=true
# This is the help configuration file for Bukkit.
#
# By default you do not need to modify this file. Help topics for all plugin commands are automatically provided by
# or extracted from your installed plugins. You only need to modify this file if you wish to add new help pages to
# your server or override the help pages of existing plugin commands.
#
# This file is divided up into the following parts:
# -- general-topics: lists admin defined help topics
# -- index-topics: lists admin defined index topics
# -- amend-topics: lists topic amendments to apply to existing help topics
# -- ignore-plugins: lists any plugins that should be excluded from help
#
# Examples are given below. When amending command topic, the string <text> will be replaced with the existing value
# in the help topic. Color codes can be used in topic text. The color code character is & followed by 0-F.
# ================================================================
#
# Set this to true to list the individual command help topics in the master help.
# command-topics-in-master-index: true
#
# Each general topic will show up as a separate topic in the help index along with all the plugin command topics.
# general-topics:
# Rules:
# shortText: Rules of the server
# fullText: |
# &61. Be kind to your fellow players.
# &B2. No griefing.
# &D3. No swearing.
# permission: topics.rules
#
# Each index topic will show up as a separate sub-index in the help index along with all the plugin command topics.
# To override the default help index (displayed when the user executes /help), name the index topic "Default".
# index-topics:
# Ban Commands:
# shortText: Player banning commands
# preamble: Moderator - do not abuse these commands
# permission: op
# commands:
# - /ban
# - /ban-ip
# - /banlist
#
# Topic amendments are used to change the content of automatically generated plugin command topics.
# amended-topics:
# /stop:
# shortText: Stops the server cold....in its tracks!
# fullText: <text> - This kills the server.
# permission: you.dont.have
#
# Any plugin in the ignored plugins list will be excluded from help. The name must match the name displayed by
# the /plugins command. Ignore "Bukkit" to remove the standard bukkit commands from the index. Ignore "All"
# to completely disable automatic help topic generation.
# ignore-plugins:
# - PluginNameOne
# - PluginNameTwo
# - PluginNameThree
[
{
"uuid": "edb76f3f-e782-426a-ba9e-6a895dea431a",
"name": "MC_FLOri",
"level": 4,
"bypassesPlayerLimit": false
}
]
\ No newline at end of file
# This is the main configuration file for Paper.
# As you can see, there's tons to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
#
# If you need help with the configuration or have any questions related to Paper,
# join us in our Discord or IRC channel.
#
# Discord: https://discord.gg/papermc
# IRC: #paper @ irc.esper.net ( https://webchat.esper.net/?channels=paper )
# Website: https://papermc.io/
# Docs: https://paper.readthedocs.org/
verbose: false
config-version: 23
settings:
log-player-ip-addresses: true
use-display-name-in-quit-message: false
load-permissions-yml-before-plugins: true
region-file-cache-size: 256
enable-player-collisions: true
save-empty-scoreboard-teams: false
bungee-online-mode: true
incoming-packet-spam-threshold: 300
use-alternative-luck-formula: false
console-has-all-permissions: false
player-auto-save-rate: -1
max-player-auto-save-per-tick: -1
max-joins-per-tick: 3
track-plugin-scoreboards: false
fix-entity-position-desync: true
lag-compensate-block-breaking: true
send-full-pos-for-hard-colliding-entities: true
suggest-player-names-when-null-tab-completions: true
velocity-support:
enabled: false
online-mode: false
secret: ''
async-chunks:
threads: -1
unsupported-settings:
allow-permanent-block-break-exploits: false
allow-piston-duplication: false
allow-headless-pistons: false
allow-permanent-block-break-exploits-readme: This setting controls if players
should be able to break bedrock, end portals and other intended to be permanent
blocks.
allow-piston-duplication-readme: This setting controls if player should be able
to use TNT duplication, but this also allows duplicating carpet, rails and potentially
other items
allow-headless-pistons-readme: This setting controls if players should be able
to create headless pistons.
watchdog:
early-warning-every: 5000
early-warning-delay: 10000
spam-limiter:
tab-spam-increment: 1
tab-spam-limit: 500
recipe-spam-increment: 1
recipe-spam-limit: 20
book-size:
page-max: 2560
total-multiplier: 0.98
loggers:
deobfuscate-stacktraces: true
console:
enable-brigadier-highlighting: true
enable-brigadier-completions: true
item-validation:
display-name: 8192
loc-name: 8192
lore-line: 8192
book:
title: 8192
author: 8192
page: 16384
chunk-loading:
min-load-radius: 2
max-concurrent-sends: 2
autoconfig-send-distance: true
target-player-chunk-send-rate: 100.0
global-max-chunk-send-rate: -1.0
enable-frustum-priority: false
global-max-chunk-load-rate: -1.0
player-max-concurrent-loads: 4.0
global-max-concurrent-loads: 500.0
packet-limiter:
kick-message: '&cSent too many packets'
limits:
all:
interval: 7.0
max-packet-rate: 500.0
PacketPlayInAutoRecipe:
interval: 4.0
max-packet-rate: 5.0
action: DROP
messages:
no-permission: '&cI''m sorry, but you do not have permission to perform this command.
Please contact the server administrators if you believe that this is in error.'
kick:
authentication-servers-down: ''
connection-throttle: Connection throttled! Please wait before reconnecting.
flying-player: Flying is not enabled on this server
flying-vehicle: Flying is not enabled on this server
timings:
enabled: true
verbose: true
url: https://timings.aikar.co/
server-name-privacy: false
hidden-config-entries:
- database
- settings.bungeecord-addresses
- settings.velocity-support.secret
history-interval: 300
history-length: 3600
server-name: Unknown Server
world-settings:
default:
update-pathfinding-on-block-update: true
fix-wither-targeting-bug: false
map-item-frame-cursor-update-interval: 10
count-all-mobs-for-spawning: false
max-entity-collisions: 8
disable-creeper-lingering-effect: false
prevent-moving-into-unloaded-chunks: false
duplicate-uuid-resolver: saferegen
duplicate-uuid-saferegen-delete-range: 32
remove-corrupt-tile-entities: false
experience-merge-max-value: -1
max-auto-save-chunks-per-tick: 24
baby-zombie-movement-modifier: 0.5
optimize-explosions: false
fixed-chunk-inhabited-time: -1
use-vanilla-world-scoreboard-name-coloring: false
ender-dragons-death-always-places-dragon-egg: false
allow-using-signs-inside-spawn-protection: false
filter-nbt-data-from-spawn-eggs-and-related: true
falling-block-height-nerf: 0
tnt-entity-height-nerf: 0
piglins-guard-chests: true
should-remove-dragon: false
phantoms-do-not-spawn-on-creative-players: true
phantoms-only-attack-insomniacs: true
allow-player-cramming-damage: false
disable-teleportation-suffocation-check: false
prevent-tnt-from-moving-in-water: false
delay-chunk-unloads-by: 10s
show-sign-click-command-failure-msgs-to-player: false
max-leash-distance: 10.0
iron-golems-can-spawn-in-air: false
enable-treasure-maps: true
treasure-maps-return-already-discovered: false
split-overstacked-loot: true
seed-based-feature-search: true
seed-based-feature-search-loads-chunks: true
grass-spread-tick-rate: 1
water-over-lava-flow-speed: 5
use-faster-eigencraft-redstone: false
nether-ceiling-void-damage-height: 0
only-players-collide: false
allow-vehicle-collisions: true
allow-non-player-entities-on-scoreboards: false
portal-search-radius: 128
portal-create-radius: 16
portal-search-vanilla-dimension-scaling: true
parrots-are-unaffected-by-player-movement: false
disable-explosion-knockback: false
fix-climbing-bypassing-cramming-rule: false
fix-items-merging-through-walls: false
keep-spawn-loaded: true
armor-stands-do-collision-entity-lookups: true
disable-thunder: false
skeleton-horse-thunder-spawn-chance: 0.01
disable-ice-and-snow: false
keep-spawn-loaded-range: 10
container-update-tick-rate: 1
map-item-frame-cursor-limit: 128
per-player-mob-spawns: true
zombies-target-turtle-eggs: true
zombie-villager-infection-chance: -1.0
all-chunks-are-slime-chunks: false
mob-spawner-tick-rate: 1
light-queue-size: 20
auto-save-interval: -1
armor-stands-tick: true
non-player-arrow-despawn-rate: -1
creative-arrow-despawn-rate: -1
spawner-nerfed-mobs-should-jump: false
entities-target-with-follow-range: false
max-growth-height:
cactus: 3
reeds: 3
bamboo:
max: 16
min: 11
hopper:
cooldown-when-full: true
disable-move-event: false
game-mechanics:
fix-curing-zombie-villager-discount-exploit: true
disable-pillager-patrols: false
scan-for-legacy-ender-dragon: true
disable-unloaded-chunk-enderpearl-exploit: true
disable-relative-projectile-velocity: false
disable-chest-cat-detection: false
nerf-pigmen-from-nether-portals: false
disable-player-crits: false
disable-sprint-interruption-on-attack: false
shield-blocking-delay: 5
disable-end-credits: false
disable-mob-spawner-spawn-egg-transformation: false
pillager-patrols:
spawn-chance: 0.2
spawn-delay:
per-player: false
ticks: 12000
start:
per-player: false
day: 5
mobs-can-always-pick-up-loot:
zombies: false
skeletons: false
frosted-ice:
enabled: true
delay:
min: 20
max: 40
wandering-trader:
spawn-minute-length: 1200
spawn-day-length: 24000
spawn-chance-failure-increment: 25
spawn-chance-min: 25
spawn-chance-max: 75
entity-per-chunk-save-limit:
experience_orb: -1
snowball: -1
ender_pearl: -1
arrow: -1
fireball: -1
small_fireball: -1
despawn-ranges:
soft: 32
hard: 128
fishing-time-range:
MinimumTicks: 100
MaximumTicks: 600
lootables:
auto-replenish: false
restrict-player-reloot: true
reset-seed-on-fill: true
max-refills: -1
refresh-min: 12h
refresh-max: 2d
spawn-limits:
monsters: -1
animals: -1
water-animals: -1
water-ambient: -1
ambient: -1
alt-item-despawn-rate:
enabled: false
items:
COBBLESTONE: 300
mob-effects:
undead-immune-to-certain-effects: true
spiders-immune-to-poison-effect: true
immune-to-wither-effect:
wither: true
wither-skeleton: true
tick-rates:
sensor:
villager:
secondarypoisensor: 40
behavior:
villager:
validatenearbypoi: -1
door-breaking-difficulty:
zombie:
- HARD
vindicator:
- NORMAL
- HARD
feature-seeds:
generate-random-seeds-for-all: false
anti-xray:
enabled: false
engine-mode: 1
max-block-height: 64
update-radius: 2
lava-obscures: false
use-permission: false
hidden-blocks:
- copper_ore
- deepslate_copper_ore
- gold_ore
- deepslate_gold_ore
- iron_ore
- deepslate_iron_ore
- coal_ore
- deepslate_coal_ore
- lapis_ore
- deepslate_lapis_ore
- mossy_cobblestone
- obsidian
- chest
- diamond_ore
- deepslate_diamond_ore
- redstone_ore
- deepslate_redstone_ore
- clay
- emerald_ore
- deepslate_emerald_ore
- ender_chest
replacement-blocks:
- stone
- oak_planks
- deepslate
viewdistances:
no-tick-view-distance: 128
generator-settings:
flat-bedrock: false
unsupported-settings:
fix-invulnerable-end-crystal-exploit: true
squid-spawn-height:
maximum: 0.0
/Users/flgr/Desktop/PaperServer/cwa-verify_2021-11-09_16-08-07.json
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment