Double Doors: Difference between revisions

From Official Gamemode 4 Wiki
Jump to navigation Jump to search
(Add note on default trapdoor maximum)
mNo edit summary
Line 1: Line 1:
{{ModuleInfobox|name=Double Doors|creator=Bloo|type=Stand Alone|versions=1.20+}}
{{ModuleInfobox
| creator = {{UserLink|Bloo}}
| type = Stand Alone
| versions = 1.20+
}}


This module adds a quality of life improvement which enables players to open double doors with just a single click. Aditionally, trapdoors above doors are opened alongside the door.
This module adds a quality of life improvement which enables players to open double doors with just a single click. Additionally, trapdoors above doors are opened alongside the door.


==Features==
==Features==
Line 9: Line 13:


===Technical Details===
===Technical Details===
The maximum trapdoor stack height is configureable server-wide via the scoreboard fake player <code>$trap_door_limit</code> in <code>$gm4_double_doors_data</code>. The default value is <code>2</code>.
The maximum trapdoor stack height is configurable server-wide via the scoreboard fake player <code>$trap_door_limit</code> in <code>$gm4_double_doors_data</code>. The default value is <code>2</code>.


== Learn More and Download ==
== Learn More and Download ==
Line 16: Line 20:
== History ==
== History ==
{| class="wikitable"
{| class="wikitable"
|+
|+
!Version
! Version
!Date
! Date
!Change
! Change
|-
|-
| rowspan="2" | 1.20
| 1.20
|12 Aug 2023
| 12 Aug 2023
|Released Double Doors
| Released Double Doors
|}
|}


{{Notes}}
{{Notes}}
[[Category:All Modules]]
[[Category:Stand Alone Modules]]

Revision as of 04:13, 19 October 2023

Double Doors

Module TypeStand Alone
Created byBloo
Compatible MC Versions1.20+

This module adds a quality of life improvement which enables players to open double doors with just a single click. Additionally, trapdoors above doors are opened alongside the door.

Features

If a player interacts with a door to open or close it, connected doors (i.e. doors which form a double door) and trapdoors above the door are opened alongside the door that was interacted with. Trapdoors above a door must face the same way as the door and must be opened bottom-half trapdoors, top-half trapdoors are not opened automatically. Up to two trapdoors may be stacked above a door. Only doors or trapdoors of the same wood type count as a double door.

Technical Details

The maximum trapdoor stack height is configurable server-wide via the scoreboard fake player $trap_door_limit in $gm4_double_doors_data. The default value is 2.

Learn More and Download

Download

History

Version Date Change
1.20 12 Aug 2023 Released Double Doors

Notes