OMD.Events
1.2.0
Additional Details
Since 1.4.0 there's a custom event handlers subscription. It is recommended to use versions >= 1.4.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package OMD.Events --version 1.2.0
NuGet\Install-Package OMD.Events -Version 1.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OMD.Events" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OMD.Events --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: OMD.Events, 1.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OMD.Events as a Cake Addin #addin nuget:?package=OMD.Events&version=1.2.0 // Install OMD.Events as a Cake Tool #tool nuget:?package=OMD.Events&version=1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
OMD.Events
An Unturned OpenMod plugin which implements additional events and allows developers to easily implement their own events interface.
How install or update plugin
Install plugin with command: openmod install OMD.Events
How to easily implement your own additional events
- In progress...
Implemeted events
OMD.Events.Weapons
UnturnedPlayerChangedFiremodeEvent
fired when player changed his weapons fire modeUnturnedPlayer Player
- player's instanceUseableGun Gun
- weapon which player is holdingEFireMode Firemode
- new weapons fire mode
UnturnedPlayerChangedMagazineEvent
fired when player changed his weapons magazineUnturnedPlayer Player
- player's instanceUseableGun Gun
- weapon which player is holdingItemJar ItemJar
- item jar of new weapons magazine
UnturnedPlayerInspectingWeaponEvent
fired when player start to inspect his weaponUnturnedPlayer Player
- player's instanceUseableGun Gun
- weapon which player is holding
UnturnedPlayerSpawnedBulletEvent
- fired when player shoot from his weaponUnturnedPlayer Player
- player's instanceUseableGun Gun
- weapon which player is holdingBulletInfo BulletInfo
- information about the fired bullet
OMD.Events.Useable
UnturnedPlayerUseableConsumedEvent
fired when player ate, drank or used any medicine on himself or other playerUnturnedPlayer Player
- instigator's instanceUnturnedPlayer Target
- instance of player on whom useable has been usedItemConsumeableAsset Asset
- asset info of useable which has been used
OMD.Events.Permissions
UnturnedPlayerPermissionAddedEvent
fired when player got a permissionUnturnedPlayer Player
- player's instancestring Permission
- permission which has been granted
UnturnedPlayerPermissionRemovedEvent
fired when player's permission has been taken awayUnturnedPlayer Player
- player's instancestring Permission
- permission which has been taken away
OMD.Events.NPC
UnturnedPlayerPermissionAddedEvent
fired when player triggered NPC eventUnturnedPlayer Player
- player's instancestring EventId
- Id of triggered event
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net481 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8.1
- Lib.Harmony (>= 2.2.2)
- OpenMod.Unturned (>= 3.7.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on OMD.Events:
Package | Downloads |
---|---|
OMD.PlayersFeatures
A plugin for Unturned/OpenMod, which allows you to use improved God and Vanish modes. |
|
OMD.Zones
An OpenMod / Unturned plugin which implements optimized zones using server-side colliders. |
GitHub repositories
This package is not used by any popular GitHub repositories.