Confirm with your password

ValheimPortals

Named portals, destination picked on the map / Portais com nome e destino escolhido no mapa: types, colors, icons, protected area. Server-synced. EN/PT-BR.

· Website · 💗 Donate

Stars
2
Downloads
88
Version
1.0.5
Updated
Author
Morgnar
Virus scan
✓ Scan successful
Runs on
Client & Server

Compatibility

Pairs well with 1

Not required, but they work well together.

Images

Description

ValheimPortals

Name your portals and pick the destination on the map · Dê nome aos portais e escolha o destino no mapa

☕ Support the mod · Apoie o mod

Enjoying the mod? Buy me an energy drink (or a new keyboard, if you're feeling generous) so I can keep this beautiful project going! ⚡⌨️ Curtiu o mod? Me paga um energético (ou um teclado novo, se estiver se sentindo generoso) pra eu continuar esse lindo projeto! ⚡⌨️

☕ Donate on PayPal · Doar pelo PayPal

Bugs / suggestions · Bugs / sugestões: Discord


🇺🇸 English (click to open)

Every vanilla portal gets a name, a type, a color and a map icon. Step into a portal, the map opens and you click where you want to go. No more matching tags.

Must be installed on the server and every client. The server builds the portal list and syncs the config (no ServerSync needed).

How it works

  1. Build any vanilla portal. It starts as Personal, named "'s Portal".
  2. Look at the portal and press E (Configure) to open the window:
    • Name
    • Type: Personal, Public, Guild, Alliance or Group
    • Map color (RGB sliders or hex)
    • Map icon: the vanilla map pins plus 19 icons in the same style (castle, flag, bed, dungeon, boss, ore, pickaxe, crystal, wood, axe, tree, sap collector, farm, hunting, fishing, harbor, forge, merchant, mountain)
    • A live preview shows how it will look on the map.
  3. OK saves, Cancel keeps it as it was.
  4. Step into the portal: the map opens showing the portal you're at and every portal you're allowed to use, each with its name, icon, color and type.
  5. Click a portal on the map to travel. Space or Esc closes the map, and it also closes by itself when you walk away.
  6. Favorites: right-click a portal on the map to favorite it. Your favorites show in a list on the left whenever the map opens: click one or press 1–9 to travel. They're saved with your character.

Portal types

Type Who can use it
Personal Only the owner (not even guild members)
Public Everyone
Guild The owner and the owner's guild members
Alliance The owner, the owner's guild and the guilds allied with it
Group The owner and whoever is in the owner's group right now

Guild, Alliance and Group use the guild and group from ValheimNPCs. Without it, those options are disabled. The owner's current guild/group is what counts: if someone joins or leaves, access changes right away. Temporary guild guests don't count. Alliance uses the alliances made in ValheimNPCs (current ones: a broken alliance loses access right away); allies use the portal but can't remove it or change its area.

Protection

  • Only the owner or admins can remove or damage a portal. The server can also allow the owner's guild (GuildaPodeQuebrar); group and alliance members never can.
  • Only the owner or admins can change its settings (checked by the server).
  • Protected area: within a radius around every portal (6 m by default) nobody destroys buildings or digs/changes the terrain. Only admins and, if the config allows it, the portal owner (and their guild, with GuildaPodeQuebrar).
  • Monsters don't damage portals or buildings inside the protected area (configurable).
  • Admin status comes from the server's adminlist.txt.

Travel

  • Ores and metals are blocked like vanilla, unless the server allows them (AllowNonTeleportable) or the world modifier "teleport all" is on.
  • Optional cooldown and cost per trip (both off by default).

Languages / translations

  • The mod comes in English and Portuguese (Brazil) and follows the language chosen in the game.
  • Translate it into your language: open BepInEx/config/ValheimPortals/translations/, copy English.txt, rename it to your language using Valheim's name for it (German.txt, Russian.txt, Spanish.txt, French.txt, Polish.txt...) and translate the right side of each key = text line. Missing lines stay in English.
  • Made a translation? Send it on Discord and it can ship with the mod!

Config

BepInEx/config/ValheimPortals/ValheimPortals.cfg

  • The server's config is sent to every player when they join, so changing your own .cfg doesn't change the rules. Only EfeitoPortalAtivo and DistanciaFecharMapa are per player.
Option Default What it does
TipoPortaisAntigos Publico Type given to portals built before the mod
DistanciaSaida 2.5 How far in front of the destination portal you appear
PermitirItensNaoTeleportaveis false Lets ores/metals through
BloquearDanoDeNaoJogadores true Monsters don't damage portals or buildings in the protected area
RaioAreaProtegida 6 Protected area radius in meters (0 = off)
DonoPodeMexerNaArea true The owner can build/destroy/dig in the area
GuildaPodeQuebrar false The owner's guild can also remove/damage the portal and change its area
TempoDeEsperaSegundos 0 Cooldown between trips (0 = off)
ItemDeCusto (empty) Item prefab charged per trip, e.g. Coins (empty = off)
QuantidadeDeCusto 0 Amount charged per trip (0 = off)
PermitirFavoritos true Players can favorite portals and use the favorites list
EfeitoPortalAtivo false Shows the connected-portal swirl (per player)
DistanciaFecharMapa 1 Meters you walk from where the map opened until it closes (per player)

Notes

  • Portals already in the world keep working, using their old tag as the name and the type from TipoPortaisAntigos.
  • The map must be enabled in the world.
  • Server and players must have the same mod version; otherwise a warning shows on screen and in chat.
🇧🇷 Português (clique pra abrir)

Todo portal vanilla ganha nome, tipo, cor e ícone no mapa. Entrou no portal, o mapa abre e você clica pra onde quer ir. Nada de ficar combinando tag.

Precisa estar no servidor e em todos os jogadores. O servidor monta a lista de portais e sincroniza a config (não precisa de ServerSync).

Como funciona

  1. Construa qualquer portal vanilla. Ele nasce Pessoal, com o nome "Portal de ".
  2. Olhe pro portal e aperte E (Configurar) pra abrir a janela:
    • Nome
    • Tipo: Pessoal, Público, Guilda, Aliança ou Grupo
    • Cor no mapa (barras RGB ou hex)
    • Ícone no mapa: os pins do mapa vanilla e mais 19 ícones no mesmo estilo (castelo, bandeira, cama, dungeon, boss, minério, picareta, cristal, madeira, machado, árvore, coletor de seiva, farm, caça, pesca, porto, forja, mercador, montanha)
    • Uma prévia mostra na hora como vai ficar no mapa.
  3. OK salva, Cancelar deixa como estava.
  4. Entre no portal: o mapa abre mostrando o portal onde você está e todos os portais que você pode usar, cada um com nome, ícone, cor e tipo.
  5. Clique num portal do mapa pra viajar. Espaço ou Esc fecha o mapa, e ele também fecha sozinho quando você sai andando.
  6. Favoritos: clique com o botão direito num portal do mapa pra favoritar. Os favoritos aparecem numa lista na esquerda sempre que o mapa abre: clique num deles ou aperte 1–9 pra viajar. Eles ficam salvos no seu personagem.

Tipos de portal

Tipo Quem pode usar
Pessoal Só o dono (nem membros da guilda)
Público Todo mundo
Guilda O dono e os membros da guilda dele
Aliança O dono, a guilda dele e as guildas aliadas a ela
Grupo O dono e quem estiver no grupo dele no momento

Guilda, Aliança e Grupo usam a guilda e o grupo do ValheimNPCs. Sem ele, essas opções ficam desativadas. Vale a guilda/grupo atual do dono: se alguém entra ou sai, o acesso muda na hora. Convidado temporário da guilda não conta. Aliança usa as alianças feitas no ValheimNPCs (as atuais: aliança desfeita perde o acesso na hora); o aliado usa o portal mas não remove nem mexe na área.

Proteção

  • Só o dono ou ADMs podem remover ou danificar o portal. O servidor também pode liberar pra guilda do dono (GuildaPodeQuebrar); grupo e aliança nunca podem.
  • Só o dono ou ADMs podem mudar a configuração (conferido pelo servidor).
  • Área protegida: num raio em volta de cada portal (6 m por padrão) ninguém destrói construções nem cava/mexe no terreno. Só ADMs e, se a config deixar, o dono do portal (e a guilda dele, com GuildaPodeQuebrar).
  • Monstros não danificam portais nem construções na área protegida (configurável).
  • O status de ADM vem do adminlist.txt do servidor.

Viagem

  • Minério e metal são bloqueados igual ao vanilla, a não ser que o servidor libere (PermitirItensNaoTeleportaveis) ou o modificador de mundo "teleportar tudo" esteja ligado.
  • Tempo de espera e custo por viagem opcionais (os dois desligados por padrão).

Idiomas / tradução

  • O mod vem em inglês e português (Brasil) e segue o idioma escolhido no jogo.
  • Traduza pra sua língua: abra BepInEx/config/ValheimPortals/translations/, copie o English.txt, renomeie com o nome do idioma no Valheim (German.txt, Russian.txt, Spanish.txt, French.txt, Polish.txt...) e traduza o lado direito de cada linha chave = texto. Linha que faltar fica em inglês.
  • Fez uma tradução? Manda no Discord que ela pode vir junto com o mod!

Config

BepInEx/config/ValheimPortals/ValheimPortals.cfg

  • A config do servidor é enviada pra todos os jogadores quando eles entram, então mudar o .cfg no seu PC não muda as regras. Só o EfeitoPortalAtivo e o DistanciaFecharMapa são de cada jogador.
Opção Padrão O que faz
TipoPortaisAntigos Publico Tipo dos portais construídos antes do mod
DistanciaSaida 2.5 Distância à frente do portal de destino onde você aparece
PermitirItensNaoTeleportaveis false Deixa passar minério/metal
BloquearDanoDeNaoJogadores true Monstros não danificam portais nem construções na área protegida
RaioAreaProtegida 6 Raio da área protegida em metros (0 = desliga)
DonoPodeMexerNaArea true O dono pode construir/destruir/cavar na área
GuildaPodeQuebrar false A guilda do dono também pode remover/danificar o portal e mexer na área
TempoDeEsperaSegundos 0 Espera entre uma viagem e outra (0 = desliga)
ItemDeCusto (vazio) Prefab do item cobrado por viagem, ex.: Coins (vazio = desliga)
QuantidadeDeCusto 0 Quantidade cobrada por viagem (0 = desliga)
PermitirFavoritos true Jogadores podem favoritar portais e usar a lista de favoritos
EfeitoPortalAtivo false Mostra o redemoinho de portal conectado (de cada jogador)
DistanciaFecharMapa 1 Quantos metros você anda de onde o mapa abriu até ele fechar (de cada jogador)

Observações

  • Portais que já existiam no mundo continuam funcionando, com a tag antiga como nome e o tipo de TipoPortaisAntigos.
  • O mapa precisa estar ativo no mundo.
  • Servidor e jogadores precisam da mesma versão do mod; se for diferente, aparece um aviso na tela e no chat.

🛡️ More mods by Morgnar · Mais mods do Morgnar

Click an icon to open the mod · Clique no ícone pra abrir o mod

ValheimSeasons ValheimNPCs ValheimHUD ValheimRacesFantasy ValheimHolster ValheimMenu ValheimTattoos ValheimBarber ValheimNotice ProgressiveSerpentSpawner

Changelog

1.0.5 Latest

English

  • Only the portal owner and admins can remove or damage a portal and change its protected area. Guild members can't anymore, unless the server turns on GuildaPodeQuebrar (off by default).

Português

  • Só o dono do portal e os ADMs podem remover ou danificar o portal e mexer na área protegida. Membros da guilda não podem mais, a não ser que o servidor ligue GuildaPodeQuebrar (desligado por padrão).
1.0.4

English

  • Favorite portals: right-click a portal on the map to favorite it (right-click again to remove). When the map opens, your favorites show in a list on the left: click one or press 1–9 to travel right away. Favorites are saved with your character (by the portal's position, so they survive server restarts). The server can turn this off with PermitirFavoritos.
  • Less lag on big worlds: the server no longer scans the whole world every time someone steps into a portal.

Português

  • Portais favoritos: clique com o botão direito num portal do mapa pra favoritar (botão direito de novo tira). Quando o mapa abre, os favoritos aparecem numa lista na esquerda: clique num deles ou aperte 1–9 pra viajar na hora. Os favoritos ficam salvos no seu personagem (pela posição do portal, então não somem quando o servidor reinicia). O servidor pode desligar com PermitirFavoritos.
  • Menos travadinha em mundo grande: o servidor não varre mais o mundo inteiro toda vez que alguém entra num portal.
1.0.3

English

  • New portal type: Alliance. The owner, the owner's guild and the guilds allied with it (alliances from ValheimNPCs) can use it. Allies can't remove the portal or change its protected area. The Guild type stays only for the guild.
  • Vanilla click sound in the portal window (buttons, icons and color sliders).
  • Picking Alliance also highlights Guild (alliance includes the guild); clicking Alliance again turns it off and leaves only Guild.
  • Update the server and every player together.

Português

  • Tipo novo de portal: Aliança. Usam o dono, a guilda dele e as guildas aliadas a ela (alianças do ValheimNPCs). O aliado não remove o portal nem mexe na área protegida. O tipo Guilda continua só pra guilda.
  • Som de clique vanilla na janela do portal (botões, ícones e barras de cor).
  • Escolher Aliança marca a Guilda junto (a aliança inclui a guilda); clicar de novo na Aliança tira ela e fica só a Guilda.
  • Atualize o servidor e todos os jogadores juntos.

3 older entries, full version history & downloads →

Files

5 files · 258 KB download

Loading files…

Manual installation instructions
1

Install BepInExPack Valheim

BepInExPack Valheim is required to run mods in Valheim.

Download BepInExPack Valheim 5.4.2360 · View mod page

Check out the mod page for detailed installation instructions.

2

Install ValheimPortals

This mod must be installed on both the client and the server.

Download ValheimPortals 1.0.5

Extract the ZIP and place the file(s) into the BepInEx/plugins/ folder inside your Valheim game folder.