RewardBridge 图标

RewardBridge

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/rewardbridge
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.10

平台: folia paper spigot

标签: management utility

资源介绍

A plugin to add and redeem rewards across servers

This plugin uses MySQL as its storage, and MySQL ONLY.
This means that you need to have a MySQL database set up on
your server.

Commands

To add rewards to a player:
/rewardbridge add <player> <server> <material:amount | base64:<string>> 
/rewardbridge encodehand <name>
alias: /rb

To claim any unclaimed rewards (Opens a custom GUI)
/rewards

To add custom items:

  1. Hold the item in hand.
  2. Type /rewardbridge encodehand
  3. The base64 string of the item will be sent to a new file called encoded-items.yml located in your plugins\RewardBridge folder
  4. Copy this base64 string and paste it to the command.
  5. Example: /rewardbridge add Jolly SMP base64:
  6. When Jolly joins the SMP server and types /rewards, he will see the items in a custom GUI.

    Practical use case:

    
    I have a velocity proxy with servers named Lobby and SMP. The servers have different inventory sets. 
    My lobby server has the Crazycrates plugin installed. I want the prizes of 
    the crates to be sent to the SMP server. So I make the Crate prize run the 
    rewardbridge command instead of giving me an item.

When I open the crate in the lobby, all rewards get sent to my
reward backpack in the SMP server. All I have to do is go into
my SMP server and type /rewards to claim my winnings.


### Installation Steps
1. Add a database in your MySQL server. (you can name it whatever you want)
2. Download the latest release and paste it into your plugins folder.
3. Start the server once to generate the config file.
4. Setup the config with your database credentials and other settings and messages you would like.

### Sample Config

mysql:
host: localhost
port: 3306
database: rewards
username: root
password: password

List all your servers here (these will become separate tables in your database)

server_names:

  • smp
  • creative
  • lobby

Name of THIS server

local_server_name: keysmp

messages:
reward_added: "&aAdded reward for &f%player% &ain &f%server%"
no_space: "&cNot enough inventory space!"

Whether the player that claims his rewards via /rewards will get the "claimed" message below.

Disabled by default because of message spam upon retrieving many items.

claimedmessage: false

claimedmessage above must be true in order for this to work

claimed: "&aYou claimed your rewards!"



### Note:
You can use this without a proxy setup, just input your server name into the config and you can still use the command normally. (This is to add a reward system without giving your players the items directly, to make them claim it manually)
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Cobblemon Bird Nests

价格:0 墨喵币
下载量:0

查看详情
fiyrsky

价格:0 墨喵币
下载量:0

查看详情
DigiRadio

价格:0 墨喵币
下载量:0

查看详情
Tiny Totem

价格:0 墨喵币
下载量:0

查看详情