Sueta

CustomItemsLite

1.0

A free version of CustomItems!

·Plugin

Introduction:
This plugin is based on my Premium plugin called CustomItems. If you guys didn't check out that plugin, basically with this plugin allows you to create new items. For more information, just check out the full version's page here.

Features of CustomItemsLite:
- Custom Names and Lores
- Enchantments
- Holding Item abilities
- Armor abilities
- Right Click, Left Click, and Hit abilities
- Right Click and Left Click cooldowns
- Custom crafting recipes
- Custom smelting recipes
- Easy Configuration
- 3 Custom Items

Features of CustomItems Premium:
- Custom Names and Lores
- Enchantments
- Holding Item abilities
- Armor abilities
- Right Click, Left Click, and Hit abilities
- Right Click and Left Click cooldowns
- Custom crafting recipes
- Custom smelting recipes
- Easy Configuration
- Auto update checker
- More Action-commands
- Amazing Support
- Plenty of updates for new features
- Unlimited Custom Items
- More action commands
- Just better overall :p

Videos:

If you made a video review of this plugin, just leave the link in the discussion section, and I will add it here.

Commands:
*[] = Required, <> = Optional
The permission "ci.commands" is required to use any of these commands
/ci reload

Description

Reloads the plugin
Permission: ci.reload

/ci list

Description

Shows a list of your Custom Items
Permission: ci.list

/ci give [item] <player>

Description

Gives you the Custom Item, [item], if <player> is left empty, and gives <player> the Custom Item, [item], if not.
Permission: ci.give

/ci update

Description

Check if the plugin has any updates.
Permission: ci.update

Configuration:

config.yml
#Automatically check for updates when the server starts up
check_for_updates: true
items:
  default:
    #The item the Custom Item will become
    id: gold_sword
    #The data value of the Item
    data: 0
    #The name of the Item.
    name: '&6Royal Blade'
   #The lore of the Item. If a lore is not wanted change it into 'lore: []'
    lore:
    - '&5Right Click (Cooldown: 10 Seconds)'
    - '&5Heal 3 Hearts'
    - '&2Poison Enemies for 3 seconds a hit'
    - '&65 Damage'
   #The enchantments of the item. Format: [Enchantment]:[Level] Enchantments are listed here: https://docs.oc.tc/reference/enchantments. If enchantments are not wanted change it into 'enchantments: []'
    enchantments:
    - durability:10
    actions:
      right_click:
        enabled: true
        #Right-click cooldown in seconds. If a cooldown isn't wanted set it to 0
        cooldown: 10
       #Message you will receive when the cooldown time isn't reached
        cooldown_message: '&aYou must wait for &e[time] seconds &abefore doing this
          again.'
       #These are the commands that will trigger when you Right-click the item. The commands are listed below.
        commands:
        - '[HEAL] 6'
      left_click:
        enabled: false
        cooldown: 0
        cooldown_message: ''
        commands: []
      hit_entity:
        enabled: true
        commands:
        - '[EFFECT] [target] poison 3 1'
        - '[SETDAMAGE] 5'
    hold:
      #Enable or disable holding abilities
      enabled: false:
      #Commands that will trigger once you hold this item
      commands: []
    armor:
      #Enable or disable armor abilities
      enabled: false:
      #Commands that will trigger once you wear this item
      commands: [][/SIZE]
    crafting:
      enabled: true
      #Amount of the Custom Item you will receive when you craft it.
      amount: 1
      #These are the slots of the crafting table. Starting from the upper-left going to the lower-right row by row. If you want a slot to be empty, you MUST set it to 'air'.
      recipe:
        slot1: air
        slot2: diamond
        slot3: air
        slot4: air
        slot5: nether_star
        slot6: air
        slot7: air
        slot8: blaze_rod
        slot9: air
      smelting:
        #Enable obtaining the item by smelting
        enabled: false
       #Item needed to be smelted to obtain the item
        item: air


Before editing the config, be sure to save a backup. When creating a new item, copy the default one, and paste it below the section 'items'. WARNING: You must follow the correct spacing order before every. For the spacing, refer to the default item.

Example:

sample-config
check_for_updates: true
items:
  default:
    id: gold_sword
    data: 0
    name: '&6Royal Blade'
    lore:
    - '&5Right Click (Cooldown: 10 Seconds)'
    - '&5Heal 3 Hearts'
    - '&2Poison Enemies for 3 seconds a hit'
    - '&65 Damage'
    enchantments:
    - durability:10
    actions:
      right_click:
        enabled: true
        cooldown: 10
        cooldown_message: '&aYou must wait for &e[time] seconds &abefore doing this
          again.'
        commands:
        - '[HEAL] 6'
      left_click:
        enabled: false
        cooldown: 0
        cooldown_message: ''
        commands: []
      hit_entity:
        enabled: true
        commands:
        - '[EFFECT] [target] poison 3 1'
        - '[SETDAMAGE] 5'
    hold:
      enabled: false
      commands: []
    armor:
      enabled: false
      commands: []
    crafting:
      enabled: true
      amount: 1
      recipe:
        slot1: air
        slot2: diamond
        slot3: air
        slot4: air
        slot5: nether_star
        slot6: air
        slot7: air
        slot8: blaze_rod
        slot9: air
      smelting:
        enabled: false
        item: air
  new-item:
    id: stick
    data: 0
    name: '&6Just a Random Stick'
    lore: []
    enchantments: []
    actions:
      right_click:
        enabled: false
        cooldown: 10
        cooldown_message: '&aYou must wait for &e[time] seconds &abefore doing this
          again.'
        commands: []
      left_click:
        enabled: false
        cooldown: 0
        cooldown_message: ''
        commands: []
      hit_entity:
        enabled: false
        commands: []
    hold:
      enabled: false
      commands: []
    armor:
      enabled: false
      commands: [][/SIZE]
    crafting:
      enabled: true
      amount: 1
      recipe:
        slot1: stick
        slot2: stick
        slot3: stick
        slot4: stick
        slot5: stick
        slot6: stick
        slot7: stick
        slot8: stick
        slot9: stick
      smelting:
        enabled: false
        item: air


Action-Commands:

() = Required, <> = Optional

- [COMMAND] (command)

Description

Makes the console run the command (command)
Placeholders:
[player] - Current Player

- [PLAYERCOMMAND] (command)

Description

Makes the current player run the command (command)
Placeholders:
[player] - Current Player

- [HEAL] <amount>

Description

Heals the current player
Placeholders:
none

- [SETHEALTH] (amount)

Description

Set the current players health to (amount)
Placeholders:
none

- [FEED] <amount>

Description

Feeds the current player
Placeholders:
none

- [SETHUNGER] (amount)

Description

Set the current players hunger to (amount)
Placeholders:
none

- [SPAWNARROW] <power>

Description

Spawns an arrow at the current player's direction.
Recommended Power: 0 - 3
Placeholders:
none

- [SPAWNTIPPEDARROW] (effect) <power>

Description

Spawns a tipped arrow with the Potion Effect, (effect), at the current player's direction.
Recommended Power: 0 - 3
Placeholders:
none

- [THROWTNT] <power>

Description

Spawns a TNT launching at the current player's direction.
Recommended Power: 0 - 3
Placeholders:
none

- [SPAWNMOB] (Mob) <power>

Description

Spawns and launches a mob at the current player's location and direction.
Recommended Power: 0 - 3
Placeholders:
none

- [LEAP] <power>

Description

Launches the player to the direction the current player is facing.
Recommended Power: 0 - 3
Placeholders:
none

- [FIREBALL] <explosionpower>

Description

Shoots out a fireball at the direction the current player is facing
Recommended Explosion Power: 0 - 100 (or more if you're power hungry)
Placeholders:
none

- [LIGHTNING]

Description

Spawns a Lightning Bolt at the block the current player is facing.
Placeholders:
none

- [EFFECT] (player/entity) (effect) (time) (amplifier)

Description

Gives a player/entity a potion effect.
Potion Effects can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html
Placeholders:
[player] - Current Player
[target] - (hit_entity_exclusive) Attacked Player/Entity

- [SETFIRE] (player) (time)

Description

Sets a player/entity on fire.
Placeholders:
[player] - Current Player
[target] - (hit_entity exclusive) Attacked Player/Entity

- [SETDAMAGE] (amount)

Description

(hit_entity_exclusive) Sets the damage of an attack.
Placeholders:
none

- [KNOCKBACK] (power)

Description

(hit_entity_exclusive) Sets the knockback of an attack.
Recommended Power: 1-Infinity
Placeholders:
none

- [TELEPORT] <range>

Description

Teleports the player to the block he/she is facing.
Recommended Range: 10-50
Placeholders:
none

- [USE]

Description

Removes the item the player used.
Placeholders:
none

- [DAMAGEITEM] <amount>

Description

WARNING: Only use if item ID is a tool. Damages the item used by the player by <amount>.
Placeholders:
none


Hold/Armor commands:

() = Required, <> = Optional

- [EFFECT] (effect) (time) (amplifier)

Description

Gives the user a potion effect.
Potion Effects can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html

Leave some suggestions for this in the Discussion section

Installation:
1. Buy/Download the CustomItemsLite.jar plugin.
2. Drag it to the plugins folder of the root of your server.
3. Run/Reload the server.
4. Configure the config.yml
5. Enjoy the plugin. :)
6. (Optional) Leave a review of the plugin below.

Similar projects

Plugin →