#how do i prevent mobs from griefing bases in my server

46 messages · Page 1 of 1 (latest)

quartz fulcrum
#

i can change it in game but i want it as a perm thing

hollow void
#

gamerule mobGriefing false

#

This stops all mobs from 'ruining' the world by breaking blocks, trampling, etc

quartz fulcrum
#

that would be put in the server thing huh same way id op a player?

hollow void
#

It is a command an OP would run.

#

Console or slash command via op in chat

quartz fulcrum
#

when i do that next time i load the game its off

hollow void
#

Are you running a modpack of some kind?

quartz fulcrum
#

yea deceased craft

hollow void
#

By default a game rule is permanent unless--- ok so a modpack may have things that overwrite

quartz fulcrum
#

maybe i just tried it in the server quick console

#

ill try that and see

rare cedar
#

gamerules typically trump what packs want to do

#

granted i'm seem unnecessarily persnickety mods out there that ignore gamerules and implement their own thing. but they are rarely put in packs.

quartz fulcrum
#

yea i have to retype the rule in game

rare cedar
#

i'm not sure if that confirms anything

#

however there is a mod called "Global Gamerules" and you put the rules you want to ensure get run every server start in it.

#

you'll have to install the mod in your server, restart your server, stop your server, configure the rules you want it to load, and then start your server, then you won't have to issue the command ever again.

quartz fulcrum
#

tbh idk anything about loading mods thats why i use the gdlauncher

rare cedar
#

download the mod, upload it to your mods folder on the server

#

follow the rest of my instructions

quartz fulcrum
#

server folder would be off the website right not in my files

rare cedar
#

that's correct

quartz fulcrum
#

ah ok ill follow that

#

thank you

rare cedar
#

you don't need global game rules on your end

quartz fulcrum
#

now the server wont start gang

rare cedar
#

!llogs

torpid needleBOT
#

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.
rare cedar
#

did you add the right version of the mod to your server?

#

like if your server is minecraft 1.12.2, a 1.21.1 mod will not work in it

quartz fulcrum
#

yea it said all versions or something like that

#

one sec

rare cedar
#

or if your server is Fabric, a forge mod won't work in it

quartz fulcrum
#

that sould be the log sending

rare cedar
#

You're server is 1.18.2, the mod version you chose was 1.20

quartz fulcrum
#

i think i already had the on installed offa it just being in the modpack but put a too recent one in rn

rare cedar
#

remove global game rules 1.20

quartz fulcrum
#

done

rare cedar
#

get the one for 1.18.2