-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Added SendingCommand event to Player #163
base: dev
Are you sure you want to change the base?
Conversation
Lol, i forgot to remove my test eventarg in first commit, thats why it was not working. |
I think event name should indicate that this is RA command |
Like, change it to SendingRACommand? |
Or SendingValidRACommand |
Idk. It's up to you but it must properly indicate when this event fires |
Oh, ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PRs should target dev branch, not master
i am not sure about the name |
Nope, only if command exist. |
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
Oh, my English sucks |
EXILED/Exiled.Events/Patches/Events/Player/SendingValidRACommand.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make sure everything works as expected?
Yeah, i checked this on my own. Also your upper request is a little bit incorrect, the event is invoked before command execution. |
No? Everything is fine, look at other summaries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If everyting is working as expected
oh i forgor to set it to true
Personally speaking, |
Originaly it was SendingCommand |
Wth why the build failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add enum for CommandType
SendingValidCommand (with CommandType) instead of only RA
yeah, i was making the same but for client commands |
@Mar1ki how is the progress going on this one, I would love this feature |
Description
Describe the changes
Added SendingCommadnEvent, that is invoked, when player sends proper command.
What is the current behavior?
Added event, so it will be easier to contrrol commands.
Types of changes
Submission checklist
Patches (if there are any changes related to Harmony patches)
Other