Golfcraft
GlfCraft
Version 1.6.0
CB 1.6.2-R0.1
Golfcraft lets you play golf! Simply type /golf, and you will be given a bow and arrow. You can hit (shoot) the ball (arrow), and it will generate a sign where it lands (unless you hit the ball into the water, or the trees).
There are anti-griefing parameters in place, so each golfer needs to destroy their own sign before their arrow will generate a new sign.
Materials of recognition:
- Green Wool: the Fairway (main material)
- Lime Wool: the Green (putting material)
- Sand: Sand Trap (stops balls from bouncing)
- Glowstone: the Cup
- Grass: the Rough (reduces ball's bounce velocity)
- Fence: the Flag
- Wood: Teeing Ground ( start of the course, gives your driver a boost)
Features:
- Clubs!
- Up to 12 clubs to chose from
- Each club has its own advantage
- Snowballs!
- Arrows are converted to snowballs when you shoot!
- Create a golf course by adding holes
- Creating holes set their par
- The par is used for per-hole scoring
- Per-hole golf-info chat channels
- Any players in the same hole will know what happens with the other players
- If the ball landed on a valid block, a sign with the player's name is placed, marking where the ball landed
- This sign MUST be destroyed in order for another sign to generate
- Once destroyed, the player cannot move more than one block away until their next ball lands in a valid location
- Per hole scoring
- Uses that hole's par to compare how many hits the player took.
- Prints the score via number of hits, as well as golf lingo (Bogie, Eagle, etc)
- SuperPerms
- Plenty of anti-griefing parameters
- I try my best to make sure players arent spammed with text or signs. I've spent most of my time coding making sure they cant.
Permissions: (overridden by OP's)
- golf.spectate
- (allows the player to simulate golf (no scoring, or messages))
- golf.play
- (allows the player to play golf use hole-start signs)
- golf.tp.play
- (allows the player to TP to a hole via command)
- golf.tp.sign
- (allows the player to teleport to their sign)
- golf.tp.sign.others
- (allows the player to teleport other players to their sign)
- golf.create
- (allows the player to create new holes)
- golf.sign
- (allows the player to create/destroy hole-start signs)
- golf.ref
- (allows the player to destroy other players' signs)
Source Code is currently Unavailable
@FeedDante Ya, I just figured that out, but I'd rather not. Bukkit only recommends 1.5, and my server is on 1.6 and shouldn't have to upgrade.
please recompile the plugin against 1.6
@rasnyderiii
@zwollner
This plugin requires java 1.7 "Unsupported major.minor version 51.0" means your using java 1.6, update to 1.7
Google is your friend, it would have answered your question immediately.
2012-04-26 20:50:00 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0-b2149jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.0) 2012-04-26 20:50:01 [SEVERE] Could not load 'plugins/GolfCraft.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: musaddict/golfcraft/Golfcraft : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.UnsupportedClassVersionError: musaddict/golfcraft/Golfcraft : Unsupported major.minor version 51.0 =====
http://pastebin.com/C4P2fmUt
Big error trying to install this. CB 1.2.5 2149.
Thoughts?
@BaconTex
Thanks Bacon,
I've started construction on a 2nd course. This one is going to have pro tees and regular tees.
Prob have it done in a few weeks. I'm shooting for building 1 hole / day.
Here's another link then http://www.smallfiles.org/download/332/baconminigolf.schematic.html
@BaconTex:
I'm Ped and i tried to download the minigolf but the link doesnt work... :(
@IIGoldII
Sure here you go! Let me know if this link works http://dl.dropbox.com/u/7632627/baconminigolf.schematic
@jeffro1001
Your course was totally awesome. and so well placed into the natural environment. Even my big holes look like a giant Putt PUtt.
@BaconTex
Mind sharing that course?
Had a good round with you today BaconTex.
Drop in any time.
The course is open to the public!
76.114.254.63
Musaddict / Feed_dante ,
Let me know if / when you plan on playing so I can join you.
With just a putter and a little pitching wedge, mini-golf kicks butt!
http://i.imgur.com/lRmxi.jpg|GolfCraft MiniGolf
Hey if yall have some nice golf courses, post your server! I just had an idea to try to make mini golf for just putting..hmm.could be fun.
<<reply 663019>
Heh /golf just says you've left the game. Trying to /golf play hole# still fails. But after a reboot it's fine for a while, then fails again.
Bacon.
Have then try using the command /golf
it's worked for me to get me out of limbo.
DQone
add the node golfcraft.play
I had to do that to get signs working for non-OP
jase3905: rebooting with 60+ players for golf kinda sucks..maybe some kind of reload would help. Or some way for a player to reset their own golf status. Even while in golf, bugged players can't see other golfers' activity.
Hi, I've set permissions (I use PermissionsBukkit) but no one can play except OPs. What do I do to fix this?
@BaconTex
try reloading the server. It'll reset ALL players' golfing statuses (even the ones stuck in limbo)
OK I've got an issue now. Sometimes golf just stops working for some players.. tried /golf and /golf play 1 again, still nothing. Not sure what's up with that. Just random. Relogging doesn't fix, and they don't have any signs out they can tp to. Seems random.
Also we have an anti-bot plugin that doesn't let you use commands until you take 5 steps, but if you log out and in while playing golf you can't move so the player is just frozen. Any way you can have it knock a player out of the game if they log off? Or check on startup to remove anyone who might have been playing golf during a reboot/crash. That'd be awesome.
Also for anyone else using GolfCraft, we set up a region to protect the course, and GolfCraft still allows breaking signs that mark balls.. so that's awesome.