How x7khalid/vip1b works
VIP1b is a PocketMine plugin for configuring a protected VIP area and restricting entry to players with vip1b.area.vip. Operators set two corner positions with /vip1b pos1 and /vip1b pos2; player movement triggers the area check and unauthorized players are sent to the default spawn. The runtime behavior is implemented in one PHP file, so its distinct responsibilities share that path. The README documents the command, while the source excerpt shows configuration and movement handling; no separate integration or storage implementation is shown.
Main entry points: Main.php Movement handler · Config.yml Area coordinates
Components 10
Area configuration
- VIP command
src/iBa4x/VIP/Main.php - Area coordinates
Resource/Config.yml
Access control
- Movement handler
src/iBa4x/VIP/Main.php - Boundary check
src/iBa4x/VIP/Main.php - VIP permission check
src/iBa4x/VIP/Main.php - Teleport and denial
src/iBa4x/VIP/Main.php
Plugin lifecycle
- Event registration
src/iBa4x/VIP/Main.php
Other components
- Operator
- Player
- PocketMine runtime
Connections 12
- Operator → VIP command: runs command
README.md - VIP command → Area coordinates: saves corners
src/iBa4x/VIP/Main.php - VIP command → Operator: reports permission
src/iBa4x/VIP/Main.php - PocketMine runtime → Event registration: enables plugin
src/iBa4x/VIP/Main.php - Event registration → PocketMine runtime: registers listener
src/iBa4x/VIP/Main.php - PocketMine runtime → Movement handler: dispatches movement
- Movement handler → Area coordinates: reads corners
src/iBa4x/VIP/Main.php - Movement handler → Boundary check: checks bounds
src/iBa4x/VIP/Main.php - Boundary check → Movement handler: returns containment
src/iBa4x/VIP/Main.php - Movement handler → VIP permission check: checks permission
src/iBa4x/VIP/Main.php - Movement handler → Teleport and denial: denies entry
src/iBa4x/VIP/Main.php - Teleport and denial → Player: teleports and messages
src/iBa4x/VIP/Main.php