You are viewing a potentially older version of this package. View all versions.
ValkyrieMods-ZonePermissions-1.0.1 icon

ZonePermissions

Allows creation of zones with specific permissions.

Date uploaded 5 months ago
Version 1.0.1
Download link ValkyrieMods-ZonePermissions-1.0.1.zip
Downloads 261
Dependency string ValkyrieMods-ZonePermissions-1.0.1

This mod requires the following mods to function

ValheimModding-Jotunn-2.20.1 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.20.1

README

Zone Permissions

This is an update of HackShardGaming's World of Valheim Zones for Ashlands

Configuration and permissions work just like the original version, except for permissions related to WoV Permissions. Only SteamIDs for Zone Admins for now. Zones.txt config file updates when changes are made and are server synced.

Uses Jotunn to enforce mod installation on client.

Example configuration file:

# Type: [ZoneTypeName] [PVP_Mode] [PVP_Enforce] [Position_Show] [Position_Enforce]

# wilderness is the default zone for everywhere
Type: wilderness true false
Type: safe false true true true
Type: battle true true false true

# [ZoneConfigurations]
# ZoneTypeName: Name of an existing Zone Type
# AdminIDs: List of SteamID's of all the Admins you want to override all Configurations except damage mods in the area.
# Configuration:  List of all options you wish to put in this area.  Below is a list of available options.
## NoChest: Prevent the user from accessing chests
## NoDoors: Prevent the user from opening doors.
## NoBuilding: Prevent a user from building / destroying using the hammer.
## NoBuildDamage: Prevent anyone / anything from damaging buildings.
## NoItemPickup: Prevent the user from picking up items.
## NoItemDrop: Prevent the user from dropping items.
## NoItemLoss: Prevent the user from losing there items (TombStome) on death.
## NoTerrain: Prevent modification of Terrain.
## NoPickaxe: Prevent the Pickaxe from being used. (Note: NoTerrain will also prevent this)
## PushAway: Prevent the user from entering the area. (Please not if your sprint is fast enough
## you can still push in but it will push you away just like it does if you fall off the map).
## PeriodicDamage(int): Deals (INT) damage periodically to the user.
## PeriodicDamage(type,int) Deals (INT) damage of the damage type: (type) periodically to the user.
## Damage types include: Fire, Frost, Lightning, Poison, Pierce, Blunt,, Slash, and Damage
## PeriodicHeal(int) Heals the user for (INT) Periodically
## DamageMultiplierToMobs(int): Deals (INT) * 100 Percent damage to Mobs (Includes Mob
## on Mob!) (1 = 100%)
## DamageMultiplierToPlayers(int): Deals (INT) * 100 Percent damage to Players (This currently
## does not work in PVP) (1 = 100%)
## DamageMultiplierToTrees(int): Deals (INT) * 100 Percent damage to Trees! (This includes
## trees falling on trees!) (1 = 100%) 

# Configuration: [ZoneTypeName] | [AdminIDs] | [Configuration]
Configuration: wilderness | null | none
Configuration: safe | null | none
Configuration: battle | null | NoBuilding

# [Name] [ZoneType] [Priority] [Shape(circle/square)] [x] [y] [r]
DefaultSafeZone safe 5 circle 0.0 0.0 50.0
DefaultBattle battle 4 square 50.0 50.0 20.0

To Do:

  • [x] Config file + Server Sync
  • [] CLI + API for adding/editing/removing zones, zone admins
  • [] Color configuration for zones to be displayed on the minimap
  • [] CLI + API for Zone grid generation

CHANGELOG

Changelog

Version 1.0.0

  • Initial Release