description
Changelog
2.7.0.7.1:
- Small performance improvement
2.7.0.7:
- Added NotifyAdminsOnly
- Added AdminCancelMode
1.7.0.7.1:
- Added NoAdminsMode
1.7.0.7:
- Admins should now be able to initiate a votekick anyway for whatever reason
- BanDuration set to -1 will just kick now
Basic Setup
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.ini
add following line to the ALREADY EXISTING Section [/Script/Mordhau.MordhauGameMode]
:
SpawnServerActorsOnMapLoad=/Game/Mordhau/Maps/Taki7o7/NoVotekicks/NoVotekicks.NoVotekicks_C
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:
[TakiNoVotekicks]
BanDuration=2
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.
NotifyAdminsOnly=false
NoAdminsMode=false
AdminCancelMode=false
As you can see, you can use %initiator%
& %target%
wildcards in your ServerBanMessage
, aswell as in the PlayerBanMessage
if you need it.
Set NotifyAdminsOnly
to true if you want the ServerBanMessage
only be shown on Admins Chat-Box.
Set NoAdminsMode
to true if you want to disable the mod functionality while there is atleast one online Admin.
SetAdminCancelMode
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.
(Aswell NoAdminsMode
must be disabled if you want to use that mode, as it would not reach the AdminCancelMode
code)
Additional infos:
- 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 1.7.0.7 - 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 configAdded with 1.7.0.7
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
Credits
-
15 Jul 00:26Version 2.7.0.7.1
-| Small performance improvement
0 Comments for NoVotekicks - Anti Votekick - Reverse Votekick