Sueta

Gift

1.2.1

Make players able to send christmas present

·Plugin

This is my first plugin and I made it mainly for Christmas Gift, where players are able to send items to other players. All the items are saved in the config file.

Tutorial:
-Admin have to link a chest to the plugin
-Admin set the date when player can open this chest
-Players offer presents to an other player
-Players try to open the linked chest and they have access to their presents

Admins can:
-Link/Unlink chests to the plugin
-Change the size of the gift (1/2/3/4/5/6)
-Change the date when players can open gift
-Send a gift to every registered on the server

Config File:

Config File
chest_param:
  rows: 1
  date: "25/12/2019 00:00:00"

Commands:
•Player:

/gift <player> - Send your hand's item in the <player> Gift Vault !
/gift help - Show help

• Admin:

/giftadmin add - Give an Item to link the chest!
/giftadmin rem - Give an Item to unlink the chest!
/giftadmin size <int> - Set the size (in rows) of the chest
/giftadmin date <dd/MM/YYYY hh:mm:ss> - Change the date when chest can be open
/giftadmin sendall - Send a gift to every registered on the server

Permissions:
gift.use → for all the players
giftadmin.use → for the admins/op

Extra:
This plugin can be used at any moment, not just for xmas ! The source code have the french translate for the sendMessage. It's my first plugin so if you have any bugs/comments please leave a message here :) And if you like it you can also leave a comment ! (y)

Similar projects

Plugin →