1

Different behavior across server and local? (1.13.1)

Oxymoron32GB •9/9/18 2:46 pm
•
255
•
9/14/2018 9:04 pm

I'm experiencing some differences between playing on a server and local.

In my house I run a server for a handful of players.
On that server I built a simple hostile mob farm. Platforms covered from the sun, water occasionally pushing the mobs off and the mobs dying due to fall damage.
After spending time AFK at it for a number of hours... it produced basically nothing.

During my troubleshooting process, I downloaded a copy of the world to my computer and sat AFK by the farm, and this time it produces drops just fine.

Any idea why the game would act differently when playing on the server and playing the same world locally?
The server is set to normal difficulty, and the spawn-monsters setting in server.properties is set to true.
Hostile mobs spawn elsewhere in the world, but for some reason not inside the farm itself.

A little bit of context, if it helps:

The server used to be a Spigot 1.12.2 server. Spigot 1.13 was taking a while to release (it's still not ready as of this post) so I switched to vanilla 1.13.
I manually rearranged the dimension folders to match the vanilla world format, and everything seems intact.
Posted by
Oxymoron32GB
Level 1 : New Miner
0

  Have something to say?

Join • Sign in

5

Vepii
• 09/14/2018 9:04 pm
• Level 24 : Expert Sus Button Pusher
Is the farm on the server in an area where there might be some kind of land claiming preventing the mobs to spawn?
1
InfiniteCorners
• 09/14/2018 5:15 pm
• Level 2 : Apprentice Miner
history
You mentioned that you set this server up for a handful of people, were any of them online while you were testing your build? If so that's most likely your issue. SMP's hostile mob spawning rules are a bit different than SSP's because there are multiple players to take into account when spawning. In SSP you have a set mob cap and mobs are spawned >24 blocks from a player and despawn if they are >128 blocks away from them so making a platform, which is the only valid spawning area within 128 blocks of you, is an effective way to focus the mobs. On SMP there is a dynamic mob cap shared by players, the more players there are the higher it gets, however when the game checks for mob spawning it doesn't check PlayerA for 70 mobs and PlayerB for 70 mobs, it checks PlayerA and PlayerB for 140 mobs (Numbers are just examples and not accurate). If you are on an isolated platform but someone else is running around on the ground somewhere else then they'll probably have about 6x as many available spawn locations around them which means the mobs will favor them in spawn numbers 6:1. This gets even more exaggerated as the mobs you have start dying while his go untouched- i.e. If you have if you 12 mobs and PlayerB has 72 (due to normal play) and you kill all 12 of your mobs, you'll probably only have 2 respawn on your platform, then 1, then none.

It is also worth noting that another player can effectively hault SMP hostile mob spawning just by grinding at a farm that uses something that bypasses the global mob cap like spawners or nether portals. In fact my goldfarm, of only 99 portals, shuts down hostile mob spawning for other players on my server within minutes of me arriving there.

For these reasons I've always advised against players building or relying upon natural spawn mob spawners for loot and grinding in SMP- it just stops once someone else logs on. Even endermen farms have started being abandoned since more players are in the End now hunting cities and elytra. It's like the overworld, once you have someone on an island your platform is no longer a focused spawn area.

I don't know if this was helpful at all, since I don't know if you were online alone or not, but I feel like I've answered the question of why the game might be acting differently. Good luck.
1
ShelLuser
• 09/09/2018 3:18 pm
He/Him • Level 61 : High Grandmaster Senpai
This is just a hunch on my part but I think you're experiencing a combination of issues. First you have a modded 1.12 world which you upgraded to 1.13 in vanilla. That's bound to cause some damage. Then I'm also not too sure about your manual rearrangement. Why would you do that? Both Spigot as well as vanilla basically use the same hierarchy in the DIM folders, so I don't really see the need to change anything in there.

The good news though is that theoretically you now should have no problem doing this the other way around. So copy your single player world back onto the server and see what happens next, I wouldn't be surprised if it started working again. Be careful though: always make backups just to be safe.

Reminds me, you could check for a few gamerules to be sure. Just use the command as I shared, then it should show you the current value:
  • /gamerule doMobLoot

  • /gamerule doTileDrops
  • /gamerule doEntityDrops
Only the first is important for mobs to drop items, but in a normal situation all these rules should be set to true.

Hope this can help
1
Oxymoron32GB
• 09/09/2018 4:08 pm
• Level 1 : New Miner
history
The server makes backups daily so I can revert, yes.
I checked those gamerules and they are all set to true.

Also about the folder structure between Spigot and vanilla.

I'm looking at a backup I made before switching to vanilla 1.13 (still Spigot 1.12.2), and the folder structure doesn't look like a vanilla world.
Each dimension is in a separate folder titled world2, world2_nether, world2_end.
(Called world2 because I renamed it from the original world)
Unlike vanilla where there is an overall world folder and inside has DIM1 and DIM-1.
1

Welcome