main/Commands & Permissions Index/v0.0.3a

Commands, Permissions, & config.yml

Commands:

CommandDescriptionUsage
pfilterDisplays current version/pfilter
pfilter enabled on|offToggles the plugin on or off/pfilter enabled on
/pfilter enabled off
pfilter whitelist add|remove {item}Adds/removes an item to/from the whitelist/pfilter whitelist add {item-to-be-added}
/pfilter whitelist remove {item-to-be-removed}
pfilter whitelist on|offToggles the whitelist on or off/pfilter whitelist on
/pfilter whitelist off
pfilter blacklist add|remove {item}Adds/removes an item to/from the blacklist/pfilter blacklist add {item-to-be-added}
/pfilter blacklist remove {item-to-be-removed}
pfilter blacklist on|offToggles the blacklist on or off/pfilter blacklist on
/pfilter blacklist off

Permissions:

PermissionDescriptionChildren
PhantasmaFilter.*Gives access to all commandsPhantasmaFilter.control.*: true
PhantasmaFilter.control.*Gives access to all plugin control commandsPhantasmaFilter.control.enabled: true
PhantasmaFilter.control.lists: true
PermissionDescriptionDefault
PhantasmaFilter.control.enabledAllows player to use /pfilter enabled command
(Enable\Disable the plugin)
false
PhantasmaFilter.control.listsAllows player to use /pfilter whitelist add|remove
Allows player to use /pfilter whitelist on|off
Allows player to use /pfilter blacklist add|remove
Allows player to use /pfilter blacklist on|off
false

config.yml

Important Note: All messages from Phantasma Filter are prefixed with 'pf:', so if you'd still like status/error messages from the filter, leave 'pf:' in the whitelist.

enabled-on-load: false

whitelist:
  enabled: true
  list:
  - 'pf:'
  - 'chat:'

blacklist:
  enabled: false
  list:
  - 'You have been healed'

language-filter:
  enabled: false
  replacements:
  - cat
  - dog
  - peaches
  - 'cell phone'
  - 'RADIO-EDIT'
  - '@#$%^&'
  filtered-words:
  - fork
  - 'bad words'

Config OptionDescriptionDefault Value
enabled-on-loadControls whether or not the plugin is enabled when loadedfalse
whitelist.enabledControls if the whitelist is enabledtrue
whitelist.listContains the list of whitelisted itemsN/A
blacklist.enabledControls if the blacklist is enabledfalse
blacklist.listContains the list of blacklisted itemsN/A
language-filter.enabledControls if the language filter is enabledfalse
language-filter.replacementsList of words used as replacements for words matching languagefilter.filtered-wordsN/A
language-filter.filtered-wordsList of words to be replaced with a random selection from languagefilter.replacementsN/A