mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 10:34:41 +02:00
Set default tpa timeout to 2 minutes.
This commit is contained in:
@@ -929,7 +929,7 @@ public class Settings implements ISettings
|
|||||||
@Override
|
@Override
|
||||||
public long getTpaAcceptCancellation()
|
public long getTpaAcceptCancellation()
|
||||||
{
|
{
|
||||||
return config.getLong("tpa-accept-cancellation", 0);
|
return config.getLong("tpa-accept-cancellation", 120);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@@ -383,7 +383,7 @@ sethome-multiple:
|
|||||||
|
|
||||||
# Set timeout in seconds for players to accept tpa before request is cancelled.
|
# Set timeout in seconds for players to accept tpa before request is cancelled.
|
||||||
# Set to 0 for no timeout
|
# Set to 0 for no timeout
|
||||||
tpa-accept-cancellation: 0
|
tpa-accept-cancellation: 120
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
# +------------------------------------------------------+ #
|
# +------------------------------------------------------+ #
|
||||||
|
Reference in New Issue
Block a user