From be133a11c4ef6d958f0bff25818f83534ee93a3e Mon Sep 17 00:00:00 2001 From: Harrison Date: Sat, 18 Apr 2020 17:54:53 -0500 Subject: [PATCH] Basic structuring and added WorldGeneratorAPI. Also fixed typo. --- .gitignore | 9 +- .vscode/launch.json | 15 ++ .vscode/tasks.json | 25 +++ README.md | 2 +- plugin.yml | 6 - pom.xml | 22 +- src/main/resources/plugin.yml | 8 + test-server/banned-ips.json | 1 + test-server/banned-players.json | 1 + test-server/bukkit.yml | 42 ++++ test-server/commands.yml | 17 ++ test-server/eula.txt | 4 + test-server/help.yml | 56 +++++ test-server/ops.json | 8 + test-server/paper.yml | 191 ++++++++++++++++++ test-server/permissions.yml | 0 test-server/plugins/PluginMetrics/config.yml | 4 + test-server/plugins/WorldEdit/config.yml | 152 ++++++++++++++ .../590105fb-53a3-486d-9f07-655e50e04af9.json | 1 + .../plugins/WorldGuard/cache/profiles.sqlite | Bin 0 -> 16384 bytes test-server/plugins/WorldGuard/config.yml | 162 +++++++++++++++ .../WorldGuard/worlds/world/blacklist.txt | 62 ++++++ .../WorldGuard/worlds/world/config.yml | 12 ++ .../worlds/world_nether/blacklist.txt | 62 ++++++ .../WorldGuard/worlds/world_nether/config.yml | 12 ++ .../worlds/world_the_end/blacklist.txt | 62 ++++++ .../worlds/world_the_end/config.yml | 12 ++ test-server/plugins/bStats/config.yml | 9 + test-server/server.properties | 47 +++++ test-server/spigot.yml | 139 +++++++++++++ test-server/start.bat | 8 + test-server/start.sh | 7 + test-server/tty.exe.stackdump | 11 + test-server/usercache.json | 1 + test-server/version_history.json | 1 + test-server/wepif.yml | 46 +++++ test-server/whitelist.json | 1 + 37 files changed, 1204 insertions(+), 14 deletions(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json delete mode 100644 plugin.yml create mode 100644 src/main/resources/plugin.yml create mode 100644 test-server/banned-ips.json create mode 100644 test-server/banned-players.json create mode 100644 test-server/bukkit.yml create mode 100644 test-server/commands.yml create mode 100644 test-server/eula.txt create mode 100644 test-server/help.yml create mode 100644 test-server/ops.json create mode 100644 test-server/paper.yml create mode 100644 test-server/permissions.yml create mode 100644 test-server/plugins/PluginMetrics/config.yml create mode 100644 test-server/plugins/WorldEdit/config.yml create mode 100644 test-server/plugins/WorldEdit/sessions/590105fb-53a3-486d-9f07-655e50e04af9.json create mode 100644 test-server/plugins/WorldGuard/cache/profiles.sqlite create mode 100644 test-server/plugins/WorldGuard/config.yml create mode 100644 test-server/plugins/WorldGuard/worlds/world/blacklist.txt create mode 100644 test-server/plugins/WorldGuard/worlds/world/config.yml create mode 100644 test-server/plugins/WorldGuard/worlds/world_nether/blacklist.txt create mode 100644 test-server/plugins/WorldGuard/worlds/world_nether/config.yml create mode 100644 test-server/plugins/WorldGuard/worlds/world_the_end/blacklist.txt create mode 100644 test-server/plugins/WorldGuard/worlds/world_the_end/config.yml create mode 100644 test-server/plugins/bStats/config.yml create mode 100644 test-server/server.properties create mode 100644 test-server/spigot.yml create mode 100644 test-server/start.bat create mode 100644 test-server/start.sh create mode 100644 test-server/tty.exe.stackdump create mode 100644 test-server/usercache.json create mode 100644 test-server/version_history.json create mode 100644 test-server/wepif.yml create mode 100644 test-server/whitelist.json diff --git a/.gitignore b/.gitignore index e031b20..840b6b6 100644 --- a/.gitignore +++ b/.gitignore @@ -120,4 +120,11 @@ buildNumber.properties # Ignore all local history of files .history -# End of https://www.gitignore.io/api/java,maven,eclipse,visualstudiocode \ No newline at end of file +# End of https://www.gitignore.io/api/java,maven,eclipse,visualstudiocode + +**/*.code-workspace + +test-server/logs +test-server/world +test-server/world_nether +test-server/world_the_end diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c2e78de --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "java", + "name": "debug", + "hostName": "localhost", + "port": 4711, + "request": "attach", + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..95f49fa --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,25 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "verify", + "type": "shell", + "command": "mvn -B verify", + "group": "build" + }, + { + "label": "test", + "type": "shell", + "command": "mvn -B test", + "group": "test" + }, + { + "label": "package", + "type": "shell", + "command": "mvn package", + "group": "build" + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 45f0814..47109f2 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Start off by boating in a vast uncharted sea to discover and purchase your very Of course, eventually, you're probably going to want more bigger, better islands to explore and build on! No problem, Jerry's Island Protection Company has you covered, although you're going to need to pay for your next one. Don't worry though, Jerry, much like many other parts of this gamemode, takes Dragon Eggs as payments, which you can earn by participating in the recurring **minigames** hosted by **Zany's Arcade Games**! -Now you might be wondering: what if you just want to explore the island and not inhabit it? That's perfectly fine! Just remember, islands that don't have Jerry's Island Protection will generally have much more aggressive mobs spawn, Nature also takes over quickly as blocks you place will eventually be overtaken by nature (they will decay)! Jeff's Mining Company and Blaz's Airlines will also be afraid to leave their representatives on such dangerous islands. +Now you might be wondering: what if you just want to explore the island and not inhabit it? That's perfectly fine! Just remember, islands that don't have Jerry's Island Protection will generally have much more aggressive mobs spawn, Nature also takes over quickly as blocks you place will eventually be overtaken by nature (they will decay)! Jeff's Mining Company and Blaze Airlines will also be afraid to leave their representatives on such dangerous islands. ### Inhabited Islands diff --git a/plugin.yml b/plugin.yml deleted file mode 100644 index 33d73c6..0000000 --- a/plugin.yml +++ /dev/null @@ -1,6 +0,0 @@ -name: IslandSurvivalCraft -main: ca.recrown.IslandSurvivalCraft -version: 1.0.0 -description: Adds the gamemode IslandSurvivalCraft. -commands: -depend: [WorldGuard] \ No newline at end of file diff --git a/pom.xml b/pom.xml index 64c93cf..b84416f 100644 --- a/pom.xml +++ b/pom.xml @@ -9,13 +9,17 @@ http://maven.apache.org - spigot-repo - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - + papermc + https://papermc.io/repo/repository/maven-public/ + sk89q-repo https://maven.enginehub.org/repo/ + + rutger-repo + http://rutgerkok.nl/repo + @@ -25,17 +29,23 @@ test - org.spigotmc - spigot-api + com.destroystokyo.paper + paper-api 1.15.2-R0.1-SNAPSHOT provided - + com.sk89q.worldguard worldguard-bukkit 7.0.2 provided + + nl.rutgerkok + worldgeneratorapi + 0.4 + provided + UTF-8 diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml new file mode 100644 index 0000000..780d959 --- /dev/null +++ b/src/main/resources/plugin.yml @@ -0,0 +1,8 @@ +name: IslandSurvivalCraft +main: ca.recrown.islandsurvivalcraft.IslandSurvivalCraft +version: 1.0.0 +description: Adds the gamemode IslandSurvivalCraft. +commands: +depend: [WorldGuard, WorldGeneratorApi] +load: startup +api-version: 1.15 \ No newline at end of file diff --git a/test-server/banned-ips.json b/test-server/banned-ips.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/test-server/banned-ips.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/test-server/banned-players.json b/test-server/banned-players.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/test-server/banned-players.json @@ -0,0 +1 @@ +[] \ No newline at end of file diff --git a/test-server/bukkit.yml b/test-server/bukkit.yml new file mode 100644 index 0000000..6ee200a --- /dev/null +++ b/test-server/bukkit.yml @@ -0,0 +1,42 @@ +# 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: + monsters: 70 + animals: 10 + water-animals: 15 + ambient: 15 +chunk-gc: + period-in-ticks: 600 +ticks-per: + animal-spawns: 400 + monster-spawns: 1 + water-spawns: 1 + ambient-spawns: 1 + autosave: 6000 +aliases: now-in-commands.yml +worlds: + world: + generator: IslandSurvivalCraft diff --git a/test-server/commands.yml b/test-server/commands.yml new file mode 100644 index 0000000..5b065de --- /dev/null +++ b/test-server/commands.yml @@ -0,0 +1,17 @@ +# 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- diff --git a/test-server/eula.txt b/test-server/eula.txt new file mode 100644 index 0000000..0afd2f5 --- /dev/null +++ b/test-server/eula.txt @@ -0,0 +1,4 @@ +#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. +#Sat Apr 18 14:49:23 CDT 2020 +eula=true diff --git a/test-server/help.yml b/test-server/help.yml new file mode 100644 index 0000000..c0ac928 --- /dev/null +++ b/test-server/help.yml @@ -0,0 +1,56 @@ +# 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 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: - 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 + diff --git a/test-server/ops.json b/test-server/ops.json new file mode 100644 index 0000000..fc99eb4 --- /dev/null +++ b/test-server/ops.json @@ -0,0 +1,8 @@ +[ + { + "uuid": "590105fb-53a3-486d-9f07-655e50e04af9", + "name": "Reslate", + "level": 4, + "bypassesPlayerLimit": false + } +] \ No newline at end of file diff --git a/test-server/paper.yml b/test-server/paper.yml new file mode 100644 index 0000000..d5f6b2a --- /dev/null +++ b/test-server/paper.yml @@ -0,0 +1,191 @@ +# 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://paperdiscord.emc.gs +# IRC: #paper @ irc.spi.gt ( http://irc.spi.gt/iris/?channels=paper ) +# Website: https://papermc.io/ +# Docs: https://paper.readthedocs.org/ + +verbose: false +config-version: 20 +settings: + enable-player-collisions: true + save-empty-scoreboard-teams: false + suggest-player-names-when-null-tab-completions: true + load-permissions-yml-before-plugins: true + bungee-online-mode: true + incoming-packet-spam-threshold: 300 + region-file-cache-size: 256 + use-alternative-luck-formula: false + save-player-data: true + watchdog: + early-warning-every: 5000 + early-warning-delay: 10000 + velocity-support: + enabled: false + online-mode: false + secret: '' + async-chunks: + enable: true + load-threads: -1 + spam-limiter: + tab-spam-increment: 1 + tab-spam-limit: 500 + book-size: + page-max: 2560 + total-multiplier: 0.98 +timings: + enabled: true + verbose: true + 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 +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 +world-settings: + default: + keep-spawn-loaded: true + keep-spawn-loaded-range: 10 + light-queue-size: 20 + auto-save-interval: -1 + disable-thunder: false + count-all-mobs-for-spawning: false + skeleton-horse-thunder-spawn-chance: 0.01 + disable-ice-and-snow: false + armor-stands-do-collision-entity-lookups: true + seed-based-feature-search: true + nether-ceiling-void-damage-height: 0 + portal-search-radius: 128 + portal-create-radius: 16 + allow-non-player-entities-on-scoreboards: false + disable-explosion-knockback: false + water-over-lava-flow-speed: 5 + use-faster-eigencraft-redstone: false + fix-zero-tick-instant-grow-farms: true + parrots-are-unaffected-by-player-movement: false + container-update-tick-rate: 1 + grass-spread-tick-rate: 1 + bed-search-radius: 1 + non-player-arrow-despawn-rate: -1 + creative-arrow-despawn-rate: -1 + prevent-tnt-from-moving-in-water: false + iron-golems-can-spawn-in-air: false + mob-spawner-tick-rate: 1 + max-entity-collisions: 8 + filter-nbt-data-from-spawn-eggs-and-related: true + duplicate-uuid-resolver: saferegen + duplicate-uuid-saferegen-delete-range: 32 + disable-creeper-lingering-effect: false + all-chunks-are-slime-chunks: false + entities-target-with-follow-range: false + spawner-nerfed-mobs-should-jump: false + zombie-villager-infection-chance: -1.0 + allow-leashing-undead-horse: false + baby-zombie-movement-modifier: 0.5 + armor-stands-tick: true + prevent-moving-into-unloaded-chunks: false + fixed-chunk-inhabited-time: -1 + optimize-explosions: false + max-auto-save-chunks-per-tick: 24 + tracker-update-distance: 1.0 + enable-treasure-maps: true + treasure-maps-return-already-discovered: false + use-vanilla-world-scoreboard-name-coloring: false + per-player-mob-spawns: false + experience-merge-max-value: -1 + falling-block-height-nerf: 0 + tnt-entity-height-nerf: 0 + remove-corrupt-tile-entities: false + disable-teleportation-suffocation-check: false + anti-xray: + enabled: false + engine-mode: 1 + chunk-edge-mode: 2 + max-chunk-section-index: 3 + update-radius: 2 + hidden-blocks: + - gold_ore + - iron_ore + - coal_ore + - lapis_ore + - mossy_cobblestone + - obsidian + - chest + - diamond_ore + - redstone_ore + - clay + - emerald_ore + - ender_chest + replacement-blocks: + - stone + - oak_planks + generator-settings: + flat-bedrock: false + lightning-strike-distance-limit: + sound: -1 + impact-sound: -1 + flash: -1 + game-mechanics: + shield-blocking-delay: 5 + disable-chest-cat-detection: false + nerf-pigmen-from-nether-portals: false + disable-player-crits: false + disable-end-credits: false + disable-sprint-interruption-on-attack: false + disable-relative-projectile-velocity: false + disable-unloaded-chunk-enderpearl-exploit: true + scan-for-legacy-ender-dragon: true + disable-pillager-patrols: false + pillager-patrols: + spawn-chance: 0.2 + spawn-delay: + per-player: false + ticks: 12000 + start: + per-player: false + day: 5 + hopper: + cooldown-when-full: true + disable-move-event: false + alt-item-despawn-rate: + enabled: false + items: + COBBLESTONE: 300 + lootables: + auto-replenish: false + restrict-player-reloot: true + reset-seed-on-fill: true + max-refills: -1 + refresh-min: 12h + refresh-max: 2d + squid-spawn-height: + maximum: 0.0 + max-growth-height: + cactus: 3 + reeds: 3 + despawn-ranges: + soft: 32 + hard: 128 + fishing-time-range: + MinimumTicks: 100 + MaximumTicks: 600 + frosted-ice: + enabled: true + delay: + min: 20 + max: 40 diff --git a/test-server/permissions.yml b/test-server/permissions.yml new file mode 100644 index 0000000..e69de29 diff --git a/test-server/plugins/PluginMetrics/config.yml b/test-server/plugins/PluginMetrics/config.yml new file mode 100644 index 0000000..c086f09 --- /dev/null +++ b/test-server/plugins/PluginMetrics/config.yml @@ -0,0 +1,4 @@ +# http://mcstats.org +opt-out: false +guid: d6057a25-caa0-4b6d-8c16-4f21097f1749 +debug: false diff --git a/test-server/plugins/WorldEdit/config.yml b/test-server/plugins/WorldEdit/config.yml new file mode 100644 index 0000000..32ecab7 --- /dev/null +++ b/test-server/plugins/WorldEdit/config.yml @@ -0,0 +1,152 @@ +# +# WorldEdit's Configuration File +# +# About editing this file: +# - DO NOT USE TABS. You MUST use spaces or Bukkit will complain and post +# errors. If you use an editor, like Notepad++ (recommended for Windows +# users), you must configure it to "replace tabs with spaces." +# This can be changed in Settings > Preferences > Language Menu. +# - Don't get rid of indentations. They are indented so some entries that are +# in categories, like "max-blocks-changed", are placed in the "limits" +# category. +# - If you want to check the format of this file before putting it +# into WorldEdit, paste it into http://yaml-online-parser.appspot.com/ +# and see if it gives you "ERROR:". +# - Lines starting with # are comments, so they are ignored. +# - If you want to allow blocks, make sure to change "disallowed-blocks" to [] +# + +limits: + max-blocks-changed: + default: -1 + maximum: -1 + max-polygonal-points: + default: -1 + maximum: 20 + max-radius: -1 + max-super-pickaxe-size: 5 + max-brush-radius: 5 + butcher-radius: + default: -1 + maximum: -1 + disallowed-blocks: + - "minecraft:oak_sapling" + - "minecraft:jungle_sapling" + - "minecraft:dark_oak_sapling:" + - "minecraft:spruce_sapling" + - "minecraft:birch_sapling" + - "minecraft:acacia_sapling" + - "minecraft:black_bed" + - "minecraft:blue_bed" + - "minecraft:brown_bed" + - "minecraft:cyan_bed" + - "minecraft:gray_bed" + - "minecraft:green_bed" + - "minecraft:light_blue_bed" + - "minecraft:light_gray_bed" + - "minecraft:lime_bed" + - "minecraft:magenta_bed" + - "minecraft:orange_bed" + - "minecraft:pink_bed" + - "minecraft:purple_bed" + - "minecraft:red_bed" + - "minecraft:white_bed" + - "minecraft:yellow_bed" + - "minecraft:powered_rail" + - "minecraft:detector_rail" + - "minecraft:grass" + - "minecraft:dead_bush" + - "minecraft:moving_piston" + - "minecraft:piston_head" + - "minecraft:sunflower" + - "minecraft:rose_bush" + - "minecraft:dandelion" + - "minecraft:poppy" + - "minecraft:brown_mushroom" + - "minecraft:red_mushroom" + - "minecraft:tnt" + - "minecraft:torch" + - "minecraft:fire" + - "minecraft:redstone_wire" + - "minecraft:wheat" + - "minecraft:potatoes" + - "minecraft:carrots" + - "minecraft:melon_stem" + - "minecraft:pumpkin_stem" + - "minecraft:beetroots" + - "minecraft:rail" + - "minecraft:lever" + - "minecraft:redstone_torch" + - "minecraft:redstone_wall_torch" + - "minecraft:repeater" + - "minecraft:comparator" + - "minecraft:stone_button" + - "minecraft:birch_button" + - "minecraft:acacia_button" + - "minecraft:dark_oak_button" + - "minecraft:jungle_button" + - "minecraft:oak_button" + - "minecraft:spruce_button" + - "minecraft:cactus" + - "minecraft:sugar_cane" + - "minecraft:bedrock" + +use-inventory: + enable: false + allow-override: true + creative-mode-overrides: false + +logging: + log-commands: false + file: worldedit.log + # The format of custom log message. This is java general format string (java.util.Formatter). Arguments are: + # 1$ : date - a Date object representing event time of the log record. + # 2$ : source - a string representing the caller, if available; otherwise, the logger's name. + # 3$ : logger - the logger's name. + # 4$ : level - the log level. + # 5$ : message - the formatted log message returned from the Formatter.formatMessage(LogRecord) method. It uses java.text formatting and does not use the java.util.Formatter format argument. + # 6$ : thrown - a string representing the throwable associated with the log record and its backtrace beginning with a newline character, if any; otherwise, an empty string. + # For details see: + # https://docs.oracle.com/javase/8/docs/api/java/util/Formatter.html + # https://docs.oracle.com/javase/8/docs/api/java/util/logging/SimpleFormatter.html#format-java.util.logging.LogRecord- + format: "[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS %4$s]: %5$s%6$s%n" + +super-pickaxe: + drop-items: true + many-drop-items: false + +snapshots: + directory: + +navigation-wand: + item: minecraft:compass + max-distance: 100 + +scripting: + timeout: 3000 + dir: craftscripts + +saving: + dir: schematics + +files: + allow-symbolic-links: false + +history: + size: 15 + expiration: 10 + +calculation: + timeout: 100 + +debugging: + trace-unflushed-sessions: false + +wand-item: minecraft:wooden_axe +shell-save-type: +no-double-slash: false +no-op-permissions: false +debug: false +show-help-on-first-use: true +server-side-cui: true +command-block-support: false diff --git a/test-server/plugins/WorldEdit/sessions/590105fb-53a3-486d-9f07-655e50e04af9.json b/test-server/plugins/WorldEdit/sessions/590105fb-53a3-486d-9f07-655e50e04af9.json new file mode 100644 index 0000000..3307157 --- /dev/null +++ b/test-server/plugins/WorldEdit/sessions/590105fb-53a3-486d-9f07-655e50e04af9.json @@ -0,0 +1 @@ +{"useServerCUI":false,"wandItem":"minecraft:wooden_axe","navWandItem":"minecraft:compass"} \ No newline at end of file diff --git a/test-server/plugins/WorldGuard/cache/profiles.sqlite b/test-server/plugins/WorldGuard/cache/profiles.sqlite new file mode 100644 index 0000000000000000000000000000000000000000..57579f6d4d8132a63d3d7b00d2404c26241ec894 GIT binary patch literal 16384 zcmeI%O;5rw7zgl{5i}S!ZXCFj8%u-?$57%y5f>y*&=2w@h$j=0|C26#nm*~;->uvAl{N4=^CtHr*JnCO5=zN2V}yv5kf?Z85fRDH zF60XX_?A%Ki6nmzrKUWK4gmoOKmY;|fB*y_009U<00I#BKLJaMr7{`H2jf0} z7`r3xEV9{b(06)n@0LfawpnSJtll^^Z&+Btnhh3Kv1~A-KGLmVwWlNB?GAZ39cGc` za;?gVW&T}x1U?;>wl@}r!0s;_#00bZa0SG_<0uX=z1Rwx` z4H3x8Qaf#wwSs1N-JGGjdaig->gURywx25*1~)XW6nul 2>&1 +ECHO "Attempting to copy plugin jar to plugins folder" +COPY "..\target\IslandSurvivalCraft-1.0.0.jar" "plugins\IslandSurvivalCraft-1.0.0.jar" >nul +ECHO "Starting server..." +java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=4711 -Xms512M -Xmx1G -jar paper-195.jar nogui +pause \ No newline at end of file diff --git a/test-server/start.sh b/test-server/start.sh new file mode 100644 index 0000000..9ccc0e4 --- /dev/null +++ b/test-server/start.sh @@ -0,0 +1,7 @@ +echo "Attempting to delete previous world..." +rm -rf world +echo "Attempting to copy plugin jar to plugins folder" +cp "..\target\IslandSurvivalCraft-1.0.0.jar" "plugins\IslandSurvivalCraft-1.0.0.jar" +echo "Starting server..." +java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=4711 -Xms512M -Xmx1G -jar paper-195.jar nogui +pause \ No newline at end of file diff --git a/test-server/tty.exe.stackdump b/test-server/tty.exe.stackdump new file mode 100644 index 0000000..0838a78 --- /dev/null +++ b/test-server/tty.exe.stackdump @@ -0,0 +1,11 @@ +Stack trace: +Frame Function Args +00000010000 0018006137E (0018025BEB0, 0018024E199, 00000010000, 000FFFFBA60) +00000010000 00180049229 (00100002000, 00000000000, 00000000000, 00180338C70) +00000010000 00180049262 (00000000000, 00180338F80, 00000010000, 00000000000) +00000010000 0018005A9EC (001800C9612, 00000000000, 00000000000, 00000000000) +000FFFFCCD0 0018005AA67 (00000000020, 00000000000, 00180049C3F, 00000000000) +000FFFFCCD0 001800499EC (00000000000, 00000000000, 00000000000, 00000000000) +00000000000 00180048343 (00000000000, 00000000000, 00000000000, 00000000000) +000FFFFFFF0 001800483F4 (00000000000, 00000000000, 00000000000, 00000000000) +End of stack trace diff --git a/test-server/usercache.json b/test-server/usercache.json new file mode 100644 index 0000000..d19237d --- /dev/null +++ b/test-server/usercache.json @@ -0,0 +1 @@ +[{"name":"Reslate","uuid":"590105fb-53a3-486d-9f07-655e50e04af9","expiresOn":"2020-05-18 20:11:43 -0500"}] \ No newline at end of file diff --git a/test-server/version_history.json b/test-server/version_history.json new file mode 100644 index 0000000..7163aa9 --- /dev/null +++ b/test-server/version_history.json @@ -0,0 +1 @@ +{"currentVersion":"git-Paper-195 (MC: 1.15.2)"} \ No newline at end of file diff --git a/test-server/wepif.yml b/test-server/wepif.yml new file mode 100644 index 0000000..be63e03 --- /dev/null +++ b/test-server/wepif.yml @@ -0,0 +1,46 @@ +# +# WEPIF Configuration File +# +# This file handles permissions configuration for every plugin using WEPIF +# +# About editing this file: +# - DO NOT USE TABS. You MUST use spaces or Bukkit will complain. If +# you use an editor like Notepad++ (recommended for Windows users), you +# must configure it to "replace tabs with spaces." In Notepad++, this can +# be changed in Settings > Preferences > Language Menu. +# - Don't get rid of the indents. They are indented so some entries are +# in categories (like "enforce-single-session" is in the "protection" +# category. +# - If you want to check the format of this file before putting it +# into WEPIF, paste it into http://yaml-online-parser.appspot.com/ +# and see if it gives "ERROR:". +# - Lines starting with # are comments and so they are ignored. + + +ignore-nijiperms-bridges: true +resolvers: + enabled: + - PluginPermissionsResolver + - PermissionsExResolver + - bPermissionsResolver + - GroupManagerResolver + - NijiPermissionsResolver + - VaultResolver + - DinnerPermsResolver + - FlatFilePermissionsResolver +permissions: + groups: + default: + permissions: + - worldedit.reload + - worldedit.selection + - worlds.creative.worldedit.region + admins: + permissions: + - '*' + users: + sk89q: + permissions: + - worldedit + groups: + - admins diff --git a/test-server/whitelist.json b/test-server/whitelist.json new file mode 100644 index 0000000..0637a08 --- /dev/null +++ b/test-server/whitelist.json @@ -0,0 +1 @@ +[] \ No newline at end of file