CoreNetwork / Mantle

The main plugin powering majority of features on Flatcore
1 stars 1 forks source link

Add custom banner recipes #335

Closed riddle closed 9 years ago

riddle commented 9 years ago

Re: #334

Those banners should retain their default name prepended by a gold formatting code (&6)

Fake Nanobot template:

display:
  compound:
    Name: "&6<OriginalName>"
    Lore:
    - '&7Can be placed only by subscribers'
    - '&7in land they claimed by them.'
    - '&8Will disappear when unclaimed.'

A banner with a gold colored name can be placed only by a player with mantle.perks.advbanners permission and only in their claim (not a claim they have build trust, a claim they made).

When a claim is removed, those custom banners should be removed as well. This particular functionality could be added to Core, as it already handles unclaiming and resizing for liquids. Your choice.

riddle commented 9 years ago

Forgot to mention two things. When a banner like this is placed…

And additionally, allow those custom banners to be copied in a vanilla recipe way. This might be possible out of the box, dunno.

matejdro commented 9 years ago

Done for today. Everything should be working except:

riddle commented 9 years ago

Perk banners drop regular banners when broken

Unlike Armor Stands which are cheap, banners kind aren’t. Can we drop the actual item?

matejdro commented 9 years ago

Yes of course, It is not finished yet. I was just commiting yesterday's work before going to bed.

riddle commented 9 years ago

No problem! Just thought I’d comment to make sure :)

matejdro commented 9 years ago

OK dropping now works. I will wait for @eliadil to finish skulls first then I will copy util class to Core and add removing subscriber stuff on claim removal.