HiRewards

插件

· 作者 riso

奖励那些向加入你服务器的玩家打招呼的玩家!

0 本站下载 0 关注 更新于 8 个月前

最新 1.0.2 · 1.21.11 · Paper / Spigot

一键开服(送7天)

HiRewards

HiRewards 是一款轻量级插件,当玩家使用诸如“welcome”或“hello!”等话语迎接加入的玩家时,会给予自定义奖励。该插件旨在通过鼓励你的玩家群体向新加入和回归的玩家打招呼,来构建一个紧密的社区。它被设计为各种“聊天游戏”插件的一个非常辅助且不具侵入性的“表亲”。

功能

  • 自定义奖励(兼容任何经济类插件)
  • 针对迎接新玩家与迎接回归玩家的不同奖励
  • 自定义触发词(支持正则表达式)
  • 自定义响应窗口间隔
  • 自定义冷却间隔
  • 防作弊系统

目前计划不提供此插件的 Fabric 移植版本。

config.yml
# Valid Greetings
# The words that you would like to trigger the reward
# Supports Regex
greetings:
  - ".*welcome*."
  - ".*hi*."
  - ".*h?ello*."
  - ".*what'?s up*."
  - ".*sup*."
  - ".*o/*."

# Greeting Window
# In SECONDS, the amount of time all players have to greet incoming
# players before they can no longer receive a reward.
greeting_window: 20

# Rewards
# Supports all kinds of commands, so consider sending
# tellraw, title, or playsound as well!
rewards:
  firstjoin:
    - "xp add %player% 25"
    - "give %player% diamond 1"
  join:
    - "xp add %player% 10"
    - "give %player% emerald 1"

# Reward Cooldown
# In HOURS, the time required for player to receive reward for
# greeting the same player.
reward_cooldown: 8

我的第一款插件!HiRewards by riso

特别感谢 AmberW (为图标艺术中的表情符号)

本插件受 CC BY-NC-SA 4.0 许可证保护。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源