#how do i prevent mobs from griefing bases in my server
46 messages · Page 1 of 1 (latest)
gamerule mobGriefing false
This stops all mobs from 'ruining' the world by breaking blocks, trampling, etc
that would be put in the server thing huh same way id op a player?
when i do that next time i load the game its off
Are you running a modpack of some kind?
yea deceased craft
By default a game rule is permanent unless--- ok so a modpack may have things that overwrite
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.
yea i have to retype the rule in game
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.
tbh idk anything about loading mods thats why i use the gdlauncher
download the mod, upload it to your mods folder on the server
follow the rest of my instructions
server folder would be off the website right not in my files
that's correct
you don't need global game rules on your end
now the server wont start gang
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.
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
or if your server is Fabric, a forge mod won't work in it
notice how you didn't match the minecraft versions.
You're server is 1.18.2, the mod version you chose was 1.20
i think i already had the on installed offa it just being in the modpack but put a too recent one in rn
remove global game rules 1.20
done