Home›Java›Mods›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
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
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
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
Code (Text):
public void on(GiftTransferEvent e) {
Player p = e.getPlayer();
Player r = e.getReceiver();
ItemStack i = e.getItem();
}
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
}
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.
- /gift, /presente, /presentar
- /gifttoggle, /giftoggle, /gtoggle, /gifton, /giftoff
Give suggestions of what can be changed, removed or added to the plugin, your idea is strictly important for our development!
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.