From server.properties
From Console
From In-game
From server.properties:
Third Step
Make sure to turn OFF the server. Fourth Step
Under the General Section, Click the Files tab Fifth Step
Click the server.properties file Sixth Step
Scroll down to till you see difficulty=[value] and edit the [value] to your prefered difficulty (peaceful, easy, normal or hard) and hit the Save Content button Seventh Step
Now, Head to the Console tab and hit Start From Console:
First Step
Head over to the Console Tab Second Step
Type in the Console: difficulty [value], Enter your prefered difficulty (peaceful, easy, normal or hard) in the placeholder [value] From In-game:
Keynote: To change difficulty from In-game, you will need to be an Operator.If you don’t know how to OP a player, Here’s the article on How to OP a playerFirst Step
Join your server with your server-ip Second Step
Type in chat /difficulty [value], Type your prefered difficulty (peaceful, easy, normal or hard) in the placeholder [value]
There you go! You’ve now learned how to change difficulty!