Skip to content

LSDog/CustomSprays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CustomSprays

CustomSprays | 花样喷漆 🎉

👇大概是一些用法 | bla bla usages use

(^∀^●)ノシ

Visits
~ 这是一个猫猫计数器 ^ↀᴥↀ^ MoeCounter !

📢 介绍 | Introduce


Name Content
logo CustomSprays
花样喷漆
作者
Author
LSDog
版本
Version
1.5.11
支持
Support
1.7.10 ~ 1.20.4 (Bukkit Spigot Paper ...)
指令
Cmd
/sprays ... - 主命令
/spray - 喷漆
/spray big - 喷大喷漆
权限
Perm
请见 "config.yml" / see "config.yml"

Links: Mcbbs | Spigot | PlanetMinecraft

下载 | Download发布页 | Releases !!

(上面Github打不开? → Gitee发布页)

喷漆音效资源包 / Spray sound resource pack ! ⭐

ItemsAdder支持 oraxen支持

⭐ English message config is also in config.yml (commented out by #) ⭐

✨ 用法 | Usage


步骤

1 | 将 CustomSprays.jar 放入 plugins 文件夹,重启服务器
  |
  | (现在去复制图片链接)
  |
2 | 输入指令: /sprays upload <url>  -  上传图片
3 | 输入指令: /spray                -  对着墙喷漆
  |
4 | 🎇 如果服务器版本 ≥ 1.9,【快速双击F键】也可以喷漆!🎇

Steps:

1 | Put "CustomSprays.jar" in "plugins" folder,restart the server.
  |
  | (now get ur image link)
  |
2 | Send command: /sprays upload <url>  -  Upload image
3 | Send command: /spray                -  Spray at wall
  |
4 | 🎇 If server version ≥ 1.9,【Quick double click "F"】can also spray!🎇

💻 更多指令发送 "/sprays" | Send "/sprays" for more commands

💻 更多设置请见 "config.yml" | See "config.yml" for more configurations

🎮 版本支持 | Version Support


🔷 1.7.10 ~ 1.20.4

📏 支持的 "领域" 插件 | Supported "region" plugins:

  • Residence .......... [ ? ~ 5.0.1.3+ ]
  • WorldGuard ......... [ 6.? ~ 7.x ]
  • GriefDefender ...... [ ? ~ 2.1.4+ ]

(理论上支持更新的版本 | newer versions should be ok)

🏆 特性 | Features


  • 🙅‍ 无 Bungeecord 端插件,所有数据皆由 MySQL / yml 进行存储

  • 🙅‍ NO Bungeecord-side plugin,all the data storage in MySQL / yml

  • 📦 纯发包实现喷漆【避免交互 | 不生成垃圾】

  • 📦 100% use packets【no interact with spray | no junk generated】

  • 📐 限制喷漆的世界或区域!

  • 📐 Disable spraying in specific worlds or regions!

  • 📺 自定义喷漆物品/音效!

  • 📺 Custom spray item / sound effect!

  • 👋 复制别人的喷漆,或者禁止别人喷漆!

  • 👋 Copy others spray or prevent others from copying yours!

  • ☕ 无需前置API,发包纯手搓

  • ☕ No API required ,making NMS sh-t by myself

  • 🔗 玩家上传图片链接 >> 压缩存储图片 >> 喷漆后自动消失

  • 🔗 Player uploads link >> Zip & save image >> Spray self-destruct

  • 💴 或者使用 Vault 经济花钱喷漆!

  • 💴 Or use Vault cost players money for spraying!

⚡ 注意事项 | Warning


🔺 已知问题 [仅限版本1.7~1.12]:当某一世界地图数量 >32467 时 (最多为32767) 喷漆会导致某些原生地图被暂时替换
🔺 Known problem [Only in version 1.7~1.12]: When the map count is >32467 in a world (max 32767), spraying will make some original map replaced by spray image temporarily.

原因: 这些版本中插件使用 id [3246732767] 对地图图案(MapView)进行标识,喷漆时对图案会被替换
Reason: In these versions plugin uses id [32467
32767] to target the Mapview, so map with that id will be replaced.

💻 开发 | for Developers


你只需要...

  • 1.9+ 服务端 作为库
  • 直接构建!构建结果可用于全部适用版本

You only need...

  • 1.9+ server jar as the library
  • Build the jar! the build results can be used for all applicable versions

✍ TODO


  • 左键喷漆删除喷漆 (因为不想用protocol lib所以需要研究手写pack listener)
  • 自动获取NMS中用到的混淆名称,这样就不用随版本更新手动添加case了
  • 喷漆动画 (粒子效果,颜色可以与图像颜色稍微对应)
  • folia 支持 (需要更多研究)
  • 粒子喷漆 (用粒子效果组成图像)
  • gif 动图支持 (需要更多研究)
  • SQLite 支持
  • 商店版 (购买预制的喷漆)
  • 喷漆仓库,实际上跟上面这个设想有相通的地方,问题是如果单个玩家仓库过大加载单个玩家yaml时间会很长,所以应该要搞成分文件的,直接把384*384转成的bytearray存到奇怪后缀的文件里,sql就不管了,该扩展扩展

💖 DONATE ME 💖 喜欢我就给我发电!!


打赏 | Donate: 爱发电 | Aifadian

who use? I use!

本项目由 PixelMC 团队提供长期支持与维护

logo