I am making a server, how do I make sure of that players have the exact mod version that is installed in the server?

Started by Kleiders on

Topic category: Troubleshooting, bugs, and solutions

Joined Dec 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am making a server, how do I make sure of that players have the exact mod version that is installed in the server?

I changed my mod version to 5.0.0 and installed in the server. However, players with version 1.0.0 can still join. How do I fix this?

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
add a global variable…
Mon, 08/16/2021 - 01:48

add a global variable IsNewVer, player persistent,default True,to the new version.If the player's IsNewVer variable is false(old version),kick him on join.