Map Passage Control Plugin – 2x2 Mode
This plugin allows server administrators to dynamically control access to the second half of a map based on online player count. It also provides voting options and admin tools for opening or closing passages, enhancing gameplay flexibility on smaller servers.
Key Features
Dynamic Passage Control:
Automatically restricts access to the second half of the map when player count is below a specified threshold.
Universal Wall Tool:
Create walls or obstacles to block passages temporarily or permanently.
Voting System:
Players can vote to open or close passages using /mode or /vote.
Admin Control:
Admins can open or close passages manually using /change or /box. Changes take effect in the next round.
Map Name Prefix:
Maps in 2x2 mode show the _2x2 prefix in the server browser for easy identification.
Admin Commands & Cvars
Cvar\tValue\tDescription
mode_admin_only\t0\tRestricts the second admin from using /change if the first admin already activated it.
mode_allow_vote\t1\tEnables players to vote using /mode.
mode_allow_change\t1\tEnables admins to open/close passages via /change.
mode_force_check_online\t1\tChecks online players even during /change if no active admins are present.
mode_block_startgame\t0\tNever blocks walls during “GameCommencing” or “Restart.”
mode_push_weaponbox\t1\tPushes weapon boxes or C4 away from walls to prevent obstruction.
mode_messagetouch\t0\tShows a message when a player touches a wall that blocks the passage.
mode_messagetouch_time\t5.5\tDelay in seconds for re-displaying the touch message.
mode_changemapname\t1\tAdds the _2x2 prefix to the map name.
Player Commands:
Command\tDescription:
/mode\tVote to open or close the map (all players).
/vote\tAlternative vote to open/close the map.
Admin Commands
Command\tDescription
/change\tSwitch 2x2 mode, manually open/close the map.
/box\tManage objects: create, modify, or delete walls/obstacles (admin only).
Gameplay Benefits
Prevents empty or half-populated maps from feeling too open.
Encourages player participation through voting.
Provides admins precise control without disrupting gameplay.