Please Remember To Rate This Plugin
Please Be Honest, Please do not post bugs as reviews post them in the discussion tab above.
Please Be Honest, Please do not post bugs as reviews post them in the discussion tab above.
--------------------{Command and Permissions}--------------------
SOCIAL-NoFall
Prevent Fall Damage in your Server
--------------------{Command and Permissions}--------------------
NO COMMANDS:
PERMISSION: social.nofall
(Needed so players get no fall damage.)
--------------------{Features}--------------------
- disables fall damage
--------------------{Planned To Add}--------------------
- Nothing at the moment
--------------------{Known Bugs}--------------------
- Nothing at the moment
--------------------{OPEN SOURCE}--------------------
Spoiler: SOURCE CODE
Code (Text):
package me.augesrob.socialnofall;
import org.bukkit.Server;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;
public class NoFall
extends JavaPlugin
implements Listener
{
public void onEnable()
{
getServer().getConsoleSender().sendMessage(">>>>>>>>>>>>>>>>>>Social-NoFall<<<<<<<<<<<<<<<<<");
getServer().getConsoleSender().sendMessage("Social-NoFall " + getDescription().getVersion() + " enabled!");
getServer().getConsoleSender().sendMessage("All rights reserved by augesrob!");
getServer().getConsoleSender().sendMessage("You are allowed to decompile this plugin!");
getServer().getConsoleSender().sendMessage(">>>>>>>>>>>>>>>>>>Social-NoFall<<<<<<<<<<<<<<<<<");
getServer().getPluginManager().registerEvents(this, this);
}
public void onDisable() {}
@EventHandler
public void onDamage(EntityDamageEvent event)
{
if (!(event.getEntity() instanceof Player)) {
return;
}
if ((event.getCause().equals(EntityDamageEvent.DamageCause.FALL)) && (((Player)event.getEntity()).hasPermission("social.nofall"))) {
event.setCancelled(true);
}
}
}
import org.bukkit.Server;
import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.entity.EntityDamageEvent.DamageCause;
import org.bukkit.plugin.PluginDescriptionFile;
import org.bukkit.plugin.PluginManager;
import org.bukkit.plugin.java.JavaPlugin;
public class NoFall
extends JavaPlugin
implements Listener
{
public void onEnable()
{
getServer().getConsoleSender().sendMessage(">>>>>>>>>>>>>>>>>>Social-NoFall<<<<<<<<<<<<<<<<<");
getServer().getConsoleSender().sendMessage("Social-NoFall " + getDescription().getVersion() + " enabled!");
getServer().getConsoleSender().sendMessage("All rights reserved by augesrob!");
getServer().getConsoleSender().sendMessage("You are allowed to decompile this plugin!");
getServer().getConsoleSender().sendMessage(">>>>>>>>>>>>>>>>>>Social-NoFall<<<<<<<<<<<<<<<<<");
getServer().getPluginManager().registerEvents(this, this);
}
public void onDisable() {}
@EventHandler
public void onDamage(EntityDamageEvent event)
{
if (!(event.getEntity() instanceof Player)) {
return;
}
if ((event.getCause().equals(EntityDamageEvent.DamageCause.FALL)) && (((Player)event.getEntity()).hasPermission("social.nofall"))) {
event.setCancelled(true);
}
}
}
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Please note: If you find any bugs please post them in the discussion area.
All my plugins are coded and compiled in java 8 and only for Spigot 1.9 and above
If you are also a coder who wants to help me fix bugs and or tweak anything let me know what I should change or add.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 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.
Social-NoFall is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10. Downloaded 252 times (via Spigot). Download it and open it directly in the game.