AlphaGift 3.0 - Send gifts to your friends | 1.8 to 1.12 | M
3.0AlphaGift 3.0 - Send gifts to your friends | 1.8 to 1.12 version support, WEEKLY UPDATES!

I made this plugin in order for players to be able to demonstrate the friendship within the game.
Source Code in English.
Setting values in Portuguese.

- Easy to use and configure.
- Quick-Setup!
- Standard serialization with NBT Tags.
- MySQL and SQLite storage support.
- Clean and open code!
- Cooldown, sounds
and particles! - Support versions 1.8 to 1.12.
- Option to not receive gifts!

Spoiler


cooldown: 10
sound: LEVEL_UP
messages:
ingame: '&cSomente jogadores IN-GAME podem enviar presentes!'
time: '&cAguarde para presentear novamente!'
inform: "&cPresenteie um amigo! Mas você deve informar seu nick primeiro..."
self: "&cEpa.. Você não pode presentear a sí!"
notonline: "&cOops.. Parece que este jogador não está online!"
warn: "&cEnvie um item como presente para seu amigo, pegue-o na mão!"
gift-sent: '&aPresentado, &e{0} &arecebeu o seu presente!'
gift-received: "&aPresente recebido de &e{0} &avá ver oque é!"
blocked: "&e{0} &cnão quer receber presentes no momento."
toggle-on: "&cAgora, você nãoo pode mais receber presentes."
toggle-off: "&aAgora, você pode receber presentes."
information: '&eEnvie para seus amigos presentes usando &6/{0} {1}&e!'
command_send: enviar
menu:
empty: "339 1 name=&fViish...; lore=&cParece que não, &chá presentes por aqui!"
collected: "166 1 name=&7Presente recolhido &c<3"
all:
title: '&0Seus Presentes &9({0})'
item_1: '&f{0}'
item_2:
- "&3Enviou &b{0} presentes &3para você."
sent:
title: '&0Presentes de &9{0}'
item:
- '&7&oRecebido {0}.'
mysql:
use: false
host: localhost
port: '3306'
user: root
pass: ???
name: alphagift

public void on(GiftTransferEvent e) {
Player p = e.getPlayer();
Player r = e.getReceiver();
ItemStack i = e.getItem();
}
public void on(GiftCollectEvent e) {
Player p = e.getPlayer();
ItemStack i = e.getItem();
long t = e.getTime(); // ... timestamp gift have sent
String s = e.getTimeString(); // ... time ago
}

- Put "AlphaGift 3.0.jar" in your plugins folder.
- Setup the way you prefer.
- Start or reload the server.
- Enter the game and use /alphagift.
Default Commands:
- /gift, /presente, /presentar
- /gifttoggle, /giftoggle, /gtoggle, /gifton, /giftoff
Commands can be changed in the configuration and in the "plugin.yml".
Give suggestions of what can be changed, removed or added to the plugin, your idea is strictly important for our development!
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta