Plugin category: PvP Suggested name: FFApple What I want: So when a player kills another player a normal god apple (322 not 322:1) drops onto the floor and when the player walks through it, Like they are going to pick it up, It gives them Regen 2 for 30 seconds and they do NOT get the apple in the inventory. (You can find a plugin like this on zincbox.net and in the ffa server) Ideas for commands: No commands needed for this plugin. Ideas for permissions: No permissions needed for this plugin. When I'd like it by: ASAP
Yo, On the server I put this plugin on there's a 1v1 arena and I dont want apples to drop in it. Can you make something like a worldguard flag like this: /rg flag <Regoin Name> apple deny/allow However by default its on allow.
izarooni Just make a command to define a region as apple drop or whatever, then later check if they are in said region.
BearstudioMC <Edit by Moderator: Redacted mediafire url> Sorry it took a while. I just copied some code from a plugin of mine and put it in here. To make selections you need a wand using /ffapple wand then make two selections using left click and right click (or whatever you have those set to) in a square shape around your arena and use /ffapple create <name> There are no permissions for these commands as it's only available for OPs on your server. If you want anything changed or removed just tell me.
Onlineids Classes? I only used one and it's from desht and KingFaris10 so thanks to them. It helps alot than looping through 3 axis edit: KingFaris11 ? I don't even know. The comment says 10
Everyone thanks soooo much! One small problem. When i type /ffapple create <Name> it says, EDIT by Moderator: merged posts, please use the edit button instead of double posting.
[22:40:05] [Server thread/INFO]: bearstudio issued server command: /ffapple create DesertBuild [22:40:05] [Server thread/ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'ffapple' in plugin FFApple v1.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:175) ~[minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:683) ~[minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:952) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:47) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:655) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:250) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks] Caused by: java.lang.NullPointerException at ffa.main.Core.onCommand(Core.java:129) ~[?:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[minecraft_server.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]
BearstudioMC You never mentioend that. I changed some things. <Edit by Moderator: Redacted mediafire url>