Sign in to follow this  
Ildar

[Server] Zoned PvE

Recommended Posts

Latest release

 

This mod provides a convenient way to customize PvE zones in PvP Wurm Unlimited server

 

Color scheme

Create a colored image to specify PvE/PvP zones for your Wurm Unlimited server:

Color(r, g, b)                   Description
Green(0, 255, 0)                   Always PvE
Yellow(255, 255, 0)                   PvE with scheduled PvP
Pink(255, 128, 128)                   PvP with PvE at deeds
Orange(255, 128, 0)                   PvP with PvE at deeds. Scheduled PvP at deeds.
Red(255, 0, 0)                   Always PvP

 

Map format

The map must be 24-bit BMP image named "map.bmp" and located in "%SERVER_FOLDER%/mods/ZonedPVE" directory. The image size must be equal to server map size. Top left corner of the image corresponds to the north-west corner of the server.

Example image:

map

This map is created for a very small (512x512) server.

There are peaceful north and south with little PVP at the center. The yellow zone will have PvP only at certain times. The pink zone has PvP outside of any deeds. Orange zone is the most complicated - PvE on deeds with scheduled PvP (and constant PvP outside of any deeds). The red zone has always enabled PvP.

 

Schedule format

The schedule can be set in the configuration file using UNIX cron format.

Very good site for creating schedules is here. Here are some examples:

 

UNIX cron format Human readable format
* 20-21 * * SAT

Every Saturday between 20 and 21 hours

*/2 * * * *

Every second minute

 

Put your schedule string to "%SERVER_FOLDER%/mods/ZonedPVE.properties" file with key "pvpschedule". Example:

pvpschedule=* 20-21 * * SAT

 

Edited by Ildar
  • Like 3

Share this post


Link to post
Share on other sites

0.2

Published new release - fixed PvE mode for catapults and Scorn of Libila spell

  • Like 1

Share this post


Link to post
Share on other sites

This is really cool- thanks for releasing this! I'm thinking about usng it to create a little deathmatch area on our server. Does the server have to be set to pvp/pve, or does this override normal checks to those?

Edited by conco

Share this post


Link to post
Share on other sites

This mod prohibits pvp in some situations, it can't allow pvp on pve server, so it makes sense to use it only in pvp servers.

 

Conco, feedback is appreciated. 

Edited by Ildar

Share this post


Link to post
Share on other sites

Hello! Is this mod updated? 

I painted my cities green and the rest of the map pink, following your instructions about the size and color codes. Then I tried to attack another player with a non-admin character in one of the cities and it worked, meaning that the zone is not non-pvp. 

 

I can not figure out what I can be doing wrong, that's why I'am asking if it is updated.

Thank you!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this