Chat Storage

Chat Storage

Plugin

Reduce spammers way to flood your server chat window!

Server

3 downloads
0 followers
Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Do you have chat moderators that can watch your chat every day? Is your server always flooding players?

Now you can allow them do that by making a limits! So you can chat, but every time you send a message, from you will be took that much storage as how much characters you have send!

So basically, if player sends "Hello World" into chat, this message will take 11 bytes from player's Chat Storage.

If player will ever run out of storage while chatting, the message will not send. (Excepts for commands, messaging in private via /msg or any other commands that can also send messages into chat)

By default, you will get 1mb for free, but if you run out, you can always buy more! (You can change it in config file)

MAKE SURE THAT YOU HAVE VAULT INSTALLED.

Commands & Permissions

To start using this plugin, firstly you should set how much you want to have newly joined players storage (this setting can be changed in config files in the plugins folder). All storage are in binary! You can do math for example 1 MB = 1048576 (1024*1024) The maximum capacity can be up to 8192 PB or Infinity if administrator will set it for you. After you decided everyting. You ready to go!

Basic commands:

  • /chatstorage pirkti <cost> - Cost can be defined by player (Min - 1, Max - infinity)
  • /chatstorage nupirkti <player name> <cost> - You will buy for other player some storage! But money will be took from you!
  • /chatstorage - You can see basic commands and how many storage capacity you have and how many you used.

Administrator commands:

  • /chatstorage add <player name> <storage in bytes / inf> - You will add for online player some storage for free, if you decided to write inf, it will set it into infinity capacity. (Permission: cs.admin.add)
  • /chatstorage take <player name> <storage> - You will take from online player some storage (infinity users cannot be affected by this). (Permission: cs.admin.take)
  • /chatstorage have <nick> - Shows how many storage it has. (Permission: cs.mod.have)

Project members

MrEdgariuxas

Member

Details

Licensed CC0-1.0
Published 25 days ago
Updated a month ago