Join our discord
In partnership with NodeCraft Logo NodeCraft


You are not logged in! Create an account or login to contribute! Log in here!

Difference between revisions of "Server installation/pt-br"

From Pixelmon Wiki
(Created page with "Instalação de servidor")
 
m (Text replacement - "https://minecraft.gamepedia.com" to "https://minecraft.wiki")
 
(One intermediate revision by one other user not shown)
Line 16: Line 16:
 
== Notas ==
 
== Notas ==
 
* Este guia pretende explicar a hospedagem local, '''o que geralmente significa que apenas pessoas em sua própria rede local podem se conectar!''' Veja abaixo.
 
* Este guia pretende explicar a hospedagem local, '''o que geralmente significa que apenas pessoas em sua própria rede local podem se conectar!''' Veja abaixo.
** Se você deseja abrir seu servidor local para conexões remotas, verifique [https://minecraft.gamepedia.com/Tutorials/Setting_up_a_server#Port_forwarding|esta página].
+
** Se você deseja abrir seu servidor local para conexões remotas, verifique [https://minecraft.wiki/Tutorials/Setting_up_a_server#Port_forwarding|esta página].
 
** Para servidores maiores, o uso de um serviço de hospedagem pago é altamente recomendado para desempenho, estabilidade e segurança. As etapas podem ser diferentes.
 
** Para servidores maiores, o uso de um serviço de hospedagem pago é altamente recomendado para desempenho, estabilidade e segurança. As etapas podem ser diferentes.
 
* Se você está usando Turco como sistema de idioma, você pode ver um erro <code>Fatally missing registry entries</code> ao tentar conectar e algumas coisas podem não funcionar corretamente no servidor. Este é um problema do Forge. Mudando o sistema de idioma para Inglês deve corrigir o erro.
 
* Se você está usando Turco como sistema de idioma, você pode ver um erro <code>Fatally missing registry entries</code> ao tentar conectar e algumas coisas podem não funcionar corretamente no servidor. Este é um problema do Forge. Mudando o sistema de idioma para Inglês deve corrigir o erro.
 
* Os parâmetros de inicialização mencionados neste guia foram retirados diretamente de [https://forums.spongepowered.org/t/optimized-startup-flags-for-consistent-garbage-collection/13239|Excelente guia de sinalizadores de inicialização de Aikar], e são otimizados para desempenho. Confira a postagem vinculada para obter uma explicação sobre por que vale a pena usá-los.
 
* Os parâmetros de inicialização mencionados neste guia foram retirados diretamente de [https://forums.spongepowered.org/t/optimized-startup-flags-for-consistent-garbage-collection/13239|Excelente guia de sinalizadores de inicialização de Aikar], e são otimizados para desempenho. Confira a postagem vinculada para obter uma explicação sobre por que vale a pena usá-los.
  
==Versions==
+
==Versões==
Pixelmon is compatible with several versions of ''Minecraft'', shown in the table below. Each version of ''Minecraft'' requires a different version of Pixelmon to be used. Note that versions of Pixelmon for older versions of ''Minecraft'' will no longer receive updates or bug fixes.
+
Pixelmon é compatível com muitas versões de ''Minecraft'', mostrado na tabela abaixo. Cada versão de ''Minecraft'' requer uma versão diferente de Pixelmon para ser usado. Note que versões de Pixelmon com versões mais velhas de ''Minecraft'' não vão mais receber correções de bugs.
  
There is no Pixelmon version for ''Minecraft'' version 1.11.
+
Não há uma versão de Pixelmon para ''Minecraft'' 1.11.
  
 
Players connecting to a server must use the same version of Pixelmon that the server is using. If their version differs, they will be shown a "Mod Rejection" error and will be unable to join.
 
Players connecting to a server must use the same version of Pixelmon that the server is using. If their version differs, they will be shown a "Mod Rejection" error and will be unable to join.
Line 48: Line 48:
 
|}
 
|}
  
== Step 1: Forge installation ==
+
== Passo 1: Instalação do Forge ==
# Find the current recommended Forge build on [https://files.minecraftforge.net/maven/net/minecraftforge/forge/index_1.12.2.html this page].  
+
# Encontre a versão atual recomendada do Forge [https://files.minecraftforge.net/maven/net/minecraftforge/forge/index_1.12.2.html nesta página].  
# Download the "Installer" file and run it.
+
# Baixe o arquivo "Instalador" e execute-o.
#* ''Note: Some Windows setups may need Forge 2847's "Installer-win" file from "Show all Versions" instead. Try this if nothing happens.
+
#* ''Nota: Algumas configurações do Windows podem precisar do "Installer-win" do arquivo Forge 2847 em "Mostrar todas Versões". Tente isso se não der certo.
# Select "Install server" and pick the location you want your server installed to, and then click "OK".
+
# Selecione "Instalar servidor" e escolha o local que você queira que seja instalado, então clique em "OK".
#* ''Note: The location chosen here will contain your server's files. An easily accessible folder is recommended!''
+
#* ''Nota: O local escolhido aqui vai conter os arquivos de seu servidor. É recomendada uma pasta facilmente acessível!''
# Open the folder that you installed Forge to. Proceed with the steps for your specific operating system.
+
# Abra a pasta que você instalou o Forge. Prossiga os passos para seu sistema operacional específico.
  
==== Starting on Windows ====
+
==== Começando no Windows ====
# If you haven't already, enable showing file extensions by following [https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/ this guide].
+
# Se ainda não o fez, ative a exibição de extensões de arquivo seguindo [https://www.bleepingcomputer.com/tutorials/how-to-show-file-extensions-in-windows/ este guia].
# Within the server's base ('''"root"''') folder, create a new file named <code>start.bat</code> or something similar.
+
# Dentro da base do servidor na pasta ('''"root"'''), crie um novo arquivo chamado <code>start.bat</code> ou algo similar.
#* ''Note: You can give the file another name, but make sure it ends in <code>.bat</code>.''
+
#* ''Nota: Você pode dar outro nome ao arquivo, mas certifique-se de que ele termine com <code>.bat</code>.''
# Right click this file, and click <code>Edit</code>.
+
# Clique com o botão direito neste arquivo e clique em <code>Editar</code>.
# Copy the following contents into the file:
+
# Copie o texto abaixo e cole no arquivo:
 
#: <pre>java -Xms3G -Xmx3G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AlwaysPreTouch -jar forge-[VERSION].jar nogui&#10;PAUSE</pre>
 
#: <pre>java -Xms3G -Xmx3G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AlwaysPreTouch -jar forge-[VERSION].jar nogui&#10;PAUSE</pre>
# Replace <code>[VERSION]</code> with the version of Forge you installed. Make sure the file name is an exact match!
+
# Substitua <code>[VERSION]</code> para a versão do Forge que você instalou. Tenha certeza que o nome do arquivo é exatamente o mesmo!
# If necessary, change the amount of allocated memory (<code>-Xmx3G</code>) and the minimum (<code>-Xms3G</code>) to your desired amount.
+
# Se necessário, mude a quantidade de memória alocada em (<code>-Xmx3G</code>) e o mínimo (<code>-Xms3G</code>) para o valor desejado.
# Save the file and double-click it to start the server.
+
# Salve o arquivo e clique duas vezes nele para iniciar o servidor.
  
==== Starting on macOS/Linux ====
+
==== Começando em macOS/Linux ====
# Open the Terminal or its equivalent.
+
# Abra o Terminal ou seu equivalente.
# Navigate to the home folder by using <code>cd ~</code>. Use <code>ls</code> to show the folders accessible from your current location.
+
# Navegue até a pasta inicial usando <code>cd ~</code>. Use <code>ls</code> para mostrar as pastas acessíveis a partir de sua localização atual.
# Find the folder you installed Forge to. Use <code>cd FOLDERNAME</code> to enter a folder, and <code>cd ..</code> to go back up one level.
+
# Encontre a pasta em que você instalou o Forge. Use <code>cd NOMEDAPASTA</code> para entrar na pasta, e <code>cd ..</code> para voltar a subir um nível.
# In the Terminal, enter (copy and paste) the following command, but do not run it yet:
+
# No Terminal, digite (copie e cole) o seguinte comando, mas não o execute ainda:
#: <pre>java -Xms3G -Xmx3G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AlwaysPreTouch -jar forge-[VERSION].jar nogui</pre>
+
#: <pre>java -Xms3G -Xmx3G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AlwaysPreTouch -jar forge-[VERSÃO].jar nogui</pre>
# Replace <code>[VERSION]</code> with the version of Forge you installed. Make sure the file name is an exact match!
+
# Substitua <code>[VERSÃO]</code> pela versão do Forge que você instalou. Tenha certeza que o nome é exatamente o mesmo do arquivo!
# Copy the command somewhere safe for later use.
+
# Copie o comando em algum lugar seguro para uso posterior.
# Run the command to start the server.
+
# Execute o comando para iniciar o servidor.
  
== Step 2: Accepting the EULA ==
+
== Passo 2: Aceitando o EULA ==
# Check the console. You should see a message stating that the server has been stopped.  
+
# Verifique o console. Você deve ver uma mensagem informando que o servidor foi interrompido.
# In the server's root folder, open the newly generated <code>eula.txt</code> file with a text editor.
+
# Na pasta root do servidor, abra o recém-gerado <code>eula.txt</code> com um editor de texto (pode ser bloco de notas do windows, mas aconselhamos usar Notepad++)
# Read ''Minecraft'''s [https://account.mojang.com/documents/minecraft_eula End User License Agreement] carefully.
+
# Leia o [https://account.mojang.com/documents/minecraft_eula Contrato de Licença de Usuário Final] do ''Minecraft'' cuidadosamente.
# If you agree, change <code>eula=false</code> to <code>eula=true</code>, and save the file.
+
# Se você aceitar, mude <code>eula=false</code> para <code>eula=true</code>, e salve o arquivo.
# Start the server again, and wait for it to create a fresh world.
+
# Inicie o servidor novamente e aguarde para que um mundo novo seja criado.
  
 
== Step 3: Installing Pixelmon ==
 
== Step 3: Installing Pixelmon ==

Latest revision as of 01:41, 25 September 2023

Other languages:
English • ‎español • ‎français • ‎português • ‎português do Brasil

Este guia irá te ajudar a instalar Pixelmon em um servidor.

Se você estiver procurando por instruções sobre como instalar Pixelmon (para um único jogador ou ingressar em um servidor existente), verifique a página Instalação. Se você planeja instalar outros mods junto com Pixelmon, certifique-se de verificar a lista de incompatibilidades antes para evitar problemas.

Requisitos

  • Pelo menos 3 GB de memória alocada, de preferência mais. Os requisitos exatos dependerão da contagem de jogadores e de seus mods / plug-ins exatos.
  • Uma versão Java 8 de 64 bits. 'Versões anteriores ou posteriores do Java não funcionarão!'

Notas

  • Este guia pretende explicar a hospedagem local, o que geralmente significa que apenas pessoas em sua própria rede local podem se conectar! Veja abaixo.
    • Se você deseja abrir seu servidor local para conexões remotas, verifique página.
    • Para servidores maiores, o uso de um serviço de hospedagem pago é altamente recomendado para desempenho, estabilidade e segurança. As etapas podem ser diferentes.
  • Se você está usando Turco como sistema de idioma, você pode ver um erro Fatally missing registry entries ao tentar conectar e algumas coisas podem não funcionar corretamente no servidor. Este é um problema do Forge. Mudando o sistema de idioma para Inglês deve corrigir o erro.
  • Os parâmetros de inicialização mencionados neste guia foram retirados diretamente de guia de sinalizadores de inicialização de Aikar, e são otimizados para desempenho. Confira a postagem vinculada para obter uma explicação sobre por que vale a pena usá-los.

Versões

Pixelmon é compatível com muitas versões de Minecraft, mostrado na tabela abaixo. Cada versão de Minecraft requer uma versão diferente de Pixelmon para ser usado. Note que versões de Pixelmon com versões mais velhas de Minecraft não vão mais receber correções de bugs.

Não há uma versão de Pixelmon para Minecraft 1.11.

Players connecting to a server must use the same version of Pixelmon that the server is using. If their version differs, they will be shown a "Mod Rejection" error and will be unable to join.

Minecraft version Pixelmon version
1.12.2 8.1.2
1.10.2 5.1.2
1.8.9 4.3.1
1.8 4.1.4
1.7.10 3.5.1

Passo 1: Instalação do Forge

  1. Encontre a versão atual recomendada do Forge nesta página.
  2. Baixe o arquivo "Instalador" e execute-o.
    • Nota: Algumas configurações do Windows podem precisar do "Installer-win" do arquivo Forge 2847 em "Mostrar todas Versões". Tente isso se não der certo.
  3. Selecione "Instalar servidor" e escolha o local que você queira que seja instalado, então clique em "OK".
    • Nota: O local escolhido aqui vai conter os arquivos de seu servidor. É recomendada uma pasta facilmente acessível!
  4. Abra a pasta que você instalou o Forge. Prossiga os passos para seu sistema operacional específico.

Começando no Windows

  1. Se ainda não o fez, ative a exibição de extensões de arquivo seguindo este guia.
  2. Dentro da base do servidor na pasta ("root"), crie um novo arquivo chamado start.bat ou algo similar.
    • Nota: Você pode dar outro nome ao arquivo, mas certifique-se de que ele termine com .bat.
  3. Clique com o botão direito neste arquivo e clique em Editar.
  4. Copie o texto abaixo e cole no arquivo:
    java -Xms3G -Xmx3G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AlwaysPreTouch -jar forge-[VERSION].jar nogui
    PAUSE
  5. Substitua [VERSION] para a versão do Forge que você instalou. Tenha certeza que o nome do arquivo é exatamente o mesmo!
  6. Se necessário, mude a quantidade de memória alocada em (-Xmx3G) e o mínimo (-Xms3G) para o valor desejado.
  7. Salve o arquivo e clique duas vezes nele para iniciar o servidor.

Começando em macOS/Linux

  1. Abra o Terminal ou seu equivalente.
  2. Navegue até a pasta inicial usando cd ~. Use ls para mostrar as pastas acessíveis a partir de sua localização atual.
  3. Encontre a pasta em que você instalou o Forge. Use cd NOMEDAPASTA para entrar na pasta, e cd .. para voltar a subir um nível.
  4. No Terminal, digite (copie e cole) o seguinte comando, mas não o execute ainda:
    java -Xms3G -Xmx3G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AlwaysPreTouch -jar forge-[VERSÃO].jar nogui
  5. Substitua [VERSÃO] pela versão do Forge que você instalou. Tenha certeza que o nome é exatamente o mesmo do arquivo!
  6. Copie o comando em algum lugar seguro para uso posterior.
  7. Execute o comando para iniciar o servidor.

Passo 2: Aceitando o EULA

  1. Verifique o console. Você deve ver uma mensagem informando que o servidor foi interrompido.
  2. Na pasta root do servidor, abra o recém-gerado eula.txt com um editor de texto (pode ser bloco de notas do windows, mas aconselhamos usar Notepad++)
  3. Leia o Contrato de Licença de Usuário Final do Minecraft cuidadosamente.
  4. Se você aceitar, mude eula=false para eula=true, e salve o arquivo.
  5. Inicie o servidor novamente e aguarde para que um mundo novo seja criado.

Step 3: Installing Pixelmon

The -server jar is located on the main Pixelmon site underneath the downloads button. The red line indicates the link that is to be pasted into your browser for the download to commence.
  1. Shut down the server by typing stop into the console and hitting the "Enter" key.
  2. In the server's root folder, open the mods folder.
  3. Download Pixelmon from this link and drop it in. Do not extract or otherwise change this file!
    • Note: Pixelmon comes in both -universal and -server variants. The -server file (from the link below the buttons) is smaller and may include additional fixes, but will only work on servers.
  4. Start the server again. Your server should now be running Pixelmon!

Step 4: Configuring Pixelmon

  1. With Pixelmon running, you should now have a config folder in the server root. Open this.
  2. Find and open the pixelmon.hocon file with a proper text editor, such as Notepad++.
  3. Tweak to taste. Some settings will only apply to fresh chunks, so make sure you set those now.
    • Note: To avoid loot drain over time, be sure to change spawnMode under PokeLoot now!
  4. When done, use the /pokereload command. Some changes may require a server restart.

Optional: Sidemod installation

This section is optional. If you do not want to use any Pixelmon sidemods, skip this part of the guide.

  1. View the sidemods page for a list of sidemods that are compatible with your version of Pixelmon.
  2. If you find an interesting sidemod, check its wiki page for a list of requirements and fulfill them.
    • Note: Sidemod configuration files are generally created alongside Pixelmon's own config.
  3. Visit the Pixelmon downloads page to grab the files you want.
  4. After downloading a sidemod, drop its .jar file into your server's mods folder.
    • Note: You will need to restart the server for it to load up any new mods/sidemods.

Note that many sidemods require a plugin platform like SpongeForge (covered below) as well as a permissions plugin like LuckPerms. Be sure to check the requirements!

Optional: SpongeForge installation

This section is optional. If you do not want to use plugins or sidemods that rely on SpongeForge, skip this part of the guide.

  1. Download the recommended SpongeForge build from this page.
  2. Drop the downloaded SpongeForge .jar into your server's mods folder.
  3. Restart the server again.

You can now install plugins and sidemods that rely on SpongeForge. To find plugins, please visit this page.

Troubleshooting

  • If you need any further help, head on over to the Pixelmon Discord and drop your questions in #server-support.
  • If you are using SpongeForge, be sure to read the SpongeForge documentation on the Sponge site.
  • If you are having issues with a site-listed sidemod, report the issue to the sidemods bug tracker.

© 2012 - 2025 Pixelmon Mod