-
Notifications
You must be signed in to change notification settings - Fork 2
Specifics
This page contains every specifications that is needed to be able to use the plugin correctly.
Our plugin handle different items in different ways.
At the moment the only available types are the following:
Every type has a different custom_data
An Item is a simple item that can trigger an event (or a command) by triggering it's event.
This is the custom_data of an Item (first C# and then YAML):
public abstract ItemEvents Event { get; set; }
public abstract string? Command { get; set; }
public abstract string ConsoleMessage { get; set; }
public abstract string BroadcastMessage { get; set; }
public abstract ushort BroadcastDuration { get; set; }
public abstract string HintMessage { get; set; }
public abstract float HintDuration { get; set; } custom_data:
event: Command
command: /SERVER_EVENT DETONATION_INSTANT
console_message: UHUHUHUH!
broadcast_message: The broadcast uuhh!!!
broadcast_duration: 3
hint_message: Yamato is a femboyThe events that triggers the command and the response.
The command that will be executed when event is fired.
Null or empty to disable.
The message that the player will receive in the console.
Empty to disable.
The message that the player will receive as a broadcast.
Empty to disable.
The duration of the broadcast.
The message that the player will receive as a hint.
Empty to disable.
The duration of the hint.
A Weapon is an item able to shoot.
This is the custom_data of a Weapon (first C# and then YAML):
public abstract float Damage { get; set; }
public abstract float FireRate { get; set; }
public abstract byte MaxAmmo { get; set; } custom_data:
damage: 2.75
fire_rate: 0.35
max_ammo: 20The damage done by the weapon.
< 0 to heal.
The fire rate, only for automatic weapons.
The max number of ammo that this weapon has.
An Armor is an item able to reduce damage.
This is the custom_data of an Armor (first C# and then YAML):
public abstract int HeadProtection { get; set; }
public abstract int BodyProtection { get; set; }
public abstract bool RemoveExcessOnDrop { get; set; }
public abstract float StaminaUseMultiplier { get; set; } custom_data:
head_protection: 2
body_protection: 3
remove_excess_on_drop: true
stamina_use_multiplier: 1.5The Head protection of the armor.
The Body protection of the armor.
If the ammo should be dropped when the armor is dropped.
The stamina that is consumed, higher is more stamina.
A Keycard is a simple keycard with custom permissions.
This is the custom_data of a Keycard (first C# and then YAML):
public abstract KeycardPermissions Permissions { get; set; } custom_data:
permissions: CheckpointsThe permissions of the keycard.
Many enums are not defined by us but by EXILED, so please take a look at these:
Considering to donate 1$ to support the development.
If youn want this donation to be given to SpGerg just write it in the message :)