🎁Presents

For each present picked up, the player receives a certain reward. Presents are specified manually by the admin. After a certain cycle, they are restored. Also in the config, you can activate the option for random spawning of a present near the player in a certain range near him.

Default

Installation

Stand on the block where you want to place the gift block. But you can create more types.

Commands

Description
Command

View mode commands

/present help

Adds +1 spawn point for the present

/present add

Removes the present that the player is looking at

/present remove

Adds an item to your hand as a prize when pick up a present. You need to specify the drop chance. Be sure to change the drop type in the config for this mode.

/present additem <chance>

Permissions

For what
Permission

Gives all mode access to the player

fun.present.*

Gives the player permission to create/delete presents

fun.present.create

Gives the player permission to open presents

fun.present.open

Main config (config.yml)

Mode config (presents.yml)

You can change the type of reward. Just change it in the config above. Here are what they are:

1) MONEY - Gives only money

2) ITEM - Gives only one item with some chance

3) ALLITEMS - Gives all items in list

4) COMMAND - Executes commands. Example:

Last updated