About Harbor Event
This event that takes place in Harbor location
This event begins with a warning in the chat that a ship will soon arrive at Harbor to load valuable cargo.
After the time has elapsed, a ship appears in any of Harbor locations available on the map, into which a crane loads a container.
The loading zone is guarded by a tank and 7 NPCs by default.
The entrance to the container is closed, to open the door, you need to press button in the crane cabin.
Inside the container, by default, there is a CCTV camera, a locked crate, 2 DM, 2 elite and 2 military crates.
The location and loot of all the crates/NPCs can be configured in the configuration, as well as add or remove unnecessary crates/NPCs.
Also, the ship will spawn a standard loot from the ship, i.e. 3 locked crates, etc.
The configuration file also allows you to change the tank and loot in it.
When an event appears, a marker is displayed on the map (configured in the configuration file).
All players who are in the event zone will have a timer with a countdown to the end of the event.
At the end of the event, the ship sails from the island
Dependencies (optional, not required)
- True PVE
- GUI Announcements
- Discord Messages
- Server Rewards
Chat commands (only for administrators)
/harborstart – starting of the event
/harborstop – ending of the event
/harborpos – determining the position and rotation coordinates for changing the location of NPCs and crates.It should write in the configuration (Attention! The event must be started, the current position of the administrator in relation to the cargoship is read)
Console commands (RCON only)
harborstart – starting of the event
harborstop – ending of the event
void OnHarborEventStart() – called when the event starts
void OnHarborEventEnd() – called when the event ends
void OnHarborEventWinner(ulong winnerId) – called at the end of the event, where the winnerId is the player who did more actions to complete the event
My Discord: KpucTaJl#8923
Join the Mad Mappers Discord here!
Check out more of my work here!