你有聊天管理员可以每天监控你的聊天吗?
你的服务器是否总是被玩家刷屏?
现在,你可以通过设置限制来实现这一点!这样你就可以聊天了,但每次你发送消息时,你占用的存储空间量将等于你发送的字符数!
所以基本上,如果玩家在聊天中发送 "Hello World",这条消息将从玩家的聊天存储中扣除 11 字节。
如果玩家在聊天过程中存储空间耗尽,消息将无法发送。(命令除外,通过 /msg 或其他可以向聊天发送消息的命令进行的私聊不受此限制)
默认情况下,你会免费获得 1MB 的空间,但如果用完了,你可以随时购买更多!(你可以在配置文件中更改此设置)
请确保已安装 Vault。
命令与权限
要开始使用此插件,首先你需要设置新加入玩家的存储空间大小(此设置可以在插件文件夹中的配置文件中更改)。
所有存储单位均为二进制!你可以进行计算,例如 1 MB = 1048576 (1024*1024)
最大容量可达 8192 PB,或者如果管理员为你设置为无限,则为无穷大。
在你确定一切后,就可以开始了!
基本命令:
- /chatstorage pirkti <cost> - 成本可由玩家定义(最小值 - 1,最大值 - 无穷大)
- /chatstorage nupirkti <player name> <cost> - 你将为玩家购买一些存储空间!但钱会从你这里扣除!
- /chatstorage - 你可以查看基本命令以及你的存储空间容量和使用情况。
管理员命令:
- /chatstorage add <player name> <storage in bytes / inf> - 你将在线为某个玩家免费添加一些存储空间,如果你决定写 inf,它将被设置为无限容量。(权限:cs.admin.add)
- /chatstorage take <player name> <storage> - 你将从在线玩家那里扣除一些存储空间(无限容量的用户不会受此影响)。(权限:cs.admin.take)
- /chatstorage have <nick> - 显示该玩家有多少存储空间。(权限:cs.mod.have)
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)
评论 0
登录后参与评分
还没有评论,来抢沙发吧