Polyzone Persistence - Useful for turf wars

polyzone_persistence-20250902T080644Z-1-001.zip (9.7 KB)

It works by typing /pz_create and follow next instructions in game to create zones, shows in minimap approximate circle, it’s polizones so there is points that could be enhanced to draw perfectly on minimap the connected points but I havent found a way yet. I use this resource for my turf wars resource.

Upcoming: v2 will include events for entering/exiting polyzones(potential turfs)
Type: Standalone
Price: Free
License: MIT
Depedencies: oxmysql

thanks

sql required is: CREATE TABLE IF NOT EXISTS polyzones (
id INT(11) NOT NULL AUTO_INCREMENT,
name VARCHAR(100) NOT NULL,
points LONGTEXT NOT NULL,
centroid LONGTEXT NULL,
max_players INT(11) DEFAULT 0,
meta LONGTEXT NULL,
radius INT(11) NOT NULL DEFAULT 50,
options LONGTEXT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;