Home›Java›Mods›AlphaGift 3.0 - Send gifts to your friends | 1.8 to 1.12 | MySQL, GUI, NBT, OPEN SOURCE
AlphaGift 3.0 - Send gifts to your friends | 1.8 to 1.12 | MySQL, GUI, NBT, OPEN SOURCE
ModsJava

AlphaGift 3.0 - Send gifts to your friends | 1.8 to 1.12 | MySQL, GUI, NBT, OPEN SOURCE

Java mod listed for Minecraft 1.8–1.12. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
[​IMG]

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.
​

[​IMG]

[​IMG]
Spoiler
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]

[​IMG]
Code (Text):
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

[​IMG]
Code (Text):
public void on(GiftTransferEvent e) {
    Player p = e.getPlayer();
    Player r = e.getReceiver();
    ItemStack  i = e.getItem();
}
Code (Text):
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
}

[​IMG]
  1. Put "AlphaGift 3.0.jar" in your plugins folder.
  2. Setup the way you prefer.
  3. Start or reload the server.
  4. Enter the game and use /alphagift.
Default Commands:
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!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

AlphaGift 3.0 - Send gifts to your friends | 1.8 to 1.12 | MySQL, GUI, NBT, OPEN SOURCE is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 254 times (via Spigot). Download it and open it directly in the game.

Explore more