Jump to content

War Mode PVP/PVE 1.3.4

$24.99
   (9 reviews)
Message added by Mr01sam,

READ THIS BEFORE UPDATING
When updating this plugin don't forget to install the latest versions of the extension plugins if you are using them on your server! All extension plugins are available (for free) at the bottom of the page!

2 Screenshots

  • 16.8k
  • 439
  • 150.64 kB

About War Mode PVP/PVE

Allows both PVE and PVP players to exist on a server at the same time. PVE players will have certain configurable protections and restrictions. You can have players use a command to flag themselves as PVP/PVE or you can assign it to them when they first spawn. If you have ZoneManager you can also designate specific zones to force player's to be PVE or PVP. Plugin is also compatible with SimpleStatus.

Note: Video is outdated, see documentation for a full list of new features!


Documentation:
A full readme including permissions, commands, and config options is available in this google doc link.

Disclaimer:
Like all of my plugins - this plugin is sold as is. I will be happy to take feature requests into consideration but make no guarantees about which ones get implemented. Please refer to the feature list before you make your purchase!

Developer API:

API Methods

        // Returns the mode of the given entity. Also takes into account if the entity is in a forced mode zone.
        string GetEntityMode(BaseEntity entity);

        // Returns the group name for the given mode. For example if given 'pve' will return 'warmodepve'
        string GetModeGroup(string modeId);

        // Returns the target type for a given entity. Target types are the category that an entity falls into.
        // For example, if given a BasePlayer entity, it will return 'players'. If given a horse entity is will
        // return 'horses'.
        string GetEntityTargetType(BaseEntity entity);

Hooks - place these in your plugin and WarMode will call them.

// Called when a player's mode has been updated or config changes have ocurred that may affect the mode.
private void WarMode_PlayerModeUpdated(string userid, string modeId)

// Used to override WarMode logic for taking damage.
// If true/false is returned then WarMode logic will be skipped. Return null to continue WarMode logic.
private object CanEntityTakeDamage(BaseCombatEntity target, HitInfo info)

// Used to override WarMode logic for targeting.
// If true/false is returned then WarMode logic will be skipped. Return null to continue WarMode logic.
private object CanEntityBeTargeted(BasePlayer target, BaseEntity attacker, bool skipVendingCheck)

// Used to override WarMode logic for triggering a trap.
// If true/false is returned then WarMode logic will be skipped. Return null to continue WarMode logic.
private object CanEntityTrapTrigger(BaseTrap trap, BasePlayer basePlayer)

// Used to override WarMode logic for looting an entity.
// If true/false is returned then WarMode logic will be skipped. Return null to continue WarMode logic.
private object CanEntityLoot(BasePlayer looter, BaseEntity target, bool skipVendingCheck)


FREE Extension Plugins:

War Mode Admin Panel
Use the /warmode.config or /wmc command to open a panel that allows admins to update mode rules in game without having to reload the pluign. Requires the warmode.admin permission to use.

I HIGHLY recommend you use this extension!

WarModeAdminPanel.cs
image.png.bed1e2efeaddce811a1531742a9d9372.png


War Mode Spawn UI
Provides a UI that is shown to players when they first spawn that prompts them to choose whether they want to be PVP or PVE.  Also supports custom modes. Localization and config options available. This can also be configured to appear when players use the /flag command.

WarModeSpawnUI.cs

image.png.8d1a12e50a67ef162e4624878b6e8703.png

 

War Mode Rules UI
Using the /rules command (which is configurable) players can see a list of what restrictions they have for their current mode. These ruling will update dynamically based on your config settings.

WarModeRulesUI.cs
image.png.9eaf91c08594e41d153fda2053be2d03.png

 

War Mode Badges

Customizable UI elements that will appear on the player's HUD to indicate what their current mode is.

WarModeBadges.cs
image.png.fc0651d5351dac493bb0dce2cf0d229f.png

  • Like 2
  • Love 4

User Feedback

1.5m

Downloads

Total number of downloads.

7.3k

Customers

Total customers served.

108.9k

Files Sold

Total number of files sold.

2.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.