ItemJoin

ItemJoin 1.4

Compatible API Versions
1.0.0
Sourcecode
https://gitlab.com/Sleepybear842/itemjoin
Contributors
Sleepybear
Simple plugin that can add a set of items to a player's inventory and optional clear the inventory prior to adding when they join the server.

Config file also enables ability to set certain users as bypassing the inventory clear, if it is enabled.

Items to give on join are set in the config.yml file by an array of mappings(itemId, meta, count).
See https://minecraft.gamepedia.com/Bedrock_Edition_data_values#Item_IDs for more info.
YAML:
#ItemJoin by Sleepybear - v1.4

#clearOnJoin: <boolean>
# if set to true, will clear the players inventory on join
clearOnJoin: false

#firstJoinOnly: <boolean>
#  if set to ture, will try to give the player the listed items only
#  on the first time they join. This also means Inventories will not be
#  cleared for returning players.
firstJoinOnly: false

#bypass: Array of <string>
# if playername is included here, their inventories will never be cleared,
#  even if the above option is enabled
bypass:
  - Sleepybear

#items: array of maps
# example:
# items:
#  - itemId: 276
#    meta: 0
#    count: 1
#    slot: 0 # Can be between 0 and 39, 0-8 is the hotbar, 36-39 are the armor slots
#    ench: # LIST of enchantment ID & Level, both must be specified, see see https://github.com/NukkitX/Nukkit/blob/358a5aa18ee4620c05535d304bf1394125a72bf2/src/main/java/cn/nukkit/item/enchantment/Enchantment.java#L36
#     - id: 13 #FIRE ASPECT
#       level: 2
items:
  - itemId: 276
    meta: 0
    count: 1
    ench:
      - id: 13
        level: 2
      - id: 26
        level: 1
  - itemId: 345
    meta: 0
    count: 1
    slot: 9

Please report any issues on the gitlab page.
Author
Sleepybear
Downloads
3,144
Views
5,954
First release
Last update
Rating
5.00 star(s) 5 ratings

Latest updates

  1. Fix for Wrong API error

    Fixes the Wrong API and Incompatible API errors.
  2. v1.4

    Allow slot setting on items to go up to 39. Slots 36-39 are the 4 armor slots.
  3. v1.3 - Added Slot and Enchants to config!

    You can now specify the slot the item should go to, as well as enchants to put onto the item...

Latest reviews

The plugin is good and it works Perfectly Fine! But, is it possible to add commands into the item once used? Or show a GUI menu when you hold down the screen on your phone or right click if played in PC. If it is, please tell me how here or in my Discord at RenIsHere#7108 or reply down here. If all of these mentioned is not yet added, please do as it helps me alot :)

Thank you and good job too! :>
Great plugin. Everything seems to be working great.
I like this plugin but is it possible to add enchants to items with it?
Sleepybear
Sleepybear
Once v1.3 gets approved, enchants will be available.
Super plugin, but please include different inventories for different permissions in one update, and also the possibility to select the slot.
Greetings Redstoneking18
Sleepybear
Sleepybear
Do you mean different item lists based on permission group? That might be beyond the scope of what I intended for this plugin... I'll think about that.

I can add slot option soon.
Very well made Plugin.
Top