✅RandomItem✅——a random plugin⚜️2.2 is Coming! ⭐ [Supports NBT , Enchantments, Attributes] icon

✅RandomItem✅——a random plugin⚜️2.2 is Coming! ⭐ [Supports NBT , Enchantments, Attributes] -----

A powerful random item plugin! Supports MythicMobs, PAPI and JavaScript now!




Supported for simple nesting of random sections calls (<SWORD<quality.0>.1>)
Fixed that throw NPE when use 'get' command with a random item id that doesn't exists
Fixed debug-mode’s wrong format
Fixed some meta data of random item will not be influence the result item
----------, Mar 19, 2021

The problem:
the char '<' and '>' will influence the calling of random sections
How to solve it?
Please surround it with'\' -> "\\<\\" or "\\>\\"!

For the high version, added support for 16-bit color
Added the boolean arg of command to disable tips when you use get/give/drop command
For the javascript section:
  • perform command as console : $console:command$
  • perform command as op (player) : $op:command$
  • perform command as player (player) : $player:command$
;)
----------, Mar 16, 2021

Fixed the problem of pointing data is invalid when generating multiple random items
----------, Mar 8, 2021

Added (Amount Formula) (Chance Formula) (Is Same) for get & give command
Fixed client crash caused by too much data when use list command in low version
Fixed material read error in higher version
Optimized user experience
----------, Mar 7, 2021

Fixed loading random items in folder
----------, Mar 6, 2021

Added lore sction type. (Random string)
Added temporary statement. (Declare sections simply in texts)
Optimized the code

For example:

Code (YAML):
example:
  type
: lore
  values
:
 - '1'
  - '2'
  - '3'
or

Code (YAML):
example : 'example-lore:1,2,3'

How to use temporary statement?

Code (YAML):

lores
:
- 'Example
: <example-lore:1,2,3>'
#You can call it after declare it temporarily.
- '<example>'
----------, Mar 4, 2021

Fixed the errors of debug's typesetting
Fixed the errors of declare-sections-simply
Fixed the errors of NBT's loading
Optimize the tips of error
----------, Feb 28, 2021

Better user experience
Optimized a lot of code, especially the debug-mode part
Increased RandomItem's stability
----------, Feb 26, 2021

New local system (Language priority in TabooLib's configuration) ;)
Optimized some code
----------, Feb 25, 2021

Expanded the expansibility of javascript section, see WIKI
Updated API JavaDoc / Code Tutorial
Optimized the debug mode.
Optimized a lot of code
----------, Feb 25, 2021

Deleted "version" in config.yml
" Check version" is more frequent now.(The reasons is as follows)
[​IMG]
Compute section was changed name to Calculation ( "compute" is still available)
Added these configs for Calculation section and Number section
  • fixed.integer.max --- the maximum number of digits allowed in the integer portion of a number
  • fixed.integer.min --- the minimum number of digits allowed in the integer portion of a number
  • fixed.decimal.max --- the minimum number of digits allowed in the fraction portion of a number
  • fixed.decimal.min --- the minimum number of digits allowed in the fraction portion of a number
("fixed" is still available, it‘s considered fixed.decimal.min)
Optimized the code
----------, Feb 24, 2021

The color configuration section can call the random sections now
Now you can only use "\" to wrap the text to escape.
Random sections calls in these texts do not take effect

For example: '&8\>>>\ &7Damage: &f100'
----------, Feb 23, 2021

The color configuration section can call the random sections now
----------, Feb 23, 2021

Fixed some bugs:
  • Cannot save the color of item
  • Cannot handle "\n" correctly
  • Cannot generate empty attribute of item correctly
Optimized the code
----------, Feb 23, 2021

Optimized The code of the NBT & Attribute

If you think this plugin is nice, don't forget to give me a review,please
I'd be grateful it a lot! ;)
----------, Feb 17, 2021

;)Hello~ 2.2.1 is a perfect version (no known bugs)
RandomItem has become a Developer API sinse 2.0, It's no longer a rudimentary plugin like 1.0!
Title.png
Optimized The code of javascript section.
Optimized The code of random sections.
(if there is "function" in the script, you must write a main function and run it by yourself)
(if there is no "function" in the script, you can write the script directly without writing the main function or run it.)
Fixed integer display of compute section
Fixed the known bugs
----------, Feb 16, 2021

Added "list" command to list all items (can be clicked)
Added JavaScript section (freedom max!!)
Added the abbreviation of declaration random sections
Added decimal section for Number section (let decimal also random)
Added "unbreakable" configuration section to item configuration
Added "item-flags" configuration section to item configuration
Compatible with attribute serialization and deserialization
(the above three object's values all support calling random sections)
Fixed clone for string sections
Fixed known bugs
Optimized part of the code
Extended developer API
For more details, see WIKI https://github.com/Glom-c/RandomItem/wiki
----------, Feb 15, 2021

Added escape to let make some text not be replaced ("/some strings" or "\some strings/" both can play role)
"used-global-sections" in Items' Configuration is not required now
----------, Feb 12, 2021

Added escape to let make some text not be replaced
Added "used-global-sections" to Items' Configuration

if u want some strings not be replaced, write it between "/" and "\".
----------, Feb 11, 2021

Fixed the max of compute section
----------, Feb 11, 2021

Fixed the rounding of number section and compute section when its fixed is 0.
----------, Feb 11, 2021

Optimized the method to read the replaced sections
----------, Feb 11, 2021

English Title.png
Added
nesting of the calling of strings section
Just like this : <quality.<quality.5>> or <<quality.0>.<quality.5>> (2 layers at most!)
Added check version (only tips)
Added debug mode
Added path of saving item
Fixed the enchantment's deserialization in the version of 1.8-1.12
Fixed the NBTCompound's serialization
Moved the global random section declaration to a separate folder
Optimize exception tips
Refactoring most of the underlying code
Expanded the Developer API, and now supports developers to customize section types and sections
JavaDoc: http://blog.skillw.com/Doc/JavaDoc/RandomItem/en_US/
Warning: "enchants" -> "enchantments" in the item configs now
The usage of calling random sections : <section's id>
----------, Feb 11, 2021

English Title.png
Added
nesting of the calling of strings section
Just like this : <quality.<quality.5>> or <<quality.0>.<quality.5>> (2 layers at most!)
Added check version (only tips)
Added debug mode
Added path of saving item
Fixed the enchantment's deserialization in the version of 1.8-1.12
Fixed the NBTCompound's serialization
Moved the global random section declaration to a separate folder
Optimize exception tips
Refactoring most of the underlying code
Expanded the Developer API, and now supports developers to customize section types and sections
JavaDoc: http://blog.skillw.com/Doc/JavaDoc/RandomItem/en_US/
Warning: "enchants" -> "enchantments" in the item configs now
----------, Feb 11, 2021

Support to MOD items
----------, Feb 7, 2021

· Support to NBT perfectly!
· Support to MythicMobs drop!
· Add point data (this mean u can contral random section's value by command)
· Add Developer API
· Add Asynchronous Computing (i'll eat my keyboard if the plugin make the server stuck!!!)
· Optimized the configuration make the plugin more user-friendly
· Make the compute section supports global section and maximum value
· Make the compute section and the number section supports decimal
· Make the string section can be used in compute section's formula
· Compatible with 1.8 + (just change the item material)
· Compatible with Java 8+
----------, Feb 7, 2021

Fixed serialization of items before the version of 1.13.2
Fixed some bugs
----------, Feb 1, 2021

Fixed some bugs.
----------, Feb 1, 2021

Add: the serialization of enchants.
Add: Optimized the code, eliminated the bloated code
Add: Random sections are now available everywhere !!!!!!!

Random sections
are now available everywhere.
(It means that you can make the item's material , enchants and even NBT random!)
yeah!!!!!!!!!!!
So you can customize what you see at all!
----------, Jan 26, 2021

Add the serialization of item. (support NBT)
----------, Jan 25, 2021

Resource Information
Author:
----------
Total Downloads: 8,760
First Release: Jan 24, 2021
Last Update: Mar 19, 2021
Category: ---------------
All-Time Rating:
11 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings