Add plotworld and flatworld, backup fix

Excluding museum worlds from the backup
(Drastically reducing backup size)
This commit is contained in:
Chromachine 2019-10-20 13:33:52 +00:00
parent 6e45c5400d
commit c55974fcc3
No known key found for this signature in database
GPG key ID: E3A2A1CAA522AE6E
18 changed files with 317 additions and 60 deletions

View file

@ -11,6 +11,8 @@ components:
towncolors: towncolors:
praxis: praxis:
- DarkRed - DarkRed
cliffnautica:
- Blue
ignatios_antonos: ignatios_antonos:
- DarkGray - DarkGray
uh-oh: uh-oh:

View file

@ -4,7 +4,7 @@ global:
prefix: / prefix: /
inviteLink: '' inviteLink: ''
modRole: Moderator modRole: Moderator
serverup: true serverup: false
components: components:
GeneralEventBroadcasterModule: GeneralEventBroadcasterModule:
enabled: true enabled: true

View file

@ -1,28 +1,33 @@
bossBar: bossBar:
TaffySwordsman: true
TheShyPig: true TheShyPig: true
jarrxth: true jarrxth: true
AtlanticMercyyy: true AtlanticMercyyy: true
matyello: true matyello: true
xPoonSlayer_69x: true xPoonSlayer_69x: true
Deoplo: true Deoplo: true
Alisolarflare: true VanillaVela: true
PrincessFox: true Alisolarflare: true
thewindmillman: true PrincessFox: true
creepachu: true thewindmillman: true
Dizzle8949: true DubbleBerger: true
SyK7: true creepachu: true
cedricvh27: true Dizzle8949: true
Ghostise: true SyK7: true
justscooby: true cedricvh27: true
Mr_Byzantine: true Ghostise: true
actionBar: justscooby: true
TheShyPig: true Mr_Byzantine: true
jarrxth: true actionBar:
AtlanticMercyyy: true TaffySwordsman: true
matyello: true TheShyPig: true
xPoonSlayer_69x: true jarrxth: true
Deoplo: true AtlanticMercyyy: true
NorbiPeti: true matyello: true
xPoonSlayer_69x: true
Deoplo: true
NorbiPeti: true
VanillaVela: true
Alisolarflare: true Alisolarflare: true
PrincessFox: true PrincessFox: true
thewindmillman: true thewindmillman: true

View file

@ -140,6 +140,100 @@ worlds:
generator: 'null' generator: 'null'
playerLimit: '-1' playerLimit: '-1'
allowFlight: 'true' allowFlight: 'true'
plotworld:
==: MVWorld
hidden: 'false'
alias: ''
color: WHITE
style: NORMAL
pvp: 'true'
scale: '1.0'
respawnWorld: ''
allowWeather: 'true'
difficulty: EASY
spawning:
==: MVSpawnSettings
animals:
==: MVSpawnSubSettings
spawn: 'true'
spawnrate: '-1'
exceptions: []
monsters:
==: MVSpawnSubSettings
spawn: 'true'
spawnrate: '-1'
exceptions: []
entryfee:
==: MVEntryFee
amount: '0.0'
hunger: 'true'
autoHeal: 'true'
adjustSpawn: 'true'
portalForm: ALL
gameMode: CREATIVE
keepSpawnInMemory: 'true'
spawnLocation:
==: MVSpawnLocation
x: -100.0
y: 65.0
z: 361.0
pitch: 0.0
yaw: 0.0
autoLoad: 'true'
bedRespawn: 'true'
worldBlacklist: []
environment: NORMAL
seed: '-7282589520118052005'
generator: PlotSquared
playerLimit: '-1'
allowFlight: 'true'
flatworld:
==: MVWorld
hidden: 'false'
alias: ''
color: WHITE
style: NORMAL
pvp: 'true'
scale: '1.0'
respawnWorld: ''
allowWeather: 'true'
difficulty: EASY
spawning:
==: MVSpawnSettings
animals:
==: MVSpawnSubSettings
spawn: 'true'
spawnrate: '-1'
exceptions: []
monsters:
==: MVSpawnSubSettings
spawn: 'true'
spawnrate: '-1'
exceptions: []
entryfee:
==: MVEntryFee
amount: '0.0'
hunger: 'true'
autoHeal: 'true'
adjustSpawn: 'true'
portalForm: ALL
gameMode: SURVIVAL
keepSpawnInMemory: 'true'
spawnLocation:
==: MVSpawnLocation
x: -256.0
y: 4.0
z: -96.0
pitch: 0.0
yaw: 0.0
autoLoad: 'true'
bedRespawn: 'true'
worldBlacklist: []
environment: NORMAL
seed: '4622440486943241231'
generator: 'null'
playerLimit: '-1'
allowFlight: 'true'
v1: v1:
==: MVWorld ==: MVWorld
hidden: 'false' hidden: 'false'

75
PlotSquared/config/commands.yml Normal file → Executable file
View file

@ -31,7 +31,7 @@ load:
aliases: aliases:
- load - load
- restore - restore
usage: /plot load usage: /plot restore
description: Load your plot description: Load your plot
confirmation: false confirmation: false
confirm: confirm:
@ -50,9 +50,16 @@ download:
aliases: aliases:
- download - download
- dl - dl
usage: /plot download [schematic|world] usage: /plot download [schematic|bo3|world]
description: Download your plot description: Download your plot
confirmation: false confirmation: false
changelog:
aliases:
- changelog
- cl
usage: /plot changelog
description: View the changelog
confirmation: false
setup: setup:
aliases: aliases:
- setup - setup
@ -138,34 +145,35 @@ clear:
- clear - clear
- reset - reset
usage: /plot clear usage: /plot clear
description: Clear the plot you stand on description: Clear a plot
confirmation: true confirmation: true
delete: delete:
aliases: aliases:
- delete - delete
- dispose - dispose
- del - del
- reset
usage: /plot delete usage: /plot delete
description: Delete the plot you stand on description: Delete a plot
confirmation: true confirmation: true
trust: trust:
aliases: aliases:
- trust - trust
- t - t
usage: /plot trust <player> usage: /plot trust <player>
description: Allow a user to build in a plot while you are offline description: Allow a player to build in a plot
confirmation: false confirmation: false
add: add:
aliases: aliases:
- add - add
usage: /plot add <player> usage: /plot add <player>
description: Allow a user to build in a plot while you are online description: Allow a user to build while you are online
confirmation: false confirmation: false
leave: leave:
aliases: aliases:
- leave - leave
usage: '' usage: ''
description: Removes self from being trusted or a member of the plot description: Leave a plot
confirmation: false confirmation: false
deny: deny:
aliases: aliases:
@ -191,7 +199,7 @@ info:
aliases: aliases:
- info - info
- i - i
usage: /plot info <id> [-f, to force info] usage: /plot info <id>
description: Display plot info description: Display plot info
confirmation: false confirmation: false
near: near:
@ -221,7 +229,6 @@ schematic:
aliases: aliases:
- schematic - schematic
- sch - sch
- schem
usage: /plot schematic <arg...> usage: /plot schematic <arg...>
description: Schematic command description: Schematic command
confirmation: false confirmation: false
@ -229,7 +236,7 @@ plugin:
aliases: aliases:
- plugin - plugin
- version - version
usage: /plot plugin usage: ''
description: Show plugin information description: Show plugin information
confirmation: false confirmation: false
purge: purge:
@ -242,14 +249,13 @@ purge:
reload: reload:
aliases: aliases:
- reload - reload
- rl
usage: /plot reload usage: /plot reload
description: Reload translations and world settings description: Reload configurations
confirmation: false confirmation: false
relight: relight:
aliases: aliases:
- relight - relight
usage: /plot relight usage: ''
description: Relight your plot description: Relight your plot
confirmation: false confirmation: false
merge: merge:
@ -264,24 +270,30 @@ debugpaste:
- debugpaste - debugpaste
- dp - dp
usage: /plot debugpaste usage: /plot debugpaste
description: Upload settings.yml, worlds.yml, PlotSquared.use_THIS.yml and your description: Upload settings.yml, worlds.yml, commands.yml and latest.log to www.hastebin.com
latest.log to https://athion.net/ISPaster/paste
confirmation: false confirmation: false
unlink: unlink:
aliases: aliases:
- unlink - unlink
- u - u
- unmerge - unmerge
usage: /plot unlink [createroads] usage: /plot unlink
description: Unlink a mega-plot description: Unlink a mega-plot
confirmation: true confirmation: true
kick: kick:
aliases: aliases:
- kick - kick
- k - k
usage: /plot kick <player> usage: <player>
description: Kick a player from your plot description: Kick a player from your plot
confirmation: false confirmation: false
rate:
aliases:
- rate
- rt
usage: /plot rate [#|next|purge]
description: Rate the plot
confirmation: false
debugclaimtest: debugclaimtest:
aliases: aliases:
- debugclaimtest - debugclaimtest
@ -320,14 +332,13 @@ music:
aliases: aliases:
- music - music
usage: /plot music usage: /plot music
description: Play music in your plot description: Player music in a plot
confirmation: false confirmation: false
debugroadregen: debugroadregen:
aliases: aliases:
- debugroadregen - debugroadregen
usage: /plot debugroadregen <plot|region [height]> usage: /plot debugroadregen
description: Regenerate roads in the plot or region the user is, based on the road description: Regenerate all roads based on the road schematic
schematic
confirmation: false confirmation: false
debugexec: debugexec:
aliases: aliases:
@ -404,6 +415,13 @@ continue:
usage: '' usage: ''
description: Continue a plot that was previously marked as done description: Continue a plot that was previously marked as done
confirmation: false confirmation: false
bo3:
aliases:
- bo3
- bo2
usage: ''
description: Mark a plot as done
confirmation: false
middle: middle:
aliases: aliases:
- middle - middle
@ -466,7 +484,7 @@ sethome:
- sh - sh
- seth - seth
usage: /plot sethome [none] usage: /plot sethome [none]
description: Set the plot home to your current position description: Set the plot home
confirmation: false confirmation: false
cluster: cluster:
aliases: aliases:
@ -481,13 +499,6 @@ debugimportworlds:
usage: '' usage: ''
description: Import worlds by player name description: Import worlds by player name
confirmation: false confirmation: false
rate:
aliases:
- rate
- rt
usage: /plot rate [#|next|purge]
description: Rate the plot
confirmation: false
toggle: toggle:
aliases: aliases:
- toggle - toggle
@ -569,3 +580,9 @@ generatebiome:
usage: /plots generatebiome <biome> usage: /plots generatebiome <biome>
description: Generate a biome in your plot description: Generate a biome in your plot
confirmation: false confirmation: false
moveto512:
aliases:
- moveto512
usage: /plots moveto512 [world]
description: Move plots to a 512 sized region
confirmation: false

4
PlotSquared/config/settings.yml Normal file → Executable file
View file

@ -169,10 +169,10 @@ chunk-processor:
# This is an auto clearing task called `task1` # This is an auto clearing task called `task1`
auto-clear: auto-clear:
task1: task1:
threshold: -1 threshold: 1
required-plots: -1 required-plots: -1
confirmation: true confirmation: true
days: 90 days: 7
skip-account-age-days: -1 skip-account-age-days: -1
worlds: worlds:
- "*" - "*"

53
PlotSquared/config/worlds.yml Normal file → Executable file
View file

@ -0,0 +1,53 @@
configuration_version: post_flattening
worlds:
plotworld:
plot:
height: 62
biome: FOREST
size: 42
filling: stone:100
auto_merge: false
bedrock: true
create_signs: true
floor: grass_block:100
wall:
filling: stone:100
block_claimed: sandstone_slab:100
height: 62
block: stone_slab:100
misc_spawn_unowned: false
road:
block: quartz_block:100
height: 62
width: 7
home:
nonmembers: side
default: side
schematic:
specify_on_claim: false
on_claim: false
file: 'null'
schematics: []
economy:
prices:
merge: 100
sell: 100
claim: 100
use: false
chat:
enabled: false
limits:
max-members: 128
world:
max_height: 256
gamemode: creative
min_height: 1
border: false
event:
spawn:
egg: false
breeding: false
custom: true
natural_mob_spawning: false
mob_spawner_spawning: false
flags: {}

View file

@ -0,0 +1,54 @@
worlds:
plotworld:
plot:
height: 64
biome: FOREST
size: 42
filling:
- '1:0'
auto_merge: false
bedrock: true
create_signs: true
floor:
- '2:0'
wall:
filling: '1:0'
block_claimed: '44:1'
height: 64
block: '44:0'
misc_spawn_unowned: false
road:
block: '155:0'
height: 64
width: 7
home:
nonmembers: side
default: side
schematic:
specify_on_claim: false
on_claim: false
file: 'null'
economy:
prices:
merge: 100
sell: 100
claim: 100
use: false
chat:
enabled: false
limits:
max-members: 128
world:
max_height: 256
gamemode: creative
min_height: 1
border: false
event:
spawn:
egg: false
breeding: false
custom: true
natural_mob_spawning: false
mob_spawner_spawning: false
flags: {}
mob_damage: false

18
PlotSquared/scripts/automerge.js Normal file → Executable file
View file

@ -5,7 +5,7 @@ Need to script something quick with PlotSquared?
This is an example script that will auto merge all plots This is an example script that will auto merge all plots
The following utility classes are usable: The following utility classes are usable:
- PlotSquared - PS
- TaskManager - TaskManager
- TitleManager - TitleManager
- ConsolePlayer - ConsolePlayer
@ -28,19 +28,21 @@ The following utility classes are usable:
For more information see: https://github.com/IntellectualSites/PlotSquared/wiki/Scripting For more information see: https://github.com/IntellectualSites/PlotSquared/wiki/Scripting
*/ */
var plots = PS.sortPlotsByTemp(PS.getPlots()); var plots = PS.sortPlots(PS.getPlots());
PS.class.static.log("Attempting to auto merge " + plots.size() + " plots"); PS.class.static.log("Attempting to auto merge " + plots.size() + " plots");
if ("%s0" === "true") { if ("%s0" === "true") {
for (var i = 0; i < plots.size(); i++) { for (var i = 0; i < plots.size(); i++) {
var plot = plots.get(i); var plot = plots.get(i);
plot.autoMerge(-1, 250000, plot.owner, true); plot.autoMerge(false);
} }
} else if ("%s0" === "false") { }
else if ("%s0" === "false") {
for (var i = 0; i < plots.size(); i++) { for (var i = 0; i < plots.size(); i++) {
var plot = plots.get(i); var plot = plots.get(i);
plot.autoMerge(-1, 250000, plot.owner, false); plot.autoMerge(false);
} }
} else {
C_COMMAND_SYNTAX.send(PlotPlayer, "/plot debugexec automerge.js <removeroads>");
MainUtil.class.static.sendMessage(PlotPlayer, "$1<removeroads> is true or false if you want to remove roads when auto merging");
} }
else {
C_COMMAND_SYNTAX.send(PlotPlayer, "/plot debugexec automerge.js <removeroads>");
MainUtil.sendMessage(PlotPlayer, "$1<removeroads> is true or false if you want to remove roads when auto merging");
}

0
PlotSquared/templates/bridge.template Normal file → Executable file
View file

0
PlotSquared/templates/skyblock.template Normal file → Executable file
View file

0
PlotSquared/templates/town.template Normal file → Executable file
View file

View file

@ -1,7 +1,13 @@
# The time of day to make backups (makes sense with daily backups) # The time of day to make backups (makes sense with daily backups)
start-time: 03:00 start-time: 03:00
backup-interval-hours: 24.0 backup-interval-hours: 24.0
backup-worlds: [] backup-worlds:
- world
- world_nether
- world_the_end
- worldhub
- flatworld
- plotworld
backup-file: backups/ backup-file: backups/
backup-date-format: yyyy-MM-dd-HH-mm-ss backup-date-format: yyyy-MM-dd-HH-mm-ss
backup-empty-server: false backup-empty-server: false

View file

@ -13,7 +13,7 @@ disable-v1-protocol: false
# All tokens, labeled by the serviceName of each server list. # All tokens, labeled by the serviceName of each server list.
tokens: tokens:
# Default token for all server lists, if another isn't supplied. # Default token for all server lists, if another isn't supplied.
default: voreuavh6vd07b1v98ogie1p4s default: kcah732f9hecgrvh42ir1dmds5
# Configuration section for all vote forwarding to NuVotifier # Configuration section for all vote forwarding to NuVotifier
forwarding: forwarding:

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,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.
#
{}