OfflineClaim 图标

OfflineClaim

作者:rebot | 分类:模组

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

Minecraft 版本: 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6

平台: bukkit paper purpur spigot

标签: utility

资源介绍

OfflineClaim

Sending item to players who are not online!

? What's this plugin?

A player creating a ticket, asking if you can refund their item, then you need to wait them to join the server, throwing that item at their face!
Nope, use OfflineClaim instead, sending the item straight to their inventory when they go online!

✅ Features:

Sending item on hand to player using /senditem

? Usage

Command: /senditem

If they are online, the item should be given to them immediately
If they are offline, they could do /claim to get the item when joining the player

? Is there an API? How to use it as a developer?

UUID playerUuid = player.getUniqueId();
ItemStack[] items = new ItemStack[]{ new ItemStack(Material.DIAMOND, 5) };

// Access API through OfflineClaimPlugin and call the method
OfflineClaimPlugin.api.addClaimItemsToInventory(playerUuid, items);
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
AshDash's Mild Realism

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

查看详情
Quick Homes

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

查看详情
Enchantment Outline 32x

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

查看详情
WorldBuoyancy

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

查看详情