Fix missing option descriptions + fix formatting of plugin.yml

This commit is contained in:
Evenprime 2011-09-12 00:22:56 +02:00
parent 0264eb97d5
commit 8442194f3c
2 changed files with 10 additions and 10 deletions

View File

@ -3,7 +3,7 @@ name: NoCheat
author: Evenprime
main: cc.co.evenprime.bukkit.nocheat.NoCheat
version: 2.03
version: 2.03a
permissions:
@ -31,13 +31,13 @@ permissions:
nocheat.checks.moving.sneaking: true
nocheat.checks.moving.noclip: true
nocheat.checks.moving.morepackets: true
nocheat.checks.blockbreak.*:
description: Allow the player to bypass all blockbreak checks
children:
nocheat.checks.blockbreak.reach: true
nocheat.checks.blockbreak.direction: true
nocheat.checks.blockplace.*:
description: Allow the player to bypass all blockplace checks
children:
@ -48,7 +48,7 @@ permissions:
description: Allow the player to bypass all interact checks
children:
nocheat.checks.interact.durability: true
nocheat.checks.chat.*:
description: Allow the player to bypass all chat checks
children:
@ -79,18 +79,18 @@ permissions:
nocheat.checks.blockbreak.direction:
description: Allow a player to break blocks that are not in front of them
default: op
nocheat.checks.blockplace.reach:
description: Allow a player to place blocks at maximum range (about 6-7 blocks)
default: op
nocheat.checks.blockplace.onliquid:
description: Allow a player to place non-liquid blocks on liquids
default: op
nocheat.checks.interact.durability:
description: Allow a player to use an infinite durability item hack
default: op
nocheat.checks.chat.spam:
description: Allow a player to send an infinite amount of chat messages
default: op

View File

@ -70,9 +70,9 @@ public class Explainations {
set("chat.check", "If true, do various checks on PlayerChat events.");
set("chat.spam.check", "If true, check if a player is spamming the chat.");
set("interact.spam.timeframe", "Over what timeframe (in seconds) should the messages be counted?");
set("interact.spam.limit", "How many messages per timeframe may the player send?");
set("interact.spam.actions", "What should be done if a player is trying to spam the chat.\nUnit is number of chat messages above the given limit.");
set("chat.spam.timeframe", "Over what timeframe (in seconds) should the messages be counted?\nWhen the time is over, counting starts at 0 again.");
set("chat.spam.limit", "How many messages per timeframe may the player send without it counting as spamming?");
set("chat.spam.actions", "What should be done if a player is trying to spam the chat.\nUnit is number of chat messages above the limit you declared above.");
}