Fixed
- Components using the
extra
sub-section for stylesheet priting empty text - Components using a missing stylesheet in
config.yml
is printed empty
Added
- Albums & Decks can be given of a specific inventory key
- Permissions for sub-actions:
- Giving cards with glint
- Giving albums of specific players
- Giving decks of specific inventories
Colors
- added
OBSIDIAN
named color that evaluates to#3F0A45
- added
POWERFUL
named color that evaluates to#E5247E
- changed default color to white for every component
Styles
- removed
regular
style - changed default styles to no decoration set
Inventories
- changed title of inventory to be the inventory-key of itself (b364)
Packs
- changed
bundle
toinclude
for understandability - added
exclude
to exclude specified cards groups from included list
Amount
- added
function
property to select distribution of random amount selection:lin
linear {x} functionnil
linear inverted {1 - x} functionexp
exponential {x^2} functionpxe
exponential inverted {(1 - x)^2} functionsqr
square root {√(x)} functionlog
logarithmic {ln(1 + x * 7)/ln(8)} function
Fixed
- if absent,
amount
in card packs would be set to 1 or 2 randomly, even if bundle evaluated to less than 64
Added
Commands
- List of existing booster packs in the tab-completion list
Colors
squid
color. It gives a random hex color every time the plugin is started
cards.yml
active
boolean property withtrue
for default (b352)- Useful for cards that are in-development and can be obtained trwough commands but not in booster packs
- If the property is missing the card is automatically
active: true
and will be obtainable
lists.yml
- Albums, Decks and Packs can set a custom-model-data value
Packs
- moved lore description from
item
configuration section in lists.yml to the specified booster pack for diversity - added
glint
boolean property inside pack slots for glint property of cards- If not set, all cards will randomize glint value by their chance
- If set
true
, all cards will be glinted - If set `false, all cards will be normal
Added
config.yml
delimiter
section for tags-sections of cards. Tags delimits themselves with separators, begin and end strings like a component- A
blocky-oh
namespace for more custom card testing
cards.yml
- A Purple Eyes Ender Dragon example card
- A sneak-peek on what the modules-section will look like as an Ender Dragon EX (pokemon cards are harder than i tought)
Fixed
- Unable to right click for placing blocks
- Cards will not index properly in ram
- Inventories are unable to preserve cards between server restarts
- Packs random-seeds do not randomize also for Glinted Cards
- Preserved cards are loaded into each inventory as Glinted
- Albums and Decks did not have inventory-names
Added
Album, Decks & Packs
- Customize item name and lore description with components
- For Packs it's jsut the lore description
Packs
Glinted Cards
- Glinted Cards (or shiny cards) are now obtainable trough booster packs
- If the glint is set to
enabled: false
they cannot be pulled
config.yml
- added integer
chance
inside theglint
section in namespaces to define the default glint chance of pull for packs
cards.yml
- added integer
override-glint-chance-to
inside card sections to overwrite the default namespace glint chance
Components
Styles
underline
style changed tounderlined
Colors
- Added plain colors listed on the components wiki page
- Added custom gradent names
First TC Release, check description for features