Basic structuring and added WorldGeneratorAPI.

Also fixed typo.
This commit is contained in:
Harrison Deng 2020-04-18 17:54:53 -05:00
parent ccbb9380e5
commit be133a11c4
37 changed files with 1204 additions and 14 deletions

9
.gitignore vendored
View File

@ -120,4 +120,11 @@ buildNumber.properties
# Ignore all local history of files
.history
# End of https://www.gitignore.io/api/java,maven,eclipse,visualstudiocode
# 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

15
.vscode/launch.json vendored Normal file
View File

@ -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",
}
]
}

25
.vscode/tasks.json vendored Normal file
View File

@ -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"
}
]
}

View File

@ -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

View File

@ -1,6 +0,0 @@
name: IslandSurvivalCraft
main: ca.recrown.IslandSurvivalCraft
version: 1.0.0
description: Adds the gamemode IslandSurvivalCraft.
commands:
depend: [WorldGuard]

22
pom.xml
View File

@ -9,13 +9,17 @@
<url>http://maven.apache.org</url>
<repositories>
<repository>
<id>spigot-repo</id>
<url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
</repository>
<id>papermc</id>
<url>https://papermc.io/repo/repository/maven-public/</url>
</repository>
<repository>
<id>sk89q-repo</id>
<url>https://maven.enginehub.org/repo/</url>
</repository>
<repository>
<id>rutger-repo</id>
<url>http://rutgerkok.nl/repo</url>
</repository>
</repositories>
<dependencies>
<dependency>
@ -25,17 +29,23 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<groupId>com.destroystokyo.paper</groupId>
<artifactId>paper-api</artifactId>
<version>1.15.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependency>
<dependency>
<groupId>com.sk89q.worldguard</groupId>
<artifactId>worldguard-bukkit</artifactId>
<version>7.0.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>nl.rutgerkok</groupId>
<artifactId>worldgeneratorapi</artifactId>
<version>0.4</version>
<scope>provided</scope>
</dependency>
</dependencies>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

View File

@ -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

View File

@ -0,0 +1 @@
[]

View File

@ -0,0 +1 @@
[]

42
test-server/bukkit.yml Normal file
View File

@ -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

17
test-server/commands.yml Normal file
View File

@ -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-

4
test-server/eula.txt Normal file
View File

@ -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

56
test-server/help.yml Normal file
View File

@ -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 <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

8
test-server/ops.json Normal file
View File

@ -0,0 +1,8 @@
[
{
"uuid": "590105fb-53a3-486d-9f07-655e50e04af9",
"name": "Reslate",
"level": 4,
"bypassesPlayerLimit": false
}
]

191
test-server/paper.yml Normal file
View File

@ -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

View File

View File

@ -0,0 +1,4 @@
# http://mcstats.org
opt-out: false
guid: d6057a25-caa0-4b6d-8c16-4f21097f1749
debug: false

View File

@ -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

View File

@ -0,0 +1 @@
{"useServerCUI":false,"wandItem":"minecraft:wooden_axe","navWandItem":"minecraft:compass"}

Binary file not shown.

View File

@ -0,0 +1,162 @@
regions:
uuid-migration:
perform-on-next-start: false
keep-names-that-lack-uuids: true
use-creature-spawn-event: true
sql:
use: false
dsn: jdbc:mysql://localhost/worldguard
username: worldguard
password: worldguard
table-prefix: ''
use-paper-entity-origin: false
enable: true
invincibility-removes-mobs: false
cancel-chat-without-recipients: true
nether-portal-protection: false
fake-player-build-override: true
explosion-flags-block-entity-damage: true
high-frequency-flags: false
protect-against-liquid-flow: false
wand: minecraft:leather
max-claim-volume: 30000
claim-only-inside-existing-regions: false
location-flags-only-inside-regions: false
max-region-count-per-player:
default: 7
auto-invincible: false
auto-invincible-group: false
auto-no-drowning-group: false
use-player-move-event: true
use-player-teleports: true
use-particle-effects: true
security:
deop-everyone-on-join: false
block-in-game-op-command: false
host-keys-allow-forge-clients: false
host-keys: {}
summary-on-start: true
op-permissions: true
build-permission-nodes:
enable: false
deny-message: '&eSorry, but you are not permitted to do that here.'
event-handling:
block-entity-spawns-with-untraceable-cause: false
interaction-whitelist: []
emit-block-use-at-feet: []
ignore-hopper-item-move-events: false
protection:
item-durability: true
remove-infinite-stacks: false
disable-xp-orb-drops: false
disable-obsidian-generators: false
gameplay:
block-potions: []
block-potions-overly-reliably: false
disable-conduit-effects: false
simulation:
sponge:
enable: false
radius: 3
redstone: false
default:
pumpkin-scuba: false
disable-health-regain: false
physics:
no-physics-gravel: false
no-physics-sand: false
vine-like-rope-ladders: false
allow-portal-anywhere: false
disable-water-damage-blocks: []
ignition:
block-tnt: false
block-tnt-block-damage: false
block-lighter: false
fire:
disable-lava-fire-spread: false
disable-all-fire-spread: false
disable-fire-spread-blocks: []
lava-spread-blocks: []
mobs:
block-creeper-explosions: false
block-creeper-block-damage: false
block-wither-explosions: false
block-wither-block-damage: false
block-wither-skull-explosions: false
block-wither-skull-block-damage: false
block-enderdragon-block-damage: false
block-enderdragon-portal-creation: false
block-fireball-explosions: false
block-fireball-block-damage: false
anti-wolf-dumbness: false
allow-tamed-spawns: true
disable-enderman-griefing: false
disable-snowman-trails: false
block-painting-destroy: false
block-item-frame-destroy: false
block-armor-stand-destroy: false
block-plugin-spawning: true
block-above-ground-slimes: false
block-other-explosions: false
block-zombie-door-destruction: false
block-creature-spawn: []
player-damage:
disable-fall-damage: false
disable-lava-damage: false
disable-fire-damage: false
disable-lightning-damage: false
disable-drowning-damage: false
disable-suffocation-damage: false
disable-contact-damage: false
teleport-on-suffocation: false
disable-void-damage: false
teleport-on-void-falling: false
reset-fall-on-void-teleport: false
disable-explosion-damage: false
disable-mob-damage: false
disable-death-messages: false
chest-protection:
enable: false
disable-off-check: false
crops:
disable-creature-trampling: false
disable-player-trampling: false
weather:
prevent-lightning-strike-blocks: []
disable-lightning-strike-fire: false
disable-thunderstorm: false
disable-weather: false
disable-pig-zombification: false
disable-villager-witchification: false
disable-powered-creepers: false
always-raining: false
always-thundering: false
dynamics:
disable-mushroom-spread: false
disable-ice-melting: false
disable-snow-melting: false
disable-snow-formation: false
disable-ice-formation: false
disable-leaf-decay: false
disable-grass-growth: false
disable-mycelium-spread: false
disable-vine-growth: false
disable-crop-growth: false
disable-soil-dehydration: false
snow-fall-blocks: []
blacklist:
use-as-whitelist: false
logging:
console:
enable: true
database:
enable: false
dsn: jdbc:mysql://localhost:3306/minecraft
user: root
pass: ''
table: blacklist_events
file:
enable: false
path: worldguard/logs/%Y-%m-%d.log
open-files: 10
custom-metrics-charts: true

View File

@ -0,0 +1,62 @@
#
# WorldGuard blacklist
#
# The blacklist lets you block actions, blocks, and items from being used.
# You choose a set of "items to affect" and a list of "actions to perform."
#
###############################################################################
#
# Example to block some ore mining and placement:
# [coal_ore,gold_ore,iron_ore]
# on-break=deny,log,kick
# on-place=deny,tell
#
# Events that you can detect:
# - on-break (when a block of this type is about to be broken)
# - on-destroy-with (the item/block held by the user while destroying)
# - on-place (a block is being placed)
# - on-use (an item like flint and steel or a bucket is being used)
# - on-interact (when a block in used (doors, chests, etc.))
# - on-drop (an item is being dropped from the player's inventory)
# - on-acquire (an item enters a player's inventory via some method)
# - on-equip (an item is equipped to the player's armor slots)
# NOTE: on-equip is overprotective due to deficiencies in Bukkit API
# - on-dispense (a dispenser is about to dispense an item)
#
# Actions (for events):
# - deny (deny completely, used blacklist mode)
# - allow (used in whitelist mode)
# - notify (notify admins with the 'worldguard.notify' permission)
# - log (log to console/file/database)
# - tell (tell a player that that's not allowed)
# - kick (kick player)
# - ban (ban player)
#
# Options:
# - ignore-groups (comma-separated list of groups to not affect)
# - ignore-perms (comma-separated list of permissions to not affect - make up
# your very own permissions!)
# - comment (message for yourself that is printed with 'log' and 'notify')
# - message (optional message to show the user instead; %s is the item name)
#
###############################################################################
#
# For more information, see:
# https://worldguard.enginehub.org/en/latest/blacklist/
#
###############################################################################
#
# Some examples follow.
# REMEMBER: If a line has # in front, it will be ignored.
#
# Deny lava buckets
#[lava_bucket]
#ignore-perms=my.own.madeup.permission
#ignore-groups=admins,mods
#on-use=deny,tell
# Deny some ore
#[coal_ore,gold_ore,iron_ore]
#ignore-groups=admins,mods
#on-break=notify,deny,log

View File

@ -0,0 +1,12 @@
#
# WorldGuard's world configuration file
#
# This is a world configuration file. Anything placed into here will only
# affect this world. If you don't put anything in this file, then the
# settings will be inherited from the main configuration file.
#
# If you see {} below, that means that there are NO entries in this file.
# Remove the {} and add your own entries.
#
{}

View File

@ -0,0 +1,62 @@
#
# WorldGuard blacklist
#
# The blacklist lets you block actions, blocks, and items from being used.
# You choose a set of "items to affect" and a list of "actions to perform."
#
###############################################################################
#
# Example to block some ore mining and placement:
# [coal_ore,gold_ore,iron_ore]
# on-break=deny,log,kick
# on-place=deny,tell
#
# Events that you can detect:
# - on-break (when a block of this type is about to be broken)
# - on-destroy-with (the item/block held by the user while destroying)
# - on-place (a block is being placed)
# - on-use (an item like flint and steel or a bucket is being used)
# - on-interact (when a block in used (doors, chests, etc.))
# - on-drop (an item is being dropped from the player's inventory)
# - on-acquire (an item enters a player's inventory via some method)
# - on-equip (an item is equipped to the player's armor slots)
# NOTE: on-equip is overprotective due to deficiencies in Bukkit API
# - on-dispense (a dispenser is about to dispense an item)
#
# Actions (for events):
# - deny (deny completely, used blacklist mode)
# - allow (used in whitelist mode)
# - notify (notify admins with the 'worldguard.notify' permission)
# - log (log to console/file/database)
# - tell (tell a player that that's not allowed)
# - kick (kick player)
# - ban (ban player)
#
# Options:
# - ignore-groups (comma-separated list of groups to not affect)
# - ignore-perms (comma-separated list of permissions to not affect - make up
# your very own permissions!)
# - comment (message for yourself that is printed with 'log' and 'notify')
# - message (optional message to show the user instead; %s is the item name)
#
###############################################################################
#
# For more information, see:
# https://worldguard.enginehub.org/en/latest/blacklist/
#
###############################################################################
#
# Some examples follow.
# REMEMBER: If a line has # in front, it will be ignored.
#
# Deny lava buckets
#[lava_bucket]
#ignore-perms=my.own.madeup.permission
#ignore-groups=admins,mods
#on-use=deny,tell
# Deny some ore
#[coal_ore,gold_ore,iron_ore]
#ignore-groups=admins,mods
#on-break=notify,deny,log

View File

@ -0,0 +1,12 @@
#
# WorldGuard's world configuration file
#
# This is a world configuration file. Anything placed into here will only
# affect this world. If you don't put anything in this file, then the
# settings will be inherited from the main configuration file.
#
# If you see {} below, that means that there are NO entries in this file.
# Remove the {} and add your own entries.
#
{}

View File

@ -0,0 +1,62 @@
#
# WorldGuard blacklist
#
# The blacklist lets you block actions, blocks, and items from being used.
# You choose a set of "items to affect" and a list of "actions to perform."
#
###############################################################################
#
# Example to block some ore mining and placement:
# [coal_ore,gold_ore,iron_ore]
# on-break=deny,log,kick
# on-place=deny,tell
#
# Events that you can detect:
# - on-break (when a block of this type is about to be broken)
# - on-destroy-with (the item/block held by the user while destroying)
# - on-place (a block is being placed)
# - on-use (an item like flint and steel or a bucket is being used)
# - on-interact (when a block in used (doors, chests, etc.))
# - on-drop (an item is being dropped from the player's inventory)
# - on-acquire (an item enters a player's inventory via some method)
# - on-equip (an item is equipped to the player's armor slots)
# NOTE: on-equip is overprotective due to deficiencies in Bukkit API
# - on-dispense (a dispenser is about to dispense an item)
#
# Actions (for events):
# - deny (deny completely, used blacklist mode)
# - allow (used in whitelist mode)
# - notify (notify admins with the 'worldguard.notify' permission)
# - log (log to console/file/database)
# - tell (tell a player that that's not allowed)
# - kick (kick player)
# - ban (ban player)
#
# Options:
# - ignore-groups (comma-separated list of groups to not affect)
# - ignore-perms (comma-separated list of permissions to not affect - make up
# your very own permissions!)
# - comment (message for yourself that is printed with 'log' and 'notify')
# - message (optional message to show the user instead; %s is the item name)
#
###############################################################################
#
# For more information, see:
# https://worldguard.enginehub.org/en/latest/blacklist/
#
###############################################################################
#
# Some examples follow.
# REMEMBER: If a line has # in front, it will be ignored.
#
# Deny lava buckets
#[lava_bucket]
#ignore-perms=my.own.madeup.permission
#ignore-groups=admins,mods
#on-use=deny,tell
# Deny some ore
#[coal_ore,gold_ore,iron_ore]
#ignore-groups=admins,mods
#on-break=notify,deny,log

View File

@ -0,0 +1,12 @@
#
# WorldGuard's world configuration file
#
# This is a world configuration file. Anything placed into here will only
# affect this world. If you don't put anything in this file, then the
# settings will be inherited from the main configuration file.
#
# If you see {} below, that means that there are NO entries in this file.
# Remove the {} and add your own entries.
#
{}

View File

@ -0,0 +1,9 @@
# bStats collects some data for plugin authors like how many servers are using their plugins.
# To honor their work, you should not disable it.
# This has nearly no effect on the server performance!
# Check out https://bStats.org/ to learn more :)
enabled: true
serverUuid: a3342071-2666-43b0-b4ae-739c1113ebd8
logFailedRequests: false
logSentData: false
logResponseStatusText: false

View File

@ -0,0 +1,47 @@
#Minecraft server properties
#Sat Apr 18 20:10:11 CDT 2020
spawn-protection=16
max-tick-time=60000
query.port=25565
generator-settings=
force-gamemode=false
allow-nether=true
enforce-whitelist=false
gamemode=survival
broadcast-console-to-ops=true
enable-query=false
player-idle-timeout=0
difficulty=easy
spawn-monsters=true
broadcast-rcon-to-ops=true
op-permission-level=4
pvp=true
snooper-enabled=true
level-type=default
hardcore=false
enable-command-block=false
max-players=20
network-compression-threshold=256
resource-pack-sha1=
max-world-size=29999984
function-permission-level=2
rcon.port=25575
server-port=25565
debug=false
server-ip=
spawn-npcs=true
allow-flight=false
level-name=world
view-distance=10
resource-pack=
spawn-animals=true
white-list=false
rcon.password=
generate-structures=true
max-build-height=256
online-mode=true
level-seed=
use-native-transport=true
prevent-proxy-connections=false
enable-rcon=false
motd=A Minecraft Server

139
test-server/spigot.yml Normal file
View File

@ -0,0 +1,139 @@
# This is the main configuration file for Spigot.
# 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.
# For a reference for any variable inside this file, check out the Spigot wiki at
# http://www.spigotmc.org/wiki/spigot-configuration/
#
# If you need help with the configuration or have any questions related to Spigot,
# join us at the IRC or drop by our forums and leave a post.
#
# IRC: #spigot @ irc.spi.gt ( http://www.spigotmc.org/pages/irc/ )
# Forums: http://www.spigotmc.org/
config-version: 12
settings:
debug: false
save-user-cache-on-stop-only: false
sample-count: 12
moved-wrongly-threshold: 0.0625
moved-too-quickly-multiplier: 10.0
log-villager-deaths: true
user-cache-size: 1000
bungeecord: false
player-shuffle: 0
timeout-time: 60
restart-on-crash: true
restart-script: ./start.sh
netty-threads: 4
attribute:
maxHealth:
max: 2048.0
movementSpeed:
max: 2048.0
attackDamage:
max: 2048.0
messages:
whitelist: You are not whitelisted on this server!
unknown-command: Unknown command. Type "/help" for help.
server-full: The server is full!
outdated-client: Outdated client! Please use {0}
outdated-server: Outdated server! I'm still on {0}
restart: Server is restarting
commands:
silent-commandblock-console: false
replace-commands:
- setblock
- summon
- testforblock
- tellraw
spam-exclusions:
- /skill
log: true
tab-complete: 0
send-namespaced: true
advancements:
disable-saving: false
disabled:
- minecraft:story/disabled
stats:
disable-saving: false
forced-stats: {}
world-settings:
worldeditregentempworld:
verbose: false
default:
verbose: true
view-distance: default
enable-zombie-pigmen-portal-spawns: true
item-despawn-rate: 6000
wither-spawn-sound-radius: 0
arrow-despawn-rate: 1200
trident-despawn-rate: 1200
hanging-tick-frequency: 100
nerf-spawner-mobs: false
zombie-aggressive-towards-villager: true
dragon-death-sound-radius: 0
seed-village: 10387312
seed-desert: 14357617
seed-igloo: 14357618
seed-jungle: 14357619
seed-swamp: 14357620
seed-monument: 10387313
seed-shipwreck: 165745295
seed-ocean: 14357621
seed-outpost: 165745296
seed-endcity: 10387313
seed-slime: 987234911
mob-spawn-range: 8
hopper-amount: 1
max-tnt-per-tick: 100
max-entity-collisions: 8
merge-radius:
item: 2.5
exp: 3.0
entity-activation-range:
animals: 32
monsters: 32
raiders: 48
misc: 16
water: 16
tick-inactive-villagers: true
ticks-per:
hopper-transfer: 8
hopper-check: 1
growth:
cactus-modifier: 100
cane-modifier: 100
melon-modifier: 100
mushroom-modifier: 100
pumpkin-modifier: 100
sapling-modifier: 100
beetroot-modifier: 100
carrot-modifier: 100
potato-modifier: 100
wheat-modifier: 100
netherwart-modifier: 100
vine-modifier: 100
cocoa-modifier: 100
bamboo-modifier: 100
sweetberry-modifier: 100
kelp-modifier: 100
entity-tracking-range:
players: 48
animals: 48
monsters: 48
misc: 32
other: 64
hunger:
jump-walk-exhaustion: 0.05
jump-sprint-exhaustion: 0.2
combat-exhaustion: 0.1
regen-exhaustion: 6.0
swim-multiplier: 0.01
sprint-multiplier: 0.1
other-multiplier: 0.0
max-tick-time:
tile: 50
entity: 50
squid-spawn-range:
min: 45.0

8
test-server/start.bat Normal file
View File

@ -0,0 +1,8 @@
@ECHO OFF
ECHO "Attempting to delete previous world..."
del /s /f /q world >nul 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

7
test-server/start.sh Normal file
View File

@ -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

View File

@ -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

View File

@ -0,0 +1 @@
[{"name":"Reslate","uuid":"590105fb-53a3-486d-9f07-655e50e04af9","expiresOn":"2020-05-18 20:11:43 -0500"}]

View File

@ -0,0 +1 @@
{"currentVersion":"git-Paper-195 (MC: 1.15.2)"}

46
test-server/wepif.yml Normal file
View File

@ -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

View File

@ -0,0 +1 @@
[]