Sueta
EZ

EzGiveEffects

1.1

Gives an effect to the player if right click on the stick

·Plugin

EzGiveEffects

1 command

1 permission

How to use:

  1. Drop the jar file in the plugins folder
  2. Setup "items.yml" file (see below)
  3. Use "/giveitem <item>" command (example: /giveitem speedstick)
  4. Left or right click with the stick

Notes:

  • Only works with the stick! (for now)
  • Also works with right and left click
  • The colors don't work in the items.yml! (for now)

Bug fixes:

  • 1.1:
  1. After reload the server, you don't can use the items.

Messages config file example [config.yml]:

consoleUse: 'Use in the game!'
helpMessage: '&6Use: &e/giveitem &a(item_name)'
itemsMessage: '&6Items: &e%number_of_items%'
itemListingColor: '&c'
configurationError: '&4The item configuration is not set correctly'
itemError: '&4There is no item with this name'
permissionError: 'You dont have permission to use this command!'

Items config file example [items.yml]:

#duration by tick

items:
  - speedstick
  -strengthstick

speedstick:
  name: 'Speed Stick'
  lores:
    - '------------'
    - 'OHYEAAAAAAAA'
    - '------------'
  effect: 'speed'
  level: 2
  duration: 300

speedstick:
  name: 'Strength Stick'
  lores:
    - '------------'
    - 'NICELORE'
    - '------------'
  effect: 'strength'
  level: 1
  duration: 600


Permissions:

  • giveitem.give (use /giveitem command)

Commands:

  • /giveitem <item>

If you have a question, just write a message on Discord:

Wipy#0610

Yes, yes, i learn english:LOL:

Similar projects

Plugin →