Jump to content
  • 0

Server stuck in peaceful.


catsopov

Question

I got a boxserver and everything is fine but I would like to code in a custom boss and that boss would be a creeper but I cant because my server is stuck in peaceful. No matter how many times I try to change it, it's still peaceful! So is there a file where I could change it manually?

Thanks in advance

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Try doing /difficulty normal, doing /save-all, and restarting your server. Best of luck to it working, though! If it doesn't, you can always install the Multiverse plugin and change the difficulty using commands from the plugin and that likely should work. The command is  /mv modify set difficulty normal <world>

If the problem persists and won't stop I've created a solution for this. I'll list the steps here. This can also do the trick if you don't want to go through the hassle of Multiverse.

Edit Server > Install Skript plugin > File Manager > Plugins Skript > scripts > Create new file named "difficulty.sk" > Paste the code below this into that file > Click Save > Execute the command "/sk reload difficulty.sk" in game to put the code into effect. 
 

on load:
	set difficulty of world "world" to normal

Just be sure to set ` "world" ` to the name of your world inside the parenthesis. Case sensitive!

rose city STICKER

RosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaRosaR

i code, animate, develop, UI design, learn, and adapt, as well as make servers, of course

💐Joined Minehut sometime in 2014
💐VIP sometime in 2018
💐Legend in January 2021
💐Helper on 4/11/2021
💐♥ (Retired) on 5/17/2021
💐 Moderator on 8/18/2023

Link to comment
Share on other sites

  • 0
16 hours ago, rosathorn said:

Try doing /difficulty normal, doing /save-all, and restarting your server. Best of luck to it working, though! If it doesn't, you can always install the Multiverse plugin and change the difficulty using commands from the plugin and that likely should work. The command is  /mv modify set difficulty normal <world>

If the problem persists and won't stop I've created a solution for this. I'll list the steps here. This can also do the trick if you don't want to go through the hassle of Multiverse.

Edit Server > Install Skript plugin > File Manager > Plugins Skript > scripts > Create new file named "difficulty.sk" > Paste the code below this into that file > Click Save > Execute the command "/sk reload difficulty.sk" in game to put the code into effect. 
 

on load:
	set difficulty of world "world" to normal

Just be sure to set ` "world" ` to the name of your world inside the parenthesis. Case sensitive!

Thank you so much :)) also I just did /difficulty normal and it worked.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...