American Football
American Football is an attempt to make a sport plugin similar to the American Football sport.
Commands:
- /fb start -starts a football game
- /fb over -ends the current football game
- /fb create -creates a football field
- /fb cancel -deletes the current football field
- /fb join -joins the game
Config:
You can choose the names and colors of the teams and max team size, and how long the game lasts, in addition to a new power throw feature.
Creating a field:
- 1. Type /fb start
- 2. Mark an outermost corner of your field by left clicking the block.
- 3. Mark the opposite outermost corner of your field by left-clicking the block.
- 4. Mark the center of your field by left-clicking the block.
- 5. Mark the outermost corner of your RED touchdown zone.
- 6. Mark the opposite outermost corner of your RED touchdown zone.
- 7. Mark the outermost corner of your BLUE touchdown zone.
- 8. Mark the opposite outermost corner of your BLUE touchdown zone.
- 9. Type /fb done.
Game Play
Once a player types /fb start, a 1 minute countdown will be started. During that time, players need to type /fb join to join the game. Their inventories need to be empty. Once the 1 minute countdown is up, everyone who joined will be teleported to the center of the field, and a slimeball will be spawned. If you have the ball, then you can right-click the air to throw it, and as soon as you run over the touchdown zone, then the ball is teleported to the center of the field and the team gets a point. You can tackle people by left-clicking on them. They will not be hurt, but they will drop the ball. When the game is over, the score is outputted and the ball is deleted.
Also, if a player is crouching when throwing, it will throw farther than normal, as determined in the config.
Permissions:
The only permission needed is Football.Admin to use any command except for joining.
To do:
Fix any bugs.
@Zwar098
I'm sorry, but I can't reproduce the problem, so I can't figure out what the problem is.
I can't set the field every time I try and type /fb create it says "left click each of the opposite corners of the field". I try that and on creative the block breaks on survival nothing happens. Please explain what I'm doing wrong or fix this bug if it is one.
@Neutss
Ok. I really don't know what to do. I might be able to find another way to tackle on the next update
PvP is disabled in the region . But if I enable it , the players will kill them
@Neutss
This is a guess, but is PvP disabled? This plugin may not work if PvP is disabled
I've a problem ! Everybody can't tackle others ! I don't know how to do !
@xSkilletx
I am not sure. I have never had this happen. Is there an error in your log? I don't know what the problem is. It appears to work for everyone else/
when i do /fb create and click the corners nothing happens?
@guachitonico
What? I don't understand. /fb create creates the fields, and /fb start starts the game? /fb start should not work unless you have created a field?
@IronCrystal
I solved it ;) I sent you a PM with what i did to solve it! :D
PD: Please edit the /fb start to /fb CREATE That's what caused the crash! /fb start doesn't mark any fields! It's fb create! Goodbye...
@guachitonico
What does it say in the config.yml file? The line it was having errors with meant that it was having trouble figuring out the time of the world the location was in.
@guachitonico
I'll have to look into it.
Help me! It crashes! When it start the game and join... 22:08:58 [SEVERE] java.lang.NullPointerException 22:08:58 [SEVERE] at org.bukkit.craftbukkit.CraftServer.getWorld(CraftServer.java:758) 22:08:58 [SEVERE] at org.bukkit.Bukkit.getWorld(Bukkit.java:166) 22:08:58 [SEVERE] at me.IronCrystal.Football.TimeTrack.run(TimeTrack.java:24) 22:08:58 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34) 22:08:58 [SEVERE] at java.lang.Thread.run(Thread.java:680)
It spams everytime....
@IronCrystal
Heh after couple of minutes i figured it out and it works ! Thank you anyway :)
@Croppiatus
I really don't know. I have never been able to recreate this problem. It should teleport you to wherever you registered the location.
Hi there im using your plugin. I have created the field and the touchdown zones , but everytime players join game , and it started it ports all players somwhere else end the plugin is giving me a error message : You are out of bounds ! Do you now why im getting this message ? Did i made the centre wrong way ? Please respond . Thank you
@eddoras
I might. When I fix the problem with it saving the locations in the config file, I might be able to add configurable size teams. Also, the game already splits the teams up evenly, so they are always equal (unless there are an odd number of players, you can't help but have one team have more than the other)
Thats awesome event idea ^_^ Could u add limit for joins? like 10 player max and split 5 v 5 random when started ?
@number1Master
Thanks. I didn't see any other plugin like it, so I thought I would make one. =)
American Football is awesome; I play it!