1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-24 15:23:20 +02:00

Set default tpa timeout to 2 minutes.

3725a5e6d4
This commit is contained in:
Chris Ward
2013-01-09 20:25:54 +11:00
parent 688cfca625
commit dca47a117d
2 changed files with 2 additions and 2 deletions

View File

@@ -345,7 +345,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
############################################################ ############################################################
# +------------------------------------------------------+ # # +------------------------------------------------------+ #

View File

@@ -14,7 +14,7 @@ public class Teleport implements StorageObject
{ {
"Set timeout in seconds for players to accept tpa before request is cancelled.", "Set to 0 for no timeout." "Set timeout in seconds for players to accept tpa before request is cancelled.", "Set to 0 for no timeout."
}) })
private int requestTimeout = 0; private int requestTimeout = 120;
@Comment({"Cancels a request made by tpa / tphere on world change to prevent cross world tp"}) @Comment({"Cancels a request made by tpa / tphere on world change to prevent cross world tp"})
private boolean cancelRequestsOnWorldChange = false; private boolean cancelRequestsOnWorldChange = false;
@Comment( @Comment(