diff --git a/services/caddy/update.sh b/services/caddy/update.sh index 5f20d9b..b8dd2a2 100644 --- a/services/caddy/update.sh +++ b/services/caddy/update.sh @@ -1,6 +1,6 @@ #!/bin/sh mkdir -p /var/containers/caddy -cp -f $(pwd)/Caddyfile /var/containers/caddy/Caddyfile +cp -f ./Caddyfile /var/containers/caddy/Caddyfile chown -R podman:podman /var/containers/caddy chmod +x /etc/init.d/caddy.service rc-update add caddy.service default diff --git a/services/firewall/update.sh b/services/firewall/update.sh index cf38e3d..bb8139f 100644 --- a/services/firewall/update.sh +++ b/services/firewall/update.sh @@ -1,5 +1,5 @@ #!/bin/sh -cp -f $(pwd)/rules.nft /etc/nftables.d/firewall.nft +cp -f ./rules.nft /etc/nftables.d/firewall.nft echo "Reloading firewall rules..." nft -f /etc/nftables.nft \ No newline at end of file diff --git a/services/minecraft/config/ops.json b/services/minecraft/config/ops.json new file mode 100644 index 0000000..82e1dc3 --- /dev/null +++ b/services/minecraft/config/ops.json @@ -0,0 +1,26 @@ +[ + { + "uuid": "a4b04612-e129-3372-94d4-d575d5d8b1a7", + "name": "kaaskroketten", + "level": 4, + "bypassesPlayerLimit": false + }, + { + "uuid": "00000000-0000-0000-0009-01fd7df4d8df", + "name": ".Pkaan9225", + "level": 4, + "bypassesPlayerLimit": false + }, + { + "uuid": "7fea57db-99c6-3a44-acf7-3078f25a8f99", + "name": "maurict", + "level": 4, + "bypassesPlayerLimit": false + }, + { + "uuid": "00000000-0000-0000-0009-01f31a3b11cc", + "name": ".WillieGol", + "level": 4, + "bypassesPlayerLimit": false + } +] \ No newline at end of file diff --git a/services/minecraft/plugins/FastAsyncWorldEdit-Paper-2.13.3-SNAPSHOT-1175.jar b/services/minecraft/plugins/FastAsyncWorldEdit-Paper-2.13.3-SNAPSHOT-1175.jar new file mode 100644 index 0000000..b3eaaa9 Binary files /dev/null and b/services/minecraft/plugins/FastAsyncWorldEdit-Paper-2.13.3-SNAPSHOT-1175.jar differ diff --git a/services/minecraft/plugins/FastAsyncWorldEdit/schematics/combination_lock.schem b/services/minecraft/plugins/FastAsyncWorldEdit/schematics/combination_lock.schem new file mode 100644 index 0000000..83adf05 Binary files /dev/null and b/services/minecraft/plugins/FastAsyncWorldEdit/schematics/combination_lock.schem differ diff --git a/services/minecraft/plugins/FastAsyncWorldEdit/schematics/empty_castle.schem b/services/minecraft/plugins/FastAsyncWorldEdit/schematics/empty_castle.schem new file mode 100644 index 0000000..879f1ef Binary files /dev/null and b/services/minecraft/plugins/FastAsyncWorldEdit/schematics/empty_castle.schem differ diff --git a/services/minecraft/plugins/FastAsyncWorldEdit/schematics/prison.schem b/services/minecraft/plugins/FastAsyncWorldEdit/schematics/prison.schem new file mode 100644 index 0000000..d292b01 Binary files /dev/null and b/services/minecraft/plugins/FastAsyncWorldEdit/schematics/prison.schem differ diff --git a/services/minecraft/plugins/FastAsyncWorldEdit/schematics/railroad.schem b/services/minecraft/plugins/FastAsyncWorldEdit/schematics/railroad.schem new file mode 100644 index 0000000..3712da8 Binary files /dev/null and b/services/minecraft/plugins/FastAsyncWorldEdit/schematics/railroad.schem differ diff --git a/services/minecraft/plugins/FastAsyncWorldEdit/schematics/ufo_small.schem b/services/minecraft/plugins/FastAsyncWorldEdit/schematics/ufo_small.schem new file mode 100644 index 0000000..d688854 Binary files /dev/null and b/services/minecraft/plugins/FastAsyncWorldEdit/schematics/ufo_small.schem differ diff --git a/services/minecraft/plugins/Geyser-Spigot.jar b/services/minecraft/plugins/Geyser-Spigot.jar new file mode 100644 index 0000000..ff94792 Binary files /dev/null and b/services/minecraft/plugins/Geyser-Spigot.jar differ diff --git a/services/minecraft/plugins/Geyser-Spigot/config.yml b/services/minecraft/plugins/Geyser-Spigot/config.yml new file mode 100644 index 0000000..0ba4f57 --- /dev/null +++ b/services/minecraft/plugins/Geyser-Spigot/config.yml @@ -0,0 +1,217 @@ +# -------------------------------- +# Geyser Configuration File +# +# A bridge between Minecraft: Bedrock Edition and Minecraft: Java Edition. +# +# GitHub: https://github.com/GeyserMC/Geyser +# Discord: https://discord.gg/geysermc +# Wiki: https://wiki.geysermc.org/ +# +# NOTICE: See https://wiki.geysermc.org/geyser/setup/ for the setup guide. Many video tutorials are outdated. +# In most cases, especially with server hosting providers, further hosting-specific configuration is required. +# -------------------------------- + +bedrock: + # The IP address that will listen for connections. + # Generally, you should only uncomment and change this if you want to limit what IPs can connect to your server. + #address: 0.0.0.0 + # The port that will listen for connections + port: 19132 + # Some hosting services change your Java port everytime you start the server and require the same port to be used for Bedrock. + # This option makes the Bedrock port the same as the Java port every time you start the server. + # This option is for the plugin version only. + clone-remote-port: false + # The MOTD that will be broadcasted to Minecraft: Bedrock Edition clients. This is irrelevant if "passthrough-motd" is set to true + # If either of these are empty, the respective string will default to "Geyser" + motd1: "GoofjesMC" + motd2: "Het regent weer al" + # The Server Name that will be sent to Minecraft: Bedrock Edition clients. This is visible in both the pause menu and the settings menu. + server-name: "GoofjesMC" + # How much to compress network traffic to the Bedrock client. The higher the number, the more CPU usage used, but + # the smaller the bandwidth used. Does not have any effect below -1 or above 9. Set to -1 to disable. + compression-level: 6 + # The port to broadcast to Bedrock clients with the MOTD that they should use to connect to the server. + # DO NOT uncomment and change this unless Geyser runs on a different internal port than the one that is used to connect. + # broadcast-port: 19132 + # Whether to enable PROXY protocol or not for clients. You DO NOT WANT this feature unless you run UDP reverse proxy + # in front of your Geyser instance. + enable-proxy-protocol: false + # A list of allowed PROXY protocol speaking proxy IP addresses/subnets. Only effective when "enable-proxy-protocol" is enabled, and + # should really only be used when you are not able to use a proper firewall (usually true with shared hosting providers etc.). + # Keeping this list empty means there is no IP address whitelist. + # IP addresses, subnets, and links to plain text files are supported. + #proxy-protocol-whitelisted-ips: [ "127.0.0.1", "172.18.0.0/16", "https://example.com/whitelist.txt" ] +remote: + # The IP address of the remote (Java Edition) server + # If it is "auto", for standalone version the remote address will be set to 127.0.0.1, + # for plugin versions, it is recommended to keep this as "auto" so Geyser will automatically configure address, port, and auth-type. + # Leave as "auto" if floodgate is installed. + address: auto + # The port of the remote (Java Edition) server + # For plugin versions, if address has been set to "auto", the port will also follow the server's listening port. + port: 25565 + # Authentication type. Can be offline, online, or floodgate (see https://github.com/GeyserMC/Geyser/wiki/Floodgate). + # For plugin versions, it's recommended to keep the `address` field to "auto" so Floodgate support is automatically configured. + # If Floodgate is installed and `address:` is set to "auto", then "auth-type: floodgate" will automatically be used. + auth-type: floodgate + # Whether to enable PROXY protocol or not while connecting to the server. + # This is useful only when: + # 1) Your server supports PROXY protocol (it probably doesn't) + # 2) You run Velocity or BungeeCord with the option enabled in the proxy's main config. + # IF YOU DON'T KNOW WHAT THIS IS, DON'T TOUCH IT! + use-proxy-protocol: false + # Forward the hostname that the Bedrock client used to connect over to the Java server + # This is designed to be used for forced hosts on proxies + forward-hostname: false + +# Floodgate uses encryption to ensure use from authorised sources. +# This should point to the public key generated by Floodgate (BungeeCord, Spigot or Velocity) +# You can ignore this when not using Floodgate. +# If you're using a plugin version of Floodgate on the same server, the key will automatically be picked up from Floodgate. +floodgate-key-file: key.pem + +# For online mode authentication type only. +# Stores a list of Bedrock players that should have their Java Edition account saved after login. +# This saves a token that can be reused to authenticate the player later. This does not save emails or passwords, +# but you should still be cautious when adding to this list and giving others access to this Geyser instance's files. +# Removing a name from this list will delete its cached login information on the next Geyser startup. +# The file that tokens will be saved in is in the same folder as this config, named "saved-refresh-tokens.json". +saved-user-logins: + +# Specify how many seconds to wait while user authorizes Geyser to access their Microsoft account. +# User is allowed to disconnect from the server during this period. +pending-authentication-timeout: 120 + +# Bedrock clients can freeze when opening up the command prompt for the first time if given a lot of commands. +# Disabling this will prevent command suggestions from being sent and solve freezing for Bedrock clients. +command-suggestions: true + +# The following three options enable "ping passthrough" - the MOTD, player count and/or protocol name gets retrieved from the Java server. +# Relay the MOTD from the remote server to Bedrock players. +passthrough-motd: true +# Relay the player count and max players from the remote server to Bedrock players. +passthrough-player-counts: true +# Enable LEGACY ping passthrough. There is no need to enable this unless your MOTD or player count does not appear properly. +# This option does nothing on standalone. +legacy-ping-passthrough: false +# How often to ping the remote server, in seconds. Only relevant for standalone or legacy ping passthrough. +# Increase if you are getting BrokenPipe errors. +ping-passthrough-interval: 3 + +# Whether to forward player ping to the server. While enabling this will allow Bedrock players to have more accurate +# ping, it may also cause players to time out more easily. +forward-player-ping: false + +# Maximum amount of players that can connect. This is only visual at this time and does not actually limit player count. +max-players: 100 + +# If debug messages should be sent through console +debug-mode: false + +# Allow a fake cooldown indicator to be sent. Bedrock players otherwise do not see a cooldown as they still use 1.8 combat. +# Please note: if the cooldown is enabled, some users may see a black box during the cooldown sequence, like below: +# https://cdn.discordapp.com/attachments/613170125696270357/957075682230419466/Screenshot_from_2022-03-25_20-35-08.png +# This can be disabled by going into Bedrock settings under the accessibility tab and setting "Text Background Opacity" to 0 +# This setting can be set to "title", "actionbar" or "false" +show-cooldown: title + +# Controls if coordinates are shown to players. +show-coordinates: true + +# Whether Bedrock players are blocked from performing their scaffolding-style bridging. +disable-bedrock-scaffolding: false + +# If set, when a Bedrock player performs any emote, it will swap the offhand and mainhand items, just like the Java Edition keybind +# There are three options this can be set to: +# disabled - the default/fallback, which doesn't apply this workaround +# no-emotes - emotes will NOT be sent to other Bedrock clients and offhand will be swapped. This effectively disables all emotes from being seen. +# emotes-and-offhand - emotes will be sent to Bedrock clients and offhand will be swapped +emote-offhand-workaround: "disabled" + +# The default locale if we dont have the one the client requested. Uncomment to not use the default system language. +# default-locale: en_us + +# Specify how many days images will be cached to disk to save downloading them from the internet. +# A value of 0 is disabled. (Default: 0) +cache-images: 0 + +# Allows custom skulls to be displayed. Keeping them enabled may cause a performance decrease on older/weaker devices. +allow-custom-skulls: true + +# The maximum number of custom skulls to be displayed per player. Increasing this may decrease performance on weaker devices. +# Setting this to -1 will cause all custom skulls to be displayed regardless of distance or number. +max-visible-custom-skulls: 128 + +# The radius in blocks around the player in which custom skulls are displayed. +custom-skull-render-distance: 32 + +# Whether to add any items and blocks which normally does not exist in Bedrock Edition. +# This should only need to be disabled if using a proxy that does not use the "transfer packet" style of server switching. +# If this is disabled, furnace minecart items will be mapped to hopper minecart items. +# Geyser's block, item, and skull mappings systems will also be disabled. +# This option requires a restart of Geyser in order to change its setting. +add-non-bedrock-items: true + +# Bedrock prevents building and displaying blocks above Y127 in the Nether. +# This config option works around that by changing the Nether dimension ID to the End ID. +# The main downside to this is that the entire Nether will have the same red fog rather than having different fog for each biome. +above-bedrock-nether-building: false + +# Force clients to load all resource packs if there are any. +# If set to false, it allows the user to connect to the server even if they don't +# want to download the resource packs. +force-resource-packs: true + +# Allows Xbox achievements to be unlocked. +xbox-achievements-enabled: false + +# Whether player IP addresses will be logged by the server. +log-player-ip-addresses: true + +# Whether to alert the console and operators that a new Geyser version is available that supports a Bedrock version +# that this Geyser version does not support. It's recommended to keep this option enabled, as many Bedrock platforms +# auto-update. +notify-on-new-bedrock-update: true + +# Which item to use to mark unavailable slots in a Bedrock player inventory. Examples of this are the 2x2 crafting grid while in creative, +# or custom inventory menus with sizes different from the usual 3x9. A barrier block is the default item. +unusable-space-block: minecraft:barrier + +# bStats is a stat tracker that is entirely anonymous and tracks only basic information +# about Geyser, such as how many people are online, how many servers are using Geyser, +# what OS is being used, etc. You can learn more about bStats here: https://bstats.org/. +# https://bstats.org/plugin/server-implementation/GeyserMC +metrics: + # If metrics should be enabled + enabled: false + # UUID of server, don't change! + uuid: e0408f4d-4720-4e00-9eee-12eccce983e2 + +# ADVANCED OPTIONS - DO NOT TOUCH UNLESS YOU KNOW WHAT YOU ARE DOING! + +# Geyser updates the Scoreboard after every Scoreboard packet, but when Geyser tries to handle +# a lot of scoreboard packets per second can cause serious lag. +# This option allows you to specify after how many Scoreboard packets per seconds +# the Scoreboard updates will be limited to four updates per second. +scoreboard-packet-threshold: 20 + +# Allow connections from ProxyPass and Waterdog. +# See https://www.spigotmc.org/wiki/firewall-guide/ for assistance - use UDP instead of TCP. +enable-proxy-connections: false + +# The internet supports a maximum MTU of 1492 but could cause issues with packet fragmentation. +# 1400 is the default. +mtu: 1400 + +# Whether to connect directly into the Java server without creating a TCP connection. +# This should only be disabled if a plugin that interfaces with packets or the network does not work correctly with Geyser. +# If enabled on plugin versions, the remote address and port sections are ignored +# If disabled on plugin versions, expect performance decrease and latency increase +use-direct-connection: true + +# Whether Geyser should attempt to disable compression for Bedrock players. This should be a benefit as there is no need to compress data +# when Java packets aren't being handled over the network. +# This requires use-direct-connection to be true. +disable-compression: true + +config-version: 4 diff --git a/services/minecraft/plugins/KeepChunks-1.7.3.jar b/services/minecraft/plugins/KeepChunks-1.7.3.jar new file mode 100644 index 0000000..bb89445 Binary files /dev/null and b/services/minecraft/plugins/KeepChunks-1.7.3.jar differ diff --git a/services/minecraft/plugins/KeepChunks/config.yml b/services/minecraft/plugins/KeepChunks/config.yml new file mode 100644 index 0000000..83dd7b6 --- /dev/null +++ b/services/minecraft/plugins/KeepChunks/config.yml @@ -0,0 +1,28 @@ +# +# _ _ _______ _ _ +# (_) | | (_______) | | | v1.7.3 +# _____| |_____ _____ ____ _ | |__ _ _ ____ | | _ ___ +# | _ _) ___ | ___ | _ \| | | _ \| | | | _ \| |_/ )/___) +# | | \ \| ____| ____| |_| | |_____| | | | |_| | | | | _ (|___ | +# |_| \_)_____)_____) __/ \______)_| |_|____/|_| |_|_| \_|___/ +# |_| +# +# Keeping your chunks loaded since 2015! By Geitenijs +# Information & Support: https://www.spigotmc.org/resources/23307 +# +# general: +# pluginbanner: Whether or not to display the fancy banner in your console on server startup. +# colourfulconsole: Console messages will be coloured when this is enabled. +# releaseallprotection: Do you want to restrict the 'release all' command to the console? +# +# updates: +# check: When enabled, the plugin will check for updates. No automatic downloads, just a subtle notification in the console. +# notify: Would you like to get an in-game reminder of a new update? Requires permission 'keepchunks.notify.update'. + +general: + pluginbanner: true + colourfulconsole: true + releaseallprotection: true +updates: + check: true + notify: true diff --git a/services/minecraft/plugins/KeepChunks/data.yml b/services/minecraft/plugins/KeepChunks/data.yml new file mode 100644 index 0000000..32ebfe2 --- /dev/null +++ b/services/minecraft/plugins/KeepChunks/data.yml @@ -0,0 +1,15 @@ +# +# _ _ _______ _ _ +# (_) | | (_______) | | | v1.7.3 +# _____| |_____ _____ ____ _ | |__ _ _ ____ | | _ ___ +# | _ _) ___ | ___ | _ \| | | _ \| | | | _ \| |_/ )/___) +# | | \ \| ____| ____| |_| | |_____| | | | |_| | | | | _ (|___ | +# |_| \_)_____)_____) __/ \______)_| |_|____/|_| |_|_| \_|___/ +# |_| +# +# Keeping your chunks loaded since 2015! By Geitenijs +# Information & Support: https://www.spigotmc.org/resources/23307 +# +# Unless you know what you're doing, it's best not to touch this file. All configurable options can be found in config.yml + +chunks: [] diff --git a/services/minecraft/plugins/Multiverse-Core/anchors.yml b/services/minecraft/plugins/Multiverse-Core/anchors.yml new file mode 100644 index 0000000..e370072 --- /dev/null +++ b/services/minecraft/plugins/Multiverse-Core/anchors.yml @@ -0,0 +1 @@ +anchors: {} diff --git a/services/minecraft/plugins/Multiverse-Core/config.yml b/services/minecraft/plugins/Multiverse-Core/config.yml new file mode 100644 index 0000000..20410ce --- /dev/null +++ b/services/minecraft/plugins/Multiverse-Core/config.yml @@ -0,0 +1,252 @@ +#################################################################################################### +# # +# █▀▄▀█ █░█ █░░ ▀█▀ █ █░█ █▀▀ █▀█ █▀ █▀▀   █▀▀ █▀█ █▀█ █▀▀ # +# █░▀░█ █▄█ █▄▄ ░█░ █ ▀▄▀ ██▄ █▀▄ ▄█ ██▄   █▄▄ █▄█ █▀▄ ██▄ # +# # +# # +# WIKI: https://github.com/Multiverse/Multiverse-Core/wiki # +# DISCORD: https://discord.gg/NZtfKky # +# BUG REPORTS: https://github.com/Multiverse/Multiverse-Core/issues # +# # +# # +# Each option in this file is documented and explained here: # +# ==> https://github.com/Multiverse/Multiverse-Core/wiki/config.yml # +# # +# # +# New options are added to this file automatically. If you manually made changes # +# to this file while your server is running, please run `/mv reload` command. # +# # +#################################################################################################### + + +world: + # When enabled, Multiverse will automatically import default worlds defined in the server.properties + # `level-name` property when the Multiverse is enabled or reloaded. This will include the nether and + # end if the server created them. + auto-import-default-worlds: true + + # When enabled, Multiverse will import all other worlds created by other plugins when Multiverse starts + # or when Multiverse is reloaded. + auto-import-3rd-party-worlds: true + + # This setting will prevent players from entering worlds they don't have access to. + # If this is set to false, players will be able to enter any world they want. + # If this is set to true, players will only be able to enter worlds they have + # the `mv.access.` permission. + enforce-access: false + + # Sets whether Multiverse will should enforce gamemode on world change. + # If enabled, players will be forced into the gamemode of the world they are entering, unless they have + # the `mv.bypass.gamemode.` permission. + enforce-gamemode: true + + # Sets whether Multiverse will should globally enforce flight ability on worlds. + # Disable this if you want another plugin to handle player's flight ability. + # Disabling this will make the world property `allow-flight` have no effect. + enforce-flight: true + + # Sets whether Multiverse will purge entities on world load based world's entity spawn config. + auto-purge-entities: false + + # Format for world names for multiverse to automatically detect a world group consist of overworld, nether and end. + # This is used default-respawn-in-overworld and potentially other features. + world-name-format: + nether: '%overworld%_nether' + end: '%overworld%_the_end' + + +teleport: + # Sets whether Multiverse will use more fine-grained teleport permissions. + # ---- + # New finer teleport permissions for /mvtp and /mvspawn commands: + # - For specific teleport types: `multiverse.teleport...` + # - For specific world spawn: `multiverse.core.spawn..` + # For example, if `multiverse.teleport.self.w.world2` is set, Multiverse will only allow the player to teleport to the world2. + # ---- + # Legacy permissions will be used if this is set to false: + # - For teleport destinations: `multiverse.teleport..` + # - For spawn: `multiverse.core.spawn.` + use-finer-teleport-permissions: true + + # Configures how passengers and vehicles are handled when an entity is teleported. + # default: Server will handle passengers and vehicles, this usually means entities will not be teleported to a different world if they have passengers. + # dismount_passengers: Passengers will be removed from the parent entity before the teleport. + # dismount_vehicle: Vehicle will be removed and from the parent entity before the teleport. + # dismount_all: All passengers and vehicles will be removed from the parent entity before the teleport. + # retain_passengers: Passengers will teleport together with the parent entity. + # retain_vehicle: Vehicles will teleport together with the parent entity. + # retain_all: All passengers and vehicles will teleport together with the parent entity. + passenger-mode: default + + # Sets the maximum number of players allowed to be teleported at once with `/mv teleport` command + concurrent-teleport-limit: 50 + + # If this is set to true, Multiverse will enforce access permissions for all teleportation, + # including teleportation from other plugins. You should not disable this unless you are facing + # conflict with another plugin handling teleportation. + teleport-intercept: true + + # Sets the horizontal (x and z-axis) search radius for finding a safe location to teleport to. + # Increasing this value will widen the search area at the cost of performance. + # To disable, set to 0. + safe-location-horizontal-search-radius: 3 + + # Sets the vertical (y-axis) search radius for finding a safe location to teleport to. + # Increasing this value will widen the search area at the cost of performance. + # To disable, set to 0. + safe-location-vertical-search-radius: 3 + + +spawn: + # Sets whether Multiverse will override the location where the player spawns when they join the server + # for the first time. For fixed spawn location on every login, see the `join-destination` option below. + # If disabled, it will default to server.properties settings. + first-spawn-override: false + + # Sets the world that Multiverse will use as the location for players that join the server for the first time. + # This only applies if first-spawn-override is set to true. + first-spawn-location: '' + + # Enables setting of a fixed location for players to spawn in when they join the server every time. + # See `join-destination` option below as well. + enable-join-destination: false + + # Sets the destination that Multiverse will use to spawn players on every login. + # Set the above enable-join-destination to false to disable + join-destination: '' + + # This only applies if the `respawn-world` property is not set for the world that the player died in, + # and the player does not have bed or anchor set. + # ---- + # When this option is enabled, players will respawn in the overworld when dying in nether or end, mimicking the vanilla behavior. + # The automatic selection of overworld is determined by the `world-name-format` config section above. + # This option takes precedence over the `default-respawn-within-same-world` option. + # ---- + # Set this to false if you want another plugin to handle respawning or do not want this vanilla behavior. + default-respawn-in-overworld: true + + # This only applies if the `respawn-world` property is not set for the world that the player died in, + # and the player does not have bed or anchor set. + # ---- + # When this option is enabled, players will respawn in the same world's that they died in. + # If the /spawnpoint is already within that world and `enforce-respawn-at-world-spawn` is disabled, + # Multiverse will use that spawn location, else it will use the world's spawn where the player died in. + # ---- + # You can set `respawn-world` property with the command: `/mv modify set respawn-world ` + # You can reset `respawn-world` property with the command: `/mv modify reset respawn-world` + # ---- + # Set this to false if you want another plugin to handle respawning. + default-respawn-within-same-world: true + + # When this option is enabled, players will always respawn at the world's spawn location of calculated respawn world, + # unless bed or anchor is set and `bed-respawn` or `anchor-spawn` is enabled respectively. + # ---- + # Set this to false if you want to use a custom spawn location such as /spawnpoint instead of the world's spawn location. + enforce-respawn-at-world-spawn: true + + +portal: + # This config option defines whether or not Multiverse should interfere with's Bukkit's default portal search radius. + # Setting it to false would mean you want to simply let Bukkit decides the search radius itself. + use-custom-portal-search: false + + # This config option defines the search radius Multiverse should use when searching for a portal. + # This only applies if use-custom-portal-search is set to true. + custom-portal-search-radius: 128 + + +messaging: + # This config option defines whether or not Multiverse should prefix the chat with the world name. + # Ensure this is false if you want another plugin to handle chat formatting. + enable-chat-prefix: false + + # This config option defines the format Multiverse should use when prefixing the chat with the world name. + # This only applies if enable-chat-prefix is set to true. + chat-prefix-format: '[%world%]%chat%' + + # This config option defines whether or not Multiverse should register the PlaceholderAPI hook. + # This only applies if PlaceholderAPI is installed. + register-papi-hook: true + + # This config option defines the default language Multiverse should use. + default-locale: en + + # This config option defines if Multiverse should use the player's language based on their client's language. + # If the player's language does not have a translation, it will use the default language set above instead. + per-player-locale: true + + +command: + # If this is set to true, Multiverse will resolve world based on their alias names for commands and destinations. + # Normal world names will still be accepted. + # In the event you have multiple worlds with the same alias name, the first world found will be used. + resolve-alias-name: true + + # This config option defines whether `/mv confirm` is needed before running a DANGEROUS action. + # enable: `/mv confirm` is required. + # player_only: `/mv confirm` only required when running command as a player. + # disable_command_blocks: `/mv confirm` not required for command blocks. + # disable_console: `/mv confirm` not required for the console. + # disable: `/mv confirm` is not required. + confirm-mode: enable + + # If this is set to true, `/mv confirm` will include a 3 digit random number that must be entered to confirm the command. + # For example: `/mv confirm 726` + use-confirm-otp: true + + # The amount of time in seconds before `/mv confirm` times out + confirm-timeout: 30 + + # If this is set to true, legacy aliases will be shown in tab completion. + # These are old mv4 aliases such as `/mvclone` in addition to `/mv clone` which crowds the tab completion. + # !!!NOTE: This will only apply after a server restart! + show-legacy-aliases: false + + +event-priority: + # The follow configuration changes the bukkit's EventPriority for certain events. + # Only ever change this if you need multiverse's events outcomes to override another plugin, or if + # you want another plugin's outcome to override multiverse's. + # ---- + # !!!NOTE: This will only apply after a server restart! + + # This config option defines the priority for the PlayerPortalEvent. + player-portal: high + + # This config option defines the priority for the PlayerRespawnEvent. + player-respawn: low + + # This config option defines the priority for the PlayerSpawnLocationEvent. + player-spawn-location: normal + + # This config option defines the priority for the PlayerTeleportEvent. + player-teleport: highest + + +misc: + # Change this if you use a custom path for the bukkit.yml file with `--bukkit-settings` startup flag. + # Note: this config option needs a server restart to take effect. + bukkit-yml-path: bukkit.yml + + # This is our debug flag to help identify issues with Multiverse. + # If you are having issues with Multiverse, please set this to 3 and then post your log to pastebin.com + # Otherwise, there's no need to touch this. If not instructed by a wiki page or developer. + # 0 = Off, No debug messages + # 1 = fine + # 2 = finer + # 3 = finest + global-debug: 0 + # Sets whether console will log every permission check done by all multiverse plugins. + # This will only work if the above 'global-debug' is set to 1 or more. + debug-permissions: false + + # If true, the startup console messages will no longer show. + silent-start: false + + # If you don't want to donate, you can set this to false and Multiverse will stop nagging you. + show-donation-message: true + + +# This just signifies the version number so we can see what version of config you have. +# NEVER TOUCH THIS VALUE +version: 5.2 diff --git a/services/minecraft/plugins/Multiverse-Core/worlds.yml b/services/minecraft/plugins/Multiverse-Core/worlds.yml new file mode 100644 index 0000000..360ed6c --- /dev/null +++ b/services/minecraft/plugins/Multiverse-Core/worlds.yml @@ -0,0 +1,333 @@ +mpworld: + adjust-spawn: true + alias: '' + allow-advancement-grant: true + allow-flight: false + allow-weather: true + anchor-respawn: true + auto-heal: true + auto-load: true + bed-respawn: true + biome: '' + difficulty: normal + entry-fee: + enabled: false + amount: 0.0 + currency: '@vault-economy' + environment: normal + gamemode: survival + generator: '' + hidden: false + hunger: true + keep-spawn-in-memory: true + player-limit: -1 + portal-form: all + pvp: true + respawn-world: '' + scale: 1.0 + seed: 2927616011094065381 + spawn-location: + ==: MVSpawnLocation + x: -544.0 + y: 78.0 + z: 48.0 + pitch: 0.0 + yaw: 0.0 + spawning: + water_ambient: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + axolotl: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + animal: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + ambient: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + monster: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + water_underground_creature: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + misc: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + water_animal: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + world-blacklist: [] + version: 1.2 +mpworld_nether: + adjust-spawn: true + alias: '' + allow-advancement-grant: true + allow-flight: false + allow-weather: true + anchor-respawn: true + auto-heal: true + auto-load: true + bed-respawn: true + biome: '' + difficulty: normal + entry-fee: + enabled: false + amount: 0.0 + currency: '@vault-economy' + environment: nether + gamemode: survival + generator: '' + hidden: false + hunger: true + keep-spawn-in-memory: true + player-limit: -1 + portal-form: all + pvp: true + respawn-world: '' + scale: 8.0 + seed: 2927616011094065381 + spawn-location: + ==: MVSpawnLocation + x: 0.0 + y: 128.0 + z: 0.0 + pitch: 0.0 + yaw: 0.0 + spawning: {} + world-blacklist: [] + version: 1.2 +template: + adjust-spawn: true + alias: '' + allow-advancement-grant: true + allow-flight: false + allow-weather: true + anchor-respawn: true + auto-heal: true + auto-load: true + bed-respawn: true + biome: '' + difficulty: normal + entry-fee: + enabled: false + amount: 0.0 + currency: '@vault-economy' + environment: normal + gamemode: survival + generator: '' + hidden: false + hunger: true + keep-spawn-in-memory: true + player-limit: -1 + portal-form: all + pvp: true + respawn-world: '' + scale: 1.0 + seed: 6107810962015076346 + spawn-location: + ==: MVSpawnLocation + x: 15.419212000949758 + y: -60.0 + z: -2.8590536256415864 + pitch: 10.661637 + yaw: 90.232666 + spawning: + animal: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + monster: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + misc: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + world-blacklist: [] + version: 1.2 +world: + adjust-spawn: true + alias: '' + allow-advancement-grant: true + allow-flight: false + allow-weather: true + anchor-respawn: true + auto-heal: true + auto-load: true + bed-respawn: true + biome: '' + difficulty: normal + entry-fee: + enabled: false + amount: 0.0 + currency: '@vault-economy' + environment: normal + gamemode: survival + generator: '' + hidden: false + hunger: true + keep-spawn-in-memory: true + player-limit: -1 + portal-form: all + pvp: true + respawn-world: '' + scale: 1.0 + seed: -218424581927441789 + spawn-location: + ==: MVSpawnLocation + x: 76.0 + y: 68.0 + z: -197.0 + pitch: 0.0 + yaw: 0.0 + spawning: + water_ambient: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + axolotl: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + animal: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + ambient: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + monster: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + water_underground_creature: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + misc: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + water_animal: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + world-blacklist: [] + version: 1.2 +world_nether: + adjust-spawn: true + alias: '' + allow-advancement-grant: true + allow-flight: false + allow-weather: true + anchor-respawn: true + auto-heal: true + auto-load: true + bed-respawn: true + biome: '' + difficulty: normal + entry-fee: + enabled: false + amount: 0.0 + currency: '@vault-economy' + environment: nether + gamemode: survival + generator: '' + hidden: false + hunger: true + keep-spawn-in-memory: true + player-limit: -1 + portal-form: all + pvp: true + respawn-world: '' + scale: 8.0 + seed: -218424581927441789 + spawn-location: + ==: MVSpawnLocation + x: 0.0 + y: 42.0 + z: 0.0 + pitch: 0.0 + yaw: 0.0 + spawning: + monster: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + misc: + spawn: true + tick-rate: -1 + spawn-limit: -1 + exceptions: [] + world-blacklist: [] + version: 1.2 +world_the_end: + adjust-spawn: true + alias: '' + allow-advancement-grant: true + allow-flight: false + allow-weather: true + anchor-respawn: true + auto-heal: true + auto-load: true + bed-respawn: true + biome: '' + difficulty: normal + entry-fee: + enabled: false + amount: 0.0 + currency: '@vault-economy' + environment: the_end + gamemode: survival + generator: '' + hidden: false + hunger: true + keep-spawn-in-memory: true + player-limit: -1 + portal-form: all + pvp: true + respawn-world: '' + scale: 16.0 + seed: -218424581927441789 + spawn-location: + ==: MVSpawnLocation + x: 0.0 + y: 62.0 + z: 0.0 + pitch: 0.0 + yaw: 0.0 + spawning: {} + world-blacklist: [] + version: 1.2 diff --git a/services/minecraft/plugins/ViaBackwards-5.4.2.jar b/services/minecraft/plugins/ViaBackwards-5.4.2.jar new file mode 100644 index 0000000..972da7f Binary files /dev/null and b/services/minecraft/plugins/ViaBackwards-5.4.2.jar differ diff --git a/services/minecraft/plugins/ViaVersion-5.4.2.jar b/services/minecraft/plugins/ViaVersion-5.4.2.jar new file mode 100644 index 0000000..1789e05 Binary files /dev/null and b/services/minecraft/plugins/ViaVersion-5.4.2.jar differ diff --git a/services/minecraft/plugins/WorldEditSelectionVisualizer-2.1.9.jar b/services/minecraft/plugins/WorldEditSelectionVisualizer-2.1.9.jar new file mode 100644 index 0000000..f2653cc Binary files /dev/null and b/services/minecraft/plugins/WorldEditSelectionVisualizer-2.1.9.jar differ diff --git a/services/minecraft/plugins/multiverse-core-5.3.0.jar b/services/minecraft/plugins/multiverse-core-5.3.0.jar new file mode 100644 index 0000000..31ec408 Binary files /dev/null and b/services/minecraft/plugins/multiverse-core-5.3.0.jar differ diff --git a/services/minecraft/plugins/multiverse-inventories-5.1.3.jar b/services/minecraft/plugins/multiverse-inventories-5.1.3.jar new file mode 100644 index 0000000..97e47ea Binary files /dev/null and b/services/minecraft/plugins/multiverse-inventories-5.1.3.jar differ diff --git a/services/minecraft/plugins/multiverse-portals-5.1.0.jar b/services/minecraft/plugins/multiverse-portals-5.1.0.jar new file mode 100644 index 0000000..f2a4e90 Binary files /dev/null and b/services/minecraft/plugins/multiverse-portals-5.1.0.jar differ diff --git a/services/minecraft/plugins/squaremap-paper-mc1.21.8-1.3.8.jar b/services/minecraft/plugins/squaremap-paper-mc1.21.8-1.3.8.jar new file mode 100644 index 0000000..e8834c6 Binary files /dev/null and b/services/minecraft/plugins/squaremap-paper-mc1.21.8-1.3.8.jar differ diff --git a/services/minecraft/service.toml b/services/minecraft/service.toml new file mode 100644 index 0000000..e840562 --- /dev/null +++ b/services/minecraft/service.toml @@ -0,0 +1,31 @@ +user = "podman" +capabilities = ["NET_BIND_SERVICE"] + +[service] +name = "minecraft" +image = "itzg/minecraft-server" + +[environment] +TYPE = "PAPER" +EULA = "true" +TZ = "Europe/Amsterdam" +ENABLE_ROLLING_LOGS = "true" +SERVER_NAME = "Goofjes" +MOTD = "Welcome @ Goofjes.nl" +SNOOPER_ENABLED = "false" + +[[environment_secrets]] +name = "RCON_PASSWORD" +secret = "minecraft_rcon_password" + +[[ports]] +host = 25565 +container = 25565 + +[[ports]] +host = 19132 +container = 19132 + +[[volumes]] +source = "/var/containers/minecraft" +target = "/data:Z" \ No newline at end of file diff --git a/services/minecraft/update.sh b/services/minecraft/update.sh new file mode 100644 index 0000000..264b5a5 --- /dev/null +++ b/services/minecraft/update.sh @@ -0,0 +1,18 @@ +#!/bin/sh +mkdir -p /var/containers/minecraft +chown -R podman:podman /var/containers/minecraft + +# Plugin list: +# - FastAsyncWorldEdit (https://ci.athion.net/job/FastAsyncWorldEdit/) +# - ViaVersion (Hangar) +# - ViaBackwards (Hangar) +# - GeyserMC (Hangar) +# - squaremap (Hangar) +# - WorldEditSelectionVisualizer (Hangar) +# - Multiverse Core (Hangar) +# - Multiverse Portals (Hangar) +# - Multiverse Inventories (Hangar) +# - KeepChunks (Hangar) + +cp -rf ./config /var/containers/minecraft +cp -rf ./plugins /var/containers/minecraft/plugins \ No newline at end of file diff --git a/services/ssh/update.sh b/services/ssh/update.sh index 88ef86f..66e9baf 100644 --- a/services/ssh/update.sh +++ b/services/ssh/update.sh @@ -1,5 +1,5 @@ #!/bin/sh -cp -f $(pwd)/sshd_config /etc/ssh/sshd_config +cp -f ./sshd_config /etc/ssh/sshd_config if [ "$1" = "reload" ]; then rc-service sshd restart