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

Active 3 months ago
Joined Dec 2016
Points:
941

User statistics:

  • Modifications: 2
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 3
  • Comments: 123
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?

Active 2 years ago
Joined Mar 2020
Points:
890

User statistics:

  • Modifications: 3
  • Forum topics: 11
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 369
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.