HomeJavaModsPiñata [1.9-1.13]
Piñata [1.9-1.13]
Project has been archived in 19.05.2019 by votes of community.
Support is no longer provided and project is no longer maintained.
IMG_20190519_135004.png

[​IMG]
[​IMG] [​IMG] [​IMG] [​IMG] [​IMG]

[​IMG] Join our pinata discord server today!
Invite:
https://discord.gg/UXzUdT


[​IMG]

[​IMG]
Note: GIFs are with enabled full blindness effect​

This is a unique pinata plugin! You can buy or spawn configured pinatas and break them to get drops.
Plugin is very customizable and allows you to create many types of pinatas (e.g. food/money pinata).
You can use several types of drops such as item, command, gun or money. Pinata mob can be any mob type (if it's sheep it can be dyed for 16 different colors).
Wanna use it as pinata crate plugin? No problem! You can create pinata crates since 2.0.0 version.

Note: If you wanna send me suggestion feel free to send me a PM. Any bugs should be reported first! Please don't make bad reviews due to bugs/errors. Thanks a lot :)

Optional dependencies: Holographic Displays, Vault, CrackShot

[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]

[​IMG]
[required argument], <optional argument>
[​IMG]
[​IMG]
Translation messages files (current file version: 11)
The higher the "version" number is, the less outdated the translation is.
(2.6.0+) Usage of this translations is now deprecated. Plugin has implemented locales support.

(3.0.0+) Plugin has re-implemented locales support. You can send me updated or new languages and I will add it as soon as possible.

Wanna add here new language / update current language? Click here!

[​IMG]
Spoiler: config.yml
Code (YAML):
#Pinatas configuration file

#Should we use permission for each pinata?
using-permissions
: true

#Notify about plugin updates?
Update-Notifier
:
  Enabled
: true
  Notify-Beta-Versions
: true

#You can modify default locale of plugin here.
#Available locales:
#en - English (default)
#pl - Polish / Polski
#fr - Français
#de - German / Deutsch
#nl - Nederlands
#es - Español
#hu - Hungarian / Magyar
locale
: en

#In this worlds you can create pinata only by console or '/pinata create' admin command.
disabled-worlds
:
- 'cASe SenSItIve wORLD namE'

#Exclusions of creating pinatas using crates or signs in disabled worlds
#false = blocked, true = unlocked
disabled-worlds-exclusions
:
  crates
: false
  signs
: false

#Requires Holographic Displays
#Crate hologram refresh time.
#Warning! Do not set this value to big because destroying crate cause hologram update in this refresh time
#Time in seconds.
hologram-refresh
: 2

#Crate particle refresh time.
#Time in seconds.
particle-refresh
: 2

#How many hearts should EVERY damage of pinata take?
#0.0 = disabled, 1 = 0.5 heart
#Useful if you're creating public types, players won't kill pinatas with their OP swords that fast.
damage-modifier
: 0.0

#Because you can't set command item, you need to use configured item.
command-item
: paper

#Because you can't set money item, you need to use configured item.
money-item
: diamond

#Because you can't set gun item, you need to use configured item.
gun-item
: iron_barding

#Enable halloween special pinata effects?
halloween-mode
: false

Debug
: false

File-Version-Do-Not-Edit
: 6
 

Spoiler: pinata_storage.yml
Code (YAML):
storage:
  default
:
    display-name
: default
    timer-display
: 5
    color
: WHITE
    permission-string
: pinata.use.default
    crate-buy-cost
: -1
    pinata-access-type
: PRIVATE
    blindness-activated
: true
    blindness-duration
: 15
    full-blindness-activated
: false
    crate-display-time-alive
: 10
    health-amount
: 5.0
    mob-entity-type
: SHEEP
    items-drop-type
: DEATH
    drops
:
    - ==
: org.bukkit.inventory.ItemStack
      type
: PAPER
    other-drops
: [ ]
 
Pinata creation is explained itself in pinata_storage.yml, but if you want to know more or you don't understand something PM me :D

[​IMG]
Where can I report bug/suggestion?
Click here to send me PM :)

My pinata doesn't spawn!

Make sure that any plugin (for example WorldGuard) doesn't block mob spawning at your location. If so make sure you allow mob spawning there.

Are there any placeholders?

You can use %player% placeholder in command drop and hologram names.

Are you going to update this plugin?
Yes! I've added update notifier so when the update comes you'll be notified!

How can I use Pinata API? (v1.3.0+)
For events and methods please look this java docs: https://jd.plajer.xyz/minecraft/pinata/

How to use pinata crates? (v2.0.0+)
1.
Place chest at the selected location.
2. Type command /pinata setcrate <crate name> while looking at placed chest.
3. Done! Now you can buy pinatas in crates!
(to remove crate just destroy it, do not use WorldEdit etc. to remove crate!!)

How to disable/enable Halloween mode? (v2.1.0+)
By default Halloween mode is disabled, you can enable it in config.yml.
1. Just add this line to your config.yml:
Code (YAML):
halloween-mode : true
Since v2.2.7 config is updated automatically
2. Type /pinata reloadconfig and that's all!

How can I create pinata sign? (v2.4.0+)
To set pinata sign type those messages in following lines:
1st line - [Pinata]
2nd line - all/pinata name
all - Pinata GUI with all pinatas will be opened
pinata name - Pinata with specified name will be purchased (price configurable in pinata_storage.yml)

How can I spawn pinata at random custom location? (v2.5.1+)
Just use ~ character in X, Y or Z coord.
For example: /pinata create world 14~50 80 100 default
It will create pinata at random X coord between 14 and 50, 80 Y coord and 100 Z coord.

How can I change plugin locale and how many locales are there? (v2.6.0+)
There are currently: English, Polish, German, French, Spanish and Dutch locales.
To enable locale edit locale value in config.yml to the following prefix:
Spoiler: Prefixes
English - en
Polish - pl
German - de
French - fr
Spanish - es
Dutch - nl


The plugin is using bStats to send anonymous data. Please do not disable it as it keeps developers motivated!

Copyright ⓒ 2019 - Plajer's Lair, Pinata Project created by @Plajer

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Piñata [1.9-1.13] is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 10,322 times (via Spigot). Download it and open it directly in the game.

Explore more