|
@@ -22,7 +22,8 @@ public class ConfigSectionExploitFishing {
|
|
@Setting(value = "Overfishing-Limit", comment = "How many times a player can fish in the same spot before it becomes over-fished" +
|
|
@Setting(value = "Overfishing-Limit", comment = "How many times a player can fish in the same spot before it becomes over-fished" +
|
|
"\nOver fishing is in place to prevent 99% of AFK fishing from working." +
|
|
"\nOver fishing is in place to prevent 99% of AFK fishing from working." +
|
|
"\nFishing in a new spot is all it takes to remove over-fishing from your previous location." +
|
|
"\nFishing in a new spot is all it takes to remove over-fishing from your previous location." +
|
|
- "\nOver-fishing is based on where your fishing bobber actually lands and catches fish, it has nothing to do with where you are standing.")
|
|
|
|
|
|
+ "\nOver-fishing is based on where your fishing bobber actually lands and catches fish, it has nothing to do with where you are standing." +
|
|
|
|
+ "\nDefault value: "+OVER_FISHING_LIMIT_DEFAULT)
|
|
private int overfishingLimit = OVER_FISHING_LIMIT_DEFAULT;
|
|
private int overfishingLimit = OVER_FISHING_LIMIT_DEFAULT;
|
|
|
|
|
|
@Setting(value = "Overfishing-Area-Size-Radius", comment = "Over-Fishing tracks where you've caught fish from by making a bounding box around where your fishing rod's bobber lands." +
|
|
@Setting(value = "Overfishing-Area-Size-Radius", comment = "Over-Fishing tracks where you've caught fish from by making a bounding box around where your fishing rod's bobber lands." +
|
|
@@ -30,12 +31,13 @@ public class ConfigSectionExploitFishing {
|
|
"\nI wouldn't recommend making this value too large or it will be very troublesome for your players to fish." +
|
|
"\nI wouldn't recommend making this value too large or it will be very troublesome for your players to fish." +
|
|
"\nA value of 1.0 would result in a bounding box that is 2.0 units (blocks) in size" +
|
|
"\nA value of 1.0 would result in a bounding box that is 2.0 units (blocks) in size" +
|
|
"\nWhen you catch a new fish it makes a new bounding box at that location and checks to see if it overlaps with the bounding box of the last place you caught a fish," +
|
|
"\nWhen you catch a new fish it makes a new bounding box at that location and checks to see if it overlaps with the bounding box of the last place you caught a fish," +
|
|
- " if they intersect then that increases your fish counter, if you are at your fishing limit then you get nothing." +
|
|
|
|
|
|
+ "\n if they intersect then that increases your fish counter, if you are at your fishing limit then you get nothing." +
|
|
"\nDefault value: "+OVER_FISHING_SIZE)
|
|
"\nDefault value: "+OVER_FISHING_SIZE)
|
|
private float overFishingAreaSize = OVER_FISHING_SIZE;
|
|
private float overFishingAreaSize = OVER_FISHING_SIZE;
|
|
|
|
|
|
@Setting(value = "Alert-Admins-To-Overfishing-Abuse", comment = "If someone is triggering over-fishing exploit detection too often, alert admins." +
|
|
@Setting(value = "Alert-Admins-To-Overfishing-Abuse", comment = "If someone is triggering over-fishing exploit detection too often, alert admins." +
|
|
- "\nThis will send a message to ops in game and to the console, and to anyone with the admin chat permission node.")
|
|
|
|
|
|
+ "\nThis will send a message to ops in game and to the console, and to anyone with the admin chat permission node." +
|
|
|
|
+ "\nDefault value: "+ADMINS_OVER_FISHING_DEFAULT)
|
|
private boolean alertAdminsOnOverFishing = ADMINS_OVER_FISHING_DEFAULT;
|
|
private boolean alertAdminsOnOverFishing = ADMINS_OVER_FISHING_DEFAULT;
|
|
|
|
|
|
@Setting(value = "Fishing-Rod-Spam-Threshold-In-Milliseconds", comment = "How many milliseconds in between casting the fishing rod before a player suffers from fatigue." +
|
|
@Setting(value = "Fishing-Rod-Spam-Threshold-In-Milliseconds", comment = "How many milliseconds in between casting the fishing rod before a player suffers from fatigue." +
|