-
Notifications
You must be signed in to change notification settings - Fork 0
IEventCommand
Martin S. edited this page Dec 14, 2025
·
3 revisions
Information IEventCommand.cs
-
Type:Interface -
Description:Interface used to implement your own custom commands to your event, which in some cases is better then registering a lot of commands on server. When player is executing command withevent <id> <args>then args will be what you get alongside the player executing command. Index 0 is always going to be present, if not interfaceIEventHelpwill be executed.
-
Returns:string -
Arguments:Exiled.API.Features.Player, System.Collections.Generic.List -
Description:Method used when command is executed.System.Collections.Generic.List<string>index0is always present. String returned represents message received by admin of the server, additionally to this instead of having another out argument for bool, you return !messeage if command was falsely executed and without ! if sucsessfully. -
Implementations:Bases.cs
