Configuration file (config.yml)
Code (YAML):
# Players will be teleported to this world when a reset happens
# or when they type the SPAWN subcommand
spawn-world
:
"world"
# Enable resource world autoreset
auto-reset
: true
# If enabled you can use your custom worlds uploading them in the plugin
# data folder and renaming them with the name specified in dimension config
# For example: world_resource, world_resource_nether, world_resource_end
use-custom-worlds
: false
# Reset interval in days
reset-interval
: 30
# Reset the resource world if players are online in the server
# true: Players in the resource world will be teleported to the spawn
# false: Wait when the server is empty
reset-with-players-online
: false
# Random teleport range for resource world (set 0 disable)
teleport-range
: 200
# Teleport delay in seconds
teleport-delay
: 5
# Teleport delay in seconds when the player clicks on a tp sign
# instead of typing the TP command
signs-teleport-delay
: 0
# Teleport to resource world cooldown in seconds
teleport-cooldown
: 60
# With permission pearresourceworld.tp.delay.bypass will bypass the delay
bypass-delay-permission
: true
# With permission pearresourceworld.tp.cooldown.bypass will bypass the cooldown
bypass-cooldown-permission
: true
# RESOURCE WORLD SETTINGS
# Valid difficulties: PEACEFUL, EASY, NORMAL, HARD
# Valid world types: DEFAULT, FLAT, LARGEBIOMES, AMPLIFIED, BUFFET
resource-world-settings:
teleport-spawn-on-quit
: true
disable-set-respawn
: true
keep-inventory
: false
difficulty
: NORMAL
custom-seed
:
""
pvp
: true
always-day
: false
allow-nether-portals
: true
allow-end-portals
: true
disable-dragon-battle
: true
prevent-dragon-respawn
: true
world-type
: DEFAULT
generate-structures
: true
keep-spawn-in-memory
: false
# If resource nether/end is disabled and portals are enabled
# they will bring to the nether/end dimension in the default world
resource-dimensions:
overworld:
name
:
"world_resource"
border
: 5000
nether:
name
:
"world_resource_nether"
enabled
: true
border
: 625
end:
name
:
"world_resource_end"
enabled
: false
border
: 2500
# Block blacklisted commands in resource world
enable-command-blacklist
: true
# Insert commands without '/'
# This will block also the ':' syntax (for example '/pluginName:sethome')
command-blacklist
:
- sethome
Messages file (messages.yml)
Code (YAML):
prefix
:
"&8[&2ResourceWorld&8]&r"
no-permission
:
"%prefix% &cNo permission"
command-player-only
:
"This command can be executed only by a player"
player-not-found
:
"%prefix% &cPlayer not found!"
dimension-not-found
:
"%prefix% &cDimension not found!"
already-resource-world-self
:
"%prefix% &cYou are already in a resource world"
not-in-resource-world-self
:
"%prefix% &cYou are not in a resource world"
teleport-failed
:
"%prefix% &cTeleport failed"
invalid-admin-subcommand
:
"%prefix% &cInvalid subcommand type &6%helpcmd% &cfor help"
invalid-subcommand
:
"%prefix% &cInvalid subcommand"
kick-from-resource-world
:
"%prefix% &aYou have been kicked from resource world"
kicked-all-players-from-resource-world
:
"%prefix% &aKicked all players from resource world"
reset-started
:
"%prefix% &aResetting resource world..."
reset-completed
:
"%prefix% &aResource world reset competed"
reset-still-in-progress
:
"%prefix% &cResource world reset is still in progress"
show-reset-time
:
"%prefix% &aLast reset: &6%lastReset%&a, Next reset: &6%nextReset%"
unable-to-set-respawn
:
"%prefix% &cRespawn not set: You can't set respawn point in a resource world"
teleport-delay
:
"%prefix% &aYou will be teleported in %seconds% seconds"
teleport-cancelled-moved
:
"%prefix% &cYou moved... Teleport cancelled!"
teleport-success
:
"%prefix% &aYou have been teleported!"
searching-safe-location
:
"%prefix% &aSearching a safe location to teleport!"
no-safe-locaiton
:
"%prefix% &cUnable to find a safe location!"
teleport-cooldown
:
"%prefix% &cYou have to wait %seconds% second(s) to teleport again!"
invalid-sign-action
:
"%prefix% &cInvalid sign action %action%!"
dragon-respawn-disabled
:
"%prefix% &cDragon respawn is disabled on this world!"
command-blacklisted
:
"%prefix% &cThis command is disabled on this world!"
Signs file (signs.yml)
Code (YAML):
# If enabled you can create a sign using the format below
#
# TELEPORT SIGN
# Teleport player to resource world or to the spawn world
# if it is already in a resource world.
#
# Format:
# - [ResourceWorld]
# - tp
#
enable-signs
: true
# Prevent player without the permission to break the sign
# Protect sign from burn, explosions and pistons
prevent-sign-break
: true
# Title used to create and display signs
# To create signs use the title without color codes
# For example "&2[ResourceWorld]" -> "[ResourceWorld]"
signs-title
:
"&2[ResourceWorld]"
teleport-sign
:
-
"&aClick to teleport"
GUI file (gui.yml)
Code (YAML):
admin-gui:
name
:
"ResourceWorld Admin"
time-item:
name
:
"&6Last/next reset"
lore
:
-
"&7See last reset and next scheduled reset"
material
:
"CLOCK"
position
: 1
reset-item:
name
:
"&cReset"
lore
:
-
"&7Reset resource world"
material
:
"RED_MUSHROOM_BLOCK"
position
: 3
tp-item:
name
:
"&aTeleport"
lore
:
-
"&7Teleport to resource world"
material
:
"ENDER_PEARL"
position
: 5
kick-all-item:
name
:
"&cKick all"
lore
:
-
"&7Kick all players from resource world"
material
:
"IRON_DOOR"
position
: 7
confirm-reset-gui:
name
:
"Confirm Reset"
confirm-item:
name
:
"&aConfirm"
lore
:
[
]
material
:
"GREEN_WOOL"
position
: 2
cancel-item:
name
:
"&cCancel"
lore
:
[
]
material
:
"RED_WOOL"
position
: 6
admin-teleport-gui:
name
:
"Admin Teleport"
overworld-item:
name
:
"&aOverworld"
lore:
- "&6Status
:
%status%"
material
:
"GRASS_BLOCK"
position
: 1
nether-item:
name
:
"&cNether"
lore:
- "&6Status
:
%status%"
material
:
"NETHERRACK"
position
: 3
end-item:
name
:
"&eEnd"
lore:
- "&6Status
:
%status%"
material
:
"END_STONE"
position
: 5
spawn-item:
name
:
"&6Spawn world"
lore
:
-
"&aTeleport to spawn world"
material
:
"ENDER_PEARL"
position
: 7