Search the Community
Showing results for tags 'legacy wood shelter'.
-
Version 1.1.0
85 downloads
Introduction Automatically manages PVP zones for player bases, legacy shelters and tugboats. Features Manages its own Zone Manager zones and maps them as True PVE exclusion zones (Re)creates zones on plugin load and cleans them up on unload Provides tool cupboard based zones: Configurable creation & deletion delays Automatic resizing to always encompass the base as building blocks are added/destroyed, with configurable delay Configurable minimum total base and per-building-block buffer sizes Provides legacy shelter based zones: Configurable zone size Provides tugboat based zones: Configurable zone size Zone moves with the tugboat Optional support for visible zone spheres: Configurable sphere darkness Option to globally network tugboats to prevent spheres from disappearing Optional support for language file based zone creation/deletion and entry/exit notifications Configurable PVP expiration delay on player exit from zones Compatibility Hard dependency on Zone Manager for creating zones. Should work with various PVE plugins - tested with TruePVE and SimplePVE. Configuration Default configuration: { "Zone creation delay in seconds (excludes tugboat)": 60.0, "Zone creation delay notifications (owner only, excludes tugboat)": true, "Zone deletion delay in seconds": 300.0, "Zone deletion delay notifications (all players in zone)": true, "Zone creation/deletion notification prefix": "[PBPZ] ", "Zone exit PvP delay in seconds (0 for none)": 5.0, "Zone sphere darkness (0 to disable, maximum 10)": 0, "Zone entry/exit ZoneManager messages": true, "Zone TruePVE mappings ruleset name": "exclude", "Building settings": { "Building update check delay in seconds": 5.0, "Building zone overall minimum radius": 16.0, "Building zone per-block minimum radius": 16.0 }, "Shelter settings": { "Shelter zone radius": 8.0 }, "Tugboat settings": { "Tugboat force global rendering on/off when spheres enabled (null=skip)": null, "Tugboat force enable buoyancy when forcing global rendering": false, "Tugboat zone radius": 32.0 } } NOTE: The tugboat rendering options should be left at defaults. The options are provided for the case that you are running other plugins that force global networking/rendering for tugboats, which can cause spheres to disappear when a tugboat comes back into client render range.This plugin will automatically attempt to synchronize tugboat sphere networking with each tugboat's networking type when (re)creating the spheres. Developer API Supported API calls: string OnPlayerBasePvpDelayQuery(ulong playerID) Provides the ability to query whether a player has an active PVP delay Returns the triggering zone ID if the referenced player has an active PVP delay Returns an empty string If no PVP delay is active Hooks: void OnPlayerBasePvpDelayStart(ulong playerID, string zoneID) Called when PVP exit delay is applied to a player as a result of their exiting a base zone playerID is the ID of the triggering player zoneID is the Zone Manager zone ID whose exit triggered the delay void OnPlayerBasePvpDelayStop(ulong playerID, string zoneID) Called when PVP exit delay expires from a player playerID is the ID of the triggering player zoneID is the Zone Manager zone ID whose exit triggered the delay Zone Manager / PVE Plugin Integration Zone Manager zones are maintained for all bases, and are mapped to the configured True PVE ruleset (`exclude` by default). This will cause True PVE to treat them as vanilla areas by default, allowing for PVP to take place. Zone names are broken into categories in case you want other plugins to recognize them separately: `PlayerBasePVP:building` for building block bases `PlayerBasePVP:shelter` for legacy wood shelters `PlayerBasePVP:tugboat` for tugboats Developer note: Zone IDs are `PlayerBasePVP:` followed by a unique identifier. Background Player Base PVP Zones is meant for hybrid PVP servers that want to allow online raiding. It is meant to complement Dynamic PVP which only provides zones for monuments and events. Zone Manager is a hard requirement in order to implement moving zones for tugboats, as it doesn't officially support this feature. A PVE mod is required to make this useful. I only tested with True PVE for various reasons. Credits Thanks to the following folks for making this plugin possible: bmgjet (help with / code for tugboat sphere issues) CatMeat & Arainrr (moving Zone Manager zones code examples in Dynamic PVP) Karuza (help with unique entity identifiers & tugboat sphere issues) Kulltero (help with TC/building relationship) WhiteThunder (help with tugboat sphere issues) AFKBank and Mooselips whose bases I took screenshots of on my server during testingFree -
Version 1.0.2
7 downloads
Better Legacy Wood Shelter Limiter and Decay Better Legacy Wood Shelter Limiter and Decay, allows you to change the limit and decay of legacy wood shelters you can place based on group/permission. You can create a group and change the limit and decay for all players, or based on the VIP group. Permissions betterlegacywoodshelter.default -- Assign the limits configured in the group: default. betterlegacywoodshelter.vip1 -- Assign the limits configured in the group: vip1. betterlegacywoodshelter.vip2 -- Assign the limits configured in the group: vip2. betterlegacywoodshelter.vip2 -- Assign the limits configured in the group: vip3. Default Configuration { "GroupSettings": { "default": { "Player Max Legacy Wood Shelter limit": 1, "Decay setting": { "Enable decay or not": false, "Decay begins after the last use, after the last time the door was opened": true, "Decay starts after X seconds after the last door opening": 64800, "Inflicting HP damage every X seconds": 3600, "Amount of HP damage to inflict": 20 } }, "vip1": { "Player Max Legacy Wood Shelter limit": 3, "Decay setting": { "Enable decay or not": false, "Decay begins after the last use, after the last time the door was opened": true, "Decay starts after X seconds after the last door opening": 64800, "Inflicting HP damage every X seconds": 3600, "Amount of HP damage to inflict": 20 } }, "vip2": { "Player Max Legacy Wood Shelter limit": 5, "Decay setting": { "Enable decay or not": false, "Decay begins after the last use, after the last time the door was opened": true, "Decay starts after X seconds after the last door opening": 64800, "Inflicting HP damage every X seconds": 3600, "Amount of HP damage to inflict": 20 } }, "vip3": { "Player Max Legacy Wood Shelter limit": 10, "Decay setting": { "Enable decay or not": false, "Decay begins after the last use, after the last time the door was opened": true, "Decay starts after X seconds after the last door opening": 64800, "Inflicting HP damage every X seconds": 3600, "Amount of HP damage to inflict": 20 } } } } 4 groups are created and each group has a base limit set that you can change: default — Can place up to 1 legacy wood shelter vip1 — Can place up to 3 legacy wood shelter vip2 — Can place up to 5 legacy wood shelter vip3 — Can place up to 10 legacy wood shelter Player Max Legacy Wood Shelter limit — In this field you can specify the limit of how many legacy wood shelters you can place DECAY SETTINGS You can also define decay settings for various groups Enable decay or not — Enable decay or not. Decay begins after the last use, after the last time the door was opened — Defines whether to initiate decay for shelters that are no longer in use. A shelter is defined as "unused" after a certain period of time in which the door is no longer opened or closed. It is advisable to leave it at TRUE, useful for invalidating only the shelters that are no longer used. Decay starts after X seconds after the last door opening — Determines after how many seconds, a shelter is considered no longer used/decaying. Inflicting HP damage every X seconds — Once the shelter is considered unused/decaying, set how many seconds to inflict damage on the shelter. Amount of HP damage to inflict — Defines how much HP to inflict on the unused/decaying shelter.$9.99-
- #better legacy wood
- #better legacy wood shelter
- (and 8 more)