Slaps

Slaps
Ever got annoyed with a player and feel like hurting them in game but not irl? You can with slaps! Maybe they'll behave when embarrassed that someone slapped them!
Command:
- /slap
Permission:
- slap.use
Features:
- Broadcast To Own Server
- Message when slapped and when you slap someone
- Easy, simple
- Very Small Plugin
-
View User Profile
-
Send Message
Posted Dec 5, 2014@Dillzzzzz
oh yus ^^
-
View User Profile
-
Send Message
Posted Dec 4, 2014@GrandmaJamGaming
He decompiled it.
-
View User Profile
-
Send Message
Posted Dec 4, 2014@LOLINC
How do you have the code of this plugin? It was not shared on GitHub...
-
View User Profile
-
Send Message
Posted Nov 30, 2014Um, Cool Plugin. But Contains A Bit Of Bugs.
Firstly,
Secondly,
Add An if statement regarding the args.
Like;
if(!(args.length == 1)){
sender.sendMessage(ChatColor.RED + "Invalid Syntax. /slap <player>");
return true; }else{
Your Code.
Thirdly,
player.setHealth(19);
^ Wrong.
Let's Consider The Player's Health is maybe um. 2 hearts. this isn't considered a slap.
It's Considered A Heal! :D
So,
Correction;
CraftPlayer target1 = (CraftPlayer) target;
double health = target1.getHealth() - 1;
target1.setHealth(health);
-
View User Profile
-
Send Message
Posted Nov 14, 2014@NightpawPlugins
Lol it was an accident xD
-
View User Profile
-
Send Message
Posted Nov 14, 2014That animation tho hahaha
-
View User Profile
-
Send Message
Posted Nov 14, 2014That was quick... Just saw it in planning mode, now it is in full release? Are there any bugs? Try doing stress tests.
-
View User Profile
-
Send Message
Posted Nov 14, 2014@Adzdon
xD pretty popular one
-
View User Profile
-
Send Message
Posted Nov 14, 2014haha great GIF :p