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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this