#Adding new Mods to an existing Modpack

135 messages · Page 1 of 1 (latest)

ornate junco
#

I wanted to add a new Mod (Create) to my existing Modpack (BMC 1 1.19.2 Fabric) and I tried everything in an offline world before loading everything on the server. I found all the issues and now it is running offline. But if I do the same changes in the Server files, the server is not even starting anymore. No crash, no errors. Just refusing to start. Any thoughts on fixing this issue?

crimson creek
#

no log files at all?

runic talon
crimson creek
#

!llogs

lethal berryBOT
#

Please send some logs over so we can help resolve your issue. To access logs on your Minecraft server, please navigate to your server panel's File Manager and take the following path:

1. Open the Server's File Manager
2. Navigate inside the 'logs' folder
3. Click on "latest.log" to download it and send the file over Discord to this channel.
crimson creek
#

if you don't see that, then the problem is not you, it's something else. in which case open a ticket.

#

!ticket

lethal berryBOT
ornate junco
#

Okay, I found the logs. They are pretty long and I will try figuring out the mod dependancies first. Maybe I can fix most of it myself. I will update you later. Thank you for your help!

crimson creek
#

!serverpackcreator

runic talon
ornate junco
runic talon
#

wdym?

crimson creek
#

but if you suddenly decide to add or remove to include both, mods from that pack after 2 months (like ever actually, simply after playing) and expect nothing to be damaged, good luck. it mostly likely will.

#

after making 77 modpacks at about average 100 iterations each, i can tell you, that the last thing you want to do is remove mods. typically, worldgen mods (trees, ores, structures) will cause world issues if removed, mostly likely your world will look like swiss cheese if you remove them with holes everywhere in it.

#

tech and magic not so much except your players will ask you where their thing a ma jig of mystical wonders went and then start up their wambulances about all their lost items.

#

unless the tech and magic also did worldgen, then it gets worse you see.

#

HOWEVER, if you mean when you use serverpackcreator to turn your modpack that works great offline into a server pack. Context you know. Even @runic talon wasn't sure of what you meant. Well, then, yes if you create a server locally on your machine using server pack creator. and connect to it with your own copy to make sure it works, yeah, BH won't have no issues with that. upload it to your server. however do it is this way.

1. on the home panel choose swap jar
2. find the mod loader and version you will be using that matches what serverpackcreator made for you
3. install it, let it do its thing.
4. start it once
5. stop it when it is loaded
6. delete world folder it made
7. upload your config/mods/scripts/kubejs folders you might have
   - for easier time, zip the folders first, upload them, then unarchive them
8. start the server
9. enjoy
ornate junco
#

Thank you so much for your advice! I really thought it would be easy to just add a new mod to an existing Modpack. Turns out: It´s not. I thought if the Version of Minecraft and the Version of Fabric are the same, there will be no issues. But now I can try implementing it and test it on the Serverpackcreator. We will see how it turns out.

crimson creek
#

I wrote an article on the subject of making mod packs. I recommend giving it a read to get up to speed quickly on all the nuances involved.

Do note that the larger a pack is over 200 mods, they more unstable it is if tweaked or modified in any way.

https://kreezcraft.com/making-a-mod-pack/

ornate junco
ornate junco
#

So I managed to add the Create Mod and the server is loading. But I ran into another issue: All the mobs and items on the floor are laggy (eating aswell), but the FPS are fine and the Server-RAM is fine aswell. Can this be an issue caused by the new mods?

crimson creek
ornate junco
#

I don't think the items on the ground are the issue. Before I installed the mod, everything was running smoothly. Now I am experiencing severe lags. Is there a mod or program that can help me determine if one of the installed mods is causing the lags?

lethal berryBOT
#

Spark
How to provide a Spark sampler.

  1. Stop your server.
  2. Download Spark: https://modrinth.com/mod/spark/versions
  3. Upload the mod to your server:
    Filemanager > mods (for modded servers)
    or Filemanager > plugins (for plugin based servers)
    (Just drag & drop the file)
  4. Start the server.
  5. Use the command /spark sampler
  6. Wait 10-15 minutes.
  7. Use the command /spark sampler --stop
crimson creek
#

however, i recommend 30 minutes over the lag not 15

ornate junco
#

Okay, so I should use sampler, not profiler?

ornate junco
#

How do I interpret the results? So I can see my TPS and MSPT are pretty bad, but I don´t understand the "Mods" part or i don´t know how to interpret it.

crimson creek
#

share the report here and quite a few of us can help you interpret it.

ornate junco
#

Just the link or the file I can download?

crimson creek
#

the link it generated that's all we need

ornate junco
crimson creek
#

all of which will die with that command and you probably go, oh that's what that mod is

ornate junco
#

But where? I know like 10 armor stands in the basement. No more or less

crimson creek
#

you got something that is doing this, looks like it might a command block machine.

#

still drilling down, i see something is spamming armorstands.

ornate junco
#

What can cause an issue like this?

crimson creek
#

hit a dead end, but now we have a clue, well two clues.

ornate junco
#

Is it a specific mod or what can spam armor stands?

crimson creek
#

i don't know yet.

#

are you the only one that has joined the server?

#

do others have operator status?

#

are commaned blocks enabled?

#

my guess is someone built a command block machine that is using armorstands to get a ton of materials.

ornate junco
#

Only me and my best friend are playing on the server

crimson creek
#

yes, but the server world isn't fresh, and you said "during", meaning the command block machine is likely in the spawn chunks which are always loaded.

ornate junco
#

We both have op

crimson creek
#

yeah, i want to say your friend built something.

#

here's an idea

#

edit server.prorperties and change level-name to a new name.

#

restart the server

#

like call it world2

#

then see if the lag is still there.

#

don't give your friend op

#

also, don't give yourself op either.

#

you're playign the pack you made. op is to fix stuff, then you deop yourself.

#

being op is too powerful

#

my friends and I wrecked many of our own servers by being op till i got smert and realized us being op was a big part of the problem.

ornate junco
crimson creek
ornate junco
crimson creek
#

she may have found a command block machine on planetminecraft or something and installed it.

#

have her set the level-name to world2 and restart the server, give no one op.

#

don't install anything that is not a mod, if it's a command block structure don't install it.

crimson creek
#

she does it the game control panel

ornate junco
#

This will not delete the world, does it?

crimson creek
#

it will not delete the existing world

#

that's mine

#

if i changed that to say world2 or cheeseburger, it would make a new folder of the same name with a new world in it

#

and the original "world" will still be there for me to go back too.

ornate junco
#

turn the server off first?

crimson creek
#

it wouldn't hurt

ornate junco
#

how do I change back to "world" after creating "world 2"?

crimson creek
#

don't put spaces in the name

#

after you try world2 and you want to go back to the other world, stop the server, change level name back to world and start the server

ornate junco
#

I created a Backup before I started modding yesterday. I can always restore the Backup to set all the folders back to where it was before, right?

crimson creek
#

yes

#

but we're not deleting a folder,

#

we're changing the level name, the minecraft server won't delete the previous world folder when the level name changes, it will only make a new folder with the new world of that new name in it.

#

ie world2 will spring in to existence.

ornate junco
#

I will try it

#

World2 is not lagging

crimson creek
#

hmm

#

i wonder what that means

#

i recommend no one gets op for two days. both of you play the pack you made hard. see how it goes.

ornate junco
#

How do I fix the problem on the first world then? Am I able to deactivate the command block?

crimson creek
#

if it lags again, run another spark report, plus send over a latest.log

#

in server.properties there is a field called "enable command blocks", it is likely set to true, by default it is false.

#

command blocks don't run unless that is set to true.

#

which means command block usage is deliberate by operators

#

now if you check it and enable command blocks is false

crimson creek
#

meaning your friend enabled it, servers always come with it set to off

#

whats in your other world that you don't want to lose?

ornate junco
#

Is it possible to set commandblocks on false and just delete the armor stands created?

crimson creek
#

yes

#

/kill @e[type=armor_stand]

#

set the command blocks to false, change level-name back to the first name you had

#

restart the server

#

run that command

ornate junco
#

Will it also destroy armor stands with armor on it?

crimson creek
#

yes

#

it is indiscriminate

#

mabye safeguard your regular armor first

ornate junco
#

So I can take off the armor first and safe it in a chest befor running the command?

crimson creek
#

yes

ornate junco
#

Okay, I will try it.

ornate junco
#

It worked

#

lags are gone

#

wow

#

THANK YOU SO MUCH

#

But the problem isn´t solved 100% i guess. Armor stands are still spawning, but command blocks are set to false

ornate junco
novel night
#

Then it's a datapack or a mod.

crimson creek
#

some mods use armor stands for things. see how it goes, check your spark report when lag gets bad. if it's the armor stands again, you'll need to use my article to find the bad mod(s).

ornate junco
#

Okay, I will run through the new mods I added yesterday and use your article for troubleshooting. Thank you so much for your help finding the issue! I never thought armorstands can cause so much lag.

novel night
#

It depends on what the armor stand is doing.

ornate junco
#

What could be the reason for a mod to constantly spawn armor stands?

crimson creek
# ornate junco What could be the reason for a mod to constantly spawn armor stands?

who knows, first you have to identify the mod, then you have to tell the mod author what the mod is doing, then they will look at their code, and if you're lucky, they will tell you what they did wrong in their code that caused it. This is assuming they were not some fly-by-night one time coder that needed a mod for the few days they played minecraft.

#

lots of those mods are out there.