You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a web hook on server_stop but not on server_start however it didn't POST to my url when stopping server. I figured out that without server_start enabled then server_stop is also disabled.
This enables both hooks :
# This event is fired when the server starts
"server_start"=[
{
address="http://localcraft/serverStart"
dataType=JSON
details=false
enabled=true
form=true
headers=[]
method=POST
permissions {
"*"=true
}
}
]
# This event is fired when the server stops
"server_stop"=[
{
address="http://localcraft/serverStop"
dataType=JSON
details=false
enabled=true
form=true
headers=[]
method=POST
permissions {
"*"=true
}
}
]
This enables SERVER_START :
# This event is fired when the server starts
"server_start"=[
{
address="http://localcraft/serverStart"
dataType=JSON
details=false
enabled=true
form=true
headers=[]
method=POST
permissions {
"*"=true
}
}
]
# This event is fired when the server stops
"server_stop"=[
{
address="http://localcraft/serverStop"
dataType=JSON
details=false
enabled=false
form=true
headers=[]
method=POST
permissions {
"*"=true
}
}
]
Finally, this does nothing :
# This event is fired when the server starts
"server_start"=[
{
address="http://localcraft/serverStart"
dataType=JSON
details=false
enabled=false
form=true
headers=[]
method=POST
permissions {
"*"=true
}
}
]
# This event is fired when the server stops
"server_stop"=[
{
address="http://localcraft/serverStop"
dataType=JSON
details=false
enabled=true
form=true
headers=[]
method=POST
permissions {
"*"=true
}
}
]
With both GET and POST methods.
The text was updated successfully, but these errors were encountered:
I have a web hook on
server_stop
but not onserver_start
however it didn't POST to my url when stopping server. I figured out that withoutserver_start
enabled thenserver_stop
is also disabled.This enables both hooks :
This enables
SERVER_START
:Finally, this does nothing :
With both GET and POST methods.
The text was updated successfully, but these errors were encountered: