Basic structuring and added WorldGeneratorAPI.

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

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