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
For those interested, this is running fine on Spigot 1.8 but be sure to grab the latest build of WorldGuard. It will require a UUID conversion but it is fairly stable. Made a 9 course golf run today at xegaming.com if anyone wants to check it out.
Would love to see an "auto advance to next hole" option, "Mulligan" option, and scoreboard for tourneys. Great plugin, thank you!
It appears that the dev has stopped working on this as he has not been on in several months. He did, however release it under GNU license. Is there a Dev out there that can add in a course par and automatic way to keep score throughout a course? Without displaying a scoreboard?
@brian163b
I am running it on 1.7.4 and it seems to be ok so far.
Anyone tested this with 1.7.2?
Any chance this will get further updates to ensure compatibility?
@ShCr
That error is irrefutable evidence of running the server with java v1.6. You may have both installed and your server script may directly point to the old one. Make sure that running "java -version" in a cmd prompt return 1.7 and you should be good.
Hi, I've this error when trying to launch the plugin:
2013-11-28 20:50:24 [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
CraftBukkit 1.6.2-R0.1 Java 7 update 45
Any idea?
Please update this plugin, it is phenomenal.
Is it possible to do a mini-golf course with this?
Bug report: If you shoot your ball into the void, it's gone. When you then quit and re-join using /golf, you can no longer start playing again.
@avondale1718
Ok, good to know. I'll test it out.
I don't know if it's a bug or if I messed something up, but I switched into adventure mode to try that method, and when I right clicked the sign I continued playing but wasn't given an arrow, so I was just stuck. I think I may have switched into that mode in between shots, which may have contributed, but figured I'd let you guys know anyways.
@avondale1718
How odd. I can confirm the same problem on my server (I also use multiverse) I just double checked and the softdepend value is correct and it should cause it to wait for multiverse and I have no Idea why it is not.
@FeedDante
the reason I mentioned it is because my multi-world plugin is multiverse-core, and I thought the fix you guys did was supposed to make it work, but it didn't.
@avondale1718
@jase3905
There is actually a rather simple fix for that. Just add the multi-world plugin to the softdepend list in plugin.yml.
It currently has this: softdepend: [Multiverse-Core, My Worlds]
Just let us know what your multi-world plugin is (and any other you want added) and we will add them to the list.
@avondale1718
I just uploaded version 1.6.0, which includes Adventure mode support, as well as fixes the issue of removing blocks to place signs, only to replace them with air upon breaking the sign. The block is now re-replaced to what it was.
As far as multiworld support, I will need to get to that this weekend.
@jase3905
I'm pretty sure we've smoked out and reported all the bugs this far. I will say however that golfcraft is still loading before my multi-world plugin, which still forces me to reload it with PlugMan to get my holes to load properly.
I would really appreciate the opportunity to help you guys add features when you decide to expand. I have spent a lot of time brainstorming things and would love the chance to run them by you to see what aligns with what you have planned.
@avondale1718
Wow, it's great to see your enthusiasm! Just report any issues you have, and I'll try to address them every weekend, if not sooner. (Saturday-Monday, and Wednesday's are my best "free night" days to do stuff).
@jase3905
please let me know if you need absolutely ANYTHING at all while you're doing this. I will help test, give feedback, ideas, anything at all. I've bugged you a lot in the past due to your plugin clashing my love of golf and minecraft, and it's really good to see you here again :)
I'm also still hoping to show you my server so you can see the potential of the creations.
@jase3905
In fact, this one was too easy to update. Sorry that took so long, I feel bad :/ The ease of this update seems too good to be true, so if you have any issues with it, please respond here, in the tickets, or PM me directly and I'll do my best to fix it.
Something for mini golf would be neat too. :)