Infected Gamemode V0.7.1 (15-02-2025)
Adminpanel Updates:
Add: Logging
-Chatlogging
-Adminpanel access
-Admin warn/kick/ban players
-Connected players
Add: Dashboard
-Last 10 connected players
-Number of joined player for current day
-Number of Unique joined players ( counting userstats files)
Edit: List of Players, when you click on a playerbutton
-Total joined server counter
-Total kick counter
-Total warned counter
Edit: Round Configurations
- Choose between 4 configs (if set)
- Edit the RoundTimer and Vehicles for each round
- Save and rewrite current Config with the new config.
- Scroll Functions.
-Track/Lyt editing will be blocked for now.
VM.Infected gamemode V0.7.0
New: Adminmenu (Admin/Host) Will be updated in the future with more features.
-Change roundtimer
-Change Cars / Preset Carlists
-Simple Player Management (kick/ban/warn)
-Turn on/off Game RestartTimer
-Gameround Settings.
New: Gamerounds Funcionality (Admin/Host)
-Set 1 to 40 rounds
-Edit (Textfile) with vehicles and roundtimer for each round.
-Edit list (Textfile) and load without rebooting insim.
-Auto Load next round config (toggle on/off in adminpanel)
-Rounds will reset/disable after last round ends.
New: Gamerestart timer
New: Player may use command !ri to delete their trapitem.
New: Admins may use command !rat to delete all trapitems.
New: Admins may use !nextround (!rn) to load the next round config ( If list is available, otherwise it wont keep the current config)
Update: [Helpmenu] Stats
-Added driven distance as a survivor
-Added driven distance as infected
-Added Trapitem used
Update: Insim will delete all trapitems after the game, that hasn't been deleted automatically.
---------------------------------------------------------------+
|Changes from 7.0.9.5 to 7.0.9.6
+---------------------------------------------------------------+
=================================================
New:
=================================================
1: Discord Function: EditDiscordMessage();
NOTE: Only messages created by BOTS can be edited!!!
$Message = "";
$ChannelID = "";
$MessageID = "";
Editdiscordmessage($ChannelID,$MessageID,$Message);
2: Discord Function: EditDiscordEmbed();
NOTE: Only EmbedMessages created by BOTS can be edited!!!
$ChannelID = ""; #ChannelID of the server, where you discordbot is connected to.
$MessageID = ""; #MessageID of embed that need to be changed
$Title = ""; #Title of Embed
$Desc = ""; #Description of Embed
$Color = "0xFF0000";
#%nf% to create a new field "Field1 %nf% Field2 %nf% Field3
$FieldTitle = "";
$FieldValue = "";
$FieldInline = "True"; #True of False
#Use %nf% to add a footer image URL !! Not an local(pc) image.
$Footer = "";
#Small Image URL on the right side of the Embed box.
$ThumbnailUrl = "";
#The Entire EmbedBox will fit to the same size as the ImageUrl.
$ImageUrl = "https://www.lfsworld.net/isonline.bass-driver";
EditDiscordEmbed($ChannelID,$MessageID,$Title,$Desc,$Color,$FieldTitle,$FieldValue,$FieldInline,$Footer,$ThumbnailUrl,$ImageUrl);
3: File Function MoveFile();
#Move your textfile to a new location.
$OriginalPath = "";
$DestinationPath = "";
MoveFile($OriginalPath,$DestinationPath);
4: New Function: SetIPBans();
#Unban a IP by removing the IP from the list and execute SetIPBans() again. It will overwrite the current list.
SetIPBans("127.0.0.1,192.169.232.222");
5: New Function: GetIPBans();
#Chance is to execute the function twice to get info.
$List = GetIPBans();
privmsg("IPBanCount:". $List["NrOfIPbans"]);
FOR($ip=0;$ip<$List["NrOfIPbans"];$ip=$ip+1)
privmsg("Banned IP:". $List[$ip,"IPAddress"]);
ENDFOR
=================================================
Update:
=================================================
1: Updated many libraries.
=================================================
Fix:
=================================================
1: SendDiscordEmbed() didn't execute when fieldtitle or fieldvalues values are empty.
<?php
#Create a list of buttons with the playernames.
CASE "!lop":
$hgt = 80;
$LoP = getListOfPlayers("U");
privmsg("-----[List of buttons with connected players]-----");
FOREACH($Player IN $LoP)
$PLYuserName = $Player["value"];
openButton($userName,"Btn_".$PLYuserName,170,$hgt,30,4,1,-1,16+64,GetPlayerVar($PLYuserName,"NickName")." ^8(".$PLYuserName.")");
$hgt=$hgt+4;
ENDFOREACH
BREAK;
?>
<?php
$LoP = getListOfPlayers("U");
FOREACH ($Player in $LoP)
$User = $Player["value"];
$NickName = GetLapperVar($Player["value"],"NickName");
###Send message if a user is an admin
IF( UserisAdmin($User) == 1 )THEN
globalmsg("Player: ".$NickName." (".$User.") is a admin");
ENDIF
ENDFOREACH
?>
+---------------------------------------------------------------+
|Changes from 7.0.9.4 to 7.0.9.5
+---------------------------------------------------------------+
=================================================
Fix:
=================================================
1: Lappercrash when a player disconnects (normal/kick/ban) from the server while LFSLapper is not connected with a discordbot.
2: Lappercrash When changing discordbotstatus when Discord Bot isnt connect with LFSLapper.
3: RegisterZoneAction() : Leave Zone not triggered when pressing Shift+S (Spectating)
4: Disabled Debugmessages from Version 7.0.9.4
VM.Infected gamemode V0.6.0
Add: Spawn Trapitems for the infected chasing you
-8 Different types of objects such as: Tyres,Bales,Signs
-Commands: !t1 - !t8
-Spawned object will be removed after 5 seconds, this is done by insim automatically
-45 seconds cooldown timer after each spawned object.
Changed: Infected gamemode will be disabled after insimreboot, admins need to type !ion to enable it again.
Changed: More commands has been added to the list of admincommands.
Fix: Textbutton on tophud was slightly misaligned
Fix: Possible to start the game with 1 player on the track.