PinataLlama ??
PinataLlama 是一个可配置的皮纳塔活动插件,适用于 Paper 1.21.1 和 Java 21。通过多种皮纳塔类型、可配置奖励、实时活动显示和持久化玩家统计数据来举办社区活动。
✨ 功能
- ? 多种皮纳塔类型: 为每种类型配置不同的生命值、持续时间、显示名称、粒子效果、击退和吐唾沫概率。默认配置包括经典(Classic)、金色(Golden)和快速(Fast)皮纳塔。
- ⚔️ 贡献与排名: 追踪活动期间玩家的打击次数并显示实时排名。可配置的每位玩家打击间隔有助于限制快速重复打击。支持玩家和投射物打击。
- ? 可配置奖励: 为前三名和达到参与打击阈值的玩家设置单独的奖励。支持的奖励类型:
- 金钱: 需要安装 Vault 及兼容的经济提供商。
- 物品: 向在线玩家发放配置好的物品。
- 命令: 使用
%player%、%uuid% 和 %rank% 占位符运行配置的控制台命令。仅使用来自可信配置的命令。
- ? 平局规则: 选择
FIRST_HIT 将并列排名授予最先达到该分数的玩家,或选择 SHARE 在并列玩家间分配领奖台奖励。
- ? 随机额外掉落: 可选择按设定的打击间隔发放额外的配置奖励,并具有可配置的概率。
- ? 持久化统计: 在服务器重启之间保存总打击次数、参与的活动数量和获胜次数。
- ? 赢家排行榜与活动历史: 显示全时间段的赢家排行榜以及最近 20 场活动的结果。
- ⏸️ 活动控制: 开始、取消、结束、暂停或恢复活动。可配置活动之间的冷却时间。
- ? 活动地点与区域: 保存生成位置,将皮纳塔保持在可配置的半径内,并允许玩家传送至活跃的活动地点。
- ? 实时显示: 可选的 Boss 栏、附近玩家的动作栏以及可配置的倒计时公告。
- ⚙️ 高度可配置: 在
config.yml 中自定义活动设置、皮纳塔类型、奖励、平局处理、显示效果、冷却时间等。
? 命令与权限
| 命令 |
描述 |
权限 |
/pinata |
显示玩家命令帮助。 |
pinata.use |
/pinata yardim |
显示玩家命令帮助。(也接受 yardım。) |
pinata.use |
/pinata durum |
显示活跃活动的生命值、时间、类型、参与者数量和当前领先者;无活跃活动时显示冷却时间。 |
pinata.use |
/pinata top |
显示活跃活动的打击排名,或在无活跃活动时显示全时间段打击排行榜。 |
pinata.use |
/pinata kazananlar |
显示全时间段活动赢家排行榜。 |
pinata.use |
/pinata odul |
显示配置的领奖台奖励和参与奖励。(也接受 ödül。) |
pinata.use |
/pinata istatistik [player] |
显示你保存的统计数据或其他玩家的统计数据。 |
pinata.use |
/pinata katkim |
显示你的打击次数、活跃活动排名和参与奖励进度。(也接受 katkım。) |
pinata.use |
/pinata gecmis |
显示近期活动历史。(也接受 geçmiş。) |
pinata.use |
/pinata katil |
将你传送至活跃活动地点。(也接受 katıl。) |
pinata.use |
/pinataadmin |
显示管理员命令帮助。别名:/pa。 |
pinata.admin |
/pinataadmin basla [type] [health] [seconds] |
开始一个活动。参数为可选;如果不指定类型,则使用默认生命值和持续时间。 |
pinata.admin |
/pinataadmin iptal |
取消活跃活动且不发放领奖台奖励。 |
pinata.admin |
/pinataadmin bitir |
结束活跃活动并分发奖励。 |
pinata.admin |
/pinataadmin duraklat |
暂停活跃活动。 |
pinata.admin |
/pinataadmin devam |
恢复已暂停的活动。 |
pinata.admin |
/pinataadmin turlar |
列出配置的皮纳塔类型。 |
pinata.admin |
/pinataadmin ayarla can <value> |
更改默认活动生命值。 |
pinata.admin |
/pinataadmin ayarla sure <seconds> |
更改默认活动持续时间。 |
pinata.admin |
/pinataadmin ayarla katilim <hits> |
更改参与奖励的打击阈值。 |
pinata.admin |
/pinataadmin ayarla bekleme <seconds> |
更改活动之间的冷却时间。 |
pinata.admin |
/pinataadmin ayarla vurusaraligi <milliseconds> |
更改每位玩家的打击间隔。 |
pinata.admin |
/pinataadmin ayarla alan <radius> |
更改皮纳塔允许区域的半径。 |
pinata.admin |
/pinataadmin konum |
将当前位置保存为活动生成位置。 |
pinata.admin |
/pinataadmin yenidenyukle |
重新加载 config.yml。 |
pinata.admin |
权限默认值
pinata.use — 默认授予所有人。
pinata.admin — 默认授予服务器操作员。
? 安装
- 使用运行 Java 21 的 Paper 1.21.1 服务器。
- 如果使用金钱奖励,请安装 Vault 及兼容的经济插件。
- 将
PinataLlama-1.8.0.jar 放入服务器的 plugins 文件夹。
- 启动或重启服务器以生成
plugins/PinataLlama/config.yml。
- 编辑配置文件并设置领奖台奖励、参与奖励、皮纳塔类型和活动设置。
- 在游戏中,使用
/pinataadmin konum 设置活动生成位置。
- 使用
/pinataadmin basla 开始活动,或使用 /pinataadmin basla altin 选择特定类型。
金钱奖励需要 Vault 和已注册的经济提供商。物品奖励要求接收者必须在线。配置的命令奖励以服务器控制台身份运行,因此仅使用来自可信配置的命令。
PinataLlama ??
PinataLlama is a configurable piñata event plugin for Paper 1.21.1 and Java 21. Host community events with multiple piñata types, configurable rewards, live event displays, and persistent player statistics.
✨ Features
- ? Multiple Piñata Types: Configure different health, duration, display name, particle effect, knockback, and spit chance for each type. The default configuration includes Classic, Golden, and Fast piñatas.
- ⚔️ Contribution & Rankings: Track player hits during an event and show live rankings. A configurable per-player hit interval helps limit rapid repeated hits. Player and projectile hits are supported.
- ? Configurable Rewards: Set separate rewards for the top three and for players who reach the participation hit threshold. Supported reward types:
- Money: Requires Vault and a compatible economy provider.
- Items: Give configured items to online players.
- Commands: Run configured console commands with
%player%, %uuid%, and %rank% placeholders. Only use commands from a trusted configuration.
- ? Tie Rules: Choose
FIRST_HIT to give tied rankings to the player who reached the score first, or SHARE to share podium rewards among tied players.
- ? Random Bonus Drops: Optionally award a configured bonus reward at hit intervals, with a configurable chance.
- ? Persistent Statistics: Save total hits, events participated in, and event wins between server restarts.
- ? Winner Leaderboard & Event History: Show the all-time winner leaderboard and the latest 20 event results.
- ⏸️ Event Controls: Start, cancel, finish, pause, or resume an event. Configure a cooldown between events.
- ? Event Location & Area: Save a spawn location, keep the piñata within a configurable radius, and let players teleport to the active event.
- ? Live Displays: Optional boss bar, nearby-player action bar, and configurable countdown announcements.
- ⚙️ Configurable: Customize event settings, piñata types, rewards, tie handling, displays, cooldowns, and more in
config.yml.
? Commands & Permissions
| Command |
Description |
Permission |
/pinata |
Displays the player command help. |
pinata.use |
/pinata yardim |
Displays the player command help. (yardım is also accepted.) |
pinata.use |
/pinata durum |
Shows active event health, time, type, participant count, and current leader; shows cooldown when no event is active. |
pinata.use |
/pinata top |
Shows the active event hit rankings, or the all-time hit leaderboard when no event is active. |
pinata.use |
/pinata kazananlar |
Shows the all-time event winner leaderboard. |
pinata.use |
/pinata odul |
Shows configured podium and participation rewards. (ödül is also accepted.) |
pinata.use |
/pinata istatistik [player] |
Shows your saved statistics or another player's statistics. |
pinata.use |
/pinata katkim |
Shows your hits, active-event rank, and participation reward progress. (katkım is also accepted.) |
pinata.use |
/pinata gecmis |
Shows recent event history. (geçmiş is also accepted.) |
pinata.use |
/pinata katil |
Teleports you to the active event location. (katıl is also accepted.) |
pinata.use |
/pinataadmin |
Displays the administration command help. Alias: /pa. |
pinata.admin |
/pinataadmin basla [type] [health] [seconds] |
Starts an event. Arguments are optional; without a type, the default health and duration are used. |
pinata.admin |
/pinataadmin iptal |
Cancels the active event without podium rewards. |
pinata.admin |
/pinataadmin bitir |
Ends the active event and distributes rewards. |
pinata.admin |
/pinataadmin duraklat |
Pauses the active event. |
pinata.admin |
/pinataadmin devam |
Resumes a paused event. |
pinata.admin |
/pinataadmin turlar |
Lists configured piñata types. |
pinata.admin |
/pinataadmin ayarla can <value> |
Changes the default event health. |
pinata.admin |
/pinataadmin ayarla sure <seconds> |
Changes the default event duration. |
pinata.admin |
/pinataadmin ayarla katilim <hits> |
Changes the participation reward hit threshold. |
pinata.admin |
/pinataadmin ayarla bekleme <seconds> |
Changes the cooldown between events. |
pinata.admin |
/pinataadmin ayarla vurusaraligi <milliseconds> |
Changes the per-player hit interval. |
pinata.admin |
/pinataadmin ayarla alan <radius> |
Changes the piñata's allowed area radius. |
pinata.admin |
/pinataadmin konum |
Saves your current location as the event spawn location. |
pinata.admin |
/pinataadmin yenidenyukle |
Reloads config.yml. |
pinata.admin |
Permission Defaults
pinata.use — granted to everyone by default.
pinata.admin — granted to server operators by default.
? Installation
- Use a Paper 1.21.1 server running Java 21.
- If you want to use money rewards, install Vault and a compatible economy plugin.
- Put
PinataLlama-1.8.0.jar in your server's plugins folder.
- Start or restart the server to generate
plugins/PinataLlama/config.yml.
- Edit the configuration and set podium rewards, participation rewards, piñata types, and event settings.
- In-game, set the event spawn location with
/pinataadmin konum.
- Start an event with
/pinataadmin basla or choose a type with /pinataadmin basla altin.
Money rewards require Vault and a registered economy provider. Item rewards require the recipient to be online. Configured command rewards run as the server console, so only use commands from a trusted configuration.
评论 0
登录后参与评分
还没有评论,来抢沙发吧