- Small performance improvement
- Added NotifyAdminsOnly
- Added AdminCancelMode
- Admins should now be able to initiate a votekick anyway for whatever reason
- BanDuration set to -1 will just kick now
1.) Add the mod to your server. You can do it as you do it with a normal mod. Or you can just download the Pak File & move it into
Mordhau/Content/Paks of your Server. I prefer just uploading it to the server, since it's an server actor & therefor there is no need for the user to download anything at all and with that, avoid any mod.io related issues. If you already use any other mod, forget my last sentence.
2.) In your Servers
Game.iniadd following line to the ALREADY EXISTING Section
3.) Also in your
Game.ini add A NEW Section called
TakiNoVotekicks and underneath it, a variable called BanDuration and set it's value to your desired Ban Duration in minutes, a variable called PlayerBanMessage and set it to whatever reason should be shown for VoteKick-Initiator when he get's banned from this mod & finally a variable called ServerBanMessage which will be shown to everyone when a VoteKick-Initiator got banned. It should now look something like this:
PlayerBanMessage=VoteKicks are not allowed here %initiator%. Read the RULES again!
ServerBanMessage=%initiator% tried to VoteKick %target%. Banning this dung-covered peasant for 2 minutes.
As you can see, you can use
%target% wildcards in your
ServerBanMessage, aswell as in the
PlayerBanMessage if you need it.
NotifyAdminsOnly to true if you want the
ServerBanMessage only be shown on Admins Chat-Box.
NoAdminsMode to true if you want to disable the mod functionality while there is atleast one online Admin.
AdminCancelMode to true if you want normal Votekick Functionality while there is no Admin online & if Admins online Auto-Cancel the Votekicks and Trigger the ServerBanMessage. Set
BanDuration to 0 if you won't take any action against the initiator in this mode.
NoAdminsMode must be disabled if you want to use that mode, as it would not reach the
- Setting no
BanDuration or setting it to 0 will disable the ban/kick functionality. Setting it to -1 will do Kicks instead of Bans.
- Setting no or a empty
ServerBanMessage will disable the Server Messages.
- Not tested: I guess it will absolutely do nothing if somebody tries to votekick an admin, since i think it will not even set any votekick info the mod would need to work with.
Watch out, as admin you could ban yourself with votekicking. Need to fix that at some point. Should be fixed with 126.96.36.199
- Forgive me this stupid config variable names
Maybe adding in future | Notes for myself:
- Actually start a Reverse-VoteKick on the Initiator [but not from the actual target, because people may misunderstand it and get mad on the wrong person then] - Maybe as Server somehow?!
Adding a Kick instead of a Ban option, because setting it to 0 will just disable any action on the initiator. Maybe by setting the duration to -1 then in the config Added with 188.8.131.52
Please contact me on Discord Taki7o7#1753 if you find any bugs or if you have any questions.
Check my other Serverside-Only Mods:
Special Thanks to MfeMeaf, Michelmeister, Mr.Kiwi, ShinyShen, etc. for testing & TheTorukMakto for giving me the idea to add the AdminCancel, NotifyAdminsOnly and NoAdminsMode