Force Port

Quick rating

Force Port

No reviews yet

A mod that forces the port to always be the same when using the "Open To LAN" feature!

Mod Loaders
Fabric
Quilt
Minecraft
26.1

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.0.2+26.1
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Force Port

Download from Modrinth

A mod that forces the port to always be the same when using the "Open To LAN" feature!

Client-side only!

Demonstration

The configuration menu on recent Minecraft versions

Usage

Force Port allows you to modify the default port used when opening your world to LAN. This is useful for those who want to use a specific port for their server.

Just go to the installation location for that Minecraft instance, and open the config folder. You should see a file called forceport.txt. Open it with a text editor and change the port to your desired port.

Compatible Versions

Mod Version Game Version(s) Mod Version Title
1.0.1 1.14+ force-port-fabric-1.0.1
1.0.0 1.14+ force-port-fabric-1.0.0

Important Note

  • This mod hasn't been tested full on older Quilt versions or older mod loaders. However, this mod does work on Fabric for 1.14 and above using Mod Loader 0.16.0+
    • If you're using the latest Minecraft versions, you can use this mod without any issues.
    • The Fabric API is NOT required for this mod to work.
    • This mod is built with Java 21, so you need to change your Java version to 21 (or above) in the instance settings to run this mod, on any versions prior to 1.20.5.
    • As of 1.0.1, if the config file is not valid, it will default to 25565 (the default port for Minecraft servers). This is to prevent the mod from crashing. If the mod doesn't seem to work, please verify your config file!

Changelog

1.0.1

  • Fixed a bug where the mod would crash if newlines were added into the forceport.txt file (a default feature in some Linux text editors).
  • Added a check to make sure the port is a number and is between 0 and 65535.

Screenshots

Gallery

  • Open To LAN screen
    Open To LAN screen By default, Force Port uses Port 25565, and this will be the chosen port on the screen, unless you configure the mod to use another port!

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~3,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works