Page 1 of 1

Essentials kit help

PostPosted: 25 Nov 2015 03:51
by Jaydoss
As a feature of being a high ranking donator on my server I would like to have their Essentials kit be of the second highest:
- 24 Ultra Balls
- 10 Rare Candies
- Diamond tool set (Eff 4 Unb 2)
- 3 Golden Hourglasses
- 1 Random Egg
- 1 Fossil Block

and even better for the highest, but as of yet I am unable to find out how to put /pokegiveegg random into a Essentials kit.

If you know how to do it, or know if it is possible or not please respond as soon as you can.

Thanks for reading this and thank you for your help.

~Jaydoss

Essentials kit help

PostPosted: 25 Nov 2015 04:34
by MrMasochism
The problem here is that the egg is not an item. You'd probably have to make a side-mod that made an item which executed pokegiveegg on activation

Re: Essentials kit help

PostPosted: 25 Nov 2015 05:01
by urbymine
MrMasochism wrote:The problem here is that the egg is not an item. You'd probably have to make a side-mod that made an item which executed pokegiveegg on activation


what would you have to do to create a sidemod like that. also, would it be possible to program that command to only work once for every player triggering it?

Essentials kit help

PostPosted: 25 Nov 2015 05:40
by MoeBoy76
There are multiple ways of doing this but i won't say any since i don't like bukkit or enjin

Essentials kit help

PostPosted: 25 Nov 2015 15:51
by MrMasochism
It sounds like a fairly trivial piece of work for someone who knows how to make plugins

Essentials kit help

PostPosted: 25 Nov 2015 22:37
by Isi
Or just use the 'MyCommand" plugin to execute the kit command alongside the pokegiveegg command.

Then throw something like this into it's command.yml :-

Code: Select all'1':
#The actual command that will be executed when the player uses the cooldown command.
  command: /example
  type: RUN_CONSOLE
  runcmd:
   - /kit [kitname] $player
   - /broadcast Isi is awesome!
   - /pokegivegg random $player
#By giving a player this permission they can bypass the cooldown
  permission-node: mykit.thatkitmain
  permission-error: 'You do not have permission to use this!'
 
'2':
#You would give this permission to the player for a working cooldown
  command: /example
  type: COOLDOWN
  delaytimer: [Time in seconds]
  permission-node: mykit.thatkit
  permission-error: 'You do not have permission to use this!'