LuoChuanRedPacket介绍

LuoChuanRedPacket介绍

前言

(LuoChuanRedPacket)是一款我的世界红包插件

这个插件是我之前服务器 (洛川) 使用的 测试过的版本为 1.18.2-1.20.1
主要功能特色是支持跨服红包

支持PAPER PURPUR 等paper下游的核心

插件需要链接Redis与MySQ

特色

一般 金币/点券 红包

口令 金币/点券 红包

发送红包 动画

自定义 的配置

简洁的 命令

支持全服同步(即所有子服务器都可查看/领取红包)

图片介绍

普通金币红包.png

普通金币红包
普通点券红包.png

普通点券红包
口令点券红包.png

口令点券红包
口令金币红包.png

口令金币红包

发送红包动画

红包动图.gif

  • 可自定义图标配置(详情请查看配置文件)

命令

红包命令.png

插件权限

领取与发送红包: luochuanredpacket.command

发送金币红包: luochuanredpacket.command.vault

发送点券红包: luochuanredpacket.command.points

发送口令金币红包: luochuanredpacket.command.vault.text

发送口令点券红包: luochuanredpacket.command.points.text

插件配置

配置动画

点击下载 丢进ia的contents文件夹
animatedtitles\configs\particles.yml
链接失效请手动打开https://repo.xbaimiao.com/api/public/direct?file=public/animatedtitles-df4c54ee4894e1c624d6211caab872b3.zip

里面的贴图改成你自己的

贴图位置animatedtitles\resourcepack\assets\animatedtitles\textures\particles

引自 https://www.mcbbs.net/thread-1464431-1-1.html

配置文件

# 基本命令权限(玩家领取红包需要这个权限: luochuanredpacket.command
# 发送金币红包: luochuanredpacket.command.vault
# 发送点券红包: luochuanredpacket.command.points
# 口令金币红包: luochuanredpacket.command.vault.text
# 口令点券红包 luochuanredpacket.command.points.text

redis:
  host: localhost
  port: 6379
#  password: ""
mysql:
  enable: false
  host: 'localhost'
  port: 3306
  database: 'minecraft'
  user: 'minecraft'
  passwd: 'minecraft'
  ssl: false

# 金币红包最大金额
maxMoney: 1000
# 点券红包最大金额
maxPoint: 1000
# 不死图腾动画
animation:
  vault: 'server:redpacket'
  point: 'server:redpacket'
# 口令红包黑名单
blacklist:
  # *开头为包含
  - '*傻逼'
  # 全词匹配
  - '你妈死了'

语言文件

redpacket:
  money-too-big: '&7[&e&l!&7]&c 金额过大'
  not-exist: '&7[&e&l!&7]&c 这个红包不存在'
  send-text-value-null: '&7[&e&l!&7]&c 未填写口令'
  toggle: '&7[&e&l!&7]&a 红包提示功能状态: {0}'
  receive: '&7[&e&l!&7]&a 你抢到了 {0} &f¥'
  receive-points: '&7[&e&l!&7]&a 你抢到了 {0} &a¥'
  already-receive: '&7[&e&l!&7]&c 你已经领取过这个红包了'
  no-money: '&7[&e&l!&7]&c 这个红包已经被领完了'
  money-less-than-num: '&7[&e&l!&7]&c 你不能发包数 大于总金额 的红包'
  send-no-money: '&7[&e&l!&7]&c 你没有足够的金钱来发红包'
  send-no-money-points: '&7[&e&l!&7]&c 你没有足够的&a¥&c来发红包'
  send-common: '&7[&e&l!&7]&7 玩家 &a{0} &7发送了一个普通红包,金额为 &a{1} &f¥ &7[&a点击领取&7]'
  # 口令红包
  send-common-text: '&7[&e&l!&7]&7 玩家 &a{0} &7发送了一个口令红包,金额为 &a{1} &f¥ &7请在聊天栏输入口令 &c{2} &7领取'
  send-points: '&7[&e&l!&7]&7 玩家 &a{0} &7发送了一个点券红包,金额为 &a{1} &a点券 &7[&a点击领取&7]'
  send-points-text: '&7[&e&l!&7]&7 玩家 &a{0} &7发送了一个口令红包,金额为 &a{1} &f点券 &7请在聊天栏输入口令 &c{2} &7领取'
  luck-king-common: '&7[&e&l!&7]&7 玩家 &a{0} &7的红包已被领取完 &a{1} &7是运气王 金额为 &f{2} &f¥'
  luck-king-points: '&7[&e&l!&7]&7 玩家 &a{0} &7的红包已被领取完 &a{1} &7是运气王 金额为 &f{2} &a点券'
  player-receive-reply: '&7[&e&l!&7]&7 玩家 &a{0} &7领取了你的红包,金额为 &a{1} &f¥ &7红包还剩余金额 &a{2} &f¥ &7红包剩余 &a{3} &7个'
  player-receive-reply-points: '&7[&e&l!&7]&7 玩家 &a{0} &7领取了你的红包,金额为 &a{1} &a点券 &7红包还剩余金额 &a{2} &a点券 &7红包剩余 &a{3} &7个'
command:
  not-number: '&7[&e&l!&7]&c 正确用法: /lcrp send <金额> <数量>'
  not-player: '&7[&e&l!&7]&c 这个命令只能玩家执行'
  number-too-small: '&7[&e&l!&7]&c 金额和数量必须大于0'
  no-permission-vault: '&7[&e&l!&7]&c 你没有权限发送原晶红包'
  no-permission-points: '&7[&e&l!&7]&c 你没有权限发送圣晶红包'
  not-pass: '&7[&e&l!&7] §c发送失败,包含敏感词'
  no-permission: '&7[&e&l!&7]&c 你没有权限使用这个命令'
  force-only-player: '&7[&e&l!&7]&c 非强制发送这个命令只能玩家执行'

此插件已开源 不再售卖 如有需要自行构建