mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-23 00:21:30 +01:00
Moved all command cooldown settings to "island.cooldown.time" node
This commit is contained in:
parent
30487beffc
commit
9551560593
@ -97,26 +97,26 @@ public class Settings implements DataObject {
|
|||||||
* Island
|
* Island
|
||||||
*/
|
*/
|
||||||
// Cooldowns
|
// Cooldowns
|
||||||
@ConfigComment("How long a player must wait until they can rejoin a team island after being")
|
@ConfigComment("How long a player must wait until they can rejoin a team island after being kicked in minutes.")
|
||||||
@ConfigComment("kicked in minutes. This slows the effectiveness of players repeating challenges")
|
@ConfigComment("This slows the effectiveness of players repeating challenges")
|
||||||
@ConfigComment("by repetitively being invited to a team island.")
|
@ConfigComment("by repetitively being invited to a team island.")
|
||||||
@ConfigEntry(path = "island.cooldown.invite")
|
@ConfigEntry(path = "island.cooldown.time.invite")
|
||||||
private int inviteCooldown = 60;
|
private int inviteCooldown = 60;
|
||||||
|
|
||||||
@ConfigComment("How long a player must wait until they can coop a player in minutes.")
|
@ConfigComment("How long a player must wait until they can coop a player in minutes.")
|
||||||
@ConfigEntry(path = "island.cooldown.coop")
|
@ConfigEntry(path = "island.cooldown.time.coop")
|
||||||
private int coopCooldown = 5;
|
private int coopCooldown = 5;
|
||||||
|
|
||||||
@ConfigComment("How long a player must wait until they can trust a player in minutes.")
|
@ConfigComment("How long a player must wait until they can trust a player in minutes.")
|
||||||
@ConfigEntry(path = "island.cooldown.trust")
|
@ConfigEntry(path = "island.cooldown.time.trust")
|
||||||
private int trustCooldown = 5;
|
private int trustCooldown = 5;
|
||||||
|
|
||||||
@ConfigComment("How long a player must wait until they can ban a player after unbanning them. In minutes.")
|
@ConfigComment("How long a player must wait until they can ban a player after unbanning them. In minutes.")
|
||||||
@ConfigEntry(path = "island.cooldown.ban")
|
@ConfigEntry(path = "island.cooldown.time.ban")
|
||||||
private int banCooldown = 10;
|
private int banCooldown = 10;
|
||||||
|
|
||||||
@ConfigComment("How long a player must wait before they can reset their island again in seconds.")
|
@ConfigComment("How long a player must wait before they can reset their island again in seconds.")
|
||||||
@ConfigEntry(path = "island.cooldown.reset")
|
@ConfigEntry(path = "island.cooldown.time.reset")
|
||||||
private int resetCooldown = 300;
|
private int resetCooldown = 300;
|
||||||
|
|
||||||
// Timeout for team kick and leave commands
|
// Timeout for team kick and leave commands
|
||||||
|
Loading…
Reference in New Issue
Block a user