Sueta

SwearJar - Fine Players for Swearing

1.0

Fine players for swearing.

·Plugin

What is this?
This plugin allows you to fine players a configurable amount of money per swear word. If a user doesn't have the money, the message is not sent.

Features:

  • Configurable messages.
  • Configurable fine.
  • Lightweight.
  • Configurable swear words. (You can fine users for saying 'Mineplex' as an example).


Commands / Permissions:

  • /swearjar - Base command.
    swearjar.admin
  • /swearjar reload - Reload config.yml.
    swearjar.admin
  • /swearjar add <word> - Add word to config.yml.
    swearjar.admin
  • /swearjar remove <word> - Remove word from config.yml.
    swearjar.admin

    swearjar.bypass - Bypass getting fined.


Supported Versions:
Bukkit / Spigot 1.8 - 1.12

Config.yml:

# These are the words that will fine players to say.
swearwords:
  - Fuck
  - Bitch
  - Ass
  - Shit
  - Cunt
  - AddWords

# How much players will be charged for swearing
# You need to add .00
cost: 50.00

message: "&aYou were charged $%cost% for swearing %amount% times."
# Variables you can use:
# %player% = Player name
# %cost% = How much they are fined for swearing.
# %amount% = How many times they swore.[/COLOR]



Dependencies:
Vault

Economy Plugin such as EssentialsEco


Source Code:

https://github.com/iReligion/SwearJar

Similar projects

Plugin →