SimpleChatDelay [tested on 1.7,1.8]

Status
This thread has been locked.

Theone1000

Feedback score
0
Posts
8
Reactions
2
Resources
0
Note: This plugin uses vault to retrieve ranks because of this, you must have Vault installed on your server.

Description:

With SimpleChatDelay, you can restrict the number of messages a rank(s) can send every x amount of seconds.

Features:
* Limit the number of messages that can be sent by rank(s) every # amount of seconds
* Placeholders
* (OPTIONAL) Make certain ranks have custom messages, as seen below.
* Almost everything is configurable

Placeholders:

* name, rank, mmessages, delay, seconds.
* These placeholders and their uses are explained inside of the configuration.

Commands:
* /simpledelay (Reloads the configuration)

Permissions:
* simpledelay.reload (access to /simpledelay)


Images: (Note: You can edit these messages)
e546d3554579f452891819f76aa5b42b.png

562873acf09ec06a012fa43df475ad7d.png

fd32f853bef514d8dc34c9619cd09b37.png

Found a bug? want to make a suggestion? post it in the comment section or private message me.
Configuration snippet:
Code:
options:
enabled: true
##Example (Adding a rank)
##ranks:
## yourrank: ##Must be a rank that is retrievable by Vault.
##  max-messages: 2 ##Amount of messages they can send every 'seconds-to-wait'.
##  seconds-to-wait: 3 ##Explained above
##  custom-messages: *OPTIONAL* (PlaceHolders below) ##Replaces the default 'messages'
##   - '&8----------------------------------'
##   - '&7» Insert your custom messages here.
##   - '&7» More messages!
##   - '&8----------------------------------'
##Now whoever has 'yourrank' will only be able to send 2 messages every 3 seconds.
ranks:
youtuber:
  max-messages: 5
  seconds-to-wait: 3
  custom-messages:
  - '&8----------------------------------'
  - '&7» &cYou are favorited because you are a youtuber.'
  - '&7» &b%rank%s &ccan only send &4%max% &cmessages every &4%delay% &cseconds'
  - '&7» &cYou can send more messages in &4%seconds% &cseconds.'
  - '&8----------------------------------'
donator:
  max-messages: 5
  seconds-to-wait: 2
  custom-messages:
  - '&8----------------------------------'
  - '&7» &cYou are especially favorited because you are a donator!'
  - '&7» &b%rank%s &ccan only send &4%max% &cmessages every &4%delay% &cseconds'
  - '&7» &cYou can send more messages in &4%seconds% &cseconds.'
  - '&8----------------------------------'
member:
  max-messages: 1
  seconds-to-wait: 1
#PlaceHolders (name, rank, mmessages, delay, seconds)
##name = the senders name (static)
##rank = their retrievable rank by vault (static)
##max = Retrieves 'max-messages' from ranks (static)
##delay = Retrieves 'seconds-to-wait' from ranks (static)
##seconds = seconds until seconds-to-wait is over
default-messages:
- '&8----------------------------------'
- '&7» &b%rank%s &ccan only send &4%max% &cmessages every &4%delay% &cseconds'
- '&7» &cYou can send more messages in &4%seconds% &cseconds.'
- '&8----------------------------------'
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.
Status
This thread has been locked.
Top