Instalación de servidor
Esta guía abarcará la instalación de Special:MyLanguage/Pixelmon en un servidor.
Si estás buscando información para instalar Pixelmon por el lado del cliente (para un jugador o para unirse a un servidor), echa un vistazo en la página Instalación.
Contents
Requisitos
- Como mínimo 3 GB de memoria (y asignada) RAM disponible, preferiblemente más.
- Los requisitos necesarios dependerán del número de jugadores, y de los plugins/mods que instales.
- Una versión de 64-bit Java 8.
Notas
- Esta guía tiene como proposito explicar el alojamiento local (local host), ¡lo que generalmente significa que sólo puede conectarse gente de su porpia red local! Véase más adelante.
- Si lo que deseas es abrir tu servidor local a conexiones externas, mire esta página.
- Para servidores más grandes, usar un servicio de alojamiento de pago es muy recomendado para el rendimiento, estabilidad y seguridad del mismo.
- Si está utilizando un servicio de este tipo, los pasos a seguir pueden ser distintos. Compruebe con su proveedor los detalles técnicos.
- Esta guía abarcara la instalación de Forge y Pixelmon, junto con algunos requisitos esenciales. Otros mods pueden funcionar, pero no se incluirán aquí.
- Si está instalando otros mods junto con Pixelmon, consulte la lista de incompatibilidades primero para evitar problemas.
- El archivo de Pixelmon .jar es universal, lo que significa que el mismo archivo puede ser usado tanto en clientes como en servidores. También está disponible un archivo específico del servidor más pequeño, que son archivos que un servidor nunca utilizaría. Archivos con "-server" en el nombre no funcionarán en algo que no son servidores.
Versiones
Pixelmon es compatible con multitudo de versiones de Minecraft, señaladas en la tabla de más abajo. Cada versión de Minecraft requiere una versión diferente de Pixelmon para ser usado. Tenga en cuenta que las versiones de Pixelmon para versiones antiguas de Minecraft ya no recibirán actualizaciones o correciones de errores.
No existe una versión de Pixelmon para la versión 1.11 de Minecraft.
Los jugadores que se conecten a un servidor deben usar la misma versión de Pixelmon que el servidor está usando. Si la versión es diferente, se les mostrará un error "Mod Rejection" y no podrán unirse.
Versión de Minecraft | Versión de Pixelmon |
---|---|
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 |
Step 1: Forge installation
- Find the current recommended Forge build on this page.
- Download the "Installer" file and run it.
- Note: Some Windows setups may need Forge 2847's "Installer-win" file from "Show all Versions" instead. Try this if nothing happens.
- Select "Install server" and pick the location you want your server installed to, and then click "OK".
- Note: The location chosen here will contain your server's files. An easily accessible folder is recommended!
- Open the folder that you installed Forge to. Proceed with the steps for your specific operating system.
Starting on Windows
- If you haven't already, enable showing file extensions by following this guide.
- Within the server's base ("root") folder, create a new file named
start.bat
or something similar.- Note: You can give the file another name, but make sure it ends in
.bat
.
- Note: You can give the file another name, but make sure it ends in
- Right click this file, and click
Edit
. - Copy the following contents into the file:
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
- Replace
[VERSION]
with the version of Forge you installed. Make sure the file name is an exact match! - If necessary, change the amount of allocated memory (
-Xmx3G
) and the minimum (-Xms3G
) to your desired amount. - Save the file and double-click it to start the server.
Starting on macOS/Linux
- Open the Terminal or its equivalent.
- Navigate to the home folder by using
cd ~
. Usels
to show the folders accessible from your current location. - Find the folder you installed Forge to. Use
cd FOLDERNAME
to enter a folder, andcd ..
to go back up one level. - In the Terminal, enter (copy and paste) the following command, but do not run it yet:
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
- Replace
[VERSION]
with the version of Forge you installed. Make sure the file name is an exact match! - Copy the command somewhere safe for later use.
- Run the command to start the server.
Step 2: Accepting the EULA
- Check the console. You should see a message stating that the server has been stopped.
- In the server's root folder, open the newly generated
eula.txt
file with a text editor. - Read Minecraft's End User License Agreement carefully.
- If you agree, change
eula=false
toeula=true
, and save the file. - Start the server again, and wait for it to create a fresh world.
Step 3: Installing Pixelmon
- Shut down the server by typing
stop
into the console and hitting the "Enter" key. - In the server's root folder, open the
mods
folder. - 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.
- Start the server again. Your server should now be running Pixelmon!
Step 4: Configuring Pixelmon
- With Pixelmon running, you should now have a
config
folder in the server root. Open this. - Find and open the
pixelmon.hocon
file with a proper text editor, such as Notepad++. - 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
underPokeLoot
now!
- Note: To avoid loot drain over time, be sure to change
- 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.
- View the sidemods page for a list of sidemods that are compatible with your version of Pixelmon.
- 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.
- Visit the Pixelmon downloads page to grab the files you want.
- 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.
- Download the recommended SpongeForge build from this page.
- Drop the downloaded SpongeForge .jar into your server's
mods
folder. - 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.