forked from TheComputerGeek2/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 3
Silence Spell
MomoPewpew edited this page Jul 28, 2023
·
13 revisions
spell-class: ".targeted.SilenceSpell"
A targeted spell that takes away the target's ability to cast spells.
Option | Description | Variable Type | Default Value |
---|---|---|---|
prevent-cast |
Whether to stop the target from casting spells. | Boolean | true |
prevent-chat |
Whether to stop the target from using chat. | Boolean | false |
prevent-commands |
Whether to stop the target from using commands. | Boolean | false |
spell-on-denied-cast |
Sub-spell to cast whenever the target's spell was silenced. | String | null |
spell-on-denied-chat |
Sub-spell to cast whenever the target's chat was silenced. | String | null |
spell-on-denied-command |
Sub-spell to cast whenever the target's command was silenced. | String | null |
duration |
How long, in ticks, the silence spell lasts. | Integer | 200 |
str-silenced |
String message sent to any player who is silenced. | String | "You are silenced! |
This spell depends on the Spell Filter options. |
Silence:
spell-class: ".targeted.SilenceSpell"
range: 12
prevent-cast: true
prevent-chat: false
prevent-commands: false
duration: 30
cooldown: 16
allowed-spells:
- list
- help
cost:
- mana 35
str-cost: 35 mana
str-no-target: No target.
str-cast-self: "You silence %t."
str-cast-target: "%a silences you."
str-silenced: "You are silenced."
!!!This is not the official MagicSpells wiki!!!
This wiki was cloned from the official one to document the changes to the plugin that were made specifically for Dwarves vs Zombies 2023 and Lords of Minecraft 2