Draft
Conversation
Fixed settings key mismatch:
• GreenFadeDistance now consistent server/client.
• Namespaced generic event/timer IDs to outbreak-specific IDs:
• replaced generic second / onContact / counter style usage with outbreak_* IDs.
• Fixed autostart player guard:
• MP.GetPlayerCount() > -1 → MP.GetPlayerCount() > 0.
• Standardized MPConfig call style:
• normalized to MPConfig.getNickname() usage.
• Added shader cleanup to prevent infected effect persisting across map changes/singleplayer:
• cleanup hooks on unload / mission end / mission pre-start.
• Added server admin management system in Server/Outbreak/main.lua:
• owner-controlled commands:
• adminadd <player>
• adminremove <player>
• adminonly (toggle)
• admin-only mode enforcement for outbreak admin commands.
• Added infected restrictions during active rounds (best-effort):
• block freecam/camera-switch/editor-type actions.
• force infected player back to own vehicle if switching to another player’s vehicle/focus.
• Upgraded from single-owner to multi-owner:
• outbreakOwner → outbreakOwners = { ... }
• any listed owner can run owner-only commands.
• Minor messaging update:
• denial text now says “owner(s)” for multi-owner behavior.
• Validation done:
• Lua syntax checks passed on patched files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed settings key mismatch:
• GreenFadeDistance now consistent server/client.
• Namespaced generic event/timer IDs to outbreak-specific IDs: • replaced generic second / onContact / counter style usage with outbreak_* IDs. • Fixed autostart player guard:
• MP.GetPlayerCount() > -1 → MP.GetPlayerCount() > 0. • Standardized MPConfig call style:
• normalized to MPConfig.getNickname() usage.
• Added shader cleanup to prevent infected effect persisting across map changes/singleplayer: • cleanup hooks on unload / mission end / mission pre-start. • Added server admin management system in Server/Outbreak/main.lua: • owner-controlled commands:
• adminadd [playername]
• adminremove [playername]
• adminonly (toggle)
• admin-only mode enforcement for outbreak admin commands. • Added infected restrictions during active rounds (best-effort): • block freecam/camera-switch/editor-type actions. • force infected player back to own vehicle if switching to another player’s vehicle/focus. • Upgraded from single-owner to multi-owner:
• outbreakOwner → outbreakOwners = { ... }
• any listed owner can run owner-only commands.
• Minor messaging update:
• denial text now says “owner(s)” for multi-owner behavior. • Validation done:
• Lua syntax checks passed on patched files.