mark2devel / mark2

Minecraft Multi Server Wrapper Written in Python with Twisted; Pull Requests HIGHLY Encouraged, Collaborators Needed Discord: https://discord.gg/zymJygHNpv
Other
208 stars 44 forks source link

How to prevent /kick after stop and restart? #170

Closed Elgorond closed 1 year ago

Elgorond commented 1 year ago

For compatibility with a plugin called MySQL Player Data Bridge, I need to prevent mark2 from kicking players (with /kick) upon server restart.

Screenshot (302)

Is the /kick feature necessary for mark2 to work properly? If so, is there a way for me to use the command /mpdb saveAndKick (executed one time) instead of having it /kick every player?

edk0 commented 1 year ago

In your mark2.properties:

plugin.shutdown.kick-mode=once
plugin.shutdown.kick-command=mpdb saveAndKick