flatpak laggy single player

Having issues? Ask here!
Forum rules
- Search for existing answers before creating a new topic
- Topic titles must be descriptive and searchable
- Duplicate questions will be redirected to the existing answer(s) and locked.
User avatar
216598762
Noob
Posts: 16
Joined: Mon Jan 15, 2024 4:09 pm
Been thanked: 4 times

Re: flatpak laggy single player

Post by 216598762 »

Well, either I'm incredibly dumb, or executing the jar file with java is not doing anything.
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: flatpak laggy single player

Post by Ceikry »

216598762 wrote: Mon Jan 15, 2024 7:55 pm Well, either I'm incredibly dumb, or executing the jar file with java is not doing anything.
The server is not a GUI program. If you want to see visual feedback, it needs to be ran from a terminal.
Nerds
User avatar
216598762
Noob
Posts: 16
Joined: Mon Jan 15, 2024 4:09 pm
Been thanked: 4 times

Re: flatpak laggy single player

Post by 216598762 »

and I've come to the realization there are two plugin folders, one within the main folder, and another bundled in the singleplayer folder.

ran 'java -server.jar' from that folder and only got a classnotfoundexception
User avatar
Droll
Noob
Posts: 9
Joined: Wed Feb 15, 2023 1:05 am
Has thanked: 4 times
Been thanked: 4 times

Re: flatpak laggy single player

Post by Droll »

java -jar -Xmx2G -Xms2G -jar server.jar This is the command I used I pulled it directly from the shell script
User avatar
216598762
Noob
Posts: 16
Joined: Mon Jan 15, 2024 4:09 pm
Been thanked: 4 times

Re: flatpak laggy single player

Post by 216598762 »

It's running, now I need to run the client jar? or?
User avatar
Droll
Noob
Posts: 9
Joined: Wed Feb 15, 2023 1:05 am
Has thanked: 4 times
Been thanked: 4 times

Re: flatpak laggy single player

Post by Droll »

If you're using the launcher you should just be able to select local server and then click play you don't even have to mess with the client
User avatar
216598762
Noob
Posts: 16
Joined: Mon Jan 15, 2024 4:09 pm
Been thanked: 4 times

Re: flatpak laggy single player

Post by 216598762 »

Yep. Runs perfect now.
User avatar
Ceikry
Site Admin
Posts: 587
Joined: Wed Aug 10, 2022 11:48 pm
Location: Draynor Village
Has thanked: 82 times
Been thanked: 105 times

Re: flatpak laggy single player

Post by Ceikry »

That confirms it then. @Red Bracket, you need to ignore the client included with singleplayer, and just use whatever the launcher is bundled with. You could trivially make the launcher launch the client with the local server profile.
Nerds
Post Reply