Dev7ex/MultiWorld

Nether portals all get linked

Closed this issue · 5 comments

All the portals are being linked to one. Ex: going in the nether from overworld and then leaving it goes the one portal even though they should not be linked.

Dev7ex commented

Please show me your config and the world.yml

__ ___ ____ _ _ __ __ __

/ |/ /_ / / /() | / /_ __/ // /

/ /|_/ / / / / / __/ /| | /| / / __ / ___/ / __ /

/ / / / // / / // / | |/ |/ / // / / / / // /

// //_,//_// |/|/_// //_,/

Copyright (c) 2023 by Dev7ex

Version: 1.4.6-SNAPSHOT

config-version: 1.4.6-SNAPSHOT

General

prefix: §8[§bMultiWorld§8]§r
no-permission: §cIm sorry, but you do not have permission to perform this command.
Please contact the server administrators if you believe that is in error.
player-not-found: '%prefix% §cThis player could not be found'
only-player-command: '%prefix% §cThis command can only performed by a player'

settings:

Worlds that should be loaded when the server starts

WARNING: When the world is not registered by MultiWorld the world will not be loaded

The world has to be imported manually! (Attention choose the correct WorldType)

Example: auto-load: [world1, world2, world3]

auto-load: []

Should all players with the permission (multiworld.notify.update)

get a message when entering server

receive-update-message: true

Should the auto-gamemode per world work?

auto-game-mode-enabled: true

Should you be able to enter Nether/End worlds with the command /world telport

access-nether-world-via-command: true
access-end-world-via-command: true

Should MultiWorld connect the worlds with each other via the registered data?

world-link-enabled: true

Standard values for new worlds

defaults:
normal-world: world
end-world: world_the_end
nether_world: world_nether
difficulty: HARD
game-mode: SURVIVAL
pvp-enabled: true
spawn-animals: true
spawn-monsters: true
end-portal-accessible: true
nether-portal-accessible: true
whitelist-enabled: false

messages:
general:
update-message-player: '%prefix% §7There is a new update available. §8[§bhttps://www.spigotmc.org/resources/multiworld.92559§8]'
update-message-version-player: '%prefix% §7Current Version: §b%current_version%
§7New Version §b%new_version%'
world-not-exists: '%prefix% §cThe specified world does not exist!'
world-not-loaded: '%prefix% §cThe specified world is not loaded!'
world-already-exists: '%prefix% §cThe specified world already exists!'
world-type-not-exists: '%prefix% §cThe specified WorldType does not exist'
world-folder-not-exists: '%prefix% §cNo world folder could be found!'
world-whitelist-block-trespassing: '%prefix% §7You are not on the whitelist of
this world!'
commands:
back:
usage: '%prefix% §cUsage: /world back'
world-not-exists: '%prefix% §cThere is no world you can go!'
sender-already-there: '%prefix% §cYou are already in the world §b%world_name%'
backup:
usage: '%prefix% §cUsage: /world backup '
starting: '%prefix% §7A backup of the world §b%world_name% is created...'
finished: '%prefix% §7The backup of the world §b%world_name% §7has been successfully
created!'
clone:
usage: '%prefix% §cUsage: /world clone '
starting: '%prefix% §7The world §b%world_name% §7will be copied...'
finished: '%prefix% §7The world §b%world_name% §7has been successfully copied!'
create:
usage: '%prefix% §cUsage: /world create <Generator | Seed | WorldType>'
starting: '%prefix% §7The world §b%world_name% §7will be created...'
finished: '%prefix% §7The world §b%world_name% §7was created successfully!'
delete:
usage: '%prefix% §cUsage: /world delete '
world-cannot-deleted: '%prefix% §cThe specified world may not be deleted!'
starting: '%prefix% §7The world §b%world_name% §7will be deleted...'
finished: '%prefix% §7The world §b%world_name% §7has been successfully deleted!'
flag:
usage: '%prefix% §cUsage: /world flag '
not-existing: '%prefix% §cThis flag does not exist'
value-not-existing: '%prefix% §cThis value does not exist for the flag §b%flag%'
successfully-set: '%prefix% §7The flag §b%flag% §7was set to §b%value% §7!'
help:
message:
- ''
- '§f§m §r§r %prefix% §f§m '
- ''
- §7» §7/world §bback
- §7» §7/world §bbackup §7
- §7» §7/world §bclone §7
- §7» §7/world §bcreate §7 <WorldType | Seed | Generator>
- §7» §7/world §bdelete §7
- §7» §7/world §bflag §7
- §7» §7/world §bhelp
- §7» §7/world §bimport §7
- §7» §7/world §binfo §7
- §7» §7/world §blist
- §7» §7/world §blink §7 <Nether | End>
- §7» §7/world §bload §7
- §7» §7/world §breload
- §7» §7/world §bteleport §7
- §7» §7/world §bunload §7
- §7» §7/world §bwhitelist §7 <Enable | Disable | Add | Remove | List>

- ''
- '§f§m §r§r %prefix% §f§m '
- ''
import:
usage: '%prefix% §cUsage: /world import <WorldType | Generator>'
world-already-imported: '%prefix% §7The world §b%world_name% §7is already imported!'
starting: '%prefix% §7The world §b%world_name% §7will import...'
finished: '%prefix% §7The world §b%world_name% §7was successfully imported!'
info:
usage: '%prefix% §cUsage: /world info '
message:
- ''
- '§f§m §r§r §b%world_name% §f§m '
- ''
- '§7» Creator: §b%world_creator_name%'
- '§7» Created at: §b%creation_timestamp%'
- '§7» Loaded: §b%loaded%'
- '§7» WorldType: §b%world_type%'
- '§7» Environment: §b%environment%'
- '§7» Difficulty: §b%difficulty%'
- '§7» GameMode: §b%gamemode%'
- '§7» Pvp: §b%pvp_enabled%'
- '§7» Spawn-Monster: §b%spawn_monsters%'
- '§7» Spawn-Animals: §b%spawn_animals%'
- '§7» End-Portal-Accessible: §b%end-portal-accessible%'
- '§7» Nether-Portal-Accessible: §b%nether-portal-accessible%'
- '§7» Whitelist: §b%whitelist_enabled%'
- ''
- '§f§m §r§r §b%world_name% §f§m '
- ''
list:
usage: '%prefix% §cUsage: /world list'
message: '%prefix% §aWorlds: %world_names%'
link:
usage: '%prefix% §cUsage: /world link <End | Nether> '
environment-not-exists: '%prefix% §cThe specified environment does not exist!'
successfully-set: '%prefix% §7You have connected the portal of the environment
§b%environment_name% §7in the world §b%world_name% §7with the world §b%target_world_name%'
load:
usage: '%prefix% §cUsage: /world load '
world-already-loaded: '%prefix% §7The world §bworld_name% §7is already loaded!'
starting: '%prefix% §7The world §b%world_name% §7will loaded...'
finished: '%prefix% §7The world §b%world_name% §7was successfully loaded!'
reload:
usage: '%prefix% §cUsage: /world reload'
message: '%prefix% §7The configurations has been reloaded!'
teleport:
usage: '%prefix% §cUsage: /world teleport '
message: '%prefix% §a%player_name% §7is teleported to the world §b%world_name%
§7!'
sender-already-there: '%prefix% §7You are already in the world §b%world_name%'
target-already-there: '%prefix% §7The player §a%player_name% §7is already in
the world §b%world_name%'
nether-not-accessible: '%prefix% §cYou cant enter the Nether via the command!'
end-not-accessible: '%prefix% §cYou cant enter the end via the command!'
unload:
usage: '%prefix% §cUsage: /world unload '
world-cannot-unloaded: '%prefix% §cThe specified world must not be unloaded!'
starting: '%prefix% §7The world §b%world_name% §7will be unloaded...'
finished: '%prefix% §7The world §b%world_name% §7was successfully unloaded!'
chunk-starting: '%prefix% §7The chunks in §b%world_name% §7are unloaded...'
chunk-finished: '%prefix% §7The chunks in §b%world_name% §7were successfully
unloaded!'
chunk-teleport: '%prefix% §7The world you were in will be unloaded. You will
be teleported!'
whitelist:
usage: '%prefix% §cUsage: /world whitelist <On | Off | Add | List |
Remove> '
add:
already-added: '%prefix% §The player %player_name% §7is already §7on the whitelist!'
successfully-added: '%prefix% §7You have added %player_name% §7to the whitelist
of world §b%world_name%'
list:
empty: '%prefix% §7The whitelist for world §b%world_name% §7is empty'
message: '%prefix% §7Whitelist: %player_names%'
disable:
already-disabled: '%prefix% §7World whitelist §b%world_name% §7is already
disabled!'
successfully-disabled: '%prefix% §7You have disabled the whitelist in the
world §b%world_name%§7!'
enable:
already-enabled: '%prefix% §7The world whitelist §b%world_name% §7is already
activated!'
successfully-enabled: '%prefix% §7You have activated the whitelist in the
world §b%world_name% §7!'
remove:
already-removed: '%prefix% §7The player %player_name% §7is §not §7on the whitelist!'
successfully-removed: '%prefix% §7You have %player_name% §7removed from the
§b%world_name% §7whitelist'
defaults:
nether-portal-accessible: true

world:
creator-name: CONSOLE
creation-timestamp: 1696795987075
type: NORMAL
game-mode: SURVIVAL
difficulty: PEACEFUL
pvp-enabled: true
spawn-animals: true
spawn-monsters: true
end-portal-accessible: true
nether-portal-accessible: true
end-world: world_the_end
nether-world: world_nether
normal-world: world
whitelist: []
whitelist-enabled: false
world_nether:
creator-name: CONSOLE
creation-timestamp: 1696795987077
type: NETHER
game-mode: SURVIVAL
difficulty: PEACEFUL
pvp-enabled: true
spawn-animals: true
spawn-monsters: true
end-portal-accessible: true
nether-portal-accessible: true
end-world: world_the_end
nether-world: world_nether
normal-world: world
whitelist: []
whitelist-enabled: false
world_the_end:
creator-name: CONSOLE
creation-timestamp: 1696795987078
type: END
game-mode: SURVIVAL
difficulty: PEACEFUL
pvp-enabled: true
spawn-animals: true
spawn-monsters: true
end-portal-accessible: true
nether-portal-accessible: true
end-world: world_the_end
nether-world: world_nether
normal-world: world
whitelist: []
whitelist-enabled: false
flatroom:
creator-name: MinerCoffee97
creation-timestamp: 1696796373827
type: FLAT
game-mode: SURVIVAL
difficulty: HARD
pvp-enabled: true
spawn-animals: true
spawn-monsters: true
end-portal-accessible: true
nether-portal-accessible: true
end-world: world_the_end
nether-world: world_nether
normal-world: world
whitelist: []
whitelist-enabled: false
testing-area:
creator-name: MinerCoffee97
creation-timestamp: 1696796381187
type: FLAT
game-mode: SURVIVAL
difficulty: HARD
pvp-enabled: true
spawn-animals: true
spawn-monsters: true
end-portal-accessible: true
nether-portal-accessible: true
end-world: world_the_end
nether-world: world_nether
normal-world: world
whitelist: []
whitelist-enabled: false

Dev7ex commented

Set world-link-enabled to false. This function will be removed soon and should be moved to a separate plugin

it works now thanks