SimpleReferrals (简易推荐奖励-允许玩家邀请新玩家到服务器并获取奖励)
这个插件允许用户在服务器上邀请新用户时标记邀请者,并在新玩家使用\/refer命令后向邀请者提供奖励。奖励可以在config.yml文件中配置。
插件安装:
- 下载并安装插件
- 在config中定制奖励和消息
- 重新加载配置文件 \/SimpleReferrals Reload
命令:
- \/SimpleReferrals
- \/SimpleReferrals Reload - simplereferrals.reload
- \/Refer (玩家) - simplereferrals.refer
配置文件示例 (YAML格式):
command-no-exist: '&3[&9SimpleReferrals&3]&bThis command doesn''t exist' no-updates: '&3[&9SimpleReferrals&3]&bNo updates available' no-permission: '&3[&9SimpleReferrals&3]&bYou don''t have permission to use this command' configs-reloaded: '&3[&9SimpleReferrals&3]&bConfigs Reloaded' already-redeemed: '&3[&9SimpleReferrals&3]&bYou cannot use this command anymore' enter-name: '&3[&9SimpleReferrals&3]&bPlease the name of the player that referred you to the server' online-given-rewards: '&3[&9SimpleReferrals&3]&b%player% is online and has been given rewards for referring you, you can get rewards too for inviting players when they\/refer you' offline-given-rewards: '&3[&9SimpleReferrals&3]&b%player% is offline but they will get their rewards when they are on, you can get rewards too for inviting players when they \/refer you' reward-message: - '&3[&9SimpleReferrals&3]&b' - '&bYou have been given rewards' - '&bfor referring players to the server' reward-commands: - eco give%player% 100 - give%player% diamond 16 simplereferrals-help: - '&3[&9SimpleReferrals&3]' - '&bAuthor&7:&3SpigotiAngry#0932 - Spigot gregoryg' - '&bVersion&7:&3%version%' - '&bCommands&7:&3\/SimpleReferrals' - '&bCommands&7:&3\/Refer' - '&bCommands&7:&3\/SimpleReferralsReload' enable-join-message: true join-message: - '&3[&9SimpleReferrals&3]' - '&bDid someone invite you to this server?' - '&bType &n\/Refer PLAYER&b for them to receive an award' - '&bYou can also invite players to this server and ask them to \/Refer your name to receive an award'
收录